/aosp12/art/libartbase/base/unix_file/ |
H A D | fd_file_test.cc | 80 EXPECT_TRUE(file2.IsOpened()); in TEST_F() 81 EXPECT_TRUE(file2.ReadOnlyMode()); in TEST_F() 82 EXPECT_GE(file2.Fd(), 0); in TEST_F() 84 ASSERT_EQ(file2.Close(), 0); in TEST_F() 198 FdFile file2(std::move(file)); in TEST_F() local 200 EXPECT_TRUE(file2.IsOpened()); in TEST_F() 201 EXPECT_EQ(old_fd, file2.Fd()); in TEST_F() 203 ASSERT_EQ(file2.Flush(), 0); in TEST_F() 204 ASSERT_EQ(file2.Close(), 0); in TEST_F() 217 file2 = std::move(file); in TEST_F() [all …]
|
/aosp12/system/update_engine/scripts/ |
H A D | blockdiff.py | 32 def BlockDiff(block_size, file1, file2, name1, name2, max_length=-1): argument 56 data2 = file2.read(read_length) 103 with open(args.file2) as file2: 104 diff_list = BlockDiff(args.block_size, file1, file2, 105 args.file1, args.file2, args.max_length)
|
/aosp12/packages/modules/StatsD/statsd/tests/storage/ |
H A D | StorageManager_test.cpp | 102 const string file2 = testDir + "2557169349_1066_1"; variable 104 const string file2_history = file2 + "_history"; 116 open(file2.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC, S_IRUSR | S_IWUSR))); in prepareLocalHistoryTestFiles() 127 TEMP_FAILURE_RETRY(remove(file2.c_str())); in clearLocalHistoryTestFiles() 147 EXPECT_FALSE(fileExist(file2)); in TEST() 162 EXPECT_FALSE(fileExist(file2)); in TEST() 177 EXPECT_TRUE(fileExist(file2)); in TEST() 192 EXPECT_FALSE(fileExist(file2)); in TEST()
|
/aosp12/system/apex/apexer/ |
H A D | runtests.sh | 51 head -c 1M </dev/urandom > ${input_dir}/file2 115 sudo diff ${input_dir}/file2 ${output_dir}/mnt/file2 121 [ `sudo stat -c '%u,%g,%A' ${output_dir}/mnt/file2` = "1001,1001,-rw-r--r--" ] 129 [ `sudo ls -Z ${output_dir}/mnt/file2 | cut -d ' ' -f 1` = "u:object_r:root_file:s0" ]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | StorageManagerIntegrationTest.java | 51 File file2 = null; in testMountMultipleObb() local 59 file2 = createObbFile(OBB_FILE_2, R.raw.obb_file2); in testMountMultipleObb() 60 String filePath2 = file2.getAbsolutePath(); in testMountMultipleObb() 76 if (file2 != null) { in testMountMultipleObb() 77 file2.delete(); in testMountMultipleObb()
|
/aosp12/packages/modules/NeuralNetworks/tools/test_generator/tests/ |
H A D | test.py | 117 def ReportIfDifferFromExpected(tests, name, file1, file2): argument 119 if not CompareFiles(file1, file2): 126 DOTTED_LINE, ReadFileToStr(file2), DOTTED_LINE)
|
/aosp12/frameworks/compile/slang/tests/ |
H A D | slang_test.py | 116 def ReportIfDifferFromExpected(tests, name, file1, file2): argument 118 if not CompareFiles(file1, file2): 125 DOTTED_LINE, ReadFileToStr(file2), DOTTED_LINE)
|
/aosp12/frameworks/base/packages/SystemUI/scripts/ |
H A D | new_merge.py | 150 def diff(file1, file2): argument 151 call([DIFF_TOOL, file1, file2])
|
/aosp12/system/apex/apexd/ |
H A D | apexd_test_utils.h | 171 std::ifstream file2(filename2, std::ios::binary); in CompareFiles() 173 if (file1.bad() || file2.bad()) { in CompareFiles() 178 std::istreambuf_iterator<char> begin2(file2); in CompareFiles()
|
/aosp12/build/make/tools/releasetools/ |
H A D | target_files_diff.py | 136 def diff(name, file1, file2, out_file): argument 141 with preprocess(name, file2) as f2:
|
H A D | test_ota_from_target_files.py | 1093 def _assertFilesEqual(self, file1, file2): argument 1094 with open(file1, 'rb') as fp1, open(file2, 'rb') as fp2:
|
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/blob/ |
H A D | BlobStoreManagerServiceTest.java | 214 final File file2 = mock(File.class); in testHandleIdleMaintenance_deleteUnknownBlobs() local 215 doReturn(String.valueOf(testId2)).when(file2).getName(); in testHandleIdleMaintenance_deleteUnknownBlobs() 220 doReturn(new File[] {file1, file2, file3}).when(mBlobsDir).listFiles(); in testHandleIdleMaintenance_deleteUnknownBlobs() 228 verify(file2).delete(); in testHandleIdleMaintenance_deleteUnknownBlobs()
|
/aosp12/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
H A D | HelpersTest.java | 629 final File file2 = new File(getContext().getExternalFilesDir(null), in prepareData() local 631 cursor.addRow(new Object[]{++counter, uid, destination, file2.getPath()}); in prepareData() 647 final File file2 = new File(getContext().getExternalFilesDir(null), in prepareData() local 649 cursor.addRow(new Object[]{++counter, uid, destination, file2.getPath()}); in prepareData()
|
/aosp12/art/dex2oat/ |
H A D | dex2oat_image_test.cc | 147 std::unique_ptr<File> file2(OS::OpenFileForReading(filename2.c_str())); in CompareFiles() local 149 if (file1 == nullptr || file2 == nullptr) { in CompareFiles() 153 if (file1->GetLength() <= 0 || file2->GetLength() != file1->GetLength()) { in CompareFiles() 156 return file1->Compare(file2.get()) == 0; in CompareFiles()
|
/aosp12/frameworks/native/libs/binder/rust/tests/ |
H A D | serialization.rs | 270 let file2 = parcel.read::<ParcelFileDescriptor>()?; in on_transact() localVariable 274 reply.write(&file2)?; in on_transact()
|
/aosp12/system/timezone/distro/core/src/test/com/android/timezone/distro/ |
H A D | FileUtilsTest.java | 56 File file2 = createRegularFile(dir, "file2"); in testDeleteRecursive() local 69 File[] filesToDelete = { dir, file1, file2, symLink1, subDir, file3, file4, symLink2, in testDeleteRecursive()
|
/aosp12/frameworks/native/cmds/installd/tests/ |
H A D | installd_dexopt_test.cpp | 1071 bool AreFilesEqual(const std::string& file1, const std::string& file2) { in AreFilesEqual() argument 1076 if (!ReadAll(file2, &content2)) return false; in AreFilesEqual()
|
/aosp12/system/apex/docs/ |
H A D | howto.md | 486 /file2 1000 1000 0644
|
/aosp12/frameworks/wilhelm/doc/ |
H A D | Doxyfile | 1394 # TAGFILES = file1 file2 ... 1397 # TAGFILES = file1=loc1 "file2 = loc2" ...
|
/aosp12/packages/apps/LegacyCamera/jni/feature_mos/doc/ |
H A D | feature_mos_API_doxyfile | 1330 # TAGFILES = file1 file2 ... 1332 # TAGFILES = file1=loc1 "file2 = loc2" ...
|
/aosp12/packages/apps/LegacyCamera/jni/feature_stab/doc/ |
H A D | dbreg_API_doxyfile | 1330 # TAGFILES = file1 file2 ... 1332 # TAGFILES = file1=loc1 "file2 = loc2" ...
|
/aosp12/frameworks/native/docs/ |
H A D | Doxyfile | 1664 # TAGFILES = file1 file2 ... 1666 # TAGFILES = file1=loc1 "file2 = loc2" ...
|
/aosp12/frameworks/av/media/libaaudio/ |
H A D | Doxyfile | 1975 # TAGFILES = file1 file2 ... 1977 # TAGFILES = file1=loc1 "file2 = loc2" ...
|
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
H A D | Doxyfile.in | 2030 # TAGFILES = file1 file2 ... 2032 # TAGFILES = file1=loc1 "file2 = loc2" ...
|
/aosp12/frameworks/av/media/codec2/docs/ |
H A D | doxygen.config | 2089 # TAGFILES = file1 file2 ... 2091 # TAGFILES = file1=loc1 "file2 = loc2" ...
|