/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudsyncmanager/ |
H A D | cloud_sync_manager_n_exporter.h | 26 napi_value EnableCloud(napi_env env, napi_callback_info info);
|
H A D | cloud_sync_manager_napi.cpp | 39 DECLARE_NAPI_FUNCTION("enableCloud", EnableCloud), in CloudSyncManagerExport()
|
H A D | cloud_sync_manager_n_exporter.cpp | 284 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 D | js_config.h | 51 static napi_value EnableCloud(napi_env env, napi_callback_info info);
|
/foundation/filemanagement/dfs_service/test/mock/ipc/ |
H A D | cloud_sync_service_proxy_mock.cpp | 60 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 D | cloud_service_proxy.h | 28 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 D | i_cloud_sync_service.h | 41 virtual int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) = 0;
|
H A D | cloud_sync_manager.h | 96 virtual int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) = 0;
|
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/cloud_data/include/ |
H A D | cloud_service.h | 97 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 D | cloud_sync_service_proxy.h | 42 int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) override;
|
H A D | cloud_sync_manager_impl.h | 46 int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) override;
|
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/ |
H A D | cloud_sync_manager_impl_unnomal_test.cpp | 238 * @tc.desc: Verify the EnableCloud function. 248 auto res = managePtr_->EnableCloud(accoutId, switchData); in HWTEST_F()
|
H A D | cloud_sync_manager_impl_test.cpp | 472 * @tc.desc: Verify the EnableCloud function. 482 auto res = CloudSyncManagerImpl::GetInstance().EnableCloud(accoutId, switchData); in HWTEST_F()
|
H A D | cloud_sync_service_proxy_test.cpp | 410 * @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 D | i_cloud_sync_service_mock.h | 92 int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) override
|
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/src/ |
H A D | cloud_sync_manager_impl.cpp | 350 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 D | cloud_sync_service_proxy_lite.cpp | 184 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 D | cloud_sync_service.h | 52 int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) override;
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_data/src/ |
H A D | js_config.cpp | 49 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 D | cloudsyncmanager_fuzzer.cpp | 160 CloudSyncManager::GetInstance().EnableCloud(accoutId, switchDataObj); in EnableCloudFuzzTest()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | cloud_service_impl_test.cpp | 92 * @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 D | cloud_service_stub.cpp | 95 auto result = EnableCloud(id, localSwitches); in OnEnableCloud()
|
H A D | cloud_service_impl.h | 39 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 D | cloud_service_proxy.cpp | 55 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 D | cloud_sync_service_test.cpp | 314 * @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()
|