Home
last modified time | relevance | path

Searched refs:switchState (Results 1 – 25 of 41) sorted by relevance

12

/ohos5.0/base/telephony/cellular_data/services/src/utils/
H A Dcellular_data_hisysevent.cpp61 …const int32_t slotId, const int32_t switchState, const CellularDataErrorCode errorType, const std:… in WriteDataActivateFaultEvent() argument
64 …DATA_SWITCH_KEY, switchState, UPLINK_DATA_KEY, INVALID_PARAMETER, DOWNLINK_DATA_KEY, INVALID_PARAM… in WriteDataActivateFaultEvent()
75 …CellularDataHiSysEvent::JudgingDataActivateTimeOut(const int32_t slotId, const int32_t switchState) in JudgingDataActivateTimeOut() argument
81 …WriteDataActivateFaultEvent(slotId, switchState, CellularDataErrorCode::DATA_ERROR_DATA_ACTIVATE_T… in JudgingDataActivateTimeOut()
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/dfx/
H A Ddistributed_ue.cpp140 std::string switchState = isContinueSwitchOn ? "1" : "0"; in OriginalSwitchState() local
148 SWITCH_STATE, switchState); in OriginalSwitchState()
156 SWITCH_STATE, switchState, in OriginalSwitchState()
169 std::string switchState = isContinueSwitchOn ? "1" : "0"; in ChangedSwitchState() local
177 SWITCH_STATE, switchState); in ChangedSwitchState()
185 SWITCH_STATE, switchState, in ChangedSwitchState()
/ohos5.0/base/location/frameworks/js/napi/source/
H A Dlocation_switch_callback_napi.cpp116 napi_value LocationSwitchCallbackNapi::PackResult(bool switchState) in PackResult() argument
119 NAPI_CALL(env_, napi_get_boolean(env_, switchState, &result)); in PackResult()
123 bool LocationSwitchCallbackNapi::Send(int switchState) in Send() argument
151 context->enable = (switchState == 1 ? true : false); in Send()
210 void LocationSwitchCallbackNapi::OnSwitchChange(int switchState) in OnSwitchChange() argument
213 Send(switchState); in OnSwitchChange()
/ohos5.0/base/location/frameworks/js/napi/include/
H A Dlocation_switch_callback_napi.h38 napi_value PackResult(bool switchState);
39 bool Send(int switchState);
40 void OnSwitchChange(int switchState) override;
H A Dlocation_error_callback_napi.h40 napi_value PackResult(bool switchState);
41 bool Send(int switchState);
/ohos5.0/foundation/distributedhardware/distributed_input/services/sink/transport/src/
H A Ddistributed_input_sink_switch.cpp60 (*it).switchState = true; in StartSwitch()
85 (*it).switchState = false; in StopSwitch()
106 (*it).switchState = false; in StopAllSwitch()
181 if ((*it).switchState == true) { in GetSwitchOpenedSession()
/ohos5.0/base/telephony/cellular_data/services/include/utils/
H A Dcellular_data_hisysevent.h42 static void WriteDataActivateFaultEvent(const int32_t slotId, const int32_t switchState,
45 void JudgingDataActivateTimeOut(const int32_t slotId, const int32_t switchState);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/quick_fix/state/src/
H A Dquick_fix_deploy_state.cpp43 …std::shared_ptr<QuickFixSwitchState> switchState = std::make_shared<QuickFixSwitchState>(bundleNam… in Process() local
50 scanner->SetQuickFixState(switchState); in Process()
/ohos5.0/base/location/frameworks/native/locator_sdk/source/
H A Dlocation_data_manager.cpp164 bool switchState = (state == ENABLED); in RegisterLocationSwitchObserver() local
165 LBSLOGI(LOCATOR, "LOCATION_SWITCH_MODE changed. switchState %{public}d", switchState); in RegisterLocationSwitchObserver()
166 manager->ReportSwitchState(switchState); in RegisterLocationSwitchObserver()
H A Dlocation_switch_callback_host.cpp43 void LocationSwitchCallbackHost::OnSwitchChange(int switchState) in OnSwitchChange() argument
/ohos5.0/foundation/arkui/advanced_ui_component/interface/composelistitem/
H A Dcomposelistitem.js314 void 0 !== e.switchState && (this.switchState = e.switchState);
337 get switchState() {
341 set switchState(e) {
362 null != this.switch && (this.switchState = this.switch.isCheck);
526 Toggle.create({ type: ToggleType.Switch, isOn: this.switchState });
529 this.switchState = !this.switchState
/ohos5.0/foundation/distributedhardware/distributed_input/services/common/include/
H A Ddinput_softbus_define.h33 bool switchState; member
34 SwitchStateData(int32_t session, bool state) : sessionId(session), switchState(state) {}; in SwitchStateData()
/ohos5.0/base/telephony/call_manager/services/call_earthquake_alarm/src/
H A Dcall_earthquake_alarm_subscriber.cpp57 std::string switchState = want.GetStringParam(LocationSubscriber::SWITCH_STATE); in OnReceiveEvent() local
60 if (switchState == LocationSubscriber::SWITCH_STATE_START) { in OnReceiveEvent()
66 if (switchState == LocationSubscriber::SWITCH_STATE_STOP) { in OnReceiveEvent()
/ohos5.0/foundation/distributeddatamgr/pasteboard/services/dialog/PasteboardDialog/entry/src/main/ets/pages/
H A DPasteboardSwitch.ets36 let switchState: switchStatus = {
148 let value = settings.getValueSync(context, 'distributed_pasteboard_switch', switchState.open);
149 this.isSwitchOn = value != switchState.close ? true : false;
156 …tatus: boolean = settings.setValueSync(context, 'distributed_pasteboard_switch', switchState.open);
298 … settings.setValueSync(context, 'distributed_pasteboard_switch', switchState.open);
302 … settings.setValueSync(context, 'distributed_pasteboard_switch', switchState.close);
/ohos5.0/base/telephony/core_service/services/core/src/
H A Dcore_service_hisysevent.cpp113 … int32_t slotId, int32_t switchState, CellularDataErrorCode errorType, const std::string &errorMsg) in WriteDataActivateFaultEvent() argument
116 …DATA_SWITCH_KEY, switchState, UPLINK_DATA_KEY, INVALID_PARAMETER, DOWNLINK_DATA_KEY, INVALID_PARAM… in WriteDataActivateFaultEvent()
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/application/entry/src/main/ets/pages/
H A DContinueSwitch.ets40 let switchState: switchStatus = {
182 …s: boolean = settings.setValueSync(context, CommonConstants.CONTINUE_SWITCH_KEY, switchState.close,
211 … let value = settings.getValueSync(context, CommonConstants.CONTINUE_SWITCH_KEY, switchState.open,
213 this.isSwitchOn = value != switchState.close ? true : false;
220 …us: boolean = settings.setValueSync(context, CommonConstants.CONTINUE_SWITCH_KEY, switchState.open,
356 switchState.open, settings.domainName.USER_SECURITY);
360 switchState.close, settings.domainName.USER_SECURITY);
/ohos5.0/base/location/frameworks/native/locator_sdk/include/
H A Dlocation_switch_callback_host.h29 void OnSwitchChange(int switchState) override;
/ohos5.0/foundation/arkui/advanced_ui_component/source/ComposeListItem/
H A DComposeListItem.ets212 @State switchState: boolean = false
219 this.switchState = this.switch.isCheck
307 Toggle({ type: ToggleType.Switch, isOn: this.switchState })
310 this.switchState = !this.switchState
/ohos5.0/base/telephony/cellular_data/services/src/
H A Dcellular_data_service_stub.cpp183 bool switchState = false; in OnGetIntelligenceSwitchState() local
184 int32_t result = GetIntelligenceSwitchState(switchState); in OnGetIntelligenceSwitchState()
192 if (!reply.WriteBool(switchState)) { in OnGetIntelligenceSwitchState()
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/pnp_server/
H A Daudio_socket_thread.cpp140 switch (audioPnpUevent->switchState[0]) { in SetAudioPnpUevent()
405 if (strcmp(audioPnpUevent->switchState, "1") == 0) { in AudioDpDetectDevice()
407 } else if (strcmp(audioPnpUevent->switchState, "0") == 0) { in AudioDpDetectDevice()
541 &audioPnpUevent.switchName, &audioPnpUevent.switchState, &audioPnpUevent.hidName in AudioPnpUeventParse()
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/manager/pnp_server/
H A Daudio_pnp_param.h98 const char *switchState; member
/ohos5.0/base/telephony/core_service/services/core/include/
H A Dcore_service_hisysevent.h49 …int32_t slotId, int32_t switchState, CellularDataErrorCode errorType, const std::string &errorMsg);
/ohos5.0/base/telephony/cellular_data/frameworks/native/
H A Dcellular_data_service_proxy.h150 int32_t GetIntelligenceSwitchState(bool &switchState);
H A Dcellular_data_client.cpp379 int32_t CellularDataClient::GetIntelligenceSwitchState(bool &switchState) in GetIntelligenceSwitchState() argument
386 return proxy->GetIntelligenceSwitchState(switchState); in GetIntelligenceSwitchState()
/ohos5.0/base/telephony/cellular_data/services/include/
H A Dcellular_data_controller.h56 int32_t GetIntelligenceSwitchState(bool &switchState);

12