/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | kvdb_service_impl_test.cpp | 625 DistributedKv::SwitchData switchData; variable 626 status = kvdbServiceImpl_->PutSwitch(appId, switchData); 628 switchData.value = DeviceMatrix::INVALID_VALUE; 629 switchData.length = DeviceMatrix::INVALID_LEVEL; 630 status = kvdbServiceImpl_->PutSwitch(appId, switchData); 632 switchData.value = DeviceMatrix::INVALID_MASK; 633 switchData.length = DeviceMatrix::INVALID_LENGTH; 636 switchData.value = DeviceMatrix::INVALID_VALUE; 637 switchData.length = DeviceMatrix::INVALID_LENGTH; 640 switchData.value = DeviceMatrix::INVALID_MASK; [all …]
|
/ohos5.0/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/src/ |
H A D | cloud_sync_common.cpp | 27 if (!parcel.WriteUint32(switchData.size())) { in Marshalling() 31 for (const auto& it : switchData) { in Marshalling() 162 switchData.clear(); in ReadFromParcel() 183 switchData.emplace(key, value); in ReadFromParcel()
|
H A D | cloud_sync_manager_impl.cpp | 376 const SwitchDataObj &switchData) in EnableCloud() argument 386 return CloudSyncServiceProxy->EnableCloud(accoutId, switchData); in EnableCloud()
|
H A D | cloud_sync_service_proxy.cpp | 403 …_t CloudSyncServiceProxy::EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) in EnableCloud() argument 420 if (!data.WriteParcelable(&switchData)) { in EnableCloud()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/test/fuzztest/distributedkvdatamanager_fuzzer/ |
H A D | distributedkvdatamanager_fuzzer.cpp | 221 SwitchData switchData; in PutSwitchFuzz() local 222 switchData.value = input; in PutSwitchFuzz() 223 switchData.length = input & 0xFFFF; in PutSwitchFuzz() 224 manager.PutSwitch({ appIds }, switchData); in PutSwitchFuzz() 225 manager.PutSwitch({ "distributed_device_profile_service" }, switchData); in PutSwitchFuzz()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/persistenceadapter/kvadapter/ |
H A D | switch_adapter.cpp | 52 const DistributedKv::SwitchData switchData = {value, length}; in PutSwitch() local 53 DistributedKv::Status res = kvDataMgr_.PutSwitch(appID, switchData); in PutSwitch()
|
/ohos5.0/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudsyncmanager/ |
H A D | cloud_sync_manager_n_exporter.cpp | 279 data.switchData.emplace(bundleId.get(), switchVal); in ParseSwitches() 301 SwitchDataObj switchData; in EnableCloud() local 302 if (!ParseSwitches(env, funcArg[(int)NARG_POS::SECOND], switchData)) { in EnableCloud() 309 auto cbExec = [accoutIdStr, switchData]() -> NError { in EnableCloud() 310 int32_t result = CloudSyncManager::GetInstance().EnableCloud(accoutIdStr, switchData); in EnableCloud()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvdb_service_stub.cpp | 445 SwitchData switchData; in OnPutSwitch() local 446 if (!ITypesUtil::Unmarshal(data, switchData)) { in OnPutSwitch() 450 int32_t status = PutSwitch(appId, switchData); in OnPutSwitch() 467 SwitchData switchData; in OnGetSwitch() local 468 int32_t status = GetSwitch(appId, networkId, switchData); in OnGetSwitch() 469 if (!ITypesUtil::Marshal(reply, status, switchData)) { in OnGetSwitch()
|
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/ |
H A D | cloud_sync_manager_impl_unnomal_test.cpp | 247 SwitchDataObj switchData; variable 248 auto res = managePtr_->EnableCloud(accoutId, switchData);
|
H A D | cloud_sync_common_test.cpp | 72 switchDataObj.switchData.insert({strSwitchData, boolSwitchData}); 100 switchDataObj.switchData.insert({strSwitchData, boolSwitchData}); 125 switchDataObj.switchData.insert({strSwitchData, boolSwitchData});
|
H A D | cloud_sync_manager_impl_test.cpp | 481 SwitchDataObj switchData; variable 482 auto res = CloudSyncManagerImpl::GetInstance().EnableCloud(accoutId, switchData);
|
H A D | cloud_sync_service_proxy_test.cpp | 418 SwitchDataObj switchData; variable 421 int result = proxy_->EnableCloud(accoutId, switchData); 436 SwitchDataObj switchData; variable 439 int result = proxy_->EnableCloud(accoutId, switchData);
|
/ohos5.0/foundation/filemanagement/dfs_service/test/mock/ipc/ |
H A D | cloud_sync_service_proxy_mock.cpp | 60 …_t CloudSyncServiceProxy::EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) in EnableCloud() argument
|
/ohos5.0/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloudsync_kit_inner/ |
H A D | cloud_sync_common.h | 73 std::map<std::string, bool> switchData; member
|
H A D | cloud_sync_manager.h | 96 virtual int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) = 0;
|
H A D | i_cloud_sync_service.h | 41 virtual int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) = 0;
|
/ohos5.0/foundation/filemanagement/dfs_service/test/fuzztest/cloudsyncservicestub_fuzzer/ |
H A D | cloudsyncservicestub_fuzzer.cpp | 229 std::map<string, bool> switchData; in HandleEnableCloudFuzzTest() local 233 switchData.insert(pair<string, bool>(itemStr, itemBool)); in HandleEnableCloudFuzzTest() 236 switchDataObj.switchData = switchData; in HandleEnableCloudFuzzTest()
|
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/ipc/ |
H A D | cloud_sync_service_test.cpp | 323 SwitchDataObj switchData; variable 324 int ret = g_servicePtr_->EnableCloud(accountId, switchData);
|
/ohos5.0/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/include/ |
H A D | cloud_sync_manager_impl.h | 46 int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) override;
|
H A D | cloud_sync_service_proxy.h | 42 int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) override;
|
/ohos5.0/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 in EnableCloud() argument
|
/ohos5.0/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;
|
/ohos5.0/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner_lite/src/ |
H A D | cloud_sync_service_proxy_lite.cpp | 185 …_t CloudSyncServiceProxy::EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) in EnableCloud() argument
|
/ohos5.0/foundation/filemanagement/dfs_service/test/fuzztest/cloudsyncmanager_fuzzer/ |
H A D | cloudsyncmanager_fuzzer.cpp | 159 switchDataObj.switchData.insert({itemStr, itemBool}); in EnableCloudFuzzTest()
|
/ohos5.0/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/ipc/ |
H A D | cloud_sync_service.cpp | 497 int32_t CloudSyncService::EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) in EnableCloud() argument
|