Home
last modified time | relevance | path

Searched refs:AddCallback (Results 1 – 25 of 29) sorted by relevance

12

/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/
Ddlp_callback_test.cpp89 int32_t res = DlpSandboxChangeCallbackManager::GetInstance().AddCallback(0, nullptr);
102 res = DlpSandboxChangeCallbackManager::GetInstance().AddCallback(0, callback->AsObject());
160 …OpenDlpFileCallbackManager::GetInstance().AddCallback(getpid(), DEFAULT_USERID, DLP_MANAGER_APP, n…
175 int32_t res = OpenDlpFileCallbackManager::GetInstance().AddCallback(
179 res = OpenDlpFileCallbackManager::GetInstance().AddCallback(
199 int32_t res = OpenDlpFileCallbackManager::GetInstance().AddCallback(
205 int32_t res = OpenDlpFileCallbackManager::GetInstance().AddCallback(
222 int32_t res = OpenDlpFileCallbackManager::GetInstance().AddCallback(
229 int32_t res = OpenDlpFileCallbackManager::GetInstance().AddCallback(
258 int32_t res = OpenDlpFileCallbackManager::GetInstance().AddCallback(
[all …]
Ddlp_permission_service_test.cpp320 int32_t res = OpenDlpFileCallbackManager::GetInstance().AddCallback(
380 …RVICE_ERROR_VALUE_INVALID, DlpSandboxChangeCallbackManager::GetInstance().AddCallback(0, nullptr));
390 DlpSandboxChangeCallbackManager::GetInstance().AddCallback(i, callback);
393 …DLP_SERVICE_ERROR_VALUE_INVALID, DlpSandboxChangeCallbackManager::GetInstance().AddCallback(11024,…
/base/powermgr/power_manager/services/native/src/shutdown/
Dshutdown_controller.h49 void AddCallback(const sptr<ITakeOverShutdownCallback>& callback, ShutdownPriority priority);
50 void AddCallback(const sptr<IAsyncShutdownCallback>& callback, ShutdownPriority priority);
51 void AddCallback(const sptr<ISyncShutdownCallback>& callback, ShutdownPriority priority);
Dshutdown_controller.cpp173 void ShutdownController::AddCallback(const sptr<ITakeOverShutdownCallback>& callback, ShutdownPrior… in AddCallback() function in OHOS::PowerMgr::ShutdownController
176 takeoverShutdownCallbackHolder_->AddCallback(callback->AsObject(), priority); in AddCallback()
182 void ShutdownController::AddCallback(const sptr<IAsyncShutdownCallback>& callback, ShutdownPriority… in AddCallback() function in OHOS::PowerMgr::ShutdownController
185 asyncShutdownCallbackHolder_->AddCallback(callback->AsObject(), priority); in AddCallback()
191 void ShutdownController::AddCallback(const sptr<ISyncShutdownCallback>& callback, ShutdownPriority … in AddCallback() function in OHOS::PowerMgr::ShutdownController
194 syncShutdownCallbackHolder_->AddCallback(callback->AsObject(), priority); in AddCallback()
Dshutdown_callback_holer.h29 void AddCallback(const sptr<IRemoteObject>& callback, ShutdownPriority priority);
Dshutdown_callback_holer.cpp29 void ShutdownCallbackHolder::AddCallback(const sptr<IRemoteObject>& callback, ShutdownPriority prio… in AddCallback() function in OHOS::PowerMgr::ShutdownCallbackHolder
/base/useriam/user_auth_framework/frameworks/native/client/src/
Duser_auth_callback_service.cpp38 CallbackManager::GetInstance().AddCallback(reinterpret_cast<uintptr_t>(this), action); in UserAuthCallbackService()
52 CallbackManager::GetInstance().AddCallback(reinterpret_cast<uintptr_t>(this), action); in UserAuthCallbackService()
97 CallbackManager::GetInstance().AddCallback(reinterpret_cast<uintptr_t>(this), action); in GetExecutorPropertyCallbackService()
125 CallbackManager::GetInstance().AddCallback(reinterpret_cast<uintptr_t>(this), action); in SetExecutorPropertyCallbackService()
Duser_idm_callback_service.cpp38 CallbackManager::GetInstance().AddCallback(reinterpret_cast<uintptr_t>(this), action); in IdmCallbackService()
77 CallbackManager::GetInstance().AddCallback(reinterpret_cast<uintptr_t>(this), action); in IdmGetCredInfoCallbackService()
106 CallbackManager::GetInstance().AddCallback(reinterpret_cast<uintptr_t>(this), action); in IdmGetSecureUserInfoCallbackService()
Dcallback_manager_impl.cpp31 void AddCallback(uintptr_t key, CallbackAction &action) override;
43 void CallbackManagerImpl::AddCallback(uintptr_t key, CallbackAction &action) in AddCallback() function in OHOS::UserIam::UserAuth::CallbackManagerImpl
Dwidget_callback_service.cpp38 CallbackManager::GetInstance().AddCallback(reinterpret_cast<uintptr_t>(this), action); in WidgetCallbackService()
/base/useriam/user_auth_framework/frameworks/native/client/inc/
Dcallback_manager.h33 virtual void AddCallback(uintptr_t key, CallbackAction &action) = 0;
/base/security/dlp_permission_service/services/dlp_permission/sa/callback/dlp_sandbox_change_callback/
Ddlp_sandbox_change_callback_manager.h42 int32_t AddCallback(int32_t pid, const sptr<IRemoteObject> &callback);
Ddlp_sandbox_change_callback_manager.cpp53 int32_t DlpSandboxChangeCallbackManager::AddCallback(int32_t pid, const sptr<IRemoteObject> &callba… in AddCallback() function in OHOS::Security::DlpPermission::DlpSandboxChangeCallbackManager
/base/location/frameworks/js/napi/include/
Dcallback_manager.h29 void AddCallback(const napi_env& env, const napi_ref& handlerRef, const sptr<T>& callback);
78 void CallbackManager<T>::AddCallback(const napi_env& env, const napi_ref& handlerRef, const sptr<T>… in AddCallback() function
153 AddCallback(env, handlerRef, callbackHost); in RegCallback()
/base/security/dlp_permission_service/services/dlp_permission/sa/callback/open_dlp_file_callback/
Dopen_dlp_file_callback_manager.h45 int32_t AddCallback(
Dopen_dlp_file_callback_manager.cpp54 int32_t OpenDlpFileCallbackManager::AddCallback( in AddCallback() function in OHOS::Security::DlpPermission::OpenDlpFileCallbackManager
/base/security/access_token/services/accesstokenmanager/main/cpp/include/callback/
Dcallback_manager.h52 int32_t AddCallback(const PermStateChangeScope& scope, const sptr<IRemoteObject>& callback);
/base/security/access_token/services/privacymanager/include/active/
Dactive_status_callback_manager.h47 int32_t AddCallback(
/base/powermgr/power_manager/services/native/include/
Dpower_mode_module.h50 void AddCallback(const sptr<IPowerModeCallback>& callback);
/base/powermgr/power_manager/services/native/src/
Dpower_mode_module.cpp111 callbackMgr_->AddCallback(callback); in AddPowerModeCallback()
130 void PowerModeModule::CallbackManager::AddCallback(const sptr<IPowerModeCallback>& callback) in AddCallback() function in OHOS::PowerMgr::PowerModeModule::CallbackManager
Dpower_mgr_service.cpp802 shutdownController_->AddCallback(callback, priority); in RegisterShutdownCallback()
821 shutdownController_->AddCallback(callback, priority); in RegisterShutdownCallback()
840 shutdownController_->AddCallback(callback, priority); in RegisterShutdownCallback()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/callback/
Dcallback_manager.cpp53 int32_t CallbackManager::AddCallback(const PermStateChangeScope& scopeRes, const sptr<IRemoteObject… in AddCallback() function in OHOS::Security::AccessToken::CallbackManager
/base/security/access_token/services/privacymanager/src/active/
Dactive_status_callback_manager.cpp55 int32_t ActiveStatusCallbackManager::AddCallback( in AddCallback() function in OHOS::Security::AccessToken::ActiveStatusCallbackManager
/base/location/frameworks/js/napi/source/
Dlocation_napi_event.cpp619 g_switchCallbacks.AddCallback(env, handlerRef, switchCallbackHost); in OnLocationServiceStateCallback()
667 g_cachedLocationCallbacks.AddCallback(env, handlerRef, cachedCallbackHost); in OnCachedGnssLocationsReportingCallback()
706 g_gnssStatusInfoCallbacks.AddCallback(env, handlerRef, gnssCallbackHost); in OnGnssStatusChangeCallback()
756 g_locationCallbacks.AddCallback(env, handlerRef, locatorCallbackHost); in OnLocationChangeCallback()
795 g_nmeaCallbacks.AddCallback(env, handlerRef, nmeaCallbackHost); in OnNmeaMessageChangeCallback()
834 g_countryCodeCallbacks.AddCallback(env, handlerRef, callbackHost); in OnCountryCodeChangeCallback()
893 g_locatingRequiredDataCallbacks.AddCallback(env, handlerRef, locatingCallbackHost); in OnLocatingRequiredDataChangeCallback()
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_main/
Ddlp_permission_service.cpp432 return DlpSandboxChangeCallbackManager::GetInstance().AddCallback(pid, callback); in RegisterDlpSandboxChangeCallback()
464 …int res = OpenDlpFileCallbackManager::GetInstance().AddCallback(pid, userId, callerBundleName, cal… in RegisterOpenDlpFileCallback()

12