Home
last modified time | relevance | path

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

/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloud_file_kit_inner/data_sync/
H A Dsync_state_manager_test.cpp26 MOCK_METHOD1(UpdateSyncState, Action(SyncState newState));
87 EXPECT_CALL(mockSyncStateManager, UpdateSyncState(SyncState::INIT)).Times(1);
88 EXPECT_CALL(mockSyncStateManager, UpdateSyncState(SyncState::SYNCING)).Times(1);
92 EXPECT_EQ(mockSyncStateManager.UpdateSyncState(SyncState::INIT), Action::STOP);
218 int32_t ret = (int32_t)syncStateManager.UpdateSyncState(SyncState::INIT);
220 ret = (int32_t)syncStateManager.UpdateSyncState(SyncState::SYNCING);
222 ret = (int32_t)syncStateManager.UpdateSyncState(SyncState::SYNC_FAILED);
224 ret = (int32_t)syncStateManager.UpdateSyncState(SyncState::SYNC_SUCCEED);
257 Action action = syncStateManager.UpdateSyncState(SyncState::SYNCING);
279 Action action = syncStateManager.UpdateSyncState(SyncState::SYNCING);
[all …]
H A Ddata_syncer_rdb_store_test.cpp31 …MOCK_METHOD3(UpdateSyncState, int32_t(int32_t userId, const string &bundleName, SyncState syncStat…
129 EXPECT_CALL(mockDataSyncerRdbStore, UpdateSyncState(userId, bundleName, SyncState::INIT))
131 … EXPECT_CALL(mockDataSyncerRdbStore, UpdateSyncState(userId, bundleName, SyncState::SYNC_SUCCEED))
134 … EXPECT_EQ(mockDataSyncerRdbStore.UpdateSyncState(userId, bundleName, SyncState::INIT), E_OK);
135 …EXPECT_EQ(mockDataSyncerRdbStore.UpdateSyncState(userId, bundleName, SyncState::SYNC_SUCCEED), E_O…
239 ret = dataSyncerRdbStore.UpdateSyncState(userId, bundleName, SyncState::SYNC_SUCCEED);
257 ret = dataSyncerRdbStore.UpdateSyncState(userId, bundleName, SyncState::INIT);
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/mock/
H A Dsync_state_manager_mock.cpp24 Action SyncStateManager::UpdateSyncState(SyncState newState) in UpdateSyncState() function in OHOS::FileManagement::CloudSync::SyncStateManager
/ohos5.0/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloud_file_kit_inner/
H A Dsync_state_manager.h46 Action UpdateSyncState(SyncState newState);
H A Ddata_syncer_rdb_store.h30 int32_t UpdateSyncState(int32_t userId, const std::string &bundleName, SyncState syncState);
/ohos5.0/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/data_sync/
H A Dsync_state_manager.cpp25 Action SyncStateManager::UpdateSyncState(SyncState newState) in UpdateSyncState() function in OHOS::FileManagement::CloudSync::SyncStateManager
H A Ddata_syncer_rdb_store.cpp104 int32_t DataSyncerRdbStore::UpdateSyncState(int32_t userId, const string &bundleName, SyncState syn… in UpdateSyncState() function in OHOS::FileManagement::CloudSync::DataSyncerRdbStore