Home
last modified time | relevance | path

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

/system/update_engine/
Dpayload_state_unittest.cc1097 PayloadState payload_state2; in TEST() local
1098 EXPECT_TRUE(payload_state2.Initialize(&fake_system_state)); in TEST()
1099 payload_state2.SetResponse(response); in TEST()
1100 EXPECT_EQ(payload_state2.GetUpdateDuration().InMicroseconds(), 10000000); in TEST()
1101 EXPECT_EQ(payload_state2.GetUpdateDurationUptime().InMicroseconds(), in TEST()
1108 payload_state2.UpdateSucceeded(); in TEST()
1109 EXPECT_EQ(payload_state2.GetUpdateDuration().InMicroseconds(), 17000000); in TEST()
1110 EXPECT_EQ(payload_state2.GetUpdateDurationUptime().InMicroseconds(), in TEST()
1143 PayloadState payload_state2; in TEST() local
1144 EXPECT_TRUE(payload_state2.Initialize(&fake_system_state)); in TEST()
[all …]