Home
last modified time | relevance | path

Searched refs:change_id (Results 1 – 2 of 2) sorted by relevance

/art/runtime/
Dcompat_framework.cc38 bool CompatFramework::IsChangeEnabled(uint64_t change_id) { in IsChangeEnabled() argument
39 const auto enabled = disabled_compat_changes_.count(change_id) == 0; in IsChangeEnabled()
40 ReportChange(change_id, enabled ? ChangeState::kEnabled : ChangeState::kDisabled); in IsChangeEnabled()
44 void CompatFramework::LogChange(uint64_t change_id) { in LogChange() argument
45 ReportChange(change_id, ChangeState::kLogged); in LogChange()
48 void CompatFramework::ReportChange(uint64_t change_id, ChangeState state) { in ReportChange() argument
50 bool already_reported = reported_compat_changes_.count(change_id) != 0; in ReportChange()
54 LOG(DEBUG) << "Compat change id reported: " << change_id << "; UID " << getuid() in ReportChange()
57 reported_compat_changes_.emplace(change_id); in ReportChange()
Dcompat_framework.h54 bool IsChangeEnabled(uint64_t change_id);
59 void LogChange(uint64_t change_id);
66 void ReportChange(uint64_t change_id, ChangeState state);