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

/system/core/bootstat/
H A Dboot_event_record_store.h46 bool GetBootEvent(const std::string& event, BootEventRecord* record) const;
57 FRIEND_TEST(BootEventRecordStoreTest, GetBootEvent);
H A Dboot_event_record_store_test.cpp194 TEST_F(BootEventRecordStoreTest, GetBootEvent) {
200 bool result = store.GetBootEvent("nonexistent", &record);
204 EXPECT_DEATH(store.GetBootEvent(std::string(), &record), std::string());
208 result = store.GetBootEvent("carboniferous", &record);
214 EXPECT_DEATH(store.GetBootEvent("carboniferous", nullptr), std::string());
226 bool result = store.GetBootEvent("devonian", &record);
H A Dboot_event_record_store.cpp120 bool BootEventRecordStore::GetBootEvent( function in class:BootEventRecordStore
155 if (!GetBootEvent(event, &record)) {
H A Dbootstat.cpp154 if (!boot_event_store.GetBootEvent(kBuildDateKey, &record) ||
176 if (boot_event_store.GetBootEvent("post_decrypt_time_elapsed", &record)) {
236 if (!boot_event_store.GetBootEvent("factory_reset", &record)) {

Completed in 386 milliseconds