Home
last modified time | relevance | path

Searched refs:GetBootEvent (Results 1 – 4 of 4) sorted by relevance

/system/core/bootstat/
Dboot_event_record_store_test.cpp189 TEST_F(BootEventRecordStoreTest, GetBootEvent) { in TEST_F() argument
195 bool result = store.GetBootEvent("nonexistent", &record); in TEST_F()
199 EXPECT_DEATH(store.GetBootEvent(std::string(), &record), std::string()); in TEST_F()
203 result = store.GetBootEvent("carboniferous", &record); in TEST_F()
209 EXPECT_DEATH(store.GetBootEvent("carboniferous", nullptr), std::string()); in TEST_F()
221 bool result = store.GetBootEvent("devonian", &record); in TEST_F()
Dboot_event_record_store.h46 bool GetBootEvent(const std::string& event, BootEventRecord* record) const;
57 FRIEND_TEST(BootEventRecordStoreTest, GetBootEvent);
Dboot_event_record_store.cpp98 bool BootEventRecordStore::GetBootEvent(const std::string& event, BootEventRecord* record) const { in GetBootEvent() function in BootEventRecordStore
131 if (!GetBootEvent(event, &record)) { in GetAllBootEvents()
Dbootstat.cpp1119 if (!boot_event_store.GetBootEvent(kBuildDateKey, &record)) { in CalculateBootCompletePrefix()
1290 if (boot_event_store.GetBootEvent("last_boot_time_utc", &record)) { in RecordBootComplete()
1308 if (boot_event_store.GetBootEvent("post_decrypt_time_elapsed", &record)) { in RecordBootComplete()
1418 if (!boot_event_store.GetBootEvent("factory_reset", &record)) { in RecordFactoryReset()