Searched refs:file1 (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
D | StorageManagerIntegrationTest.java | 78 File file1 = null; in testMountMultipleObb() local 82 file1 = createObbFile(OBB_FILE_1, R.raw.obb_file1); in testMountMultipleObb() 83 String filePath1 = file1.getAbsolutePath(); in testMountMultipleObb() 101 if (file1 != null) { in testMountMultipleObb() 102 file1.delete(); in testMountMultipleObb() 142 File file1 = null; in testMountTwoEncryptedObb() local 149 file1 = createObbFile(OBB_FILE_1_ENCRYPTED, R.raw.obb_enc_file100_orig1); in testMountTwoEncryptedObb() 150 String filePath1 = file1.getAbsolutePath(); in testMountTwoEncryptedObb() 160 if (file1 != null) { in testMountTwoEncryptedObb() 161 file1.delete(); in testMountTwoEncryptedObb()
|
/frameworks/base/core/tests/coretests/src/com/android/server/ |
D | MountServiceTests.java | 263 final File file1 = getFilePath("test1.obb"); in testMountAndUnmountTwoObbs() local 266 ObbObserver oo1 = mountObbWithoutWait(sm, R.raw.test1, file1); in testMountAndUnmountTwoObbs() 270 waitForObbActionCompletion(sm, file1, oo1, OnObbStateChangeListener.MOUNTED, false); in testMountAndUnmountTwoObbs() 274 final String mountPath1 = checkMountedPath(sm, file1); in testMountAndUnmountTwoObbs() 282 unmountObb(sm, file1, OnObbStateChangeListener.UNMOUNTED); in testMountAndUnmountTwoObbs()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | AppCacheTest.java | 242 File file1 = new File(fileArr[i], "testFile"+j+".txt"); in testAppCreateCacheFiles() local 245 fos = new FileOutputStream(file1); in testAppCreateCacheFiles() 249 Log.i(TAG, "wrote 10K bytes to "+file1); in testAppCreateCacheFiles() 365 File file1 = new File(cacheDir, testFilePrefix+i+".txt"); in createTestFiles1() local 368 fos = new FileOutputStream(file1); in createTestFiles1() 392 File file1 = new File(cacheDir, testFilePrefix+i+".txt"); in verifyTestFiles1() local 393 if(file1.exists()) { in verifyTestFiles1() 394 files.add(file1.getName()); in verifyTestFiles1() 415 File file1 = new File(fileArr[i], testFilePrefix+j+".txt"); in createTestFiles2() local 418 fos = new FileOutputStream(file1); in createTestFiles2()
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
D | FsUtils.java | 152 public static boolean diffIgnoreSpaces(String file1, String file2) throws IOException { in diffIgnoreSpaces() argument 153 BufferedReader br1 = new BufferedReader(new FileReader(file1)); in diffIgnoreSpaces()
|