Lines Matching refs:MockIncFs
269 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;
765 EXPECT_CALL(*mLooper, addFd(MockIncFs::kPendingReadsFd, _, _, _, _)).Times(1); in TEST_F()
766 EXPECT_CALL(*mLooper, removeFd(MockIncFs::kPendingReadsFd)).Times(1); in TEST_F()
791 EXPECT_CALL(*mLooper, addFd(MockIncFs::kPendingReadsFd, _, _, _, _)).Times(2); in TEST_F()
792 EXPECT_CALL(*mLooper, removeFd(MockIncFs::kPendingReadsFd)).Times(2); in TEST_F()