Home
last modified time | relevance | path

Searched refs:expected_build_id (Results 1 – 8 of 8) sorted by relevance

/system/extras/simpleperf/scripts/
Dbinary_cache_builder.py101 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 …]
Dsimpleperf_utils.py442 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/
Dproperty_service_test.cpp104 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/
DMapInfoGetBuildIDTest.cpp57 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/
Dread_elf.h88 const BuildId* expected_build_id, ElfStatus* status);
Dread_elf.cpp547 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()
Dread_elf_test.cpp47 BuildId expected_build_id(build_id_data, 20); in TEST() local
62 ASSERT_TRUE(build_id == expected_build_id); in TEST()
Dcmd_inject.cpp625 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()