Home
last modified time | relevance | path

Searched full:switch (Results 1 – 25 of 1117) sorted by relevance

12345678910>>...45

/base/powermgr/power_manager/test/systemtest/resources/push_xml/
Dpower_mode_config.xml35 <switch id="101" value="20000" recover_flag="0"/>
36 <switch id="102" value="0" recover_flag="0"/>
37 <switch id="103" value="-1" recover_flag="0"/>
38 <switch id="107" value="1" recover_flag="0"/>
39 <switch id="115" value="102" recover_flag="0"/>
40 <switch id="120" value="1" recover_flag="0"/>
43 <switch id="101" value="8000" recover_flag="0"/>
44 <switch id="102" value="5000" recover_flag="0"/>
45 <switch id="103" value="-1" recover_flag="0"/>
46 <switch id="107" value="-1" recover_flag="0"/>
[all …]
/base/powermgr/power_manager/test/unittest/resources/push_xml/
Dpower_mode_config.xml35 <switch id="101" value="30000" recover_flag="0"/>
36 <switch id="102" value="30000" recover_flag="0"/>
37 <switch id="103" value="-1" recover_flag="0"/>
38 <switch id="107" value="1" recover_flag="0"/>
39 <switch id="115" value="102" recover_flag="0"/>
40 <switch id="120" value="1" recover_flag="0"/>
43 <switch id="101" value="10000" recover_flag="0"/>
44 <switch id="102" value="5000" recover_flag="0"/>
45 <switch id="103" value="-1" recover_flag="0"/>
46 <switch id="107" value="-1" recover_flag="0"/>
[all …]
/base/powermgr/power_manager/services/native/profile/
Dpower_mode_config.xml35 <switch id="101" value="30000" recover_flag="0"/>
36 <switch id="102" value="0" recover_flag="0"/>
37 <switch id="103" value="-1" recover_flag="0"/>
38 <switch id="107" value="1" recover_flag="0"/>
39 <switch id="115" value="102" recover_flag="0"/>
40 <switch id="120" value="1" recover_flag="0"/>
43 <switch id="101" value="10000" recover_flag="0"/>
44 <switch id="102" value="5000" recover_flag="0"/>
45 <switch id="103" value="-1" recover_flag="0"/>
46 <switch id="107" value="-1" recover_flag="0"/>
[all …]
/base/hiviewdfx/hiview/plugins/event_store/event_export/test/unittest/common/
Devent_export_db_mgr_test.cpp60 // export switch on at 10
66 // export switch off
69 // export switch on at 100
75 // export switch off
78 // export switch on at 350
88 * @tc.desc: ExportDbManager test with unnormal steps: switch on->init->switch on
96 // export switch on at 10
99 // export switch on at 100
106 …* @tc.desc: ExportDbManager test with unnormal steps: switch off->init->switch->switch off->switch
114 // export switch off
[all …]
/base/telephony/call_manager/services/audio/src/audio_state/
Dinactive_state.cpp29 switch (event) { in ProcessEvent()
31 // should switch alerting state while only one alerting call exists in ProcessEvent()
41 TELEPHONY_LOGI("inactive state switch cs call to active state"); in ProcessEvent()
49 TELEPHONY_LOGI("inactive state switch ims call to active state"); in ProcessEvent()
55 // should switch alerting state while only one alerting call exists in ProcessEvent()
58 TELEPHONY_LOGI("inactive state switch call to alerting state"); in ProcessEvent()
64 // should switch incoming state while only one incoming call exists in ProcessEvent()
67 TELEPHONY_LOGI("inactive state switch call to incoming state"); in ProcessEvent()
Dholding_state.cpp29 switch (event) { in ProcessEvent()
33 TELEPHONY_LOGI("holding state switch cs call to active state"); in ProcessEvent()
41 TELEPHONY_LOGI("holding state switch ims call to active state"); in ProcessEvent()
47 // should switch incoming state while only one incoming call exists in ProcessEvent()
50 TELEPHONY_LOGI("holding state switch call to incoming state"); in ProcessEvent()
52 AudioEvent::SWITCH_INCOMING_STATE); // switch to incoming state in ProcessEvent()
61 … TELEPHONY_LOGI("holding state switch call to alerting state and ignore dialing state"); in ProcessEvent()
Dincoming_state.cpp29 switch (event) { in ProcessEvent()
34 // switch to cs call state anyway. in ProcessEvent()
37 TELEPHONY_LOGI("incoming state switch cs call to active state"); in ProcessEvent()
45 // switch to ims call state anyway. in ProcessEvent()
46 TELEPHONY_LOGI("incoming state switch ims call to active state"); in ProcessEvent()
52 TELEPHONY_LOGI("incoming state switch incoming state"); in ProcessEvent()
Ddialing_state.cpp29 switch (event) { in ProcessEvent()
34 // switch to cs call state anyway. in ProcessEvent()
37 TELEPHONY_LOGI("dialing state switch cs call to active state"); in ProcessEvent()
43 // switch to ims call state anyway. in ProcessEvent()
46 TELEPHONY_LOGI("dialing state switch ims call to active state"); in ProcessEvent()
52 // switch to ims call state anyway. in ProcessEvent()
Dalerting_state.cpp30 switch (event) { in ProcessEvent()
35 // switch to cs call state anyway. in ProcessEvent()
38 TELEPHONY_LOGI("alerting state switch cs call to active state"); in ProcessEvent()
44 // switch to ims call state anyway. in ProcessEvent()
47 TELEPHONY_LOGI("alerting state switch ims call to active state"); in ProcessEvent()
Dwired_headset_device_state.cpp28 switch (event) { in ProcessEvent()
30 // should reinitialize audio device in order to switch to a proper audio route in ProcessEvent()
35 // should switch to bluetooth route while bluetooth connected in ProcessEvent()
Dspeaker_device_state.cpp28 switch (event) { in ProcessEvent()
30 // should switch to wired headset route while wired headset connected in ProcessEvent()
35 // should switch to bluetooth sco route while bluetooth sco connected in ProcessEvent()
Dbluetooth_device_state.cpp28 switch (event) { in ProcessEvent()
32 // should switch to bluetooth sco route while bluetooth sco connected in ProcessEvent()
38 // should reinitialize audio device in order to switch to a proper audio route in ProcessEvent()
/base/usb/usb_manager/test/tool/
Dusb_function_test.cpp43 printf("-p 1: Switch to host\n"); in PrintHelp()
44 printf("-p 2: Switch to device:\n"); in PrintHelp()
46 printf("-f 1: Switch to function:acm\n"); in PrintHelp()
47 printf("-f 2: Switch to function:ecm\n"); in PrintHelp()
48 printf("-f 3: Switch to function:acm&ecm\n"); in PrintHelp()
49 printf("-f 4: Switch to function:hdc\n"); in PrintHelp()
50 printf("-f 5: Switch to function:acm&hdc\n"); in PrintHelp()
51 printf("-f 6: Switch to function:ecm&hdc\n"); in PrintHelp()
52 printf("-f 8: Switch to function:mtp\n"); in PrintHelp()
53 printf("-f 16: Switch to function:ptp\n"); in PrintHelp()
[all …]
/base/location/interfaces/c_api/include/
Doh_location.h20 …* @brief Provide functions for querying the status of location switch, starting and stopping locat…
26 …* @brief Define interfaces for querying location switch status, starting locating, and stopping lo…
42 * @brief Check whether the location switch is enabled.
44 * @param enabled - It is a boolean pointer used to receive location switch status values.\n
45 * Equal to true indicates that the location switch is turned on, false indicates that\n
46 * the location switch is turned off.\n
50 * {@link LOCAION_SUCCESS} Successfully obtained the location switch status.\n
72 * {@link LOCATION_SWITCH_OFF} The location switch is off.\n
95 * {@link LOCATION_SWITCH_OFF} The location switch is off.\n
/base/usb/usb_manager/services/native/src/
Dusb_device_manager.cpp62 USB_HILOGE(MODULE_USB_SERVICE, "get usb function switch window failed"); in Init()
68 USB_HILOGE(MODULE_USB_SERVICE, "Init usb function switch window failed"); in Init()
165 switch (status) { in HandleEvent()
235 USB_HILOGE(MODULE_USB_SERVICE, "show window: get usb function switch window failed"); in ProcessFunctionSwitchWindow()
240 USB_HILOGD(MODULE_USB_SERVICE, "start pop up usb service switch window"); in ProcessFunctionSwitchWindow()
242 USB_HILOGE(MODULE_USB_SERVICE, "start pop up usb service switch window failed"); in ProcessFunctionSwitchWindow()
245 USB_HILOGD(MODULE_USB_SERVICE, "start dismiss usb service switch window"); in ProcessFunctionSwitchWindow()
247 USB_HILOGE(MODULE_USB_SERVICE, "start dismiss usb service switch window failed"); in ProcessFunctionSwitchWindow()
257 dprintf(fd, "usb_device -f 0: Switch to function:none\n"); in GetDumpHelp()
258 dprintf(fd, "usb_device -f 1: Switch to function:acm\n"); in GetDumpHelp()
[all …]
/base/telephony/call_manager/services/call/src/
Dvideo_call_state.cpp104 switch (mode) { in SendUpdateCallMediaModeRequest()
142 switch (imsCallModeInfo.callMode) { in RecieveUpdateCallMediaModeRequest()
187 switch (mode) { in SendUpdateCallMediaModeResponse()
239 switch (imsCallModeInfo.callMode) { in ReceiveUpdateCallMediaModeResponse()
276 switch (mode) { in SendUpdateCallMediaModeRequest()
284 ret = SwitchCallVideoState(mode); // switch call video state in SendUpdateCallMediaModeRequest()
286 TELEPHONY_LOGE("error occurs when switch call state"); in SendUpdateCallMediaModeRequest()
311 switch (imsCallModeInfo.callMode) { in RecieveUpdateCallMediaModeRequest()
316 TELEPHONY_LOGE("error occurs when switch call state."); in RecieveUpdateCallMediaModeRequest()
352 switch (imsCallModeInfo.callMode) { in ReceiveUpdateCallMediaModeResponse()
[all …]
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
Ddfx_signal.cpp45 switch (signal_) { in IsAddrAvailable()
59 switch (signal_) { in IsPidAvailable()
115 switch (signal) { in FormatCodeName()
134 switch (signalCode) { in FormatSIGBUSCodeName()
152 switch (signalCode) { in FormatSIGILLCodeName()
176 switch (signalCode) { in FormatSIGFPECodeName()
200 switch (signalCode) { in FormatSIGSEGVCodeName()
212 switch (signalCode) { in FormatSIGTRAPCodeName()
228 switch (signalCode) { in FormatCommonSignalCodeName()
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/
Dsignal_info.cpp55 switch (sigCode) { in IsSignalPidAvaliable()
69 switch (signal) { in FormatSignalName()
94 switch (signalCode) { in FormatSIGBUSCodeName()
120 switch (signalCode) { in FormatSIGILLCodeName()
155 switch (signalCode) { in FormatSIGFPECodeName()
190 switch (signalCode) { in FormatSIGSEGVCodeName()
207 switch (signalCode) { in FormatSIGTRAPCodeName()
230 switch (signalCode) { in FormatCommonSignalCodeName()
264 switch (signal) { in FormatCodeName()
/base/location/interfaces/inner_api/include/
Dlocator_impl.h59 * @brief Obtain current location switch status.
61 * @return Returns true if the location switch on, returns false otherwise.
69 * @brief Enable location switch.
71 * @param enable Status of the location switch to be set.
99 * @brief Subscribe location switch changed.
101 * @param callback Indicates the callback for reporting the location switch status.
108 * @brief Unsubscribe location switch changed.
110 * @param callback Indicates the callback for reporting the location switch status.
303 * @brief Obtain current location switch status.
305 * @param isEnabled Indicates if the location switch on.
[all …]
/base/telephony/core_service/utils/common/src/
Denum_convert.cpp36 switch (static_cast<TelephonySimState>(state)) { in GetSimState()
64 switch (static_cast<TelephonyCallState>(state)) { in GetCallState()
101 switch (static_cast<TelephonyCardType>(type)) { in GetCardType()
141 switch (static_cast<TelephonyDataConnectionStatus>(state)) { in GetCellularDataConnectionState()
163 switch (static_cast<TelephonyCellDataFlowType>(flowData)) { in GetCellularDataFlow()
188 switch (static_cast<TelephonyRadioTech>(type)) { in GetCellularDataConnectionNetworkType()
237 switch (static_cast<TelephonyLockReason>(reason)) { in GetLockReason()
/base/msdp/device_status/intention/cooperate/plugin/src/
Di_cooperate_state.cpp35 void ICooperateState::Switch(std::shared_ptr<ICooperateStep> step) in Switch() function in OHOS::Msdp::DeviceStatus::Cooperate::ICooperateState
66 void ICooperateState::ICooperateStep::Switch(std::shared_ptr<ICooperateStep> step) in Switch() function in OHOS::Msdp::DeviceStatus::Cooperate::ICooperateState::ICooperateStep
68 parent_.Switch(step); in Switch()
74 Switch(next_); in Proceed()
82 Switch(prev_); in Reset()
/base/inputmethod/imf/test/unittest/cpp_test/src/
DnewIme_switch_test.cpp67 IMSA_HILOGI("Enable ime switch test."); in SetUpTestCase()
129 * @tc.desc: switch ime to newTestIme.
138 // switch to newTestIme
150 * @tc.desc: switch subtype with subName1.
169 * @tc.desc: switch subtype with subName2.
188 * @tc.desc: switch subtype with subName3.
207 * @tc.desc: switch subtype witch subName1.
226 * @tc.desc: switch subtype with error subName.
243 * @tc.desc: switch to currentIme witch empty subName.
262 * @tc.desc: switch ime to newTestIme and switch the subtype to subName1.
[all …]
/base/account/os_account/tools/test/unittest/acm/
Daccount_command_switch_test.cpp39 std::string cmd_ = "switch";
76 * @tc.desc: Verify the "acm switch" command.
95 * @tc.desc: Verify the "acm switch xxx" command.
115 * @tc.desc: Verify the "acm switch -x" command.
135 * @tc.desc: Verify the "acm switch -xxx" command.
155 * @tc.desc: Verify the "acm switch --x" command.
175 * @tc.desc: Verify the "acm switch --xxx" command.
195 * @tc.desc: Verify the "acm switch -h" command.
215 * @tc.desc: Verify the "acm switch --help" command.
235 * @tc.desc: Verify the "acm switch -i" command.
[all …]
/base/location/services/location_locator/locator/include/
Dlocation_config_manager.h41 * @Description Get current location switch state
43 * @return int - the location switch state, open/close
48 * @Description set location switch state
50 * @param state - the location switch state
136 std::atomic<int> mLocationSwitchState; /* location switch state */
/base/notification/distributed_notification_service/frameworks/core/common/src/
Dans_convert_enum.cpp23 switch (inType) { in ContentTypeJSToC()
54 switch (inType) { in ContentTypeCToJS()
85 switch (inType) { in SlotTypeJSToC()
117 switch (inType) { in SlotTypeCToJS()
152 switch (inLevel) { in SlotLevelJSToC()
178 switch (inType) { in LiveViewStatusJSToC()
201 switch (inLevel) { in SlotLevelCToJS()
227 switch (inType) { in ReasonCToJS()
331 switch (inType) { in DoNotDisturbTypeJSToC()
353 switch (inType) { in DoNotDisturbTypeCToJS()
[all …]

12345678910>>...45