/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi_utils.cpp | 76 napi_value NotificationNapi::CreateErrorValue(napi_env env, int32_t errCode, bool newType) in CreateErrorValue() argument 80 if (errCode == ERR_OK && newType) { in CreateErrorValue() 144 const napi_env &env, const napi_ref &callbackIn, const int32_t &errorCode, const napi_value &result, bool newType) in SetCallback() 154 results[PARAM0] = CreateErrorValue(env, errorCode, newType); in SetCallback() 190 const napi_deferred &deferred, const int32_t &errorCode, const napi_value &result, bool newType) in SetPromise() 196 napi_reject_deferred(env, deferred, CreateErrorValue(env, errorCode, newType)); in SetPromise() 143 SetCallback( const napi_env &env, const napi_ref &callbackIn, const int32_t &errorCode, const napi_value &result, bool newType) SetCallback() argument 189 SetPromise(const napi_env &env, const napi_deferred &deferred, const int32_t &errorCode, const napi_value &result, bool newType) SetPromise() argument
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common_utils.cpp | 83 napi_value Common::CreateErrorValue(napi_env env, int32_t errCode, bool newType) in CreateErrorValue() argument 87 if (errCode == ERR_OK && newType) { in CreateErrorValue() 178 const napi_env &env, const napi_ref &callbackIn, const int32_t &errorCode, const napi_value &result, bool newType) in SetCallback() 188 results[PARAM0] = CreateErrorValue(env, errorCode, newType); in SetCallback() 224 const napi_deferred &deferred, const int32_t &errorCode, const napi_value &result, bool newType) in SetPromise() 230 napi_reject_deferred(env, deferred, CreateErrorValue(env, errorCode, newType)); in SetPromise() 177 SetCallback( const napi_env &env, const napi_ref &callbackIn, const int32_t &errorCode, const napi_value &result, bool newType) SetCallback() argument 223 SetPromise(const napi_env &env, const napi_deferred &deferred, const int32_t &errorCode, const napi_value &result, bool newType) SetPromise() argument
|
/base/location/frameworks/js/napi/notification/include/ |
H A D | notification_napi.h | 161 const napi_ref &callbackIn, const int32_t &errorCode, const napi_value &result, bool newType); 192 const napi_deferred &deferred, const int32_t &errorCode, const napi_value &result, bool newType); 1250 static napi_value CreateErrorValue(napi_env env, int32_t errCode, bool newType);
|
/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
H A D | common.h | 167 const napi_ref &callbackIn, const int32_t &errorCode, const napi_value &result, bool newType); 198 const napi_deferred &deferred, const int32_t &errorCode, const napi_value &result, bool newType); 1692 static napi_value CreateErrorValue(napi_env env, int32_t errCode, bool newType);
|
/base/telephony/sms_mms/utils/ |
H A D | text_coder.cpp | 677 uint8_t newType = MSG_DEFAULT_CHAR; in GetLangType() local 686 newType = static_cast<uint8_t>(itExt->second); in GetLangType() 687 if (newType >= currType) { in GetLangType() 689 currType = isTurkisk ? MSG_TURKISH_CHAR : newType; in GetLangType()
|