/cts/tests/tests/security/src/android/security/cts/ |
D | KernelSettingsTest.java | 43 assertEquals("32768", getFile("/proc/sys/vm/mmap_min_addr")); in testMmapMinAddr() 57 assertEquals("2", getFile("/proc/sys/kernel/kptr_restrict")); in testKptrRestrict() 68 assertEquals("0", getFile("/proc/sys/fs/suid_dumpable")); in testSetuidDumpable() 80 "0", getFile("/proc/sys/net/ipv4/conf/all/accept_redirects")); in testNoIcmpRedirects() 87 "0", getFile("/proc/sys/net/ipv6/conf/all/accept_redirects")); in testNoIcmpRedirects() 93 static String getFile(String filename) throws IOException { in getFile() method in KernelSettingsTest
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | TypefaceTestUtil.java | 37 requireNonNull(font.getFile()); in getFirstFont() 38 return font.getFile(); in getFirstFont() 45 if (font.getFile().getName().startsWith("Roboto-")) { in getRobotoTypeface() 51 } else if (font.getFile().getName().equals("RobotoStatic-Regular.ttf")) { in getRobotoTypeface()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | TypefaceTestUtil.java | 39 assertThat(font.getFile()).isNotNull(); in getFirstFont() 40 return font.getFile(); in getFirstFont() 47 if (font.getFile().getName().startsWith("Roboto-")) { in getRobotoTypeface() 53 } else if (font.getFile().getName().equals("RobotoStatic-Regular.ttf")) { in getRobotoTypeface()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | TypefaceTestUtil.java | 39 assertThat(font.getFile()).isNotNull(); in getFirstFont() 40 return font.getFile(); in getFirstFont() 47 if (font.getFile().getName().startsWith("Roboto-")) { in getRobotoTypeface() 53 } else if (font.getFile().getName().equals("RobotoStatic-Regular.ttf")) { in getRobotoTypeface()
|
/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | SystemFontsUniqueNameTest.java | 42 if (seenFile.contains(font.getFile())) { in uniquePostScript() 45 String psName = FontFileTestUtil.getPostScriptName(font.getFile()); in uniquePostScript() 49 seenFile.add(font.getFile()); in uniquePostScript()
|
D | SystemEmojiTest.java | 41 if (font.getFile().getName().equals("NotoColorEmoji.ttf")) { in uniquePostScript() 42 emojiFont = font.getFile(); in uniquePostScript() 58 File file = glyphs.getFont(0).getFile(); in getFontName()
|
D | SystemFontsTest.java | 83 assertNotNull("System font must provide file path to the font file.", font.getFile()); in testAvailableFonts_ReadOnlyFile() 85 final String absPath = font.getFile().getAbsolutePath(); in testAvailableFonts_ReadOnlyFile() 88 assertTrue(absPath + " must exists", font.getFile().exists()); in testAvailableFonts_ReadOnlyFile() 89 assertTrue(absPath + " must be a file", font.getFile().isFile()); in testAvailableFonts_ReadOnlyFile() 90 assertTrue(absPath + " must be readable", font.getFile().canRead()); in testAvailableFonts_ReadOnlyFile() 91 assertFalse(absPath + " must not executable", font.getFile().canExecute()); in testAvailableFonts_ReadOnlyFile() 92 assertFalse(absPath + " must not writable", font.getFile().canWrite()); in testAvailableFonts_ReadOnlyFile()
|
D | FontTest.java | 168 assertNull(font.getFile()); in testBuilder_buffer() 190 assertNull(font.getFile()); in testBuilder_buffer_ttc() 213 assertNull(font.getFile()); in testBuilder_buffer_vf() 235 assertNull(font.getFile()); in testBuilder_buffer_override() 251 assertNull(font.getFile()); in testBuilder_buffer_override() 286 assertNotNull(font.getFile()); in testBuilder_file() 313 assertNotNull(font.getFile()); in testBuilder_file_ttc() 341 assertNotNull(font.getFile()); in testBuilder_file_vf() 368 assertNotNull(font.getFile()); in testBuilder_file_override() 388 assertNotNull(font.getFile()); in testBuilder_file_override() [all …]
|
D | FontManagerTest.java | 117 assertThat(font.getFile().canRead()).isTrue(); in fontManager_getFontConfig_checkFamilies() 288 String psNameInFile = FontFileTestUtil.getPostScriptName(font.getFile()); in fontManager_PostScriptName()
|
D | NativeSystemFontTest.java | 46 font.mFilePath = f.getFile().getAbsolutePath(); in convertToDescriptors()
|
/cts/hostsidetests/library/src/android/appmanifest/cts/ |
D | UsesNativeLibraryTestCase.java | 141 FileUtil.chmod(getFile("aapt2"), "u+x"); in setUp() 142 FileUtil.chmod(getFile("merge_zips"), "u+x"); in setUp() 157 private File getFile(String path) { in getFile() method in UsesNativeLibraryTestCase 284 getFile("aapt2"), 286 getFile("android.jar"), 293 getFile("merge_zips"), 296 getFile("CtsUsesNativeLibraryTestApp.jar"))); 302 getFile("signapk.jar"), 303 getFile("testkey.x509.pem"), 304 getFile("testkey.pk8"),
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | RcParser.java | 70 String file = service.getFile().substring(1); in getDependencies() 74 "err Service " + service.getName() + " File:" + service.getFile()); in getDependencies() 125 FileReader fileReader = new FileReader(getFile()); in parseFile()
|
D | ApkParser.java | 75 AndroidManifestParser manifestParser = new AndroidManifestParser(getFile()); in processManifest() 80 DexParser dexParser = new DexParser(getFile()); in processDex()
|
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 | BuildPropParser.java | 85 FileReader fileReader = new FileReader(getFile()); in parseFile()
|
D | VdexParser.java | 67 RandomAccessFile raFile = new RandomAccessFile(getFile(), "r"); in parse()
|
D | DexParser.java | 116 System.out.println("dexFile: " + getFile().getAbsoluteFile()); in parse() 118 dexFile = DexFileFactory.loadDexFile(getFile().getAbsoluteFile(), Opcodes.getDefault()); in parse() 193 String error = "Unable to load dex file: " + getFile().getAbsoluteFile(); in parse()
|
D | ArtParser.java | 69 RandomAccessFile raFile = new RandomAccessFile(getFile(), "r"); in parse()
|
/cts/tests/tests/selinux/common/src/android/security/ |
D | SELinuxTargetSdkTestBase.java | 25 protected static String getFile(String filename) throws IOException { in getFile() method in SELinuxTargetSdkTestBase 140 Matcher m = p.matcher(getFile("/proc/self/attr/current")); in appDomainContext() 141 String context = getFile("/proc/self/attr/current"); in appDomainContext()
|
/cts/tests/tests/view/src/android/view/cts/util/ |
D | BitmapDumper.java | 85 private static File getFile(String className, String testName, String type) { in getFile() method in BitmapDumper 107 File capture = getFile(className, testName, TYPE_SINGULAR); in dumpBitmap()
|
/cts/libs/install/src/android/cts/install/lib/host/ |
D | InstallUtilsHost.java | 203 File hostLinkedDir = getTestInfo().getBuildInfo().getFile( in getTestFile() 213 File buildInfoFile = getTestInfo().getBuildInfo().getFile(testFileName); in getTestFile()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | NotoCJKFontRequirement.java | 91 String psName = FontFileTestUtil.getPostScriptName(font.getFile(), font.getTtcIndex()); in getNotoCJKFonts()
|