Home
last modified time | relevance | path

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

/system/update_engine/
Dpayload_state_unittest.cc409 EXPECT_EQ(0, payload_state.GetFullPayloadAttemptNumber()); in TEST()
417 EXPECT_EQ(0, payload_state.GetFullPayloadAttemptNumber()); in TEST()
425 EXPECT_EQ(0, payload_state.GetFullPayloadAttemptNumber()); in TEST()
436 EXPECT_EQ(1, payload_state.GetFullPayloadAttemptNumber()); in TEST()
445 EXPECT_EQ(1, payload_state.GetFullPayloadAttemptNumber()); in TEST()
455 EXPECT_EQ(2, payload_state.GetFullPayloadAttemptNumber()); in TEST()
465 EXPECT_EQ(2, payload_state.GetFullPayloadAttemptNumber()); in TEST()
475 EXPECT_EQ(2, payload_state.GetFullPayloadAttemptNumber()); in TEST()
488 EXPECT_EQ(0, payload_state.GetFullPayloadAttemptNumber()); in TEST()
525 EXPECT_EQ(0, payload_state.GetFullPayloadAttemptNumber()); in TEST()
[all …]
Dpayload_state_interface.h112 virtual int GetFullPayloadAttemptNumber() = 0;
Dmock_payload_state.h59 MOCK_METHOD0(GetFullPayloadAttemptNumber, int());
Dpayload_state.h74 inline int GetFullPayloadAttemptNumber() override { in GetFullPayloadAttemptNumber() function
Dpayload_state.cc463 SetFullPayloadAttemptNumber(GetFullPayloadAttemptNumber() + 1); in IncrementFullPayloadAttemptNumber()
511 if (GetFullPayloadAttemptNumber() == 0) { in UpdateBackoffExpiryTime()
524 int power = min(GetFullPayloadAttemptNumber() - 1, kMaxShifts); in UpdateBackoffExpiryTime()