| /base/powermgr/power_manager/test/unittest/resources/push_xml/ |
| D | power_mode_config.xml | 35 <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/ |
| D | power_mode_config.xml | 35 <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/powermgr/power_manager/test/systemtest/resources/push_xml/ |
| D | power_mode_config.xml | 35 <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/hiviewdfx/hiview/plugins/event_store/event_export/test/unittest/common/ |
| D | event_export_db_mgr_test.cpp | 61 // export switch on at 10 67 // export switch off 70 // export switch on at 100 76 // export switch off 79 // export switch on at 350 89 * @tc.desc: ExportDbManager test with unnormal steps: switch on->init->switch on 97 // export switch on at 10 100 // export switch on at 100 107 …* @tc.desc: ExportDbManager test with unnormal steps: switch off->init->switch->switch off->switch… 115 // export switch off [all …]
|
| /base/telephony/call_manager/services/audio/src/audio_state/ |
| D | inactive_state.cpp | 29 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()
|
| D | holding_state.cpp | 29 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()
|
| D | incoming_state.cpp | 29 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()
|
| D | dialing_state.cpp | 29 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()
|
| D | alerting_state.cpp | 30 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()
|
| D | wired_headset_device_state.cpp | 28 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()
|
| D | bluetooth_device_state.cpp | 28 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()
|
| D | speaker_device_state.cpp | 28 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()
|
| /base/usb/usb_manager/test/tool/ |
| D | usb_function_test.cpp | 42 printf("-p 1: Switch to host\n"); in PrintHelp() 43 printf("-p 2: Switch to device:\n"); in PrintHelp() 45 printf("-f 1: Switch to function:acm\n"); in PrintHelp() 46 printf("-f 2: Switch to function:ecm\n"); in PrintHelp() 47 printf("-f 3: Switch to function:acm&ecm\n"); in PrintHelp() 48 printf("-f 4: Switch to function:hdc\n"); in PrintHelp() 49 printf("-f 5: Switch to function:acm&hdc\n"); in PrintHelp() 50 printf("-f 6: Switch to function:ecm&hdc\n"); in PrintHelp() 51 printf("-f 8: Switch to function:mtp\n"); in PrintHelp() 52 printf("-f 16: Switch to function:ptp\n"); in PrintHelp() [all …]
|
| /base/location/interfaces/c_api/include/ |
| D | oh_location.h | 20 …* @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/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
| D | dfx_signal.cpp | 45 switch (signal_) { in IsAddrAvailable() 59 switch (signal_) { in IsPidAvailable() 112 switch (signal) { in FormatCodeName() 135 switch (signalCode) { in FormatSIGBUSCodeName() 153 switch (signalCode) { in FormatSIGILLCodeName() 177 switch (signalCode) { in FormatSIGFPECodeName() 201 switch (signalCode) { in FormatSIGSEGVCodeName() 213 switch (signalCode) { in FormatSIGTRAPCodeName() 229 switch (signalCode) { in FormatSIGSYSCodeName() 239 switch (signalCode) { in FormatSIGLEAKCodeName() [all …]
|
| /base/telephony/sms_mms/frameworks/cj/src/ |
| D | sms_utils.cpp | 43 switch (errorCode) { in CreateCommonArgumentErrorCodeForCj() 61 switch (errorCode) { in CreateCommonServiceErrorCodeForCj() 85 switch (errorCode) { in CreateCommonSystemErrorCodeForCj() 135 switch (errorCode) { in CreateParameterErrorCodeForCj() 159 switch (errorCode) { in CreateCommonCallErrorCodeForCj() 205 switch (errorCode) { in CreateVideoCallErrorCodeForCj() 234 switch (errorCode) { in CreateSupplementServiceCallErrorCodeForCj() 279 switch (errorCode) { in CreateDataErrorCodeForCj() 296 switch (errorCode) { in CreateNetworkSearchErrorCodeForCj() 312 switch (errorCode) { in CreateVcardErrorCodeForCj() [all …]
|
| /base/telephony/call_manager/services/call/src/ |
| D | video_call_state.cpp | 104 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/hiview/plugins/faultlogger/interfaces/cpp/innerkits/ |
| D | signal_info.cpp | 54 switch (sigCode) { in IsSignalPidAvaliable() 68 switch (signal) { in FormatSignalName() 93 switch (signalCode) { in FormatSIGBUSCodeName() 119 switch (signalCode) { in FormatSIGILLCodeName() 154 switch (signalCode) { in FormatSIGFPECodeName() 189 switch (signalCode) { in FormatSIGSEGVCodeName() 206 switch (signalCode) { in FormatSIGTRAPCodeName() 229 switch (signalCode) { in FormatCommonSignalCodeName() 263 switch (signal) { in FormatCodeName()
|
| /base/location/interfaces/inner_api/include/ |
| D | locator_impl.h | 60 * @brief Obtain current location switch status. 62 * @return Returns true if the location switch on, returns false otherwise. 70 * @brief Enable location switch. 72 * @param enable Status of the location switch to be set. 100 * @brief Subscribe location switch changed. 102 * @param callback Indicates the callback for reporting the location switch status. 109 * @brief Unsubscribe location switch changed. 111 * @param callback Indicates the callback for reporting the location switch status. 304 * @brief Obtain current location switch status. 306 * @param isEnabled Indicates if the location switch on. [all …]
|
| /base/notification/distributed_notification_service/frameworks/core/common/src/ |
| D | ans_convert_enum.cpp | 23 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() 202 switch (inType) { in LiveViewTypesJSToC() 225 switch (inLevel) { in SlotLevelCToJS() 251 switch (inType) { in ReasonCToJS() 294 switch (inType) { in ReasonCToJSExt() [all …]
|
| /base/telephony/core_service/utils/common/src/ |
| D | enum_convert.cpp | 36 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/account/os_account/tools/test/unittest/acm/ |
| D | account_command_switch_test.cpp | 40 std::string cmd_ = "switch"; 79 * @tc.desc: Verify the "acm switch" command. 98 * @tc.desc: Verify the "acm switch xxx" command. 118 * @tc.desc: Verify the "acm switch -x" command. 138 * @tc.desc: Verify the "acm switch -xxx" command. 158 * @tc.desc: Verify the "acm switch --x" command. 178 * @tc.desc: Verify the "acm switch --xxx" command. 198 * @tc.desc: Verify the "acm switch -h" command. 218 * @tc.desc: Verify the "acm switch --help" command. 238 * @tc.desc: Verify the "acm switch -i" command. [all …]
|
| /base/location/services/location_locator/locator/include/ |
| D | location_config_manager.h | 41 * @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 135 std::atomic<int> mLocationSwitchState; /* location switch state */
|
| /base/msdp/device_status/intention/cooperate/plugin/src/ |
| D | i_cooperate_state.cpp | 37 void ICooperateState::Switch(std::shared_ptr<ICooperateStep> step) in Switch() function in OHOS::Msdp::DeviceStatus::Cooperate::ICooperateState 68 void ICooperateState::ICooperateStep::Switch(std::shared_ptr<ICooperateStep> step) in Switch() function in OHOS::Msdp::DeviceStatus::Cooperate::ICooperateState::ICooperateStep 70 parent_.Switch(step); in Switch() 76 Switch(next_); in Proceed() 84 Switch(prev_); in Reset()
|
| /base/inputmethod/imf/test/unittest/cpp_test/src/ |
| D | newIme_switch_test.cpp | 126 * @tc.desc: switch ime to newTestIme. 135 // switch to newTestIme 147 * @tc.desc: switch subtype with subName1. 166 * @tc.desc: switch subtype with subName2. 185 * @tc.desc: switch subtype with subName3. 204 * @tc.desc: switch subtype witch subName1. 223 * @tc.desc: switch subtype with error subName. 240 * @tc.desc: switch to currentIme witch empty subName. 259 * @tc.desc: switch ime to newTestIme and switch the subtype to subName1. 278 * @tc.desc: switch the subtype to subName0. [all …]
|