Home
last modified time | relevance | path

Searched defs:callback (Results 1 – 25 of 400) sorted by relevance

12345678910>>...16

/base/user_iam/user_idm/unittest/src/
Duseridm_ut_test.cpp71 std::shared_ptr<GetInfoCallback> callback = nullptr; variable
80 std::shared_ptr<GetInfoCallback> callback = std::make_shared<GetInfoCallbackUT>(); variable
89 std::shared_ptr<GetInfoCallback> callback = nullptr; variable
98 std::shared_ptr<GetInfoCallback> callback = std::make_shared<GetInfoCallbackUT>(); variable
107 std::shared_ptr<GetSecInfoCallback> callback = nullptr; variable
116 std::shared_ptr<GetSecInfoCallback> callback = std::make_shared<GetSecInfoCallbackUT>(); variable
126 std::shared_ptr<IDMCallback> callback = nullptr; variable
136 std::shared_ptr<IDMCallback> callback = std::make_shared<IDMCallbackUT>(); variable
146 std::shared_ptr<IDMCallback> callback = nullptr; variable
155 std::shared_ptr<IDMCallback> callback = std::make_shared<IDMCallbackUT>(); variable
[all …]
/base/accessibility/interfaces/kits/napi/accessibility_extension_context/
Daccessibility_extension_context.js23 getFocusElementInfo(focusType, callback) { argument
28 getRootElementInfo(callback) { argument
33 getWindows(callback) { argument
38 executeCommonAction(action, callback) { argument
43 gestureInject(gesture, listener, callback) { argument
/base/location/interfaces/innerkits/locator_standard/src/
Dlocator_impl.cpp67 sptr<ILocatorCallback>& callback) in StartLocating()
72 void LocatorImpl::StopLocating(sptr<ILocatorCallback>& callback) in StopLocating()
95 bool LocatorImpl::RegisterSwitchCallback(const sptr<IRemoteObject>& callback, pid_t uid) in RegisterSwitchCallback()
101 bool LocatorImpl::UnregisterSwitchCallback(const sptr<IRemoteObject>& callback) in UnregisterSwitchCallback()
107 bool LocatorImpl::RegisterGnssStatusCallback(const sptr<IRemoteObject>& callback, pid_t uid) in RegisterGnssStatusCallback()
113 bool LocatorImpl::UnregisterGnssStatusCallback(const sptr<IRemoteObject>& callback) in UnregisterGnssStatusCallback()
119 bool LocatorImpl::RegisterNmeaMessageCallback(const sptr<IRemoteObject>& callback, pid_t uid) in RegisterNmeaMessageCallback()
125 bool LocatorImpl::UnregisterNmeaMessageCallback(const sptr<IRemoteObject>& callback) in UnregisterNmeaMessageCallback()
132 sptr<ICachedLocationsCallback>& callback) in RegisterCachedLocationCallback()
137 void LocatorImpl::UnregisterCachedLocationCallback(sptr<ICachedLocationsCallback>& callback) in UnregisterCachedLocationCallback()
/base/security/deviceauth/services/group_manager/src/callback_manager/
Dcallback_manager.c27 DeviceAuthCallback *callback; member
35 static int32_t UpdateCallbackIfExist(const char *appId, const DeviceAuthCallback *callback) in UpdateCallbackIfExist()
56 static int32_t AddCallbackIfNotExist(const char *appId, const DeviceAuthCallback *callback) in AddCallbackIfNotExist()
97 …tCallback(int64_t reqId, const uint8_t *data, uint32_t dataLen, const DeviceAuthCallback *callback) in ProcessTransmitCallback()
110 const DeviceAuthCallback *callback) in ProcessSessionKeyCallback()
122 const DeviceAuthCallback *callback) in ProcessFinishCallback()
134 const DeviceAuthCallback *callback) in ProcessErrorCallback()
146 const DeviceAuthCallback *callback) in ProcessRequestCallback()
173 int32_t RegGroupManagerCallback(const char *appId, const DeviceAuthCallback *callback) in RegGroupManagerCallback()
/base/user_iam/auth_executor_mgr/services/src/
Dauth_res_manager.cpp24 …nager::Register(std::shared_ptr<ResAuthExecutor> executorInfo, sptr<ResIExecutorCallback> callback) in Register()
73 void AuthResManager::QueryStatus(ResAuthExecutor &executorInfo, sptr<ResIQueryCallback> callback) in QueryStatus()
98sptr<UserIAM::AuthResPool::IExecutorCallback> &callback) in FindExecutorCallback()
104sptr<UserIAM::AuthResPool::IExecutorCallback> &callback) in FindExecutorCallback()
114 …er::SaveScheduleCallback(uint64_t scheduleId, uint64_t executorNum, sptr<ICoAuthCallback> callback) in SaveScheduleCallback()
119 int32_t AuthResManager::FindScheduleCallback(uint64_t scheduleId, sptr<ICoAuthCallback> &callback) in FindScheduleCallback()
Dcoauth_service.cpp96 const sptr<ResIExecutorCallback> &callback) in Register()
114 … CoAuthService::QueryStatus(ResAuthExecutor &executorInfo, const sptr<ResIQueryCallback> &callback) in QueryStatus()
124 …vice::BeginSchedule(uint64_t scheduleId, AuthInfo &authInfo, const sptr<ICoAuthCallback> &callback) in BeginSchedule()
140 …AuthService::SetExecutorProp(ResAuthAttributes &conditions, const sptr<ISetPropCallback> &callback) in SetExecutorProp()
Dauth_res_pool.cpp24 sptr<ResIExecutorCallback> callback) in Insert()
39 …32_t AuthResPool::Insert(uint64_t scheduleId, uint64_t executorNum, sptr<ICoAuthCallback> callback) in Insert()
54 int32_t AuthResPool::FindExecutorCallback(uint64_t executorID, sptr<ResIExecutorCallback> &callback) in FindExecutorCallback()
67 …2_t AuthResPool::FindExecutorCallback(uint32_t authType2Find, sptr<ResIExecutorCallback> &callback) in FindExecutorCallback()
101 int32_t AuthResPool::FindScheduleCallback(uint64_t scheduleId, sptr<ICoAuthCallback> &callback) in FindScheduleCallback()
/base/miscservices/wallpaper/interfaces/kits/napi/wallpaper_extension_context/
Dwallpaper_extension_context.js24 startAbility(want, options, callback) { argument
34 startAbilityWithAccount(want, accountId, options, callback) { argument
44 disconnectAbility(connection, callback) { argument
49 terminateSelf(callback) { argument
/base/user_iam/user_idm/services/src/
Duseridm_stub.cpp85 sptr<IGetInfoCallback> callback = iface_cast<IGetInfoCallback>(data.ReadRemoteObject()); in GetAuthInfoStub() local
106 sptr<IGetInfoCallback> callback = iface_cast<IGetInfoCallback>(data.ReadRemoteObject()); in GetAuthInfoByIdStub() local
126 sptr<IGetSecInfoCallback> callback = iface_cast<IGetSecInfoCallback>(data.ReadRemoteObject()); in GetSecInfoStub() local
150 sptr<IIDMCallback> callback = iface_cast<IIDMCallback>(data.ReadRemoteObject()); in AddCredentialStub() local
169 sptr<IIDMCallback> callback = iface_cast<IIDMCallback>(data.ReadRemoteObject()); in UpdateCredentialStub() local
200 sptr<IIDMCallback> callback = iface_cast<IIDMCallback>(data.ReadRemoteObject()); in EnforceDelUserStub() local
221 sptr<IIDMCallback> callback = iface_cast<IIDMCallback>(data.ReadRemoteObject()); in DelUserStub() local
238 sptr<IIDMCallback> callback = iface_cast<IIDMCallback>(data.ReadRemoteObject()); in DelCredStub() local
/base/accessibility/services/test/mock/powermanager/src/
Dmock_power_mgr_client.cpp81 void PowerMgrClient::RegisterPowerStateCallback(const sptr<IPowerStateCallback>& callback) in RegisterPowerStateCallback()
85 void PowerMgrClient::UnRegisterPowerStateCallback(const sptr<IPowerStateCallback>& callback) in UnRegisterPowerStateCallback()
89 void PowerMgrClient::RegisterShutdownCallback(const sptr<IShutdownCallback>& callback, in RegisterShutdownCallback()
94 void PowerMgrClient::UnRegisterShutdownCallback(const sptr<IShutdownCallback>& callback) in UnRegisterShutdownCallback()
98 void PowerMgrClient::RegisterPowerModeCallback(const sptr<IPowerModeCallback>& callback) in RegisterPowerModeCallback()
102 void PowerMgrClient::UnRegisterPowerModeCallback(const sptr<IPowerModeCallback>& callback) in UnRegisterPowerModeCallback()
/base/hiviewdfx/hisysevent/adapter/native/idl/include/
Dhisysevent_listener_proxy.h29 CallbackDeathRecipient(const std::shared_ptr<HiSysEventSubscribeCallBack> callback) in CallbackDeathRecipient()
41 explicit HiSysEventListenerProxy(const std::shared_ptr<HiSysEventSubscribeCallBack> callback) in HiSysEventListenerProxy()
/base/accessibility/frameworks/asacfwk/src/
Daccessibility_element_operator_stub.cpp88 sptr<IAccessibilityElementOperatorCallback> callback = in HandleSearchElementInfoByAccessibilityId() local
105 sptr<IAccessibilityElementOperatorCallback> callback = in HandleSearchElementInfosByText() local
121 sptr<IAccessibilityElementOperatorCallback> callback = in HandleFindFocusedElementInfo() local
136 sptr<IAccessibilityElementOperatorCallback> callback = in HandleFocusFind() local
165 sptr<IAccessibilityElementOperatorCallback> callback = in HandleExecuteAction() local
190 … const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callback, const int mode) in SearchElementInfoByAccessibilityId()
209 const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callback) in SearchElementInfosByText()
228 const sptr<IAccessibilityElementOperatorCallback> &callback) in FindFocusedElementInfo()
247 const sptr<IAccessibilityElementOperatorCallback> &callback) in FocusMoveSearch()
266 int requestId, const sptr<IAccessibilityElementOperatorCallback> &callback) in ExecuteAction()
[all …]
/base/miscservices/screenlock/services/src/
Dscreenlock_system_ability.cpp98 auto callback = [=]() { Init(); }; in OnStart() local
125 auto callback = [=]() { OnSystemReady(); }; in OnStart() local
217 auto callback = [=]() { in OnBeginScreenOff() local
233 auto callback = [=]() { in OnEndScreenOff() local
249 auto callback = [=]() { in OnBeginScreenOn() local
286 auto callback = [=]() { in OnEndScreenOn() local
302 auto callback = [=]() { in OnBeginWakeUp() local
318 auto callback = [=]() { in OnEndWakeUp() local
335 auto callback = [=]() { in OnBeginSleep() local
351 auto callback = [=]() { in OnEndSleep() local
[all …]
/base/accessibility/services/aams/test/mock/
Daccessibility_element_operator_proxy_mock.cpp47 … const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callback, const int mode) in SearchElementInfoByAccessibilityId()
57 …const std::string &text, const int requestId, const sptr<IAccessibilityElementOperatorCallback> &c… in SearchElementInfosByText()
63 …const int focusType, const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callb… in FindFocusedElementInfo()
69 …const int direction, const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callb… in FocusMoveSearch()
76 const sptr<IAccessibilityElementOperatorCallback> &callback) in ExecuteAction()
/base/user_iam/user_idm/frameworks/src/
Duseridm_proxy.cpp58 int32_t UserIDMProxy::GetAuthInfo(AuthType authType, const sptr<IGetInfoCallback>& callback) in GetAuthInfo()
87 …serIDMProxy::GetAuthInfo(int32_t userId, AuthType authType, const sptr<IGetInfoCallback>& callback) in GetAuthInfo()
121 int32_t UserIDMProxy::GetSecInfo(int32_t userId, const sptr<IGetSecInfoCallback>& callback) in GetSecInfo()
150 void UserIDMProxy::AddCredential(AddCredInfo& credInfo, const sptr<IIDMCallback>& callback) in AddCredential()
183 void UserIDMProxy::UpdateCredential(AddCredInfo& credInfo, const sptr<IIDMCallback>& callback) in UpdateCredential()
240 int32_t UserIDMProxy::EnforceDelUser(int32_t userId, const sptr<IIDMCallback>& callback) in EnforceDelUser()
269 void UserIDMProxy::DelUser(std::vector<uint8_t> authToken, const sptr<IIDMCallback>& callback) in DelUser()
292 …:DelCred(uint64_t credentialId, std::vector<uint8_t> authToken, const sptr<IIDMCallback>& callback) in DelCred()
/base/user_iam/auth_executor_mgr/test/unittest/src/
Dcoauth_test.cpp181 … std::shared_ptr<AuthResPool::ExecutorCallback> callback = std::make_shared<MyExecutorCallback>(); variable
207 std::shared_ptr<AuthResPool::ExecutorCallback> callback = nullptr; variable
257 … std::shared_ptr<AuthResPool::ExecutorCallback> callback = std::make_shared<MyExecutorCallback>(); variable
308 … std::shared_ptr<AuthResPool::ExecutorCallback> callback = std::make_shared<MyExecutorCallback>(); variable
322 std::shared_ptr<AuthResPool::ExecutorCallback> callback = nullptr; variable
356 std::shared_ptr<AuthResPool::QueryCallback> callback = std::make_shared<MyQueryCallback>(); variable
370 std::shared_ptr<AuthResPool::QueryCallback> callback = nullptr; variable
404 std::shared_ptr<AuthResPool::QueryCallback> callback = std::make_shared<MyQueryCallback>(); variable
429 std::shared_ptr<AuthResPool::QueryCallback> callback = nullptr; variable
442 std::shared_ptr<CoAuthCallback> callback = nullptr; variable
[all …]
/base/powermgr/power_manager/services/native/src/
Dshutdown_service.cpp59 const sptr<IShutdownCallback>& callback) in AddShutdownCallback()
76 void ShutdownService::DelShutdownCallback(const sptr<IShutdownCallback>& callback) in DelShutdownCallback()
129 void ShutdownService::CallbackManager::AddCallback(const sptr<IShutdownCallback>& callback) in AddCallback()
143 void ShutdownService::CallbackManager::RemoveCallback(const sptr<IShutdownCallback>& callback) in RemoveCallback()
169 sptr<IShutdownCallback> callback = iface_cast<IShutdownCallback>(obj); in WaitingCallback() local
/base/security/device_security_level/baselib/utils/src/
Dutils_timer.cpp42 void DoTimerProcess(TimerProc callback, const void *context) in DoTimerProcess()
49 TimerHandle StartPeriodicTimerTask(uint32_t interval, TimerProc callback, const void *context) in StartPeriodicTimerTask()
56 TimerHandle StartOnceTimerTask(uint32_t interval, TimerProc callback, const void *context) in StartOnceTimerTask()
/base/powermgr/display_manager/service/native/src/
Dgradual_animator.cpp24 const std::shared_ptr<AnimateCallback>& callback) in GradualAnimator()
84 std::shared_ptr<AnimateCallback> callback = callback_.lock(); in StopAnimation() local
104 std::shared_ptr<AnimateCallback> callback = callback_.lock(); in NextStep() local
/base/accessibility/frameworks/asacfwk/test/unittest/
Daccessible_ability_channel_proxy_test.cpp87 sptr<IAccessibilityElementOperatorCallback> callback = variable
118 sptr<IAccessibilityElementOperatorCallback> callback = variable
149 sptr<IAccessibilityElementOperatorCallback> callback = variable
180 sptr<IAccessibilityElementOperatorCallback> callback = variable
211 sptr<IAccessibilityElementOperatorCallback> callback = variable
242 sptr<IAccessibilityElementOperatorCallback> callback = variable
273 sptr<IAccessibilityElementOperatorCallback> callback = variable
304 sptr<IAccessibilityElementOperatorCallback> callback = variable
336 sptr<IAccessibilityElementOperatorCallback> callback = variable
368 sptr<IAccessibilityElementOperatorCallback> callback = variable
/base/accessibility/services/test/mock/
Daccessibility_element_operator_proxy_mock.cpp52 … const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callback, const int mode) in SearchElementInfoByAccessibilityId()
64 const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callback) in SearchElementInfosByText()
74 …const int focusType, const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callb… in FindFocusedElementInfo()
84 …const int direction, const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callb… in FocusMoveSearch()
95 const sptr<IAccessibilityElementOperatorCallback> &callback) in ExecuteAction()
/base/security/deviceauth/services/group_auth/src/session/auth_session_lite/
Dauth_session_server_lite.c102 static char *StartServerRequestLite(const CJson *in, const DeviceAuthCallback *callback) in StartServerRequestLite()
120 static int32_t AddAuthParamByRequestLite(CJson *in, const DeviceAuthCallback *callback) in AddAuthParamByRequestLite()
149 static Session *CreateServerAuthSessionLiteInner(CJson *in, const DeviceAuthCallback *callback) in CreateServerAuthSessionLiteInner()
171 Session *CreateServerAuthSessionLite(CJson *in, const DeviceAuthCallback *callback) in CreateServerAuthSessionLite()
Dauth_session_common_lite.c74 static void ReturnErrorDataLite(const CJson *in, const DeviceAuthCallback *callback, const CJson *o… in ReturnErrorDataLite()
99 const CJson *out, const DeviceAuthCallback *callback) in ReturnSessionKeyLite()
129 …d ReturnFinishDataLiteInner(int64_t requestId, const CJson *in, const DeviceAuthCallback *callback, in ReturnFinishDataLiteInner()
171 static void ReturnFinishDataLite(const CJson *in, const DeviceAuthCallback *callback, const CJson *… in ReturnFinishDataLite()
197 const DeviceAuthCallback *callback = session->base.callback; in ReturnTransmitDataLite() local
226 void InformLocalAuthErrorLite(const CJson *authParam, const DeviceAuthCallback *callback) in InformLocalAuthErrorLite()
239 void InformPeerAuthErrorLite(const CJson *in, const DeviceAuthCallback *callback) in InformPeerAuthErrorLite()
280 void InformAuthErrorLite(const CJson *in, const DeviceAuthCallback *callback, const CJson *out, int… in InformAuthErrorLite()
364 AuthSessionLite *InitAuthSessionLite(const CJson *in, const DeviceAuthCallback *callback) in InitAuthSessionLite()
/base/powermgr/power_manager/frameworks/native/
Dpower_mgr_client.cpp186 void PowerMgrClient::RegisterPowerStateCallback(const sptr<IPowerStateCallback>& callback) in RegisterPowerStateCallback()
193 void PowerMgrClient::UnRegisterPowerStateCallback(const sptr<IPowerStateCallback>& callback) in UnRegisterPowerStateCallback()
200 void PowerMgrClient::RegisterShutdownCallback(const sptr<IShutdownCallback>& callback, in RegisterShutdownCallback()
208 void PowerMgrClient::UnRegisterShutdownCallback(const sptr<IShutdownCallback>& callback) in UnRegisterShutdownCallback()
215 void PowerMgrClient::RegisterPowerModeCallback(const sptr<IPowerModeCallback>& callback) in RegisterPowerModeCallback()
222 void PowerMgrClient::UnRegisterPowerModeCallback(const sptr<IPowerModeCallback>& callback) in UnRegisterPowerModeCallback()
/base/compileruntime/js_worker_module/jsapi/worker/
Dworker_runner.h29 : callback(function), data(dataArgs) in callback() function
32 CallbackFunction callback; member

12345678910>>...16