/base/telephony/cellular_data/frameworks/js/napi/src/ |
D | napi_cellular_data.cpp | 130 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/ |
D | get_radio_state_callback.cpp | 32 asyncContext_->resolved = errorCode == HRIL_ERR_SUCCESS; in OnGetRadioStateCallback() 33 if (asyncContext_->resolved) { in OnGetRadioStateCallback()
|
D | set_preferred_network_callback.cpp | 36 asyncContext_->resolved = (errorCode == HRIL_ERR_SUCCESS) && setResult; in OnSetPreferredNetworkCallback() 37 if (!asyncContext_->resolved) { in OnSetPreferredNetworkCallback()
|
D | set_radio_state_callback.cpp | 34 asyncContext_->resolved = (errorCode == HRIL_ERR_REPEAT_STATUS) || in OnSetRadioStateCallback() 36 if (!asyncContext_->resolved) { in OnSetRadioStateCallback()
|
D | get_network_search_info_callback.cpp | 36 asyncContext_->resolved = (errorCode == HRIL_ERR_SUCCESS) && (networkSearchResult != nullptr); in OnGetNetworkSearchInformation() 37 if (asyncContext_->resolved) { in OnGetNetworkSearchInformation()
|
D | get_network_search_mode_callback.cpp | 47 asyncContext_->resolved = errorCode == HRIL_ERR_SUCCESS; in OnGetNetworkModeCallback() 48 if (asyncContext_->resolved) { in OnGetNetworkModeCallback()
|
D | get_preferred_network_callback.cpp | 47 asyncContext_->resolved = errorCode == HRIL_ERR_SUCCESS; in OnGetPreferredNetworkCallback() 48 if (asyncContext_->resolved) { in OnGetPreferredNetworkCallback()
|
D | napi_radio.cpp | 128 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/ |
D | napi_sim.cpp | 133 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/ |
D | base_context.h | 29 bool resolved = false; member
|
D | napi_util.cpp | 307 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/ |
D | napi_sms.cpp | 201 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 …]
|
D | napi_mms.cpp | 332 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/ |
D | napi_call_manager.cpp | 1828 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/ |
D | napi_faultlogger.h | 52 bool resolved = false; variable
|
D | napi_faultlogger.cpp | 83 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/ |
D | napi_state_registry.cpp | 84 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/ |
D | napi_sms.h | 110 bool resolved = false; member
|
/base/telephony/call_manager/frameworks/js/napi/include/ |
D | napi_call_manager_types.h | 56 int32_t resolved = TELEPHONY_ERROR; member
|