Searched refs:LocationSwitchCallbackNapi (Results 1 – 10 of 10) sorted by relevance
25 LocationSwitchCallbackNapi::LocationSwitchCallbackNapi() in LocationSwitchCallbackNapi() function in OHOS::Location::LocationSwitchCallbackNapi32 LocationSwitchCallbackNapi::~LocationSwitchCallbackNapi() in ~LocationSwitchCallbackNapi()36 int LocationSwitchCallbackNapi::OnRemoteRequest( in OnRemoteRequest()62 napi_env LocationSwitchCallbackNapi::GetEnv() in GetEnv()68 void LocationSwitchCallbackNapi::SetEnv(const napi_env& env) in SetEnv()74 napi_ref LocationSwitchCallbackNapi::GetHandleCb() in GetHandleCb()111 bool LocationSwitchCallbackNapi::IsRemoteDied() in IsRemoteDied()116 napi_value LocationSwitchCallbackNapi::PackResult(bool switchState) in PackResult()123 bool LocationSwitchCallbackNapi::Send(int switchState) in Send()210 void LocationSwitchCallbackNapi::OnSwitchChange(int switchState) in OnSwitchChange()[all …]
33 CallbackManager<LocationSwitchCallbackNapi> g_switchCallbacks;119 const napi_ref& handlerRef, sptr<LocationSwitchCallbackNapi>& switchCallbackHost) in SubscribeLocationServiceState()128 const napi_ref& handlerRef, sptr<LocationSwitchCallbackNapi>& switchCallbackHost) in SubscribeLocationServiceStateV9()180 void UnSubscribeLocationServiceState(sptr<LocationSwitchCallbackNapi>& switchCallbackHost) in UnSubscribeLocationServiceState()187 LocationErrCode UnSubscribeLocationServiceStateV9(sptr<LocationSwitchCallbackNapi>& switchCallbackH… in UnSubscribeLocationServiceStateV9()667 sptr<LocationSwitchCallbackNapi>(new (std::nothrow) LocationSwitchCallbackNapi()); in OnLocationServiceStateCallback()996 std::map<napi_env, std::map<napi_ref, sptr<LocationSwitchCallbackNapi>>> callbackMap = in OffAllLocationServiceStateCallback()
31 class LocationSwitchCallbackNapi : public IRemoteStub<ISwitchCallback> {33 LocationSwitchCallbackNapi();34 virtual ~LocationSwitchCallbackNapi();
64 const napi_ref& handlerRef, sptr<LocationSwitchCallbackNapi>& switchCallbackHost);77 void UnSubscribeLocationServiceState(sptr<LocationSwitchCallbackNapi>& switchCallbackHost);92 const napi_ref& handlerRef, sptr<LocationSwitchCallbackNapi>& switchCallbackHost);110 LocationErrCode UnSubscribeLocationServiceStateV9(sptr<LocationSwitchCallbackNapi>& switchCallbackH…
67 … auto callback = sptr<LocationSwitchCallbackNapi>(new (std::nothrow) LocationSwitchCallbackNapi()); in LocationSwitchCallbackHostFuzzTest()
89 sptr<LocationSwitchCallbackNapi>(new (std::nothrow) LocationSwitchCallbackNapi());287 sptr<LocationSwitchCallbackNapi>(new (std::nothrow) LocationSwitchCallbackNapi());
168 sptr<LocationSwitchCallbackNapi>(new (std::nothrow) LocationSwitchCallbackNapi());188 sptr<LocationSwitchCallbackNapi>(new (std::nothrow) LocationSwitchCallbackNapi());
90 sptr<LocationSwitchCallbackNapi>(new (std::nothrow) LocationSwitchCallbackNapi());
1442 sptr<LocationSwitchCallbackNapi>(new (std::nothrow) LocationSwitchCallbackNapi());1628 sptr<LocationSwitchCallbackNapi>(new (std::nothrow) LocationSwitchCallbackNapi());
189 sptr<LocationSwitchCallbackNapi>(new (std::nothrow) LocationSwitchCallbackNapi()); in LocationSwitchCallbackHostFuzzerTest()