/base/location/frameworks/cj/source/ |
H A D | location_switch_callback.cpp | 31 auto cFunc = reinterpret_cast<void(*)(int32_t switchState)>(callbackId); in LocationSwitchCallback() 32 callback_ = [ lambda = CJLambda::Create(cFunc)](int switchState) -> in LocationSwitchCallback() 33 void { lambda(static_cast<bool>(switchState)); }; in LocationSwitchCallback() 71 void LocationSwitchCallback::OnSwitchChange(int switchState) in OnSwitchChange() argument 76 callback_(switchState); in OnSwitchChange()
|
/base/msdp/device_status/rust/subsystem/device_profile/binding/include/ |
H A D | fusion_device_profile_adapter.h | 32 void (*onUpdate)(CICrossStateListener* listener, const char* deviceId, int32_t switchState); 41 int32_t UpdateCrossSwitchState(size_t switchState); 42 int32_t SyncCrossSwitchState(size_t switchState, CIStringVector* deviceIds);
|
/base/location/frameworks/js/napi/include/ |
H A D | location_switch_callback_napi.h | 38 napi_value PackResult(bool switchState); 39 bool Send(int switchState); 40 void OnSwitchChange(int switchState) override;
|
H A D | location_error_callback_napi.h | 40 napi_value PackResult(bool switchState); 41 bool Send(int switchState);
|
/base/msdp/device_status/rust/subsystem/device_profile/binding/src/ |
H A D | fusion_device_profile_adapter.cpp | 60 int32_t UpdateCrossSwitchState(bool switchState); 61 int32_t SyncCrossSwitchState(bool switchState, const std::vector<std::string> &deviceIds); 100 bool switchState = DelayedRefSingleton<FusionDeviceProfileAdapter>::GetInstance().GetCrossSwitchState(deviceId); in OnProfileChanged() local 101 listener_->onUpdate(listener_, deviceId.c_str(), switchState); in OnProfileChanged() 130 int32_t FusionDeviceProfileAdapter::UpdateCrossSwitchState(bool switchState) in UpdateCrossSwitchState() argument 139 cJSON_AddItemToObject(data, characteristicsName_.c_str(), cJSON_CreateNumber(switchState)); in UpdateCrossSwitchState() 148 int32_t FusionDeviceProfileAdapter::SyncCrossSwitchState(bool switchState, const std::vector<std::string> &deviceIds) in SyncCrossSwitchState() argument 157 cJSON_AddItemToObject(data, characteristicsName_.c_str(), cJSON_CreateNumber(switchState)); in SyncCrossSwitchState() 295 int32_t UpdateCrossSwitchState(size_t switchState) in UpdateCrossSwitchState() argument 299 static_cast<bool>(switchState)); in UpdateCrossSwitchState() 302 SyncCrossSwitchState(size_t switchState, CIStringVector* deviceIds) SyncCrossSwitchState() argument 323 bool switchState = GetCrossSwitchState() local [all...] |
/base/location/frameworks/cj/include/ |
H A D | location_switch_callback.h | 36 void OnSwitchChange(int switchState) override; 55 std::function<void(int switchState)> callback_ = nullptr;
|
/base/telephony/cellular_data/services/src/utils/ |
H A D | cellular_data_hisysevent.cpp | 87 const int32_t slotId, const int32_t switchState, const CellularDataErrorCode errorType, const std::string &errorMsg)
in WriteDataActivateFaultEvent() 90 DATA_SWITCH_KEY, switchState, UPLINK_DATA_KEY, INVALID_PARAMETER, DOWNLINK_DATA_KEY, INVALID_PARAMETER,
in WriteDataActivateFaultEvent() 101 void CellularDataHiSysEvent::JudgingDataActivateTimeOut(const int32_t slotId, const int32_t switchState)
in JudgingDataActivateTimeOut() argument 107 WriteDataActivateFaultEvent(slotId, switchState, CellularDataErrorCode::DATA_ERROR_DATA_ACTIVATE_TIME_OUT,
in JudgingDataActivateTimeOut() 86 WriteDataActivateFaultEvent( const int32_t slotId, const int32_t switchState, const CellularDataErrorCode errorType, const std::string &errorMsg) WriteDataActivateFaultEvent() argument
|
/base/telephony/cellular_data/services/include/utils/ |
H A D | cellular_data_hisysevent.h | 46 static void WriteDataActivateFaultEvent(const int32_t slotId, const int32_t switchState,
49 void JudgingDataActivateTimeOut(const int32_t slotId, const int32_t switchState);
|
/base/location/frameworks/js/napi/source/ |
H A D | location_switch_callback_napi.cpp | 116 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()
|
/base/location/frameworks/native/locator_sdk/include/ |
H A D | location_switch_callback_host.h | 29 void OnSwitchChange(int switchState) override;
|
/base/location/frameworks/native/locator_sdk/source/ |
H A D | location_switch_callback_host.cpp | 43 void LocationSwitchCallbackHost::OnSwitchChange(int switchState) in OnSwitchChange() argument
|
H A D | location_data_manager.cpp | 164 bool switchState = (state == ENABLED); in RegisterLocationSwitchObserver() 165 LBSLOGI(LOCATOR, "LOCATION_SWITCH_MODE changed. switchState %{public}d", switchState); in RegisterLocationSwitchObserver() 166 manager->ReportSwitchState(switchState); in RegisterLocationSwitchObserver()
|
/base/telephony/call_manager/services/call_earthquake_alarm/src/ |
H A D | call_earthquake_alarm_subscriber.cpp | 24 const std::string LocationSubscriber::SWITCH_STATE = "switchState"; 57 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()
|
/base/telephony/core_service/services/core/src/ |
H A D | core_service_hisysevent.cpp | 119 int32_t slotId, int32_t switchState, CellularDataErrorCode errorType, const std::string &errorMsg) in WriteDataActivateFaultEvent() 122 DATA_SWITCH_KEY, switchState, UPLINK_DATA_KEY, INVALID_PARAMETER, DOWNLINK_DATA_KEY, INVALID_PARAMETER, in WriteDataActivateFaultEvent() 118 WriteDataActivateFaultEvent( int32_t slotId, int32_t switchState, CellularDataErrorCode errorType, const std::string &errorMsg) WriteDataActivateFaultEvent() argument
|
/base/telephony/cellular_data/frameworks/native/ |
H A D | cellular_data_service_proxy.h | 147 * @param switchState Returns switch state 150 int32_t GetIntelligenceSwitchState(bool &switchState);
|
H A D | cellular_data_client.cpp | 379 int32_t CellularDataClient::GetIntelligenceSwitchState(bool &switchState) in GetIntelligenceSwitchState() argument 386 return proxy->GetIntelligenceSwitchState(switchState); in GetIntelligenceSwitchState()
|
/base/telephony/cellular_data/services/include/ |
H A D | cellular_data_controller.h | 56 int32_t GetIntelligenceSwitchState(bool &switchState);
|
H A D | cellular_data_service.h | 87 int32_t GetIntelligenceSwitchState(bool &switchState) override;
|
/base/telephony/core_service/services/core/include/ |
H A D | core_service_hisysevent.h | 50 int32_t slotId, int32_t switchState, CellularDataErrorCode errorType, const std::string &errorMsg);
|
/base/telephony/cellular_data/interfaces/innerkits/ |
H A D | cellular_data_client.h | 83 * @param switchState Returns IntelligenceSwitch State 86 int32_t GetIntelligenceSwitchState(bool &switchState);
|
/base/telephony/cellular_data/services/src/ |
H A D | cellular_data_service_stub.cpp | 183 bool switchState = false; in OnGetIntelligenceSwitchState() local 184 int32_t result = GetIntelligenceSwitchState(switchState); in OnGetIntelligenceSwitchState() 192 if (!reply.WriteBool(switchState)) { in OnGetIntelligenceSwitchState()
|
H A D | cellular_data_controller.cpp | 93 int32_t CellularDataController::GetIntelligenceSwitchState(bool &switchState) in GetIntelligenceSwitchState() argument 99 return cellularDataHandler_->GetIntelligenceSwitchState(switchState); in GetIntelligenceSwitchState()
|
/base/telephony/call_manager/services/call_earthquake_alarm/include/ |
H A D | call_earthquake_alarm_locator.h | 74 static void BootComplete(bool switchState);
|
/base/telephony/call_manager/services/call_voice_assistant/src/ |
H A D | call_voice_assistant_manager.cpp | 76 bool CallVoiceAssistantManager::IsSwitchOn(const std::string& switchState)
in IsSwitchOn() argument 79 this->QueryValue(switchState, value);
in IsSwitchOn() 80 TELEPHONY_LOGI("%{public}s is %{public}s", switchState.c_str(), value.c_str());
in IsSwitchOn()
|
/base/telephony/call_manager/services/call_voice_assistant/include/ |
H A D | call_voice_assistant_manager.h | 56 bool IsSwitchOn(const std::string& switchState);
|