Home
last modified time | relevance | path

Searched refs:CountryCodeCallbackNapi (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/base/location/frameworks/js/napi/source/
H A Dcountry_code_callback_napi.cpp29 CountryCodeCallbackNapi::CountryCodeCallbackNapi() in CountryCodeCallbackNapi() function in OHOS::Location::CountryCodeCallbackNapi
35 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()
H A Dlocation_napi_event.cpp38 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()
/ohos5.0/base/location/test/location_locator/source/
H A Dcountry_code_manager_test.cpp53 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());
H A Dcallback_test.cpp218 sptr<CountryCodeCallbackNapi>(new (std::nothrow) CountryCodeCallbackNapi());
258 sptr<CountryCodeCallbackNapi>(new (std::nothrow) CountryCodeCallbackNapi());
334 sptr<CountryCodeCallbackNapi>(new (std::nothrow) CountryCodeCallbackNapi());
H A Dlocator_impl_test.cpp306 sptr<CountryCodeCallbackNapi>(new (std::nothrow) CountryCodeCallbackNapi());
H A Dlocator_service_test.cpp1459 sptr<CountryCodeCallbackNapi>(new (std::nothrow) CountryCodeCallbackNapi());
/ohos5.0/base/location/frameworks/js/napi/include/
H A Dcountry_code_callback_napi.h30 class CountryCodeCallbackNapi : public IRemoteStub<ICountryCodeCallback> {
32 CountryCodeCallbackNapi();
33 virtual ~CountryCodeCallbackNapi();
/ohos5.0/base/location/test/fuzztest/locator/countrycodecallbackhost_fuzzer/
H A Dcountrycodecallbackhost_fuzzer.cpp70 auto callback = sptr<CountryCodeCallbackNapi>(new (std::nothrow) CountryCodeCallbackNapi()); in CountryCodeCallbackHostFuzzTest()
71 …callback->OnRemoteRequest(CountryCodeCallbackNapi::COUNTRY_CODE_CHANGE_EVENT, requestParcel, reply… in CountryCodeCallbackHostFuzzTest()
/ohos5.0/base/location/test/fuzztest/locator/locator_fuzzer/
H A Dlocator_fuzzer.cpp150 sptr<CountryCodeCallbackNapi>(new (std::nothrow) CountryCodeCallbackNapi()); in CountryCodeCallbackHostFuzzerTest()