Home
last modified time | relevance | path

Searched refs:GetSwitch (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dswitch_adapter_test.cpp104 SwitchAdapter::GetInstance().GetSwitch(appId, networkId, value, switchLength);
120 SwitchAdapter::GetInstance().GetSwitch(appId, networkId, value, switchLength);
136 SwitchAdapter::GetInstance().GetSwitch(appId, networkId, value, switchLength);
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/persistenceadapter/kvadapter/
H A Dswitch_adapter.cpp61 int32_t SwitchAdapter::GetSwitch(const std::string& appId, const std::string& networkId, in GetSwitch() function in OHOS::DistributedDeviceProfile::SwitchAdapter
71 auto res = kvDataMgr_.GetSwitch(appID, networkId); in GetSwitch()
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/utils/
H A Dprofile_control_utils.cpp137 uint32_t curSwitch = ProfileCache::GetInstance().GetSwitch(); in PutSwitchCharacteristicProfile()
165 uint32_t curSwitch = ProfileCache::GetInstance().GetSwitch(); in PutSwitchCharacteristicProfileBatch()
330 …int32_t res = SwitchAdapter::GetInstance().GetSwitch(appId, localNetwork, newSwitch, switchLength); in RefreshLocalSwitchProfile()
350 HILOGI("update curLocalSwitch: %{public}d", ProfileCache::GetInstance().GetSwitch()); in RefreshLocalSwitchProfile()
382 res = SwitchAdapter::GetInstance().GetSwitch(appId, netWorkId, switchValue, switchLength); in GetSwitchCharacteristicProfile()
H A Dprofile_cache.cpp530 uint32_t ProfileCache::GetSwitch() in GetSwitch() function in OHOS::DistributedDeviceProfile::ProfileCache
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/include/persistenceadapter/kvadapter/
H A Dswitch_adapter.h37 …int32_t GetSwitch(const std::string& appId, const std::string& networkId, uint32_t& value, uint32_…
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/
H A Dstore_manager.h29 std::pair<Status, SwitchData> GetSwitch(const AppId &appId, const std::string &networkId);
H A Dkvdb_service.h73 … virtual Status GetSwitch(const AppId &appId, const std::string &networkId, SwitchData &data) = 0;
H A Dkvdb_service_client.h57 Status GetSwitch(const AppId &appId, const std::string &networkId, SwitchData &data) override;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/
H A Ddistributed_kv_data_manager.cpp248 std::pair<Status, SwitchData> DistributedKvDataManager::GetSwitch(const AppId &appId, const std::st… in GetSwitch() function in OHOS::DistributedKv::DistributedKvDataManager
250 return StoreManager::GetInstance().GetSwitch(appId, networkId); in GetSwitch()
/ohos5.0/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/
H A Ddistributed_kv_data_manager.h182 …API_EXPORT std::pair<Status, SwitchData> GetSwitch(const AppId &appId, const std::string &networkI…
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dstore_manager.cpp175 std::pair<Status, SwitchData> StoreManager::GetSwitch(const AppId &appId, const std::string &networ… in GetSwitch() function in OHOS::DistributedKv::StoreManager
186 auto status = service->GetSwitch(appId, networkId, data); in GetSwitch()
H A Dkvdb_service_client.cpp381 Status KVDBServiceClient::GetSwitch(const AppId &appId, const std::string &networkId, SwitchData &d… in GetSwitch() function in OHOS::DistributedKv::KVDBServiceClient
/ohos5.0/foundation/distributeddatamgr/kv_store/test/fuzztest/distributedkvdatamanager_fuzzer/
H A Ddistributedkvdatamanager_fuzzer.cpp232 manager.GetSwitch({ appIds }, networkId); in GetSwitchFuzz()
233 manager.GetSwitch({ "distributed_device_profile_service" }, networkId); in GetSwitchFuzz()
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/
H A Dswitch_profile_manager.cpp128 return SwitchAdapter::GetInstance().GetSwitch(APP_ID, netId, localSwitch, switchLength); in GetLocalSwitchFromDB()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/test/unittest/
H A Ddistributed_kv_data_manager_test.cpp827 auto [status1, data1] = manager.GetSwitch({ "" }, "networkId_test");
829 auto [status2, data2] = manager.GetSwitch({ "switches_test_appId" }, "");
831 auto [status3, data3] = manager.GetSwitch({ "switches_test_appId" }, "networkId_test");
847 auto [status, data] = manager.GetSwitch({ "switches_test_appId" }, devInfo.networkId);
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/include/utils/
H A Dprofile_cache.h52 uint32_t GetSwitch();
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dkvdb_service_impl.h69 Status GetSwitch(const AppId &appId, const std::string &networkId, SwitchData &data) override;
H A Dkvdb_service_stub.cpp468 int32_t status = GetSwitch(appId, networkId, switchData); in OnGetSwitch()
H A Dkvdb_service_impl.cpp327 Status KVDBServiceImpl::GetSwitch(const AppId &appId, const std::string &networkId, SwitchData &dat… in GetSwitch() function in OHOS::DistributedKv::KVDBServiceImpl
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/listener/
H A Dkv_data_change_listener.cpp226 HILOGD("update curLocalSwitch: %{public}d", ProfileCache::GetInstance().GetSwitch()); in HandleSwitchUpdateChange()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dkvdb_service_impl_test.cpp645 status = kvdbServiceImpl_->GetSwitch(appId, networkId, switchData);