Home
last modified time | relevance | path

Searched refs:absolutePath (Results 1 – 7 of 7) sorted by relevance

/cts/hostsidetests/os/src/android/os/cts/
DProcfsHostTests.java142 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/
DInstallInfoTest.kt62 val installInfo = pi.readInstallInfo(it, apk.absolutePath, 0) in <lambda>()
/cts/tests/pdf/module/src/android/graphics/pdf/cts/module/
DPdfRendererPreVTest.java398 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()
DPdfRendererTest.java672 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/
DResourcesLoaderTestBase.kt188 ResourcesProvider.loadFromDirectory(zipToDir("$this.apk").absolutePath, in <lambda>()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java1252 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/
DWearableSensingManagerIsolatedServiceTest.java561 private void writeFile(String absolutePath, String content) throws Exception { in writeFile() argument
562 try (PrintWriter printWriter = new PrintWriter(new File(absolutePath))) { in writeFile()