Home
last modified time | relevance | path

Searched refs:switchData (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dkvdb_service_impl_test.cpp625 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 Dcloud_sync_common.cpp27 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 Dcloud_sync_manager_impl.cpp376 const SwitchDataObj &switchData) in EnableCloud() argument
386 return CloudSyncServiceProxy->EnableCloud(accoutId, switchData); in EnableCloud()
H A Dcloud_sync_service_proxy.cpp403 …_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 Ddistributedkvdatamanager_fuzzer.cpp221 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 Dswitch_adapter.cpp52 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 Dcloud_sync_manager_n_exporter.cpp279 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 Dkvdb_service_stub.cpp445 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 Dcloud_sync_manager_impl_unnomal_test.cpp247 SwitchDataObj switchData; variable
248 auto res = managePtr_->EnableCloud(accoutId, switchData);
H A Dcloud_sync_common_test.cpp72 switchDataObj.switchData.insert({strSwitchData, boolSwitchData});
100 switchDataObj.switchData.insert({strSwitchData, boolSwitchData});
125 switchDataObj.switchData.insert({strSwitchData, boolSwitchData});
H A Dcloud_sync_manager_impl_test.cpp481 SwitchDataObj switchData; variable
482 auto res = CloudSyncManagerImpl::GetInstance().EnableCloud(accoutId, switchData);
H A Dcloud_sync_service_proxy_test.cpp418 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 Dcloud_sync_service_proxy_mock.cpp60 …_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 Dcloud_sync_common.h73 std::map<std::string, bool> switchData; member
H A Dcloud_sync_manager.h96 virtual int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) = 0;
H A Di_cloud_sync_service.h41 virtual int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) = 0;
/ohos5.0/foundation/filemanagement/dfs_service/test/fuzztest/cloudsyncservicestub_fuzzer/
H A Dcloudsyncservicestub_fuzzer.cpp229 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 Dcloud_sync_service_test.cpp323 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 Dcloud_sync_manager_impl.h46 int32_t EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) override;
H A Dcloud_sync_service_proxy.h42 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 Di_cloud_sync_service_mock.h92 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 Dcloud_sync_service.h52 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 Dcloud_sync_service_proxy_lite.cpp185 …_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 Dcloudsyncmanager_fuzzer.cpp159 switchDataObj.switchData.insert({itemStr, itemBool}); in EnableCloudFuzzTest()
/ohos5.0/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/ipc/
H A Dcloud_sync_service.cpp497 int32_t CloudSyncService::EnableCloud(const std::string &accoutId, const SwitchDataObj &switchData) in EnableCloud() argument

12