Home
last modified time | relevance | path

Searched refs:EnableCloud (Results 1 - 25 of 31) sorted by relevance

12

/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudsyncmanager/
H A Dcloud_sync_manager_n_exporter.h26 napi_value EnableCloud(napi_env env, napi_callback_info info);
H A Dcloud_sync_manager_napi.cpp39 DECLARE_NAPI_FUNCTION("enableCloud", EnableCloud), in CloudSyncManagerExport()
H A Dcloud_sync_manager_n_exporter.cpp284 napi_value EnableCloud(napi_env env, napi_callback_info info) in EnableCloud() function
286 LOGI("EnableCloud"); in EnableCloud()
310 int32_t result = CloudSyncManager::GetInstance().EnableCloud(accoutIdStr, switchData); in EnableCloud()
324 std::string procedureName = "EnableCloud"; in EnableCloud()
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_data/include/
H A Djs_config.h51 static napi_value EnableCloud(napi_env env, napi_callback_info info);
/foundation/filemanagement/dfs_service/test/mock/ipc/
H A Dcloud_sync_service_proxy_mock.cpp60 int32_t CloudSyncServiceProxy::EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) in EnableCloud() function in OHOS::FileManagement::CloudSync::CloudSyncServiceProxy
/foundation/distributeddatamgr/relational_store/frameworks/native/cloud_data/include/
H A Dcloud_service_proxy.h28 int32_t EnableCloud(const std::string &id, const std::map<std::string, int32_t> &switches) override;
/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloudsync_kit_inner/
H A Di_cloud_sync_service.h41 virtual int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) = 0;
H A Dcloud_sync_manager.h96 virtual int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) = 0;
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/cloud_data/include/
H A Dcloud_service.h97 virtual int32_t EnableCloud(const std::string &id, const std::map<std::string, int32_t> &switches) = 0;
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/include/
H A Dcloud_sync_service_proxy.h42 int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) override;
H A Dcloud_sync_manager_impl.h46 int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) override;
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/
H A Dcloud_sync_manager_impl_unnomal_test.cpp238 * @tc.desc: Verify the EnableCloud function.
248 auto res = managePtr_->EnableCloud(accoutId, switchData); in HWTEST_F()
H A Dcloud_sync_manager_impl_test.cpp472 * @tc.desc: Verify the EnableCloud function.
482 auto res = CloudSyncManagerImpl::GetInstance().EnableCloud(accoutId, switchData); in HWTEST_F()
H A Dcloud_sync_service_proxy_test.cpp410 * @tc.desc: Verify the EnableCloud function.
416 GTEST_LOG_(INFO) << "EnableCloud Start"; in HWTEST_F()
421 int result = proxy_->EnableCloud(accoutId, switchData); in HWTEST_F()
423 GTEST_LOG_(INFO) << "EnableCloud End"; in HWTEST_F()
428 * @tc.desc: Verify the EnableCloud function.
434 GTEST_LOG_(INFO) << "EnableCloud Start"; in HWTEST_F()
439 int result = proxy_->EnableCloud(accoutId, switchData); in HWTEST_F()
441 GTEST_LOG_(INFO) << "EnableCloud End"; in HWTEST_F()
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/include/
H A Di_cloud_sync_service_mock.h92 int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) override
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/src/
H A Dcloud_sync_manager_impl.cpp350 int32_t CloudSyncManagerImpl::EnableCloud(const std::string &accoutId, in EnableCloud() function in OHOS::FileManagement::CloudSync::CloudSyncManagerImpl
361 return CloudSyncServiceProxy->EnableCloud(accoutId, switchData); in EnableCloud()
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner_lite/src/
H A Dcloud_sync_service_proxy_lite.cpp184 int32_t CloudSyncServiceProxy::EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) in EnableCloud() function in OHOS::FileManagement::CloudSync::CloudSyncServiceProxy
/foundation/filemanagement/dfs_service/services/cloudsyncservice/include/ipc/
H A Dcloud_sync_service.h52 int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) override;
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_data/src/
H A Djs_config.cpp49 napi_value JsConfig::EnableCloud(napi_env env, napi_callback_info info) in EnableCloud() function in JsConfig
73 ASSERT_NULL(!ctxt->isThrowError, "EnableCloud exit"); in EnableCloud()
86 int32_t cStatus = proxy->EnableCloud(ctxt->accountId, ctxt->switches); in EnableCloud()
87 LOG_DEBUG("EnableCloud return %{public}d", cStatus); in EnableCloud()
517 DECLARE_NAPI_STATIC_FUNCTION("enableCloud", JsConfig::EnableCloud), in InitConfig()
/foundation/filemanagement/dfs_service/test/fuzztest/cloudsyncmanager_fuzzer/
H A Dcloudsyncmanager_fuzzer.cpp160 CloudSyncManager::GetInstance().EnableCloud(accoutId, switchDataObj); in EnableCloudFuzzTest()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dcloud_service_impl_test.cpp92 * @tc.desc: Test EnableCloud functions with user is invalid.
101 auto status = cloudServiceImpl_->EnableCloud(TEST_CLOUD_APPID, switches); in HWTEST_F()
149 * @tc.desc: Test the EnableCloud function in case it doesn't get cloudInfo.
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/
H A Dcloud_service_stub.cpp95 auto result = EnableCloud(id, localSwitches); in OnEnableCloud()
H A Dcloud_service_impl.h39 int32_t EnableCloud(const std::string &id, const std::map<std::string, int32_t> &switches) override;
/foundation/distributeddatamgr/relational_store/frameworks/native/cloud_data/src/
H A Dcloud_service_proxy.cpp55 int32_t CloudServiceProxy::EnableCloud(const std::string &id, const std::map<std::string, int32_t> &switches) in EnableCloud() function in OHOS::CloudData::CloudServiceProxy
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/ipc/
H A Dcloud_sync_service_test.cpp314 * @tc.desc:Verify the EnableCloud function.
320 GTEST_LOG_(INFO) << "EnableCloud start"; in HWTEST_F()
324 int ret = g_servicePtr_->EnableCloud(accountId, switchData); in HWTEST_F()
328 GTEST_LOG_(INFO) << "EnableCloud FAILED"; in HWTEST_F()
330 GTEST_LOG_(INFO) << "EnableCloud end"; in HWTEST_F()

Completed in 13 milliseconds

12