Home
last modified time | relevance | path

Searched refs:ERRCODE_INVALID_PARAM (Results 1 – 16 of 16) sorted by relevance

/base/location/frameworks/native/source/
Dlocation_data_manager.cpp41 return ERRCODE_INVALID_PARAM; in ReportSwitchState()
58 return ERRCODE_INVALID_PARAM; in RegisterSwitchCallback()
63 return ERRCODE_INVALID_PARAM; in RegisterSwitchCallback()
78 return ERRCODE_INVALID_PARAM; in UnregisterSwitchCallback()
83 return ERRCODE_INVALID_PARAM; in UnregisterSwitchCallback()
Dlocator_proxy.cpp568 return ERRCODE_INVALID_PARAM; in SendRegisterMsgToRemoteV9()
628 return ERRCODE_INVALID_PARAM; in RegisterNmeaMessageCallbackV9()
647 return ERRCODE_INVALID_PARAM; in UnregisterNmeaMessageCallbackV9()
845 return ERRCODE_INVALID_PARAM; in SendCommandV9()
863 return ERRCODE_INVALID_PARAM; in AddFenceV9()
884 return ERRCODE_INVALID_PARAM; in RemoveFenceV9()
993 return ERRCODE_INVALID_PARAM; in ProxyUidForFreezeV9()
Dnapi_util.cpp789 {LocationErrCode::ERRCODE_INVALID_PARAM, "Parameter error."}, in GetErrorMsgByCode()
/base/location/test/location_locator/source/
Dlocation_config_manager_test.cpp90 EXPECT_EQ(ERRCODE_INVALID_PARAM,
92 EXPECT_EQ(ERRCODE_INVALID_PARAM,
95 EXPECT_EQ(ERRCODE_INVALID_PARAM,
97 EXPECT_EQ(ERRCODE_INVALID_PARAM,
Dlocator_impl_test.cpp256 …EXPECT_EQ(ERRCODE_INVALID_PARAM, locatorImpl_->SetLocationPrivacyConfirmStatusV9(INVALID_PRIVACY_T…
257 …EXPECT_EQ(ERRCODE_INVALID_PARAM, locatorImpl_->IsLocationPrivacyConfirmedV9(INVALID_PRIVACY_TYPE, …
Dlocator_service_test.cpp1350 EXPECT_EQ(ERRCODE_INVALID_PARAM, locatorImpl->SetLocationPrivacyConfirmStatus(-1, true));
1648 EXPECT_EQ(ERRCODE_INVALID_PARAM, locatorAbility->RegisterSwitchCallback(nullptr, SYSTEM_UID));
1650 EXPECT_EQ(ERRCODE_INVALID_PARAM, locatorAbility->UnregisterSwitchCallback(nullptr));
/base/location/frameworks/js/napi/source/
Dlocation_napi_adapter.cpp140 HandleSyncErrCode(env, ERRCODE_INVALID_PARAM); in EnableLocation()
381 HandleSyncErrCode(env, ERRCODE_INVALID_PARAM); in CreateReverseGeocodeAsyncContext()
392 HandleSyncErrCode(env, ERRCODE_INVALID_PARAM); in CreateReverseGeocodeAsyncContext()
404 asyncContext->errCode = ret ? ERRCODE_SUCCESS : ERRCODE_INVALID_PARAM; in CreateReverseGeocodeAsyncContext()
434 HandleSyncErrCode(env, ERRCODE_INVALID_PARAM); in CreateReverseGeocodeAsyncContext()
445 HandleSyncErrCode(env, ERRCODE_INVALID_PARAM); in CreateReverseGeocodeAsyncContext()
460 HandleSyncErrCode(env, ERRCODE_INVALID_PARAM); in CreateReverseGeocodeAsyncContext()
484 HandleSyncErrCode(env, ERRCODE_INVALID_PARAM); in CreateReverseGeocodeAsyncContext()
490 HandleSyncErrCode(env, ERRCODE_INVALID_PARAM); in CreateReverseGeocodeAsyncContext()
520 HandleSyncErrCode(env, ERRCODE_INVALID_PARAM); in CreateReverseGeocodeAsyncContext()
[all …]
Dlocation_napi_event.cpp243 return ERRCODE_INVALID_PARAM; in SubscribeLocationChangeV9()
515 HandleSyncErrCode(env, ERRCODE_INVALID_PARAM); in RequestLocationOnceV9()
520 HandleSyncErrCode(env, ERRCODE_INVALID_PARAM); in RequestLocationOnceV9()
537 HandleSyncErrCode(env, ERRCODE_INVALID_PARAM); in RequestLocationOnceV9()
589 HandleSyncErrCode(env, ERRCODE_INVALID_PARAM); in OnLocationServiceStateCallback()
593 HandleSyncErrCode(env, ERRCODE_INVALID_PARAM); in OnLocationServiceStateCallback()
628 HandleSyncErrCode(env, ERRCODE_INVALID_PARAM); in OnCachedGnssLocationsReportingCallback()
634 HandleSyncErrCode(env, ERRCODE_INVALID_PARAM); in OnCachedGnssLocationsReportingCallback()
676 HandleSyncErrCode(env, ERRCODE_INVALID_PARAM); in OnGnssStatusChangeCallback()
680 HandleSyncErrCode(env, ERRCODE_INVALID_PARAM); in OnGnssStatusChangeCallback()
[all …]
/base/location/services/location_gnss/gnss/source/
Dgnss_ability.cpp170 return ERRCODE_INVALID_PARAM; in RegisterGnssStatusCallback()
177 return ERRCODE_INVALID_PARAM; in RegisterGnssStatusCallback()
191 return ERRCODE_INVALID_PARAM; in UnregisterGnssStatusCallback()
196 return ERRCODE_INVALID_PARAM; in UnregisterGnssStatusCallback()
218 return ERRCODE_INVALID_PARAM; in RegisterNmeaMessageCallback()
225 return ERRCODE_INVALID_PARAM; in RegisterNmeaMessageCallback()
239 return ERRCODE_INVALID_PARAM; in UnregisterNmeaMessageCallback()
244 return ERRCODE_INVALID_PARAM; in UnregisterNmeaMessageCallback()
267 return ERRCODE_INVALID_PARAM; in RegisterCachedCallback()
274 return ERRCODE_INVALID_PARAM; in RegisterCachedCallback()
[all …]
/base/location/interfaces/inner_api/include/
Dconstant_definition.h93 ERRCODE_INVALID_PARAM = 401, /* Parameter error. */ enumerator
/base/location/services/location_locator/locator/source/
Dlocation_config_manager.cpp222 return ERRCODE_INVALID_PARAM; in GetPrivacyTypeState()
256 return ERRCODE_INVALID_PARAM; in SetPrivacyTypeState()
Dlocator_ability.cpp414 return ERRCODE_INVALID_PARAM; in RegisterSwitchCallback()
421 return ERRCODE_INVALID_PARAM; in RegisterSwitchCallback()
435 return ERRCODE_INVALID_PARAM; in UnregisterSwitchCallback()
440 return ERRCODE_INVALID_PARAM; in UnregisterSwitchCallback()
Dlocator_required_data_manager.cpp46 return ERRCODE_INVALID_PARAM; in RegisterCallback()
Dlocator_skeleton.cpp510 reply.WriteInt32(ERRCODE_INVALID_PARAM); in PreStartCacheLocating()
511 return ERRCODE_INVALID_PARAM; in PreStartCacheLocating()
/base/location/frameworks/js/napi/include/
Dcallback_manager.h132 HandleSyncErrCode(env, ERRCODE_INVALID_PARAM); in RegCallback()
136 HandleSyncErrCode(env, ERRCODE_INVALID_PARAM); in RegCallback()
/base/location/test/location_gnss/source/
Dgnss_ability_test.cpp194 EXPECT_EQ(ERRCODE_INVALID_PARAM, proxy_->RegisterGnssStatusCallback(client, lastCallingUid));
246 EXPECT_EQ(ERRCODE_INVALID_PARAM, proxy_->UnregisterGnssStatusCallback(client));
270 EXPECT_EQ(ERRCODE_INVALID_PARAM, proxy_->RegisterNmeaMessageCallback(client, uid));
322 EXPECT_EQ(ERRCODE_INVALID_PARAM, proxy_->UnregisterNmeaMessageCallback(client));
349 EXPECT_EQ(ERRCODE_INVALID_PARAM, proxy_->RegisterCachedCallback(requestConfig, callback));
430 EXPECT_EQ(ERRCODE_INVALID_PARAM, proxy_->UnregisterCachedCallback(callback));