/base/telephony/core_service/services/network_search/test/ |
D | network_search_test_callback_stub.cpp | 28 void NetworkSearchTestCallbackStub::OnSetNetworkModeCallback(const bool setResult, const int32_t er… in OnSetNetworkModeCallback() argument 33 setResult, errorCode); in OnSetNetworkModeCallback() 36 void NetworkSearchTestCallbackStub::OnSetRadioStateCallback(const bool setResult, const int32_t err… in OnSetRadioStateCallback() argument 41 setResult, errorCode); in OnSetRadioStateCallback() 44 void NetworkSearchTestCallbackStub::OnGetRadioStateCallback(const bool setResult, const int32_t err… in OnGetRadioStateCallback() argument 49 setResult, errorCode); in OnGetRadioStateCallback() 99 void NetworkSearchTestCallbackStub::OnSetNrOptionModeCallback(const bool setResult, const int32_t e… in OnSetNrOptionModeCallback() argument 101 TELEPHONY_LOGI("setResult:%{public}d, errorCode:%{public}d", setResult, errorCode); in OnSetNrOptionModeCallback()
|
D | network_search_test_callback_stub.h | 26 void OnSetNetworkModeCallback(const bool setResult, const int32_t errorCode) override; 27 void OnSetRadioStateCallback(const bool setResult, const int32_t errorCode) override; 28 void OnGetRadioStateCallback(const bool setResult, const int32_t errorCode) override; 33 void OnSetNrOptionModeCallback(const bool setResult, const int32_t errorCode) override;
|
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
D | webview_hasimage_callback.cpp | 99 napi_value setResult[INTEGER_TWO] = {0}; in UvAfterWorkCbAsync() local 100 napi_get_undefined(env, &setResult[INTEGER_ZERO]); in UvAfterWorkCbAsync() 101 napi_status getBooleanResult = napi_get_boolean(env, result, &setResult[INTEGER_ONE]); in UvAfterWorkCbAsync() 103 napi_get_boolean(env, false, &setResult[INTEGER_ONE]); in UvAfterWorkCbAsync() 105 napi_value args[INTEGER_TWO] = {setResult[INTEGER_ZERO], setResult[INTEGER_ONE]}; in UvAfterWorkCbAsync() 117 napi_value setResult; in UvAfterWorkCbPromise() local 118 napi_status getBooleanResult = napi_get_boolean(env, result, &setResult); in UvAfterWorkCbPromise() 120 napi_get_boolean(env, false, &setResult); in UvAfterWorkCbPromise() 122 napi_resolve_deferred(env, deferred, setResult); in UvAfterWorkCbPromise()
|
D | webview_javascript_execute_callback.cpp | 144 napi_value setResult[INTEGER_TWO] = {0}; in UvAfterWorkCbAsync() local 146 setResult[INTEGER_ZERO] = BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in UvAfterWorkCbAsync() 147 napi_get_null(env, &setResult[INTEGER_ONE]); in UvAfterWorkCbAsync() 149 napi_get_undefined(env, &setResult[INTEGER_ZERO]); in UvAfterWorkCbAsync() 151 OHOS::NWeb::NapiParseUtils::ConvertNWebToNapiValue(env, result, setResult[INTEGER_ONE]); in UvAfterWorkCbAsync() 155 … NAPI_CALL_RETURN_VOID(env, napi_new_instance(env, jsMsgExt, 0, NULL, &setResult[INTEGER_ONE])); in UvAfterWorkCbAsync() 163 napi_status status = napi_wrap(env, setResult[INTEGER_ONE], webJsMessageExt, in UvAfterWorkCbAsync() 176 napi_value args[INTEGER_TWO] = {setResult[INTEGER_ZERO], setResult[INTEGER_ONE]}; in UvAfterWorkCbAsync() 189 napi_value setResult[INTEGER_TWO] = {0}; in UvAfterWorkCbPromise() local 190 … setResult[INTEGER_ZERO] = NWebError::BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in UvAfterWorkCbPromise() [all …]
|
D | webview_controller.cpp | 348 napi_value setResult[RESULT_COUNT] = {0}; in StoreWebArchiveCallback() local 349 setResult[PARAMZERO] = BusinessError::CreateError(env, NWebError::INIT_ERROR); in StoreWebArchiveCallback() 350 napi_get_null(env, &setResult[PARAMONE]); in StoreWebArchiveCallback() 352 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in StoreWebArchiveCallback() 376 napi_value setResult[RESULT_COUNT] = {0}; in StoreWebArchiveCallback() local 378 setResult[PARAMZERO] = BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in StoreWebArchiveCallback() 379 napi_get_null(env, &setResult[PARAMONE]); in StoreWebArchiveCallback() 381 napi_get_undefined(env, &setResult[PARAMZERO]); in StoreWebArchiveCallback() 382 napi_create_string_utf8(env, result.c_str(), NAPI_AUTO_LENGTH, &setResult[PARAMONE]); in StoreWebArchiveCallback() 384 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in StoreWebArchiveCallback() [all …]
|
D | napi_webview_controller.cpp | 4020 napi_value setResult[INTEGER_TWO] = {0}; in ParseWebPrintWriteResultCallback() local 4021 napi_create_string_utf8(env, jobId.c_str(), NAPI_AUTO_LENGTH, &setResult[INTEGER_ZERO]); in ParseWebPrintWriteResultCallback() 4022 napi_create_uint32(env, state, &setResult[INTEGER_ONE]); in ParseWebPrintWriteResultCallback() 4023 napi_value args[INTEGER_TWO] = {setResult[INTEGER_ZERO], setResult[INTEGER_ONE]}; in ParseWebPrintWriteResultCallback()
|
/base/telephony/core_service/frameworks/js/network_search/src/ |
D | set_network_search_mode_callback.cpp | 26 void SetNetworkSearchModeCallback::OnSetNetworkModeCallback(const bool setResult, const int32_t err… in OnSetNetworkModeCallback() argument 32 …I("OnSetNetworkModeCallback setResult = %{public}d ,errorCode = %{public}d", setResult, errorCode); in OnSetNetworkModeCallback() 34 asyncContext_->setResult = setResult; in OnSetNetworkModeCallback()
|
D | set_nr_option_mode_callback.cpp | 26 void SetNrOptionModeCallback::OnSetNrOptionModeCallback(const bool setResult, const int32_t errorCo… in OnSetNrOptionModeCallback() argument 33 TELEPHONY_LOGI("OnSetNrOptionModeCallback setResult = %{public}d", setResult); in OnSetNrOptionModeCallback() 34 asyncContext_->resolved = (errorCode == HRIL_ERR_SUCCESS) && setResult; in OnSetNrOptionModeCallback()
|
D | set_radio_state_callback.cpp | 26 void SetRadioStateCallback::OnSetRadioStateCallback(const bool setResult, const int32_t errorCode) in OnSetRadioStateCallback() argument 33 TELEPHONY_LOGI("OnSetRadioStateCallback setResult = %{public}d", setResult); in OnSetRadioStateCallback() 35 ((errorCode == HRIL_ERR_SUCCESS) && setResult); in OnSetRadioStateCallback()
|
D | set_preferred_network_callback.cpp | 27 void SetPreferredNetworkCallback::OnSetPreferredNetworkCallback(const bool setResult, const int32_t… in OnSetPreferredNetworkCallback() argument 34 …GI("OnSetPreferredNetworkModelCallback setResult = %{public}d , errorCode = %{public}d", setResult, in OnSetPreferredNetworkCallback() 36 asyncContext_->resolved = (errorCode == HRIL_ERR_SUCCESS) && setResult; in OnSetPreferredNetworkCallback()
|
D | napi_radio.cpp | 904 asyncContext->resolved = asyncContext->setResult; in SetNetworkSelectionModeCallback()
|
/base/web/webview/interfaces/kits/napi/webstorage/ |
D | napi_web_storage.cpp | 187 napi_value setResult[RESULT_COUNT] = {0}; in GetOriginComplete() local 189 …setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, NWebError::NO_WEBSTORAGE_ORIGIN); in GetOriginComplete() 190 napi_get_undefined(env, &setResult[PARAMONE]); in GetOriginComplete() 192 napi_get_undefined(env, &setResult[PARAMZERO]); in GetOriginComplete() 193 napi_create_array(env, &setResult[PARAMONE]); in GetOriginComplete() 194 GetNapiWebStorageOriginForResult(env, param->origins, setResult[PARAMONE]); in GetOriginComplete() 196 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in GetOriginComplete() 215 napi_value setResult[RESULT_COUNT] = {0}; in GetOriginsPromiseComplete() local 216 …setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, NWebError::NO_WEBSTORAGE_ORIGIN); in GetOriginsPromiseComplete() 217 napi_create_array(env, &setResult[PARAMONE]); in GetOriginsPromiseComplete() [all …]
|
/base/web/webview/interfaces/kits/napi/webdatabase/ |
D | napi_geolocation_permission.cpp | 214 napi_value setResult[RESULT_COUNT] = {0}; in GetPermissionStateComplete() local 216 setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, param->errCode); in GetPermissionStateComplete() 217 napi_get_undefined(env, &setResult[PARAMONE]); in GetPermissionStateComplete() 219 napi_get_undefined(env, &setResult[PARAMZERO]); in GetPermissionStateComplete() 220 napi_get_boolean(env, param->retValue, &setResult[PARAMONE]); in GetPermissionStateComplete() 222 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in GetPermissionStateComplete() 243 napi_value setResult[RESULT_COUNT] = {0}; in GetPermissionStatePromiseComplete() local 244 setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, param->errCode); in GetPermissionStatePromiseComplete() 245 napi_get_boolean(env, param->retValue, &setResult[PARAMONE]); in GetPermissionStatePromiseComplete() 246 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in GetPermissionStatePromiseComplete() [all …]
|
/base/telephony/core_service/interfaces/innerkits/include/ |
D | i_network_search_callback_stub.h | 35 virtual void OnSetNetworkModeCallback(const bool setResult, const int32_t errorCode); 37 virtual void OnSetRadioStateCallback(const bool setResult, const int32_t errorCode); 38 virtual void OnGetRadioStateCallback(const bool setResult, const int32_t errorCode); 43 virtual void OnSetNrOptionModeCallback(const bool setResult, const int32_t errorCode);
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | network_search_test_callback_stub.cpp | 130 void NetworkSearchTestCallbackStub::OnSetNetworkModeCallback(const bool setResult, const int32_t er… in OnSetNetworkModeCallback() argument 133 setResult, errorCode); in OnSetNetworkModeCallback() 138 void NetworkSearchTestCallbackStub::OnSetRadioStateCallback(const bool setResult, const int32_t err… in OnSetRadioStateCallback() argument 141 setResult, errorCode); in OnSetRadioStateCallback() 209 void NetworkSearchTestCallbackStub::OnSetNrOptionModeCallback(const bool setResult, const int32_t e… in OnSetNrOptionModeCallback() argument 211 TELEPHONY_LOGI("setResult:%{public}d, errorCode:%{public}d", setResult, errorCode); in OnSetNrOptionModeCallback()
|
D | network_search_test_callback_stub.h | 47 void OnSetNetworkModeCallback(const bool setResult, const int32_t errorCode) override; 48 void OnSetRadioStateCallback(const bool setResult, const int32_t errorCode) override; 54 void OnSetNrOptionModeCallback(const bool setResult, const int32_t errorCode) override;
|
/base/telephony/sms_mms/frameworks/js/napi/include/ |
D | napi_sms.h | 121 bool setResult = false; member 126 bool setResult = false; member 140 bool setResult = false; member 182 bool setResult = false; member
|
/base/telephony/core_service/frameworks/native/src/ |
D | i_network_search_callback_stub.cpp | 140 void INetworkSearchCallbackStub::OnSetNetworkModeCallback(const bool setResult, const int32_t error… in OnSetNetworkModeCallback() argument 142 void INetworkSearchCallbackStub::OnSetRadioStateCallback(const bool setResult, const int32_t errorC… in OnSetRadioStateCallback() argument 144 void INetworkSearchCallbackStub::OnGetRadioStateCallback(const bool setResult, const int32_t errorC… in OnGetRadioStateCallback() argument
|
/base/telephony/core_service/frameworks/js/network_search/include/ |
D | set_nr_option_mode_callback.h | 28 void OnSetNrOptionModeCallback(const bool setResult, const int32_t errorCode) override;
|
D | set_preferred_network_callback.h | 28 void OnSetPreferredNetworkCallback(const bool setResult, const int32_t errorCode) override;
|
D | set_radio_state_callback.h | 28 void OnSetRadioStateCallback(const bool setResult, const int32_t errorCode) override;
|
D | set_network_search_mode_callback.h | 28 void OnSetNetworkModeCallback(const bool setResult, const int32_t errorCode) override;
|
D | napi_radio.h | 177 bool setResult = false; member 274 bool setResult = false; member
|
/base/startup/init/interfaces/kits/jskits/src/ |
D | native_parameters_js.cpp | 153 int setResult = SetParameter(keyStr.c_str(), valueStr.c_str()); in SetSync() local 154 PARAM_JS_LOGV("JSApp SetSync::setResult = %d, input keyBuf = %s.", setResult, keyBuf); in SetSync() 157 if (setResult != 0) { // set failed in SetSync() 159 ss << "set: " << keyStr << " failed, error code: " << setResult; in SetSync()
|
/base/telephony/sms_mms/frameworks/js/napi/src/ |
D | napi_sms.cpp | 1609 context->slotId, context->setResult); in NativeIsImsSmsSupported() 1622 napi_get_boolean(env, context->setResult, &callbackValue); in IsImsSmsSupportedCallback()
|