Searched refs:CountryCodeCallbackNapi (Results 1 – 9 of 9) sorted by relevance
29 CountryCodeCallbackNapi::CountryCodeCallbackNapi() in CountryCodeCallbackNapi() function in OHOS::Location::CountryCodeCallbackNapi35 CountryCodeCallbackNapi::~CountryCodeCallbackNapi() in ~CountryCodeCallbackNapi()39 int CountryCodeCallbackNapi::OnRemoteRequest( in OnRemoteRequest()83 bool CountryCodeCallbackNapi::Send(const std::shared_ptr<CountryCode>& country) in Send()125 void CountryCodeCallbackNapi::UvQueueWork(uv_loop_s* loop, uv_work_t* work) in UvQueueWork()183 void CountryCodeCallbackNapi::OnCountryCodeChange(const std::shared_ptr<CountryCode>& country) in OnCountryCodeChange()189 void CountryCodeCallbackNapi::SetEnv(napi_env env) in SetEnv()195 void CountryCodeCallbackNapi::SetCallback(napi_ref cb) in SetCallback()205 void CountryCodeCallbackNapi::DeleteHandler() in DeleteHandler()
38 CallbackManager<CountryCodeCallbackNapi> g_countryCodeCallbacks;256 const napi_ref& handlerRef, sptr<CountryCodeCallbackNapi>& callbackHost) in SubscribeCountryCodeChange()266 const napi_ref& handlerRef, sptr<CountryCodeCallbackNapi>& callbackHost) in SubscribeCountryCodeChangeV9()297 void UnsubscribeCountryCodeChange(sptr<CountryCodeCallbackNapi>& callbackHost) in UnsubscribeCountryCodeChange()304 LocationErrCode UnsubscribeCountryCodeChangeV9(sptr<CountryCodeCallbackNapi>& callbackHost) in UnsubscribeCountryCodeChangeV9()882 sptr<CountryCodeCallbackNapi>(new (std::nothrow) CountryCodeCallbackNapi()); in OnCountryCodeChangeCallback()1146 std::map<napi_env, std::map<napi_ref, sptr<CountryCodeCallbackNapi>>> callbackMap = in OffAllCountryCodeChangeCallback()
53 auto callback = sptr<CountryCodeCallbackNapi>(new (std::nothrow) CountryCodeCallbackNapi());92 auto callback1 = sptr<CountryCodeCallbackNapi>(new (std::nothrow) CountryCodeCallbackNapi());101 auto callback2 = sptr<CountryCodeCallbackNapi>(new (std::nothrow) CountryCodeCallbackNapi());115 auto callback = sptr<CountryCodeCallbackNapi>(new (std::nothrow) CountryCodeCallbackNapi());179 auto callback = sptr<CountryCodeCallbackNapi>(new (std::nothrow) CountryCodeCallbackNapi());207 auto callback = sptr<CountryCodeCallbackNapi>(new (std::nothrow) CountryCodeCallbackNapi());
218 sptr<CountryCodeCallbackNapi>(new (std::nothrow) CountryCodeCallbackNapi());258 sptr<CountryCodeCallbackNapi>(new (std::nothrow) CountryCodeCallbackNapi());334 sptr<CountryCodeCallbackNapi>(new (std::nothrow) CountryCodeCallbackNapi());
306 sptr<CountryCodeCallbackNapi>(new (std::nothrow) CountryCodeCallbackNapi());
1459 sptr<CountryCodeCallbackNapi>(new (std::nothrow) CountryCodeCallbackNapi());
30 class CountryCodeCallbackNapi : public IRemoteStub<ICountryCodeCallback> {32 CountryCodeCallbackNapi();33 virtual ~CountryCodeCallbackNapi();
70 auto callback = sptr<CountryCodeCallbackNapi>(new (std::nothrow) CountryCodeCallbackNapi()); in CountryCodeCallbackHostFuzzTest()71 …callback->OnRemoteRequest(CountryCodeCallbackNapi::COUNTRY_CODE_CHANGE_EVENT, requestParcel, reply… in CountryCodeCallbackHostFuzzTest()
150 sptr<CountryCodeCallbackNapi>(new (std::nothrow) CountryCodeCallbackNapi()); in CountryCodeCallbackHostFuzzerTest()