Home
last modified time | relevance | path

Searched refs:callbackId (Results 1 - 25 of 72) sorted by relevance

123

/base/location/frameworks/cj/source/
H A Dgeolocationmanager_ffi.cpp84 int32_t FfiGeoLocationManagerOnLocationChange(CJLocationRequest request, int64_t callbackId) in FfiGeoLocationManagerOnLocationChange() argument
86 return OnLocationRequest(request, callbackId); in FfiGeoLocationManagerOnLocationChange()
89 int32_t FfiGeoLocationManagerOnContinuousLocationRequest(CJContinuousLocationRequest request, int64_t callbackId) in FfiGeoLocationManagerOnContinuousLocationRequest() argument
91 return OnContinuousLocationRequest(request, callbackId); in FfiGeoLocationManagerOnContinuousLocationRequest()
94 int32_t FfiGeoLocationManagerOffLocationChange(int64_t callbackId) in FfiGeoLocationManagerOffLocationChange() argument
96 return OffLocationChange(callbackId); in FfiGeoLocationManagerOffLocationChange()
104 int32_t FfiGeoLocationManagerOnLocationError(int64_t callbackId) in FfiGeoLocationManagerOnLocationError() argument
106 return OnLocationError(callbackId); in FfiGeoLocationManagerOnLocationError()
109 int32_t FfiGeoLocationManagerOffLocationError(int64_t callbackId) in FfiGeoLocationManagerOffLocationError() argument
111 return OffLocationError(callbackId); in FfiGeoLocationManagerOffLocationError()
119 FfiGeoLocationManagerOnLocationEnabledChange(int64_t callbackId) FfiGeoLocationManagerOnLocationEnabledChange() argument
124 FfiGeoLocationManagerOffLocationEnabledChange(int64_t callbackId) FfiGeoLocationManagerOffLocationEnabledChange() argument
134 FfiGeoLocationManagerOnCachedGnssLocationsChange(CJCachedGnssLocationsRequest request, int64_t callbackId) FfiGeoLocationManagerOnCachedGnssLocationsChange() argument
140 FfiGeoLocationManagerOffCachedGnssLocationsChange(int64_t callbackId) FfiGeoLocationManagerOffCachedGnssLocationsChange() argument
150 FfiGeoLocationManagerOnSatelliteStatusChange(int64_t callbackId) FfiGeoLocationManagerOnSatelliteStatusChange() argument
155 FfiGeoLocationManagerOffSatelliteStatusChange(int64_t callbackId) FfiGeoLocationManagerOffSatelliteStatusChange() argument
165 FfiGeoLocationManagerOnNmeaMessage(int64_t callbackId) FfiGeoLocationManagerOnNmeaMessage() argument
170 FfiGeoLocationManagerOffNmeaMessage(int64_t callbackId) FfiGeoLocationManagerOffNmeaMessage() argument
180 FfiGeoLocationManagerOnCountryCodeChange(int64_t callbackId) FfiGeoLocationManagerOnCountryCodeChange() argument
185 FfiGeoLocationManagerOffCountryCodeChange(int64_t callbackId) FfiGeoLocationManagerOffCountryCodeChange() argument
[all...]
H A Dgeolocationmanager_impl.cpp363 int32_t OnLocationChange(std::unique_ptr<OHOS::Location::RequestConfig>& requestConfig, int64_t callbackId) in OnLocationChange() argument
375 auto locatorCallbackHost = sptr<LocatorCallback>(new (std::nothrow) LocatorCallback(callbackId)); in OnLocationChange()
388 int32_t OnLocationRequest(CJLocationRequest request, int64_t callbackId) in OnLocationRequest() argument
392 return OnLocationChange(requestConfig, callbackId); in OnLocationRequest()
395 int32_t OnContinuousLocationRequest(CJContinuousLocationRequest request, int64_t callbackId) in OnContinuousLocationRequest() argument
399 return OnLocationChange(requestConfig, callbackId); in OnContinuousLocationRequest()
402 int32_t OffLocationChange(int64_t callbackId) in OffLocationChange() argument
412 if (((**it).GetCallBackId() != callbackId)) { in OffLocationChange()
446 int32_t OnLocationError(int64_t callbackId) in OnLocationError() argument
451 auto locationErrorCallbackHost = sptr<LocationErrorCallback>(new (std::nothrow) LocationErrorCallback(callbackId)); in OnLocationError()
464 OffLocationError(int64_t callbackId) OffLocationError() argument
508 OnLocationEnabledChange(int64_t callbackId) OnLocationEnabledChange() argument
525 OffLocationEnabledChange(int64_t callbackId) OffLocationEnabledChange() argument
567 OnCachedGnssLocationsChange(CJCachedGnssLocationsRequest request, int64_t callbackId) OnCachedGnssLocationsChange() argument
591 OffCachedGnssLocationsChange(int64_t callbackId) OffCachedGnssLocationsChange() argument
637 OnSatelliteStatusChange(int64_t callbackId) OnSatelliteStatusChange() argument
658 OffSatelliteStatusChange(int64_t callbackId) OffSatelliteStatusChange() argument
700 OnNmeaMessage(int64_t callbackId) OnNmeaMessage() argument
721 OffNmeaMessage(int64_t callbackId) OffNmeaMessage() argument
763 OnCountryCodeChange(int64_t callbackId) OnCountryCodeChange() argument
781 OffCountryCodeChange(int64_t callbackId) OffCountryCodeChange() argument
[all...]
H A Dlocation_error_callback.cpp26 LocationErrorCallback::LocationErrorCallback(int64_t callbackId) in LocationErrorCallback() argument
28 this->callbackId_ = callbackId; in LocationErrorCallback()
29 auto cFunc = reinterpret_cast<void(*)(int32_t errorCode)>(callbackId); in LocationErrorCallback()
H A Dlocation_switch_callback.cpp27 LocationSwitchCallback::LocationSwitchCallback(int64_t callbackId) in LocationSwitchCallback() argument
30 this->callbackId_ = callbackId; in LocationSwitchCallback()
31 auto cFunc = reinterpret_cast<void(*)(int32_t switchState)>(callbackId); in LocationSwitchCallback()
H A Dnmea_message_callback.cpp27 NmeaMessageCallback::NmeaMessageCallback(int64_t callbackId) in NmeaMessageCallback() argument
30 this->callbackId_ = callbackId; in NmeaMessageCallback()
31 auto cFunc = reinterpret_cast<void(*)(char* str)>(callbackId); in NmeaMessageCallback()
H A Dgnss_status_callback.cpp27 GnssStatusCallback::GnssStatusCallback(int64_t callbackId) in GnssStatusCallback() argument
30 this->callbackId_ = callbackId; in GnssStatusCallback()
31 auto cFunc = reinterpret_cast<void(*)(CJSatelliteStatusInfo info)>(callbackId); in GnssStatusCallback()
H A Dcountry_code_callback.cpp26 CountryCodeCallback::CountryCodeCallback(int64_t callbackId) in CountryCodeCallback() argument
28 this->callbackId_ = callbackId; in CountryCodeCallback()
29 auto cFunc = reinterpret_cast<void(*)(CJCountryCode countryCode)>(callbackId); in CountryCodeCallback()
H A Dcached_locations_callback.cpp28 CachedLocationsCallback::CachedLocationsCallback(int64_t callbackId) in CachedLocationsCallback() argument
31 this->callbackId_ = callbackId; in CachedLocationsCallback()
32 auto cFunc = reinterpret_cast<void(*)(CJLocationArr locations)>(callbackId); in CachedLocationsCallback()
H A Dlocator_callback.cpp32 LocatorCallback::LocatorCallback(int64_t callbackId) in LocatorCallback() argument
40 this->callbackId_ = callbackId; in LocatorCallback()
41 auto cFunc = reinterpret_cast<void(*)(CJLocation location)>(callbackId); in LocatorCallback()
/base/location/frameworks/cj/include/
H A Dgeolocationmanager_impl.h55 int32_t OnLocationRequest(CJLocationRequest request, int64_t callbackId);
57 int32_t OnContinuousLocationRequest(CJContinuousLocationRequest request, int64_t callbackId);
59 int32_t OffLocationChange(int64_t callbackId);
63 int32_t OnLocationError(int64_t callbackId);
65 int32_t OffLocationError(int64_t callbackId);
69 int32_t OnLocationEnabledChange(int64_t callbackId);
71 int32_t OffLocationEnabledChange(int64_t callbackId);
76 int64_t callbackId);
78 int32_t OffCachedGnssLocationsChange(int64_t callbackId);
82 int32_t OnSatelliteStatusChange(int64_t callbackId);
[all...]
H A Dgeolocationmanager_ffi.h58 FFI_EXPORT int32_t FfiGeoLocationManagerOnLocationChange(CJLocationRequest request, int64_t callbackId);
61 int64_t callbackId);
63 FFI_EXPORT int32_t FfiGeoLocationManagerOffLocationChange(int64_t callbackId);
67 FFI_EXPORT int32_t FfiGeoLocationManagerOnLocationError(int64_t callbackId);
69 FFI_EXPORT int32_t FfiGeoLocationManagerOffLocationError(int64_t callbackId);
73 FFI_EXPORT int32_t FfiGeoLocationManagerOnLocationEnabledChange(int64_t callbackId);
75 FFI_EXPORT int32_t FfiGeoLocationManagerOffLocationEnabledChange(int64_t callbackId);
80 int64_t callbackId);
82 FFI_EXPORT int32_t FfiGeoLocationManagerOffCachedGnssLocationsChange(int64_t callbackId);
86 FFI_EXPORT int32_t FfiGeoLocationManagerOnSatelliteStatusChange(int64_t callbackId);
[all...]
/base/security/device_auth/services/frameworks/src/os_account_adapter_mock/
H A Dos_account_adapter_mock.cpp38 void AddOsAccountEventCallback(EventCallbackId callbackId, OsAccountCallbackFunc unlockFunc, in AddOsAccountEventCallback() argument
41 (void)callbackId; in AddOsAccountEventCallback()
46 void RemoveOsAccountEventCallback(EventCallbackId callbackId) in RemoveOsAccountEventCallback() argument
48 (void)callbackId; in RemoveOsAccountEventCallback()
/base/security/device_auth/test/unittest/deviceauth/source/
H A Dos_account_adapter_mock.c37 void AddOsAccountEventCallback(EventCallbackId callbackId, OsAccountCallbackFunc unlockFunc, in AddOsAccountEventCallback() argument
40 (void)callbackId; in AddOsAccountEventCallback()
45 void RemoveOsAccountEventCallback(EventCallbackId callbackId) in RemoveOsAccountEventCallback() argument
47 (void)callbackId; in RemoveOsAccountEventCallback()
/base/security/device_auth/test/unittest/tdd_framework/common/src/
H A Dos_account_adapter_mock.c37 void AddOsAccountEventCallback(EventCallbackId callbackId, OsAccountCallbackFunc unlockFunc, in AddOsAccountEventCallback() argument
40 (void)callbackId; in AddOsAccountEventCallback()
45 void RemoveOsAccountEventCallback(EventCallbackId callbackId) in RemoveOsAccountEventCallback() argument
47 (void)callbackId; in RemoveOsAccountEventCallback()
/base/security/device_auth/frameworks/src/lite/
H A Dipc_callback_stub.c29 static void DoCallBack(int32_t callbackId, uintptr_t cbHook, IpcIo *data, IpcIo *reply) in DoCallBack() argument
50 ProcCbHook(callbackId, cbHook, cbDataCache, MAX_REQUEST_PARAMS_NUM, (uintptr_t)(reply)); in DoCallBack()
57 int32_t callbackId; in CbStubOnRemoteRequest() local
69 ReadInt32(data, &callbackId); in CbStubOnRemoteRequest()
71 DoCallBack(callbackId, cbHook, data, reply); in CbStubOnRemoteRequest()
H A Dipc_callback_proxy.c49 void CbProxySendRequest(SvcIdentity sid, int32_t callbackId, uintptr_t cbHook, IpcIo *data, IpcIo *reply) in CbProxySendRequest() argument
62 WriteInt32(reqData, callbackId); in CbProxySendRequest()
/base/security/device_auth/frameworks/src/standard/
H A Dipc_callback_stub.cpp30 void StubDevAuthCb::DoCallBack(int32_t callbackId, uintptr_t cbHook, in DoCallBack() argument
51 ProcCbHook(callbackId, cbHook, cbDataCache, MAX_REQUEST_PARAMS_NUM, reinterpret_cast<uintptr_t>(&reply)); in DoCallBack()
62 int32_t callbackId; in OnRemoteRequest() local
68 LOGE("Insufficient data available in IPC container. [Data]: callbackId"); in OnRemoteRequest()
71 callbackId = data.ReadInt32(); in OnRemoteRequest()
73 StubDevAuthCb::DoCallBack(callbackId, cbHook, data, reply, option); in OnRemoteRequest()
H A Dipc_callback_proxy.cpp28 void ProxyDevAuthCb::DoCallBack(int32_t callbackId, uintptr_t cbHook, in DoCallBack() argument
43 (void)data.WriteInt32(callbackId); in DoCallBack()
/base/security/device_auth/services/frameworks/src/os_account_adapter/
H A Dos_account_adapter.cpp33 EventCallbackId callbackId; member
164 static bool IsCallbackExist(EventCallbackId callbackId) in IsCallbackExist() argument
169 if (callback->callbackId == callbackId) { in IsCallbackExist()
277 void AddOsAccountEventCallback(EventCallbackId callbackId, OsAccountCallbackFunc unlockFunc, in AddOsAccountEventCallback() argument
288 if (IsCallbackExist(callbackId)) { in AddOsAccountEventCallback()
293 eventCallback.callbackId = callbackId; in AddOsAccountEventCallback()
301 void RemoveOsAccountEventCallback(EventCallbackId callbackId) in RemoveOsAccountEventCallback() argument
309 if (callback->callbackId in RemoveOsAccountEventCallback()
[all...]
/base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/removepasteboardchangedobserver_fuzzer/
H A Dremovepasteboardchangedobserver_fuzzer.cpp33 int32_t callbackId = static_cast<int32_t>(size); in RemovePasteboardChangedObserverFuzzTest() local
34 PasteBoardClientAdapterImpl::GetInstance().RemovePasteboardChangedObserver(callbackId); in RemovePasteboardChangedObserverFuzzTest()
/base/security/device_auth/services/frameworks/inc/os_account_adapter/
H A Dos_account_adapter.h35 void AddOsAccountEventCallback(EventCallbackId callbackId, OsAccountCallbackFunc unlockFunc,
37 void RemoveOsAccountEventCallback(EventCallbackId callbackId);
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_location_proxy_adapter_wrapper.cpp41 bool ArkLocationProxyAdapterWrapper::StopLocating(int32_t callbackId) in StopLocating() argument
43 return ctocpp_->StopLocating(callbackId); in StopLocating()
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_location_proxy_adapter_impl.cpp41 bool ArkLocationProxyAdapterImpl::StopLocating(int32_t callbackId) in StopLocating() argument
43 return real_->StopLocating(callbackId); in StopLocating()
H A Dark_paste_board_client_adapter_impl.cpp94 void ArkPasteBoardClientAdapterImpl::RemovePasteboardChangedObserver(int32_t callbackId) in RemovePasteboardChangedObserver() argument
96 real_.RemovePasteboardChangedObserver(callbackId); in RemovePasteboardChangedObserver()
/base/security/device_auth/frameworks/inc/lite/
H A Dipc_callback_proxy.h27 void CbProxySendRequest(SvcIdentity sid, int32_t callbackId, uintptr_t cbHook, IpcIo *data, IpcIo *reply);

Completed in 7 milliseconds

123