Home
last modified time | relevance | path

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

/system/update_engine/
Dpayload_state_unittest.cc1077 PayloadState payload_state2; in TEST() local
1078 EXPECT_TRUE(payload_state2.Initialize(&fake_system_state)); in TEST()
1079 EXPECT_EQ(payload_state2.GetUpdateDuration().InMicroseconds(), 10000000); in TEST()
1080 EXPECT_EQ(payload_state2.GetUpdateDurationUptime().InMicroseconds(), in TEST()
1087 payload_state2.UpdateSucceeded(); in TEST()
1088 EXPECT_EQ(payload_state2.GetUpdateDuration().InMicroseconds(), 17000000); in TEST()
1089 EXPECT_EQ(payload_state2.GetUpdateDurationUptime().InMicroseconds(), in TEST()
1121 PayloadState payload_state2; in TEST() local
1122 EXPECT_TRUE(payload_state2.Initialize(&fake_system_state)); in TEST()
1130 payload_state2.UpdateEngineStarted(); in TEST()
[all …]