Searched refs:GetFullPayloadAttemptNumber (Results 1 – 5 of 5) sorted by relevance
/system/update_engine/ |
D | payload_state_unittest.cc | 412 EXPECT_EQ(0, payload_state.GetFullPayloadAttemptNumber()); in TEST() 420 EXPECT_EQ(0, payload_state.GetFullPayloadAttemptNumber()); in TEST() 428 EXPECT_EQ(0, payload_state.GetFullPayloadAttemptNumber()); in TEST() 439 EXPECT_EQ(1, payload_state.GetFullPayloadAttemptNumber()); in TEST() 448 EXPECT_EQ(1, payload_state.GetFullPayloadAttemptNumber()); in TEST() 458 EXPECT_EQ(2, payload_state.GetFullPayloadAttemptNumber()); in TEST() 468 EXPECT_EQ(2, payload_state.GetFullPayloadAttemptNumber()); in TEST() 478 EXPECT_EQ(2, payload_state.GetFullPayloadAttemptNumber()); in TEST() 491 EXPECT_EQ(0, payload_state.GetFullPayloadAttemptNumber()); in TEST() 528 EXPECT_EQ(0, payload_state.GetFullPayloadAttemptNumber()); in TEST() [all …]
|
D | payload_state_interface.h | 112 virtual int GetFullPayloadAttemptNumber() = 0;
|
D | mock_payload_state.h | 59 MOCK_METHOD0(GetFullPayloadAttemptNumber, int());
|
D | payload_state.h | 75 inline int GetFullPayloadAttemptNumber() override { in GetFullPayloadAttemptNumber() function
|
D | payload_state.cc | 473 SetFullPayloadAttemptNumber(GetFullPayloadAttemptNumber() + 1); in IncrementFullPayloadAttemptNumber() 538 if (GetFullPayloadAttemptNumber() == 0) { in UpdateBackoffExpiryTime() 551 int power = min(GetFullPayloadAttemptNumber() - 1, kMaxShifts); in UpdateBackoffExpiryTime()
|