Home
last modified time | relevance | path

Searched refs:file1 (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageManagerIntegrationTest.java50 File file1 = null; in testMountMultipleObb() local
54 file1 = createObbFile(OBB_FILE_1, R.raw.obb_file1); in testMountMultipleObb()
55 String filePath1 = file1.getAbsolutePath(); in testMountMultipleObb()
73 if (file1 != null) { in testMountMultipleObb()
74 file1.delete(); in testMountMultipleObb()
113 File file1 = null; in testMountTwoEncryptedObb() local
120 file1 = createObbFile(OBB_FILE_1_ENCRYPTED, R.raw.obb_enc_file100_orig1); in testMountTwoEncryptedObb()
121 String filePath1 = file1.getAbsolutePath(); in testMountTwoEncryptedObb()
131 if (file1 != null) { in testMountTwoEncryptedObb()
132 file1.delete(); in testMountTwoEncryptedObb()
/frameworks/base/cmds/statsd/tests/storage/
DStorageManager_test.cpp101 const string file1 = testDir + "2557169347_1066_1"; variable
103 const string file1_history = file1 + "_history";
108 open(file1.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC, S_IRUSR | S_IWUSR))); in prepareLocalHistoryTestFiles()
126 TEMP_FAILURE_RETRY(remove(file1.c_str())); in clearLocalHistoryTestFiles()
146 EXPECT_FALSE(fileExist(file1)); in TEST()
161 EXPECT_FALSE(fileExist(file1)); in TEST()
176 EXPECT_TRUE(fileExist(file1)); in TEST()
191 EXPECT_FALSE(fileExist(file1)); in TEST()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DIconTest.java188 final File file1 = new File(dir, "file1-original.png"); in testWithFile() local
190 new FileOutputStream(file1)); in testWithFile()
192 final Icon im1 = Icon.createWithFilePath(file1.toString()); in testWithFile()
212 final File file1 = new File(dir, "async-original.png"); in testAsync() local
214 new FileOutputStream(file1)); in testAsync()
216 final Icon im1 = Icon.createWithFilePath(file1.toString()); in testAsync()
269 final Icon file1 = Icon.createWithFilePath(originalfile.getAbsolutePath()); in testParcel() local
270 imgs.add(file1); in testParcel()
/frameworks/ml/nn/tools/test_generator/tests/
Dtest.py117 def ReportIfDifferFromExpected(tests, name, file1, file2): argument
119 if not CompareFiles(file1, file2):
125 DOTTED_LINE, ReadFileToStr(file1), DOTTED_LINE,
/frameworks/compile/slang/tests/
Dslang_test.py116 def ReportIfDifferFromExpected(tests, name, file1, file2): argument
118 if not CompareFiles(file1, file2):
124 DOTTED_LINE, ReadFileToStr(file1), DOTTED_LINE,
/frameworks/base/packages/SystemUI/scripts/
Dnew_merge.py150 def diff(file1, file2): argument
151 call([DIFF_TOOL, file1, file2])
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
DLoaderDicom.java520 for (File file1 : files) { in buildRSVolume2()
521 if (file1.isDirectory()) { in buildRSVolume2()
524 if (file1.getName().equals(".DS_Store")) { in buildRSVolume2()
527 toRun.add(file1); in buildRSVolume2()
528 fileMap.put(file1, count); in buildRSVolume2()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/blob/
DBlobStoreManagerServiceTest.java215 final File file1 = mock(File.class); in testHandleIdleMaintenance_deleteUnknownBlobs() local
216 doReturn(String.valueOf(testId1)).when(file1).getName(); in testHandleIdleMaintenance_deleteUnknownBlobs()
224 doReturn(new File[] {file1, file2, file3}).when(mBlobsDir).listFiles(); in testHandleIdleMaintenance_deleteUnknownBlobs()
231 verify(file1, never()).delete(); in testHandleIdleMaintenance_deleteUnknownBlobs()
/frameworks/native/cmds/installd/tests/
Dinstalld_dexopt_test.cpp1022 bool AreFilesEqual(const std::string& file1, const std::string& file2) { in AreFilesEqual() argument
1026 if (!ReadAll(file1, &content1)) return false; in AreFilesEqual()
/frameworks/wilhelm/doc/
DDoxyfile1394 # TAGFILES = file1 file2 ...
1397 # TAGFILES = file1=loc1 "file2 = loc2" ...
/frameworks/native/docs/
DDoxyfile1648 # TAGFILES = file1 file2 ...
1650 # TAGFILES = file1=loc1 "file2 = loc2" ...
/frameworks/av/media/libaaudio/
DDoxyfile.orig1966 # TAGFILES = file1 file2 ...
1968 # TAGFILES = file1=loc1 "file2 = loc2" ...
DDoxyfile1975 # TAGFILES = file1 file2 ...
1977 # TAGFILES = file1=loc1 "file2 = loc2" ...
/frameworks/av/media/codec2/docs/
Ddoxygen.config2089 # TAGFILES = file1 file2 ...
2091 # TAGFILES = file1=loc1 "file2 = loc2" ...
/frameworks/base/media/native/midi/include/
DDoxyfile.orig2130 # TAGFILES = file1 file2 ...
2132 # TAGFILES = file1=loc1 "file2 = loc2" ...
DDoxyfile2130 # TAGFILES = file1 file2 ...
2132 # TAGFILES = file1=loc1 "file2 = loc2" ...