Lines Matching refs:MockIncFs
377 class MockIncFs : public IncFsWrapper { class
422 MockIncFs() { in MockIncFs() function in android::os::incremental::MockIncFs
447 ON_CALL(*this, openMount(_)).WillByDefault(Invoke(this, &MockIncFs::openMountForHealth)); in openMountSuccess()
681 std::unique_ptr<MockIncFs> incfs, in MockServiceManager()
718 std::unique_ptr<MockIncFs> mIncFs;
739 auto incFs = std::make_unique<NiceMock<MockIncFs>>(); in SetUp()
786 .WillByDefault(Invoke(mIncFs, &MockIncFs::getMountInfoMetadata)); in setUpExistingMountDir()
788 .WillByDefault(Invoke(mIncFs, &MockIncFs::getBindPointMetadata)); in setUpExistingMountDir()
790 .WillByDefault(Invoke(mIncFs, &MockIncFs::getStorageMetadata)); in setUpExistingMountDir()
854 NiceMock<MockIncFs>* mIncFs = nullptr;
1229 EXPECT_CALL(*mLooper, addFd(MockIncFs::kPendingReadsFd, _, _, _, _)).Times(1); in TEST_F()
1230 EXPECT_CALL(*mLooper, removeFd(MockIncFs::kPendingReadsFd)).Times(1); in TEST_F()
1265 EXPECT_CALL(*mLooper, addFd(MockIncFs::kPendingReadsFd, _, _, _, _)).Times(1); in TEST_F()
1266 EXPECT_CALL(*mLooper, removeFd(MockIncFs::kPendingReadsFd)).Times(1); in TEST_F()
1322 EXPECT_CALL(*mLooper, addFd(MockIncFs::kPendingReadsFd, _, _, _, _)).Times(2); in TEST_F()
1323 EXPECT_CALL(*mLooper, removeFd(MockIncFs::kPendingReadsFd)).Times(2); in TEST_F()