Searched refs:expected_build_id (Results 1 – 8 of 8) sorted by relevance
/system/extras/simpleperf/scripts/ |
D | binary_cache_builder.py | 101 def check_and_pull_binary(self, path: str, expected_build_id: str, binary_cache_file: Path): 106 not expected_build_id or expected_build_id == self.read_build_id(binary_cache_file) 197 for path, expected_build_id in binaries: 198 if expected_build_id == build_id: 218 for path, expected_build_id in self.filename_map.get(filename, []): 219 if not expected_build_id: 224 self, from_path: Path, expected_build_id: str, device_path: str): 225 to_path = self.binary_cache.get_path_in_cache(device_path, expected_build_id) 226 if not self.need_to_copy(from_path, to_path, expected_build_id): 235 def need_to_copy(self, from_path: Path, to_path: Path, expected_build_id: str): [all …]
|
D | simpleperf_utils.py | 442 expected_build_id: Optional[str]) -> Optional[Path]: 446 if expected_build_id: 447 path = self.build_id_map.get(expected_build_id) 448 if path and self._check_path(path, expected_build_id): 453 if self._check_path(path, expected_build_id): 457 if self._check_path(path, expected_build_id): 461 def _check_path(self, path: Path, expected_build_id: Optional[str]) -> bool: 464 if expected_build_id is not None: 465 return self.readelf.get_build_id(path) == expected_build_id 819 def get_dso_info(self, dso_path: str, expected_build_id: Optional[str] [all …]
|
/system/core/init/ |
D | property_service_test.cpp | 104 std::string expected_build_id = legacy_build_id + "." + vbmeta_digest.substr(0, 8); in TEST() local 105 ASSERT_EQ(expected_build_id, build_id); in TEST() 117 expected_build_id, in TEST()
|
/system/unwinding/libunwindstack/tests/ |
D | MapInfoGetBuildIDTest.cpp | 57 void MultipleThreadTest(std::string expected_build_id); 92 void MapInfoGetBuildIDTest::MultipleThreadTest(std::string expected_build_id) { in MultipleThreadTest() argument 120 EXPECT_EQ(expected_build_id, build_id_values[i]) << "Thread " << i << " mismatched."; in MultipleThreadTest()
|
/system/extras/simpleperf/ |
D | read_elf.h | 88 const BuildId* expected_build_id, ElfStatus* status);
|
D | read_elf.cpp | 547 const BuildId* expected_build_id, ElfStatus* status) { in Open() argument 576 if (elf && expected_build_id != nullptr && !expected_build_id->IsEmpty()) { in Open() 582 if (*expected_build_id != real_build_id) { in Open()
|
D | read_elf_test.cpp | 47 BuildId expected_build_id(build_id_data, 20); in TEST() local 62 ASSERT_TRUE(build_id == expected_build_id); in TEST()
|
D | cmd_inject.cpp | 625 bool CheckBuildId(Dso* dso, const BuildId& expected_build_id) { in CheckBuildId() argument 626 if (expected_build_id.IsEmpty()) { in CheckBuildId() 631 build_id == expected_build_id; in CheckBuildId()
|