Home
last modified time | relevance | path

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

/frameworks/base/services/incremental/test/
DIncrementalServiceTest.cpp269 class MockIncFs : public IncFsWrapper { class
292 MockIncFs() { ON_CALL(*this, listExistingMounts(_)).WillByDefault(Return()); } in MockIncFs() function in android::os::incremental::MockIncFs
297 ON_CALL(*this, openMount(_)).WillByDefault(Invoke(this, &MockIncFs::openMountForHealth)); in openMountSuccess()
473 std::unique_ptr<MockIncFs> incfs, in MockServiceManager()
498 std::unique_ptr<MockIncFs> mIncFs;
516 auto incFs = std::make_unique<NiceMock<MockIncFs>>(); in SetUp()
556 .WillByDefault(Invoke(mIncFs, &MockIncFs::getMountInfoMetadata)); in setUpExistingMountDir()
558 .WillByDefault(Invoke(mIncFs, &MockIncFs::getBindPointMetadata)); in setUpExistingMountDir()
560 .WillByDefault(Invoke(mIncFs, &MockIncFs::getStorageMetadata)); in setUpExistingMountDir()
565 NiceMock<MockIncFs>* mIncFs = nullptr;
[all …]