Home
last modified time | relevance | path

Searched refs:switchName (Results 1 - 10 of 10) sorted by relevance

/foundation/resourceschedule/device_standby/utils/policy/include/
H A Dstandby_config_manager.h83 bool GetStandbySwitch(const std::string& switchName);
85 bool GetStrategySwitch(const std::string& switchName);
86 bool GetHalfHourSwitch(const std::string& switchName);
87 std::shared_ptr<std::vector<DefaultResourceConfig>> GetResCtrlConfig(const std::string& switchName);
90 bool GetStrategyConfigList(const std::string& switchName);
92 std::vector<int32_t> GetStandbyDurationList(const std::string& switchName);
100 std::vector<int32_t> GetStandbyLadderBatteryList(const std::string& switchName);
103 void DumpSetSwitch(const std::string& switchName, bool switchStatus, std::string& result);
119 GetConfigWithName(const std::string& switchName, std::unordered_map<std::string, T>& configMap);
/foundation/multimedia/audio_framework/services/audio_policy/test/unittest/audio_socket_thread_test/src/
H A Daudio_socket_thread_test.cpp314 .switchName = "h2w", in HWTEST_F()
343 .switchName = "h2w", in HWTEST_F()
372 .switchName = "h2w", in HWTEST_F()
402 .switchName = "h2w", in HWTEST_F()
432 .switchName = "h2w", in HWTEST_F()
462 .switchName = "h2w", in HWTEST_F()
492 .switchName = "h2w", in HWTEST_F()
522 .switchName = "h2w", in HWTEST_F()
547 .switchName = "invalid", in HWTEST_F()
572 .switchName in HWTEST_F()
[all...]
/foundation/resourceschedule/device_standby/utils/policy/src/
H A Dstandby_config_manager.cpp372 bool StandbyConfigManager::GetStandbySwitch(const std::string& switchName) in GetStandbySwitch() argument
374 return GetConfigWithName(switchName, standbySwitchMap_); in GetStandbySwitch()
382 bool StandbyConfigManager::GetStrategySwitch(const std::string& switchName) in GetStrategySwitch() argument
384 return GetConfigWithName(switchName, strategySwitchMap_); in GetStrategySwitch()
387 bool StandbyConfigManager::GetHalfHourSwitch(const std::string& switchName) in GetHalfHourSwitch() argument
389 return GetConfigWithName(switchName, halfhourSwitchMap_); in GetHalfHourSwitch()
393 std::string& switchName) in GetResCtrlConfig()
395 return GetConfigWithName(switchName, defaultResourceConfigMap_); in GetResCtrlConfig()
399 T StandbyConfigManager::GetConfigWithName(const std::string& switchName, in GetConfigWithName() argument
403 auto iter = configMap.find(switchName); in GetConfigWithName()
392 GetResCtrlConfig(const std::string& switchName) GetResCtrlConfig() argument
416 GetStrategyConfigList(const std::string& switchName) GetStrategyConfigList() argument
426 GetStandbyDurationList(const std::string& switchName) GetStandbyDurationList() argument
444 GetStandbyLadderBatteryList(const std::string& switchName) GetStandbyLadderBatteryList() argument
818 DumpSetSwitch(const std::string& switchName, bool switchStatus, std::string& result) DumpSetSwitch() argument
[all...]
/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/manager/pnp_server/
H A Daudio_pnp_param.h100 const char *switchName; member
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/pnp_server/
H A Daudio_socket_thread.cpp194 if (strncmp(audioPnpUevent->switchName, UEVENT_SWITCH_NAME_H2W, strlen(UEVENT_SWITCH_NAME_H2W)) != 0) { in SetAudioPnpServerEventValue()
450 (strstr(audioPnpUevent->switchName, "hdmi_audio") == NULL) || in AudioDpDetectDevice()
465 std::string switchNameStr = audioPnpUevent->switchName; in AudioDpDetectDevice()
571 &audioPnpUevent.switchName, &audioPnpUevent.switchState, &audioPnpUevent.hidName, in AudioPnpUeventParse()
/foundation/multimodalinput/input/service/window_manager/include/
H A Dknuckle_drawing_manager.h37 std::string switchName; member
H A Dinput_windows_manager.h374 std::string switchName; member
/foundation/multimodalinput/input/service/window_manager/src/
H A Dknuckle_drawing_manager.cpp941 screenReadState_.switchName = SCREEN_READING; in CreateObserver()
961 .CreateObserver(item.switchName, updateFunc); in CreateScreenReadObserver()
H A Dinput_windows_manager.cpp2869 antiMistake_.switchName = NAVIGATION_SWITCH_NAME; in UpdateDisplayInfo()
3694 .CreateObserver(item.switchName, updateFunc); in UpdateDisplayInfo()
/foundation/resourceschedule/device_standby/services/core/src/
H A Dstandby_service_impl.cpp1410 const std::string& switchName = argsInStr[DUMP_SECOND_PARAM]; in DumpTurnOnOffSwitch() local
1411 if (switchName == DUMP_DEBUG_SWITCH) { in DumpTurnOnOffSwitch()
1420 StandbyConfigManager::GetInstance()->DumpSetSwitch(switchName, switchStatus, result); in DumpTurnOnOffSwitch()

Completed in 16 milliseconds