Searched refs:SwitchFlag (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/deviceprofile/device_info_manager/common/include/interfaces/ |
H A D | distributed_device_profile_enums.h | 149 enum class SwitchFlag : int32_t { enum 156 const std::unordered_map<std::string, SwitchFlag> SWITCH_SERVICE_MAP = { 157 { "SwitchStatus_Key_Mouse_Edge_Crossing", SwitchFlag::SWITCH_FLAG_KEY_MOUSE_EDGE_CROSSING }, 158 … { "SwitchStatus_Key_Distributed_Pasteboard", SwitchFlag::SWITCH_FLAG_KEY_DISTRIBUTED_PASTEBOARD }, 159 { "SwitchStatus_DcShareSwitch", SwitchFlag::SWITCH_FLAG_DCSHARESWITCH }
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/include/utils/ |
H A D | profile_cache.h | 75 const std::unordered_map<std::string, SwitchFlag>& switchServiceMap, uint32_t& outSwitch); 77 const std::unordered_map<std::string, SwitchFlag>& switchServiceMap, uint32_t& outSwitch); 79 … const std::unordered_map<std::string, SwitchFlag>& switchServiceMap, const std::string& operate); 85 …int32_t GetServiceNameByPos(int32_t pos, const std::unordered_map<std::string, SwitchFlag>& switch…
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/utils/ |
H A D | profile_cache.cpp | 538 const std::unordered_map<std::string, SwitchFlag>& switchServiceMap, uint32_t& outSwitch) in SetSwitchByProfileBatch() 569 const std::unordered_map<std::string, SwitchFlag>& switchServiceMap, uint32_t& outSwitch) in SetSwitchByProfile() 592 const std::unordered_map<std::string, SwitchFlag>& switchServiceMap, const std::string& operate) in IsSwitchValid() 737 const std::unordered_map<std::string, SwitchFlag>& switchServiceMap, std::string& serviceName) in GetServiceNameByPos() 739 … if (pos <= (int32_t)SwitchFlag::SWITCH_FLAG_MIN || pos >= (int32_t)SwitchFlag::SWITCH_FLAG_MAX || in GetServiceNameByPos() 745 if (item.second == (SwitchFlag)pos) { in GetServiceNameByPos()
|
H A D | profile_control_utils.cpp | 336 for (int32_t i = static_cast<int32_t>(SwitchFlag::SWITCH_FLAG_MIN) + NUM_1; in RefreshLocalSwitchProfile() 337 i < static_cast<int32_t>(SwitchFlag::SWITCH_FLAG_MAX); ++i) { in RefreshLocalSwitchProfile()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/listener/ |
H A D | kv_data_change_listener.cpp | 210 for (int32_t i = (int32_t)SwitchFlag::SWITCH_FLAG_MIN + NUM_1; in HandleSwitchUpdateChange() 211 i < (int32_t)SwitchFlag::SWITCH_FLAG_MAX; ++i) { in HandleSwitchUpdateChange()
|