Home
last modified time | relevance | path

Searched refs:file1 (Results 1 – 19 of 19) 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.cpp129 const string file1 = testDir + "2557169347_1066_1"; variable
131 const string file1_history = file1 + "_history";
136 open(file1.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC, S_IRUSR | S_IWUSR))); in prepareLocalHistoryTestFiles()
154 TEMP_FAILURE_RETRY(remove(file1.c_str())); in clearLocalHistoryTestFiles()
174 EXPECT_FALSE(fileExist(file1)); in TEST()
189 EXPECT_FALSE(fileExist(file1)); in TEST()
204 EXPECT_TRUE(fileExist(file1)); in TEST()
219 EXPECT_FALSE(fileExist(file1)); in TEST()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DMountServiceTests.java257 final File file1 = getFilePath("test1.obb"); in testMountAndUnmountTwoObbs() local
260 ObbObserver oo1 = mountObbWithoutWait(sm, R.raw.test1, file1); in testMountAndUnmountTwoObbs()
264 waitForObbActionCompletion(sm, file1, oo1, OnObbStateChangeListener.MOUNTED, false); in testMountAndUnmountTwoObbs()
268 final String mountPath1 = checkMountedPath(sm, file1); in testMountAndUnmountTwoObbs()
276 unmountObb(sm, file1, OnObbStateChangeListener.UNMOUNTED); in testMountAndUnmountTwoObbs()
/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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddescriptor_database_unittest.cc490 FileDescriptorProto file1, file2a, file2b; in TEST() local
491 file1.set_name("foo.proto"); in TEST()
492 file1.set_package("foo"); in TEST()
493 file1.add_message_type()->set_name("Foo"); in TEST()
499 string data1 = file1.SerializeAsString(); in TEST()
/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/opt/gamesdk/src/tuningfork/tools/validation/src/test/java/com/google/tuningfork/validation/
DDeveloperTuningforkParserTest.java110 File file1 = new File(tempFolder.getRoot(), "dev_tuningfork_fidelityparams_1.bin"); in checkFidelityParametersFiles() local
115 assertThat(file1.exists()).isTrue(); in checkFidelityParametersFiles()
/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/native/cmds/installd/tests/
Dinstalld_dexopt_test.cpp943 bool AreFilesEqual(const std::string& file1, const std::string& file2) { in AreFilesEqual() argument
947 if (!ReadAll(file1, &content1)) return false; in AreFilesEqual()
/frameworks/ml/nn/tools/test_generator/
DREADME.md394 $ANDROID_BUILD_TOP/frameworks/ml/nn/runtime/test/specs/generate_test.sh -f file1.mod.py file2.mod.p…
/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/
DDoxyfile1975 # TAGFILES = file1 file2 ...
1977 # TAGFILES = file1=loc1 "file2 = loc2" ...
DDoxyfile.orig1966 # TAGFILES = file1 file2 ...
1968 # 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" ...
/frameworks/av/media/codec2/docs/
Ddoxygen.config2089 # TAGFILES = file1 file2 ...
2091 # TAGFILES = file1=loc1 "file2 = loc2" ...