Searched refs:GetBootEvent (Results 1 – 4 of 4) sorted by relevance
/system/core/bootstat/ |
D | boot_event_record_store_test.cpp | 189 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()
|
D | boot_event_record_store.h | 46 bool GetBootEvent(const std::string& event, BootEventRecord* record) const; 57 FRIEND_TEST(BootEventRecordStoreTest, GetBootEvent);
|
D | boot_event_record_store.cpp | 98 bool BootEventRecordStore::GetBootEvent(const std::string& event, BootEventRecord* record) const { in GetBootEvent() function in BootEventRecordStore 131 if (!GetBootEvent(event, &record)) { in GetAllBootEvents()
|
D | bootstat.cpp | 1119 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()
|