/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_controller.cpp | 240 napi_value setResult[RESULT_COUNT] = {0}; in StoreWebArchiveCallback() local 241 setResult[PARAMZERO] = BusinessError::CreateError(env, NWebError::INIT_ERROR); in StoreWebArchiveCallback() 242 napi_get_null(env, &setResult[PARAMONE]); in StoreWebArchiveCallback() 244 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in StoreWebArchiveCallback() 268 napi_value setResult[RESULT_COUNT] = {0}; in StoreWebArchiveCallback() local 270 setResult[PARAMZERO] = BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in StoreWebArchiveCallback() 271 napi_get_null(env, &setResult[PARAMONE]); in StoreWebArchiveCallback() 273 napi_get_undefined(env, &setResult[PARAMZERO]); in StoreWebArchiveCallback() 274 napi_create_string_utf8(env, result.c_str(), NAPI_AUTO_LENGTH, &setResult[PARAMONE]); in StoreWebArchiveCallback() 276 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in StoreWebArchiveCallback() [all …]
|
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 …]
|
/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_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 | 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 | napi_radio.cpp | 885 asyncContext->resolved = asyncContext->setResult; in SetNetworkSelectionModeCallback()
|
/base/web/webview/interfaces/kits/napi/webdatabase/ |
D | napi_geolocation_permission.cpp | 177 napi_value setResult[RESULT_COUNT] = {0}; in GetPermissionStateComplete() local 179 setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, param->errCode); in GetPermissionStateComplete() 180 napi_get_undefined(env, &setResult[PARAMONE]); in GetPermissionStateComplete() 182 napi_get_undefined(env, &setResult[PARAMZERO]); in GetPermissionStateComplete() 183 napi_get_boolean(env, param->retValue, &setResult[PARAMONE]); in GetPermissionStateComplete() 185 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in GetPermissionStateComplete() 206 napi_value setResult[RESULT_COUNT] = {0}; in GetPermissionStatePromiseComplete() local 207 setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, param->errCode); in GetPermissionStatePromiseComplete() 208 napi_get_boolean(env, param->retValue, &setResult[PARAMONE]); in GetPermissionStatePromiseComplete() 209 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in GetPermissionStatePromiseComplete() [all …]
|
/base/web/webview/interfaces/kits/napi/webstorage/ |
D | napi_web_storage.cpp | 173 napi_value setResult[RESULT_COUNT] = {0}; in GetOriginComplete() local 175 …setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, NWebError::NO_WEBSTORAGE_ORIGIN); in GetOriginComplete() 176 napi_get_undefined(env, &setResult[PARAMONE]); in GetOriginComplete() 178 napi_get_undefined(env, &setResult[PARAMZERO]); in GetOriginComplete() 179 napi_create_array(env, &setResult[PARAMONE]); in GetOriginComplete() 180 GetNapiWebStorageOriginForResult(env, param->origins, setResult[PARAMONE]); in GetOriginComplete() 182 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in GetOriginComplete() 201 napi_value setResult[RESULT_COUNT] = {0}; in GetOriginsPromiseComplete() local 202 …setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, NWebError::NO_WEBSTORAGE_ORIGIN); in GetOriginsPromiseComplete() 203 napi_create_array(env, &setResult[PARAMONE]); in GetOriginsPromiseComplete() [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/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_network_search_mode_callback.h | 28 void OnSetNetworkModeCallback(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 | napi_radio.h | 175 bool setResult = false; member 268 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/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 | 1562 context->slotId, context->setResult); in NativeIsImsSmsSupported() 1575 napi_get_boolean(env, context->setResult, &callbackValue); in IsImsSmsSupportedCallback()
|