Searched refs:GetFullPayloadAttemptNumber (Results 1 – 5 of 5) sorted by relevance
/system/update_engine/ |
D | payload_state_unittest.cc | 409 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 …]
|
D | payload_state_interface.h | 112 virtual int GetFullPayloadAttemptNumber() = 0;
|
D | mock_payload_state.h | 59 MOCK_METHOD0(GetFullPayloadAttemptNumber, int());
|
D | payload_state.h | 74 inline int GetFullPayloadAttemptNumber() override { in GetFullPayloadAttemptNumber() function
|
D | payload_state.cc | 463 SetFullPayloadAttemptNumber(GetFullPayloadAttemptNumber() + 1); in IncrementFullPayloadAttemptNumber() 511 if (GetFullPayloadAttemptNumber() == 0) { in UpdateBackoffExpiryTime() 524 int power = min(GetFullPayloadAttemptNumber() - 1, kMaxShifts); in UpdateBackoffExpiryTime()
|