/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
D | webview_javascript_execute_callback.cpp | 102 napi_value setResult[INTEGER_TWO] = {0}; in UvAfterWorkCbAsync() local 104 setResult[INTEGER_ZERO] = BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in UvAfterWorkCbAsync() 105 napi_get_null(env, &setResult[INTEGER_ONE]); in UvAfterWorkCbAsync() 107 napi_get_undefined(env, &setResult[INTEGER_ZERO]); in UvAfterWorkCbAsync() 108 napi_create_string_utf8(env, result.c_str(), NAPI_AUTO_LENGTH, &setResult[INTEGER_ONE]); in UvAfterWorkCbAsync() 111 napi_value args[INTEGER_TWO] = {setResult[INTEGER_ZERO], setResult[INTEGER_ONE]}; in UvAfterWorkCbAsync() 124 napi_value setResult[INTEGER_TWO] = {0}; in UvAfterWorkCbPromise() local 125 … setResult[INTEGER_ZERO] = NWebError::BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in UvAfterWorkCbPromise() 126 napi_create_string_utf8(env, result.c_str(), NAPI_AUTO_LENGTH, &setResult[INTEGER_ONE]); in UvAfterWorkCbPromise() 128 napi_value args[INTEGER_TWO] = {setResult[INTEGER_ZERO], setResult[INTEGER_ONE]}; in UvAfterWorkCbPromise()
|
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 | 212 napi_value setResult[RESULT_COUNT] = {0}; in StoreWebArchiveCallback() local 213 setResult[PARAMZERO] = BusinessError::CreateError(env, NWebError::INIT_ERROR); in StoreWebArchiveCallback() 214 napi_get_null(env, &setResult[PARAMONE]); in StoreWebArchiveCallback() 216 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in StoreWebArchiveCallback() 240 napi_value setResult[RESULT_COUNT] = {0}; in StoreWebArchiveCallback() local 242 setResult[PARAMZERO] = BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in StoreWebArchiveCallback() 243 napi_get_null(env, &setResult[PARAMONE]); in StoreWebArchiveCallback() 245 napi_get_undefined(env, &setResult[PARAMZERO]); in StoreWebArchiveCallback() 246 napi_create_string_utf8(env, result.c_str(), NAPI_AUTO_LENGTH, &setResult[PARAMONE]); in StoreWebArchiveCallback() 248 napi_value args[RESULT_COUNT] = {setResult[PARAMZERO], setResult[PARAMONE]}; in StoreWebArchiveCallback() [all …]
|
/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()
|
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;
|
/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_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 | 804 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);
|
/base/telephony/sms_mms/frameworks/js/napi/include/ |
D | napi_sms.h | 121 bool setResult = false; member 126 bool setResult = false; member 136 bool setResult = false; member 178 bool setResult = false; member
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | network_search_test_callback_stub.cpp | 108 void NetworkSearchTestCallbackStub::OnSetNetworkModeCallback(const bool setResult, const int32_t er… in OnSetNetworkModeCallback() argument 111 setResult, errorCode); in OnSetNetworkModeCallback() 116 void NetworkSearchTestCallbackStub::OnSetRadioStateCallback(const bool setResult, const int32_t err… in OnSetRadioStateCallback() argument 119 setResult, errorCode); in OnSetRadioStateCallback()
|
D | network_search_test_callback_stub.h | 43 void OnSetNetworkModeCallback(const bool setResult, const int32_t errorCode) override; 44 void OnSetRadioStateCallback(const bool setResult, const int32_t errorCode) override;
|
/base/telephony/core_service/frameworks/native/src/ |
D | i_network_search_callback_stub.cpp | 118 void INetworkSearchCallbackStub::OnSetNetworkModeCallback(const bool setResult, const int32_t error… in OnSetNetworkModeCallback() argument 120 void INetworkSearchCallbackStub::OnSetRadioStateCallback(const bool setResult, const int32_t errorC… in OnSetRadioStateCallback() argument 122 void INetworkSearchCallbackStub::OnGetRadioStateCallback(const bool setResult, const int32_t errorC… in OnGetRadioStateCallback() argument
|
/base/telephony/core_service/frameworks/js/network_search/include/ |
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 262 bool setResult = false; member
|
/base/startup/syspara_lite/interfaces/kits/js/src/ |
D | native_parameters_js.cpp | 156 int setResult = SetParameter(keyStr.c_str(), valueStr.c_str()); in SetSync() local 157 …bug(LABEL, "JSApp SetSync::setResult = %{public}d, input keyBuf = %{public}s.", setResult, keyBuf); in SetSync() 160 if (setResult != 0) { // set failed in SetSync() 162 ss << "set: " << keyStr << " failed, error code: " << setResult; in SetSync()
|
/base/startup/init/interfaces/kits/jskits/src/ |
D | native_parameters_js.cpp | 152 int setResult = SetParameter(keyStr.c_str(), valueStr.c_str()); in SetSync() local 153 PARAM_JS_LOGV("JSApp SetSync::setResult = %d, input keyBuf = %s.", setResult, keyBuf); in SetSync() 156 if (setResult != 0) { // set failed in SetSync() 158 ss << "set: " << keyStr << " failed, error code: " << setResult; in SetSync()
|
/base/telephony/sms_mms/frameworks/js/napi/src/ |
D | napi_sms.cpp | 1423 context->slotId, context->setResult); in NativeIsImsSmsSupported() 1436 napi_get_boolean(env, context->setResult, &callbackValue); in IsImsSmsSupportedCallback()
|