Searched refs:absolutePath (Results 1 – 7 of 7) sorted by relevance
/cts/hostsidetests/os/src/android/os/cts/ |
D | ProcfsHostTests.java | 142 private void testFile(String absolutePath, String readCommand, Pattern pattern) throws Exception { in testFile() argument 143 String content = readAndCheckFile(absolutePath, readCommand, pattern); in testFile() 150 String newContent = readAndCheckFile(absolutePath, readCommand, pattern); in testFile() 155 assertTrue(absolutePath + " not actively updated. Content: \"" + content + "\"", false); in testFile() 205 private String readAndCheckFile(String absolutePath, String readCommand, Pattern pattern) in readAndCheckFile() argument 207 String readResult = getDevice().executeShellCommand(readCommand + absolutePath); in readAndCheckFile() 208 assertNotNull("Unexpected empty file " + absolutePath, readResult); in readAndCheckFile() 211 "Unexpected format of " + absolutePath + ": \"" + readResult + "\"", in readAndCheckFile()
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | InstallInfoTest.kt | 62 val installInfo = pi.readInstallInfo(it, apk.absolutePath, 0) in <lambda>()
|
/cts/tests/pdf/module/src/android/graphics/pdf/cts/module/ |
D | PdfRendererPreVTest.java | 398 String absolutePath = filePath.getAbsolutePath(); in write_protectedPdf_withSecurity() local 406 File saveAsFile = new File(absolutePath); in write_protectedPdf_withSecurity() 422 String absolutePath = filePath.getAbsolutePath(); in write_withUnprotected() local 430 File saveAsFile = new File(absolutePath); in write_withUnprotected()
|
D | PdfRendererTest.java | 672 String absolutePath = filePath.getAbsolutePath(); in write_protectedPdf_withSecurity() local 680 File saveAsFile = new File(absolutePath); in write_protectedPdf_withSecurity() 706 String absolutePath = filePath.getAbsolutePath(); in assertWriteWithUnprotectedPdf() local 714 File saveAsFile = new File(absolutePath); in assertWriteWithUnprotectedPdf()
|
/cts/tests/tests/resourcesloader/src/android/content/res/loader/cts/ |
D | ResourcesLoaderTestBase.kt | 188 ResourcesProvider.loadFromDirectory(zipToDir("$this.apk").absolutePath, in <lambda>()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 1252 String absolutePath = file.getAbsolutePath(); in assertCantInsertToOtherPrivateAppDirectories() local 1262 assertCantInsertDataValue(throwsExceptionForDataValue, absolutePath); in assertCantInsertToOtherPrivateAppDirectories() 1264 "/sdcard/" + absolutePath.substring(absolutePath.indexOf("Android"))); in assertCantInsertToOtherPrivateAppDirectories() 1267 + absolutePath.substring(absolutePath.indexOf("Android"))); in assertCantInsertToOtherPrivateAppDirectories()
|
/cts/tests/wearable/src/android/wearable/cts/ |
D | WearableSensingManagerIsolatedServiceTest.java | 561 private void writeFile(String absolutePath, String content) throws Exception { in writeFile() argument 562 try (PrintWriter printWriter = new PrintWriter(new File(absolutePath))) { in writeFile()
|