Home
last modified time | relevance | path

Searched refs:target_file (Results 1 – 6 of 6) sorted by relevance

/system/extras/simpleperf/scripts/test/
Dbinary_cache_builder_test.py45 target_file = binary_cache_builder.find_path_in_cache(filename)
46 remove(target_file)
49 self.assertTrue(filecmp.cmp(target_file, source_file))
54 self.assertTrue(filecmp.cmp(target_file, source_file))
59 self.assertTrue(filecmp.cmp(target_file, source_file))
66 target_file = binary_cache_builder.find_path_in_cache('elf')
68 self.assertTrue(filecmp.cmp(target_file, source_file))
70 self.assertTrue(filecmp.cmp(target_file, source_file))
88 target_file = builder.find_path_in_cache(filename)
89 self.assertTrue(filecmp.cmp(target_file, source_file))
[all …]
Dapp_profiler_test.py129 target_file = downloader.dir_on_device + name
130 target_file_stat = self.list_lib_on_device(target_file)
135 self.assertEqual(target_file_stat, self.list_lib_on_device(target_file))
138 self.adb.check_run(['shell', 'truncate', '-s', '0', target_file])
139 target_file_stat = self.list_lib_on_device(target_file)
141 self.assertNotEqual(target_file_stat, self.list_lib_on_device(target_file))
/system/sepolicy/build/
Dbuild_sepolicy.py130 file_utils.filter_out(args.filter_out_files, args.target_file)
/system/update_engine/common/
Dutils_unittest.cc398 string target_file = mnt_dir.GetPath().Append("empty-file").value(); in TEST() local
399 int fd = HANDLE_EINTR(open(target_file.c_str(), O_RDONLY)); in TEST()
/system/apex/apexd/
Dapexd.cpp3976 std::string target_file = in ComputePackageIdMinor() local
3979 if (access(target_file.c_str(), F_OK) == 0) { in ComputePackageIdMinor()
4096 std::string target_file = in InstallPackage() local
4100 if (unlink(target_file.c_str()) != 0 && errno != ENOENT) { in InstallPackage()
4101 PLOG(ERROR) << "Failed to unlink " << target_file; in InstallPackage()
4118 if (link(package_path.c_str(), target_file.c_str()) != 0) { in InstallPackage()
4120 << target_file; in InstallPackage()
4123 auto new_apex = ApexFile::Open(target_file); in InstallPackage()
4151 ReleaseF2fsCompressedBlocks(target_file); in InstallPackage()
/system/update_engine/
DREADME.md49 with source and destination builds. This script requires target_file.zip to work,