Home
last modified time | relevance | path

Searched refs:accoutId (Results 1 - 17 of 17) sorted by relevance

/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/
H A Dcloud_sync_manager_impl_unnomal_test.cpp144 std::string accoutId = "accoutId"; in HWTEST_F() local
147 auto res = managePtr_->ChangeAppSwitch(accoutId, bundleName, status); in HWTEST_F()
166 std::string accoutId = "accoutId"; in HWTEST_F() local
168 auto res = managePtr_->NotifyDataChange(accoutId, bundleName); in HWTEST_F()
246 std::string accoutId = "accoutId"; in HWTEST_F() local
248 auto res = managePtr_->EnableCloud(accoutId, switchData); in HWTEST_F()
267 std::string accoutId in HWTEST_F() local
287 std::string accoutId = "accoutId"; HWTEST_F() local
[all...]
H A Dcloud_sync_manager_impl_test.cpp296 std::string accoutId = "accoutId"; in HWTEST_F() local
299 auto res = CloudSyncManagerImpl::GetInstance().ChangeAppSwitch(accoutId, bundleName, status); in HWTEST_F()
318 std::string accoutId = "accoutId"; in HWTEST_F() local
320 auto res = CloudSyncManagerImpl::GetInstance().NotifyDataChange(accoutId, bundleName); in HWTEST_F()
480 std::string accoutId = "accoutId"; in HWTEST_F() local
482 auto res = CloudSyncManagerImpl::GetInstance().EnableCloud(accoutId, switchData); in HWTEST_F()
501 std::string accoutId in HWTEST_F() local
521 std::string accoutId = "accoutId"; HWTEST_F() local
[all...]
H A Dcloud_sync_service_proxy_test.cpp343 string accoutId = "100"; in HWTEST_F() local
348 int result = proxy_->ChangeAppSwitch(accoutId, bundleName, status); in HWTEST_F()
362 string accoutId = "100"; in HWTEST_F() local
367 int result = proxy_->ChangeAppSwitch(accoutId, bundleName, status); in HWTEST_F()
381 string accoutId = "100"; in HWTEST_F() local
385 int result = proxy_->Clean(accoutId, cleanOptions); in HWTEST_F()
399 string accoutId = "100"; in HWTEST_F() local
403 int result = proxy_->Clean(accoutId, cleanOptions); in HWTEST_F()
417 string accoutId = "100"; in HWTEST_F() local
421 int result = proxy_->EnableCloud(accoutId, switchDat in HWTEST_F()
435 string accoutId = "100"; HWTEST_F() local
453 string accoutId = "100"; HWTEST_F() local
470 string accoutId = "100"; HWTEST_F() local
487 string accoutId = "100"; HWTEST_F() local
505 string accoutId = "100"; HWTEST_F() local
[all...]
/foundation/filemanagement/dfs_service/test/mock/ipc/
H A Dcloud_sync_service_proxy_mock.cpp45 int32_t CloudSyncServiceProxy::ChangeAppSwitch(const std::string &accoutId, const std::string &bundleName, bool status) in ChangeAppSwitch() argument
55 int32_t CloudSyncServiceProxy::NotifyDataChange(const std::string &accoutId, const std::string &bundleName) in NotifyDataChange() argument
60 int32_t CloudSyncServiceProxy::EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) in EnableCloud() argument
65 int32_t CloudSyncServiceProxy::DisableCloud(const std::string &accoutId) in DisableCloud() argument
/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudsyncmanager/
H A Dcloud_sync_manager_n_exporter.cpp41 std::unique_ptr<char []> accoutId; in ChangeAppCloudSwitch() local
45 tie(succ, accoutId, std::ignore) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in ChangeAppCloudSwitch()
63 string accoutIdStr(accoutId.get()); in ChangeAppCloudSwitch()
91 std::unique_ptr<char []> accoutId; in NotifyDataChangeInner() local
94 tie(succ, accoutId, std::ignore) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in NotifyDataChangeInner()
106 string accoutIdStr(accoutId.get()); in NotifyDataChangeInner()
217 std::unique_ptr<char []> accoutId; in DisableCloud() local
219 tie(succ, accoutId, std::ignore) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in DisableCloud()
225 string accoutIdStr(accoutId.get()); in DisableCloud()
294 std::unique_ptr<char []> accoutId; in EnableCloud() local
372 std::unique_ptr<char []> accoutId = nullptr; Clean() local
[all...]
/foundation/filemanagement/dfs_service/test/fuzztest/cloudsyncmanager_fuzzer/
H A Dcloudsyncmanager_fuzzer.cpp108 std::string accoutId = fuzzData.GetStringFromData(len); in ChangeAppSwitchFuzzTest() local
110 CloudSyncManager::GetInstance().ChangeAppSwitch(accoutId, bundleName, status); in ChangeAppSwitchFuzzTest()
117 std::string accoutId = fuzzData.GetStringFromData(len); in NotifyDataChangeFuzzTest() local
119 CloudSyncManager::GetInstance().NotifyDataChange(accoutId, bundleName); in NotifyDataChangeFuzzTest()
155 std::string accoutId = fuzzData.GetStringFromData(len); in EnableCloudFuzzTest() local
160 CloudSyncManager::GetInstance().EnableCloud(accoutId, switchDataObj); in EnableCloudFuzzTest()
168 std::string accoutId = fuzzData.GetStringFromData(static_cast<int>(size)); in DisableCloudFuzzTest() local
169 CloudSyncManager::GetInstance().DisableCloud(accoutId); in DisableCloudFuzzTest()
176 std::string accoutId = fuzzData.GetStringFromData(len); in CleanFuzzTest() local
182 CloudSyncManager::GetInstance().Clean(accoutId, cleanOption in CleanFuzzTest()
[all...]
/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloudsync_kit_inner/
H A Di_cloud_sync_service.h37 virtual int32_t ChangeAppSwitch(const std::string &accoutId, const std::string &bundleName, bool status) = 0;
39 virtual int32_t NotifyDataChange(const std::string &accoutId, const std::string &bundleName) = 0;
41 virtual int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) = 0;
42 virtual int32_t DisableCloud(const std::string &accoutId) = 0;
H A Dcloud_sync_manager.h81 * @param accoutId 账号ID
86 virtual int32_t ChangeAppSwitch(const std::string &accoutId, const std::string &bundleName, bool status) = 0;
90 * @param accoutId 账号ID
94 virtual int32_t NotifyDataChange(const std::string &accoutId, const std::string &bundleName) = 0;
96 virtual int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) = 0;
97 virtual int32_t DisableCloud(const std::string &accoutId) = 0;
101 * @param accoutId 账号ID
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/include/
H A Dcloud_sync_service_proxy.h38 int32_t ChangeAppSwitch(const std::string &accoutId, const std::string &bundleName, bool status) override;
40 int32_t NotifyDataChange(const std::string &accoutId, const std::string &bundleName) override;
42 int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) override;
43 int32_t DisableCloud(const std::string &accoutId) override;
H A Dcloud_sync_manager_impl.h42 int32_t ChangeAppSwitch(const std::string &accoutId, const std::string &bundleName, bool status) override;
44 int32_t NotifyDataChange(const std::string &accoutId, const std::string &bundleName) override;
46 int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) override;
47 int32_t DisableCloud(const std::string &accoutId) override;
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/include/
H A Di_cloud_sync_service_mock.h74 int32_t ChangeAppSwitch(const std::string &accoutId, const std::string &bundleName, bool status) override
84 int32_t NotifyDataChange(const std::string &accoutId, const std::string &bundleName) override
92 int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) override
96 int32_t DisableCloud(const std::string &accoutId) override
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/src/
H A Dcloud_sync_manager_impl.cpp169 int32_t CloudSyncManagerImpl::ChangeAppSwitch(const std::string &accoutId, const std::string &bundleName, bool status) in ChangeAppSwitch() argument
179 int32_t ret = CloudSyncServiceProxy->ChangeAppSwitch(accoutId, bundleName, status); in ChangeAppSwitch()
184 int32_t CloudSyncManagerImpl::NotifyDataChange(const std::string &accoutId, const std::string &bundleName) in NotifyDataChange() argument
194 int32_t ret = CloudSyncServiceProxy->NotifyDataChange(accoutId, bundleName); in NotifyDataChange()
350 int32_t CloudSyncManagerImpl::EnableCloud(const std::string &accoutId, in EnableCloud() argument
361 return CloudSyncServiceProxy->EnableCloud(accoutId, switchData); in EnableCloud()
364 int32_t CloudSyncManagerImpl::DisableCloud(const std::string &accoutId) in DisableCloud() argument
373 return CloudSyncServiceProxy->DisableCloud(accoutId); in DisableCloud()
H A Dcloud_sync_service_proxy.cpp324 int32_t CloudSyncServiceProxy::ChangeAppSwitch(const std::string &accoutId, const std::string &bundleName, bool status) in ChangeAppSwitch() argument
336 if (!data.WriteString(accoutId)) { in ChangeAppSwitch()
403 int32_t CloudSyncServiceProxy::EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) in EnableCloud() argument
415 if (!data.WriteString(accoutId)) { in EnableCloud()
440 int32_t CloudSyncServiceProxy::DisableCloud(const std::string &accoutId) in DisableCloud() argument
452 if (!data.WriteString(accoutId)) { in DisableCloud()
472 int32_t CloudSyncServiceProxy::NotifyDataChange(const std::string &accoutId, const std::string &bundleName) in NotifyDataChange() argument
484 if (!data.WriteString(accoutId)) { in NotifyDataChange()
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner_lite/src/
H A Dcloud_sync_service_proxy_lite.cpp172 int32_t CloudSyncServiceProxy::ChangeAppSwitch(const std::string &accoutId, in ChangeAppSwitch() argument
184 int32_t CloudSyncServiceProxy::EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) in EnableCloud() argument
189 int32_t CloudSyncServiceProxy::DisableCloud(const std::string &accoutId) in DisableCloud() argument
194 int32_t CloudSyncServiceProxy::NotifyDataChange(const std::string &accoutId, const std::string &bundleName) in NotifyDataChange() argument
/foundation/filemanagement/dfs_service/services/cloudsyncservice/include/ipc/
H A Dcloud_sync_service.h48 int32_t ChangeAppSwitch(const std::string &accoutId, const std::string &bundleName, bool status) override;
50 int32_t NotifyDataChange(const std::string &accoutId, const std::string &bundleName) override;
52 int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) override;
53 int32_t DisableCloud(const std::string &accoutId) override;
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/ipc/
H A Dcloud_sync_service_stub_test.cpp40 MOCK_METHOD3(ChangeAppSwitch, int32_t(const std::string &accoutId, const std::string &bundleName, bool status));
42 MOCK_METHOD2(NotifyDataChange, int32_t(const std::string &accoutId, const std::string &bundleName));
44 MOCK_METHOD2(EnableCloud, int32_t(const std::string &accoutId, const SwitchDataObj &switchData));
45 MOCK_METHOD1(DisableCloud, int32_t(const std::string &accoutId));
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/ipc/
H A Dcloud_sync_service.cpp467 int32_t CloudSyncService::ChangeAppSwitch(const std::string &accoutId, const std::string &bundleName, bool status) in ChangeAppSwitch() argument
484 int32_t CloudSyncService::NotifyDataChange(const std::string &accoutId, const std::string &bundleName) in NotifyDataChange() argument
510 int32_t CloudSyncService::DisableCloud(const std::string &accoutId) in DisableCloud() argument
517 int32_t CloudSyncService::EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) in EnableCloud() argument

Completed in 11 milliseconds