Home
last modified time | relevance | path

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

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/volume/test/
H A Dexternal_volume_info_test.cpp114 EXPECT_CALL(mock, DoUMount(testing::_)).Times(1).WillOnce(testing::Return(E_UMOUNT));
115 auto ret = mock.DoUMount(force);
118 EXPECT_CALL(mock, DoUMount(testing::_)).Times(1).WillOnce(testing::Return(E_SYS_CALL));
119 ret = mock.DoUMount(force);
122 EXPECT_CALL(mock, DoUMount(testing::_)).Times(1).WillOnce(testing::Return(E_OK));
123 ret = mock.DoUMount(force);
H A Dexternal_volume_info_mock.h31 MOCK_METHOD1(DoUMount, int32_t(bool));
H A Dvolume_info_mock.h31 MOCK_METHOD1(DoUMount, int32_t(bool));
H A Dvolume_info_test.cpp132 EXPECT_CALL(mock, DoUMount(testing::_)).Times(1).WillOnce(testing::Return(E_OK));
310 EXPECT_CALL(mock, DoUMount(testing::_)).Times(1).WillOnce(testing::Return(E_OK));
379 EXPECT_CALL(mock, DoUMount(testing::_)).Times(1).WillOnce(testing::Return(E_ERR));
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/volume/
H A Dvolume_info.h59 virtual int32_t DoUMount(bool force) = 0;
H A Dexternal_volume_info.h41 virtual int32_t DoUMount(bool force) override;
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/volume/src/
H A Dvolume_info.cpp158 err = DoUMount(force); in UMount()
H A Dexternal_volume_info.cpp205 int32_t ExternalVolumeInfo::DoUMount(bool force) in DoUMount() function in OHOS::StorageDaemon::ExternalVolumeInfo