Home
last modified time | relevance | path

Searched refs:INPUT_PARAMS_ERROR (Results 1 - 6 of 6) sorted by relevance

/base/location/frameworks/js/napi/include/
H A Dnapi_util.h105 if (errorCode == COMMON_ERROR || errorCode == INPUT_PARAMS_ERROR) { \
111 return INPUT_PARAMS_ERROR; \
/base/location/frameworks/js/napi/source/
H A Dlocation_napi_event.cpp655 NAPI_ASSERT_BASE(env, argc == PARAM2, "number of parameters is wrong", INPUT_PARAMS_ERROR); in OnLocationServiceStateCallback()
657 "callback should be function, mismatch for param.", INPUT_PARAMS_ERROR); in OnLocationServiceStateCallback()
696 NAPI_ASSERT_BASE(env, argc == PARAM3, "number of parameters is wrong", INPUT_PARAMS_ERROR); in OnCachedGnssLocationsReportingCallback()
698 "callback should be function, mismatch for param.", INPUT_PARAMS_ERROR); in OnCachedGnssLocationsReportingCallback()
742 NAPI_ASSERT_BASE(env, argc == PARAM2, "number of parameters is wrong", INPUT_PARAMS_ERROR); in OnGnssStatusChangeCallback()
744 "callback should be function, mismatch for param.", INPUT_PARAMS_ERROR); in OnGnssStatusChangeCallback()
786 NAPI_ASSERT_BASE(env, argc == PARAM3, "number of parameters is wrong", INPUT_PARAMS_ERROR); in OnLocationChangeCallback()
788 "callback should be function, mismatch for param.", INPUT_PARAMS_ERROR); in OnLocationChangeCallback()
831 NAPI_ASSERT_BASE(env, argc == PARAM2, "number of parameters is wrong", INPUT_PARAMS_ERROR); in OnNmeaMessageChangeCallback()
833 "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.cpp412 asyncContext->errCode = ret ? SUCCESS : INPUT_PARAMS_ERROR; in CreateReverseGeocodeAsyncContext()
463 if (asyncContext->errCode == INPUT_PARAMS_ERROR) { in CreateReverseGeocodeAsyncContext()
721 if (errCode == INPUT_PARAMS_ERROR) { in CreateReverseGeocodeAsyncContext()
728 NAPI_ASSERT(env, errCode != INPUT_PARAMS_ERROR, "The input params should be checked first."); in CreateReverseGeocodeAsyncContext()
799 return INPUT_PARAMS_ERROR; in CreateReverseGeocodeAsyncContext()
863 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()
/base/location/interfaces/inner_api/include/
H A Dcommon_utils.h140 INPUT_PARAMS_ERROR = 101, enumerator

Completed in 8 milliseconds