Home
last modified time | relevance | path

Searched refs:INPUT_PARAMS_ERROR (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/base/location/frameworks/js/napi/source/
H A Dlocation_napi_event.cpp658 NAPI_ASSERT_BASE(env, argc == PARAM2, "number of parameters is wrong", INPUT_PARAMS_ERROR); in OnLocationServiceStateCallback()
660 "callback should be function, mismatch for param.", INPUT_PARAMS_ERROR); in OnLocationServiceStateCallback()
699 NAPI_ASSERT_BASE(env, argc == PARAM3, "number of parameters is wrong", INPUT_PARAMS_ERROR); in OnCachedGnssLocationsReportingCallback()
701 "callback should be function, mismatch for param.", INPUT_PARAMS_ERROR); in OnCachedGnssLocationsReportingCallback()
745 NAPI_ASSERT_BASE(env, argc == PARAM2, "number of parameters is wrong", INPUT_PARAMS_ERROR); in OnGnssStatusChangeCallback()
747 "callback should be function, mismatch for param.", INPUT_PARAMS_ERROR); in OnGnssStatusChangeCallback()
789 NAPI_ASSERT_BASE(env, argc == PARAM3, "number of parameters is wrong", INPUT_PARAMS_ERROR); in OnLocationChangeCallback()
791 "callback should be function, mismatch for param.", INPUT_PARAMS_ERROR); in OnLocationChangeCallback()
834 NAPI_ASSERT_BASE(env, argc == PARAM2, "number of parameters is wrong", INPUT_PARAMS_ERROR); in OnNmeaMessageChangeCallback()
836 "callback should be function, mismatch for param.", INPUT_PARAMS_ERROR); in OnNmeaMessageChangeCallback()
[all …]
H A Dnapi_util.cpp357 return INPUT_PARAMS_ERROR; in JsObjToGeoCodeRequest()
366 return INPUT_PARAMS_ERROR; in JsObjToGeoCodeRequest()
369 return INPUT_PARAMS_ERROR; in JsObjToGeoCodeRequest()
372 return INPUT_PARAMS_ERROR; in JsObjToGeoCodeRequest()
375 return INPUT_PARAMS_ERROR; in JsObjToGeoCodeRequest()
660 return INPUT_PARAMS_ERROR; in JsObjectToString()
688 NAPI_ASSERT_BASE(env, valueType == napi_number, "Wrong argument type.", INPUT_PARAMS_ERROR); in JsObjectToDouble()
706 NAPI_ASSERT_BASE(env, valueType == napi_number, "Wrong argument type.", INPUT_PARAMS_ERROR); in JsObjectToInt()
724 NAPI_ASSERT_BASE(env, valueType == napi_number, "Wrong argument type.", INPUT_PARAMS_ERROR); in JsObjectToInt64()
742 … NAPI_ASSERT_BASE(env, valueType == napi_boolean, "Wrong argument type.", INPUT_PARAMS_ERROR); in JsObjectToBool()
[all …]
H A Dlocation_napi_adapter.cpp433 asyncContext->errCode = ret ? SUCCESS : INPUT_PARAMS_ERROR; in CreateReverseGeocodeAsyncContext()
484 if (asyncContext->errCode == INPUT_PARAMS_ERROR) { in CreateReverseGeocodeAsyncContext()
742 if (errCode == INPUT_PARAMS_ERROR) { in CreateReverseGeocodeAsyncContext()
749 NAPI_ASSERT(env, errCode != INPUT_PARAMS_ERROR, "The input params should be checked first."); in CreateReverseGeocodeAsyncContext()
820 return INPUT_PARAMS_ERROR; in CreateReverseGeocodeAsyncContext()
884 if (asyncContext->errCode == INPUT_PARAMS_ERROR) { in CreateReverseGeocodeAsyncContext()
H A Dlocation_napi_entry.cpp174 SetEnumPropertyByInteger(env, geoLocationErrorCode, INPUT_PARAMS_ERROR, "INPUT_PARAMS_ERROR"); in GeoLocationErrorCodeTypeConstructor()
/ohos5.0/base/location/frameworks/js/napi/include/
H A Dnapi_util.h105 if (errorCode == COMMON_ERROR || errorCode == INPUT_PARAMS_ERROR) { \
111 return INPUT_PARAMS_ERROR; \
/ohos5.0/base/location/interfaces/inner_api/include/
H A Dcommon_utils.h141 INPUT_PARAMS_ERROR = 101, enumerator
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/
H A Djs-apidiff-geolocation.md62 …类名:GeoLocationErrorCode;<br>方法or属性:INPUT_PARAMS_ERROR<br>旧版本信息:|类名:GeoLocationErrorCode;<br>方法or属性…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-geolocation.md20 | ohos.geolocation | GeoLocationErrorCode | INPUT_PARAMS_ERROR = 101 | 新增 |
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-geolocation.md20 | ohos.geolocation | GeoLocationErrorCode | INPUT_PARAMS_ERROR = 101 | Added|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/
H A Djs-apidiff-geolocation.md62 …ibute name: INPUT_PARAMS_ERROR<br>Old version information: |Class name: GeoLocationErrorCode;<br>M…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-geolocation.md264 …类名:GeoLocationErrorCode;<br>方法or属性:INPUT_PARAMS_ERROR<br>旧版本信息:|类名:GeoLocationErrorCode;<br>方法or属性…
305 …化|类名:GeoLocationErrorCode;<br>方法or属性:INPUT_PARAMS_ERROR = 101|类名:GeoLocationErrorCode;<br>方法or属性:I…
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-geolocation.md264 …r attribute name: INPUT_PARAMS_ERROR<br>Old version: |Class name: GeoLocationErrorCode;<br>Method …
305 …hod or attribute name: INPUT_PARAMS_ERROR = 101|Class name: GeoLocationErrorCode;<br>Method or att…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-location-kit/
H A Djs-apis-geolocation.md1502 | INPUT_PARAMS_ERROR<sup>7+</sup> | 101 | 表示输入参数错误。 |
/ohos5.0/docs/en/application-dev/reference/apis-location-kit/
H A Djs-apis-geolocation.md1502 | INPUT_PARAMS_ERROR<sup>7+</sup> | 101 | Incorrect input parameters.|