Home
last modified time | relevance | path

Searched refs:setResult (Results 1 – 24 of 24) sorted by relevance

/base/telephony/core_service/services/network_search/test/
Dnetwork_search_test_callback_stub.cpp28 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()
Dnetwork_search_test_callback_stub.h26 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/
Dwebview_hasimage_callback.cpp99 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()
Dwebview_controller.cpp240 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 …]
Dwebview_javascript_execute_callback.cpp144 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
190setResult[INTEGER_ZERO] = NWebError::BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in UvAfterWorkCbPromise()
[all …]
/base/telephony/core_service/frameworks/js/network_search/src/
Dset_network_search_mode_callback.cpp26 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()
Dset_nr_option_mode_callback.cpp26 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()
Dset_preferred_network_callback.cpp27 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()
Dset_radio_state_callback.cpp26 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()
Dnapi_radio.cpp885 asyncContext->resolved = asyncContext->setResult; in SetNetworkSelectionModeCallback()
/base/web/webview/interfaces/kits/napi/webdatabase/
Dnapi_geolocation_permission.cpp177 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/
Dnapi_web_storage.cpp173 napi_value setResult[RESULT_COUNT] = {0}; in GetOriginComplete() local
175setResult[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
202setResult[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/
Di_network_search_callback_stub.h35 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/
Dnetwork_search_test_callback_stub.cpp130 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()
Dnetwork_search_test_callback_stub.h47 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/
Dnapi_sms.h121 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/
Dset_nr_option_mode_callback.h28 void OnSetNrOptionModeCallback(const bool setResult, const int32_t errorCode) override;
Dset_preferred_network_callback.h28 void OnSetPreferredNetworkCallback(const bool setResult, const int32_t errorCode) override;
Dset_network_search_mode_callback.h28 void OnSetNetworkModeCallback(const bool setResult, const int32_t errorCode) override;
Dset_radio_state_callback.h28 void OnSetRadioStateCallback(const bool setResult, const int32_t errorCode) override;
Dnapi_radio.h175 bool setResult = false; member
268 bool setResult = false; member
/base/telephony/core_service/frameworks/native/src/
Di_network_search_callback_stub.cpp140 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/
Dnative_parameters_js.cpp153 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/
Dnapi_sms.cpp1562 context->slotId, context->setResult); in NativeIsImsSmsSupported()
1575 napi_get_boolean(env, context->setResult, &callbackValue); in IsImsSmsSupportedCallback()