Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot_stub.h33 UpdateState GetUpdateState(double* progress = nullptr) override;
Dmock_snapshot.h33 MOCK_METHOD(UpdateState, GetUpdateState, (double* progress), (override));
Dsnapshot.h166 virtual UpdateState GetUpdateState(double* progress = nullptr) = 0;
287 UpdateState GetUpdateState(double* progress = nullptr) override;
/system/core/fs_mgr/libsnapshot/
Dsnapshot_stub.cpp56 UpdateState SnapshotManagerStub::GetUpdateState(double*) { in GetUpdateState() function in android::snapshot::SnapshotManagerStub
Dsnapshot_fuzz.cpp102 SNAPSHOT_FUZZ_FUNCTION(GetUpdateState, UpdateState, bool has_progress_arg) { in SNAPSHOT_FUZZ_FUNCTION() argument
104 return snapshot->GetUpdateState(has_progress_arg ? &progress : nullptr); in SNAPSHOT_FUZZ_FUNCTION()
Dsnapshot_test.cpp152 if (sm->GetUpdateState() != UpdateState::None) { in CleanupTestArtifacts()
497 ASSERT_EQ(sm->GetUpdateState(), UpdateState::None); in TEST_F()
594 ASSERT_EQ(sm->GetUpdateState(), UpdateState::None); in TEST_F()
1459 ASSERT_EQ(new_sm->GetUpdateState(), UpdateState::None); in TEST_F()
1527 EXPECT_EQ(new_sm->GetUpdateState(), UpdateState::Unverified); in TEST_F()
1550 EXPECT_EQ(new_sm->GetUpdateState(), UpdateState::None); in TEST_F()
1580 EXPECT_EQ(new_sm->GetUpdateState(), UpdateState::None); in TEST_F()
Dsnapshot.cpp1415 UpdateState SnapshotManager::GetUpdateState(double* progress) { in GetUpdateState() function in android::snapshot::SnapshotManager
/system/update_engine/
Dcleanup_previous_update_action.cc295 snapshot_->GetUpdateState(&percentage); in OnMergePercentageUpdate()
354 auto state = snapshot_->GetUpdateState(); in InitiateMergeAndWait()
Ddynamic_partition_control_android.cc874 if (snapshot_->GetUpdateState() == UpdateState::Initiated) { in FinishUpdate()