Home
last modified time | relevance | path

Searched refs:resolved (Results 1 – 19 of 19) sorted by relevance

/base/telephony/cellular_data/frameworks/js/napi/src/
Dnapi_cellular_data.cpp130 asyncContext->resolved = true; in NativeGetCellularDataState()
133 asyncContext->resolved = false; in NativeGetCellularDataState()
146 if (asyncContext->resolved) { in GetCellularDataStateCallback()
192 asyncContext->resolved = true; in NativeIsCellularDataEnabled()
196 asyncContext->resolved = false; in NativeIsCellularDataEnabled()
209 if (asyncContext->resolved) { in IsCellularDataEnabledCallback()
256 asyncContext->resolved = true; in NativeEnableCellularData()
258 asyncContext->resolved = false; in NativeEnableCellularData()
262 asyncContext->resolved = false; in NativeEnableCellularData()
276 if (asyncContext->resolved) { in EnableCellularDataCallback()
[all …]
/base/telephony/core_service/frameworks/js/network_search/src/
Dget_radio_state_callback.cpp32 asyncContext_->resolved = errorCode == HRIL_ERR_SUCCESS; in OnGetRadioStateCallback()
33 if (asyncContext_->resolved) { in OnGetRadioStateCallback()
Dset_preferred_network_callback.cpp36 asyncContext_->resolved = (errorCode == HRIL_ERR_SUCCESS) && setResult; in OnSetPreferredNetworkCallback()
37 if (!asyncContext_->resolved) { in OnSetPreferredNetworkCallback()
Dset_radio_state_callback.cpp34 asyncContext_->resolved = (errorCode == HRIL_ERR_REPEAT_STATUS) || in OnSetRadioStateCallback()
36 if (!asyncContext_->resolved) { in OnSetRadioStateCallback()
Dget_network_search_info_callback.cpp36 asyncContext_->resolved = (errorCode == HRIL_ERR_SUCCESS) && (networkSearchResult != nullptr); in OnGetNetworkSearchInformation()
37 if (asyncContext_->resolved) { in OnGetNetworkSearchInformation()
Dget_network_search_mode_callback.cpp47 asyncContext_->resolved = errorCode == HRIL_ERR_SUCCESS; in OnGetNetworkModeCallback()
48 if (asyncContext_->resolved) { in OnGetNetworkModeCallback()
Dget_preferred_network_callback.cpp47 asyncContext_->resolved = errorCode == HRIL_ERR_SUCCESS; in OnGetPreferredNetworkCallback()
48 if (asyncContext_->resolved) { in OnGetPreferredNetworkCallback()
Dnapi_radio.cpp128 asyncContext->resolved = true; in NativeGetRadioTech()
142 if (asyncContext->resolved) { in GetRadioTechCallback()
208 asyncContext->resolved = true; in NativeGetSignalInfoList()
216 asyncContext->signalInfoList.size(), asyncContext->resolved); in GetSignalInfoListCallback()
218 if (asyncContext->resolved) { in GetSignalInfoListCallback()
323 asyncContext->resolved = true; in NativeGetNetworkState()
340 if (asyncContext->resolved) { in GetNetworkStateCallback()
488 if (asyncContext->resolved) { in GetNetworkSelectionModeCallback()
586 if (asyncContext->resolved) { in GetNetworkSearchInformationCallback()
804 asyncContext->resolved = asyncContext->setResult; in SetNetworkSelectionModeCallback()
[all …]
/base/telephony/core_service/frameworks/js/sim/src/
Dnapi_sim.cpp133 if (!context.resolved) { in NapiAsyncCompleteCallback()
145 if (!context.resolved) { in NapiAsyncCompleteCallback()
166 if (context.deferred != nullptr && !context.resolved) { in NapiAsyncBaseCompleteCallback()
173 if (context.deferred != nullptr && context.resolved) { in NapiAsyncBaseCompleteCallback()
184 if (!context.resolved) { in NapiAsyncBaseCompleteCallback()
353 reVal->context.resolved = true; in NativeIsSimActive()
388 simContext->context.resolved = (errorCode == ERROR_NONE); in NativeActivateSim()
419 simContext->context.resolved = (errorCode == ERROR_NONE); in NativeDeactivateSim()
443 asyncContext->context.resolved = (asyncContext->callbackVal > ERROR_DEFAULT); in NativeGetDefaultVoiceSlotId()
489 asyncContext->context.resolved = true; in NativeGetIsoForSim()
[all …]
/base/telephony/core_service/frameworks/js/napi/
Dbase_context.h29 bool resolved = false; member
Dnapi_util.cpp307 if (baseContext->resolved) { in Handle1ValueCallback()
336 callbackValues[0] = baseContext->resolved ? CreateUndefined(env) : callbackValue; in Handle2ValueCallback()
337 callbackValues[1] = baseContext->resolved ? callbackValue : CreateUndefined(env); in Handle2ValueCallback()
345 if (baseContext->resolved) { in Handle2ValueCallback()
/base/telephony/sms_mms/frameworks/js/napi/src/
Dnapi_sms.cpp201 asyncContext->resolved = true; in NativeSendMessage()
341 asyncContext->resolved = true; in NativeCreateMessage()
376 if (asyncContext->resolved) { in CreateMessageCallback()
478 context->resolved = true; in NativeSetDefaultSmsSlotId()
480 TELEPHONY_LOGI("NativeSetDefaultSmsSlotId end resolved = %{public}d", context->resolved); in NativeSetDefaultSmsSlotId()
488 if (context->resolved) { in SetDefaultSmsSlotIdCallback()
556 context->resolved = true; in NativeGetDefaultSmsSlotId()
558 context->resolved = false; in NativeGetDefaultSmsSlotId()
567 if (context->resolved) { in GetDefaultSmsSlotIdCallback()
630 context->resolved = true; in NativeSetSmscAddr()
[all …]
Dnapi_mms.cpp332 context->resolved = true; in NativeDecodeMms()
588 if (decodeMmsContext->resolved) { in DecodeMmsCallback()
1335 context->resolved = true; in NativeEncodeMms()
1344 if (context->resolved) { in EncodeMmsCallback()
/base/telephony/call_manager/frameworks/js/napi/src/
Dnapi_call_manager.cpp1828 asyncContext->resolved = TELEPHONY_SUCCESS; in ObserverOff()
2334 if (asyncContext->resolved == TELEPHONY_SUCCESS) { in NativeCallBack()
2336 napi_create_int32(env, asyncContext->resolved, &promiseValue); in NativeCallBack()
2345 if (asyncContext->resolved == TELEPHONY_SUCCESS) { in NativeCallBack()
2347 napi_create_int32(env, asyncContext->resolved, &callbackValue[ARRAY_INDEX_SECOND]); in NativeCallBack()
2373 if (asyncContext->resolved == TELEPHONY_SUCCESS) { in NativeDialCallBack()
2384 if (asyncContext->resolved == TELEPHONY_SUCCESS) { in NativeDialCallBack()
2411 if (asyncContext->resolved == TELEPHONY_SUCCESS) { in NativeVoidCallBack()
2417 std::string errTip = std::to_string(asyncContext->resolved); in NativeVoidCallBack()
2424 if (asyncContext->resolved == TELEPHONY_SUCCESS) { in NativeVoidCallBack()
[all …]
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/js/napi/
Dnapi_faultlogger.h52 bool resolved = false; variable
Dnapi_faultlogger.cpp83 faultLogInfoContext->resolved = true; in FaultLogExecuteCallback()
98 faultLogInfoContext->resolved = true; in FaultLogExecuteCallback()
108 if (faultLogInfoContext->resolved) { in FaultLogCompleteCallback()
135 …callbackValues[0] = faultLogInfoContext->resolved ? NapiUtil::CreateUndefined(env) : callbackValue; in FaultLogCompleteCallback()
136 …callbackValues[1] = faultLogInfoContext->resolved ? callbackValue : NapiUtil::CreateUndefined(env); in FaultLogCompleteCallback()
142 if (faultLogInfoContext->resolved) { in FaultLogCompleteCallback()
/base/telephony/state_registry/frameworks/js/napi/src/
Dnapi_state_registry.cpp84 asyncContext->resolved = true; in NativeOn()
96 if (!asyncContext->resolved) { in OnCallback()
173 asyncContext->resolved = true; in NativeOff()
191 if (!asyncContext->resolved) { in OffCallback()
/base/telephony/sms_mms/frameworks/js/napi/include/
Dnapi_sms.h110 bool resolved = false; member
/base/telephony/call_manager/frameworks/js/napi/include/
Dnapi_call_manager_types.h56 int32_t resolved = TELEPHONY_ERROR; member