Home
last modified time | relevance | path

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

/system/update_engine/
Dpayload_state_unittest.cc412 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 …]
Dpayload_state_interface.h112 virtual int GetFullPayloadAttemptNumber() = 0;
Dmock_payload_state.h59 MOCK_METHOD0(GetFullPayloadAttemptNumber, int());
Dpayload_state.h75 inline int GetFullPayloadAttemptNumber() override { in GetFullPayloadAttemptNumber() function
Dpayload_state.cc473 SetFullPayloadAttemptNumber(GetFullPayloadAttemptNumber() + 1); in IncrementFullPayloadAttemptNumber()
538 if (GetFullPayloadAttemptNumber() == 0) { in UpdateBackoffExpiryTime()
551 int power = min(GetFullPayloadAttemptNumber() - 1, kMaxShifts); in UpdateBackoffExpiryTime()