/cts/tests/tests/security/src/android/security/cts/ |
D | KernelSettingsTest.java | 45 assertEquals("32768", getFile("/proc/sys/vm/mmap_min_addr")); in testMmapMinAddr() 59 assertEquals("2", getFile("/proc/sys/kernel/kptr_restrict")); in testKptrRestrict() 70 assertEquals("0", getFile("/proc/sys/fs/suid_dumpable")); in testSetuidDumpable() 82 "0", getFile("/proc/sys/net/ipv4/conf/all/accept_redirects")); in testNoIcmpRedirects() 89 "0", getFile("/proc/sys/net/ipv6/conf/all/accept_redirects")); in testNoIcmpRedirects() 95 static String getFile(String filename) throws IOException { in getFile() method in KernelSettingsTest
|
/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | SystemFontsTest.java | 63 assertNotNull("System font must provide file path to the font file.", font.getFile()); in testAvailableFonts_ReadOnlyFile() 66 assertTrue(font.getFile().exists()); in testAvailableFonts_ReadOnlyFile() 67 assertTrue(font.getFile().isFile()); in testAvailableFonts_ReadOnlyFile() 68 assertTrue(font.getFile().canRead()); in testAvailableFonts_ReadOnlyFile() 69 assertFalse(font.getFile().canExecute()); in testAvailableFonts_ReadOnlyFile() 70 assertFalse(font.getFile().canWrite()); in testAvailableFonts_ReadOnlyFile() 73 final String absPath = font.getFile().getAbsolutePath(); in testAvailableFonts_ReadOnlyFile()
|
D | FontTest.java | 142 assertNull(font.getFile()); in testBuilder_buffer() 164 assertNull(font.getFile()); in testBuilder_buffer_ttc() 187 assertNull(font.getFile()); in testBuilder_buffer_vf() 209 assertNull(font.getFile()); in testBuilder_buffer_override() 225 assertNull(font.getFile()); in testBuilder_buffer_override() 260 assertNotNull(font.getFile()); in testBuilder_file() 287 assertNotNull(font.getFile()); in testBuilder_file_ttc() 315 assertNotNull(font.getFile()); in testBuilder_file_vf() 342 assertNotNull(font.getFile()); in testBuilder_file_override() 362 assertNotNull(font.getFile()); in testBuilder_file_override() [all …]
|
/cts/tests/tests/selinux/common/src/android/security/ |
D | SELinuxTargetSdkTestBase.java | 20 protected static String getFile(String filename) throws IOException { in getFile() method in SELinuxTargetSdkTestBase 123 Matcher m = p.matcher(getFile("/proc/self/attr/current")); in appDomainContext() 124 String context = getFile("/proc/self/attr/current"); in appDomainContext()
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | ApkParser.java | 75 AndroidManifestParser manifestParser = new AndroidManifestParser(getFile()); in processManifest() 80 DexParser dexParser = new DexParser(getFile()); in processDex()
|
D | RcParser.java | 69 String file = service.getFile().substring(1); in getDependencies() 120 FileReader fileReader = new FileReader(getFile()); in parseFile()
|
D | TestSuiteTradefedParser.java | 110 ZipFile zip = new ZipFile(getFile()); in praseKnownFailure() 149 ZipFile zip = new ZipFile(getFile()); in parseFile()
|
D | FileParser.java | 110 public File getFile() { in getFile() method in FileParser 202 mFileEntryBuilder.setSize(getFile().length()); in parse()
|
D | TestModuleConfigParser.java | 68 FileReader fileReader = new FileReader(getFile()); in parseFile()
|
D | XmlParser.java | 65 FileReader fileReader = new FileReader(getFile()); in parse()
|
D | DexParser.java | 101 System.out.println("dexFile: " + getFile().getAbsoluteFile()); in parse() 103 dexFile = DexFileFactory.loadDexFile(getFile().getAbsoluteFile(), Opcodes.getDefault()); in parse() 178 String error = "Unable to load dex file: " + getFile().getAbsoluteFile(); in parse()
|
D | BuildPropParser.java | 85 FileReader fileReader = new FileReader(getFile()); in parseFile()
|
D | VdexParser.java | 67 RandomAccessFile raFile = new RandomAccessFile(getFile(), "r"); in parse()
|
D | ArtParser.java | 69 RandomAccessFile raFile = new RandomAccessFile(getFile(), "r"); in parse()
|
D | ZipParser.java | 127 zFile = new ZipFile(getFile()); in parseFileContent()
|
D | SoParser.java | 139 ReadElf mElf = ReadElf.read(getFile()); in parse()
|
D | OatParser.java | 81 ReadElf elf = ReadElf.read(getFile()); in parse()
|
D | DepCsvPrinter.java | 173 target.getFile().replace("/system/", "SYSTEM/").replace("/vendor/", "VENDOR/"); in writeRcDigraph()
|
D | DepPrinter.java | 158 target.getFile().replace("/system/", "SYSTEM/").replace("/vendor/", "VENDOR/"); in writeRcDigraph()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | ActivityManagerIncidentTest.java | 230 assertTrue(dump.getMemWatchProcesses().getDump().getFile().isEmpty()); in verifyActivityManagerServiceDumpProcessesProto()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | ProviderTestUtils.java | 202 final File source = ParcelFileDescriptor.getFile(afd.getFileDescriptor()); in stageFile()
|
/cts/tests/providerui/src/android/providerui/cts/ |
D | MediaStoreUiTest.java | 491 final File source = ParcelFileDescriptor.getFile(afd.getFileDescriptor()); in stageFile()
|