Home
last modified time | relevance | path

Searched refs:outSwitch (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/utils/
H A Dprofile_cache.cpp538 const std::unordered_map<std::string, SwitchFlag>& switchServiceMap, uint32_t& outSwitch) in SetSwitchByProfileBatch() argument
546 outSwitch = curLocalSwitch_; in SetSwitchByProfileBatch()
556 outSwitch |= mask; in SetSwitchByProfileBatch()
558 ProfileUtils::GetAnonyString(item.GetServiceName()).c_str(), outSwitch); in SetSwitchByProfileBatch()
560 outSwitch &= ~mask; in SetSwitchByProfileBatch()
562 ProfileUtils::GetAnonyString(item.GetServiceName()).c_str(), outSwitch); in SetSwitchByProfileBatch()
569 const std::unordered_map<std::string, SwitchFlag>& switchServiceMap, uint32_t& outSwitch) in SetSwitchByProfile() argument
580 outSwitch |= mask; in SetSwitchByProfile()
582 ProfileUtils::GetAnonyString(charProfile.GetServiceName()).c_str(), outSwitch); in SetSwitchByProfile()
584 outSwitch &= ~mask; in SetSwitchByProfile()
[all …]
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/include/utils/
H A Dprofile_cache.h75 const std::unordered_map<std::string, SwitchFlag>& switchServiceMap, uint32_t& outSwitch);
77 const std::unordered_map<std::string, SwitchFlag>& switchServiceMap, uint32_t& outSwitch);