Home
last modified time | relevance | path

Searched refs:RemoveCallback (Results 1 – 25 of 33) sorted by relevance

12

/base/powermgr/power_manager/services/native/src/shutdown/
Dshutdown_callback_holer.cpp26 RemoveCallback(object.promote()); in OnRemoteDied()
78 void ShutdownCallbackHolder::RemoveCallback(const sptr<IRemoteObject>& callback) in RemoveCallback() function in OHOS::PowerMgr::ShutdownCallbackHolder
81 RemoveCallback(lowPriorityCallbacks_, callback); in RemoveCallback()
82 RemoveCallback(defaultPriorityCallbacks_, callback); in RemoveCallback()
83 RemoveCallback(highPriorityCallbacks_, callback); in RemoveCallback()
86 void ShutdownCallbackHolder::RemoveCallback( in RemoveCallback() function in OHOS::PowerMgr::ShutdownCallbackHolder
Dshutdown_controller.h52 void RemoveCallback(const sptr<ITakeOverShutdownCallback>& callback);
53 void RemoveCallback(const sptr<IAsyncShutdownCallback>& callback);
54 void RemoveCallback(const sptr<ISyncShutdownCallback>& callback);
Dshutdown_callback_holer.h30 void RemoveCallback(const sptr<IRemoteObject>& callback);
37 …static void RemoveCallback(std::set<sptr<IRemoteObject>>& callbacks, const sptr<IRemoteObject>& ca…
Dshutdown_controller.cpp200 void ShutdownController::RemoveCallback(const sptr<ITakeOverShutdownCallback>& callback) in RemoveCallback() function in OHOS::PowerMgr::ShutdownController
203 takeoverShutdownCallbackHolder_->RemoveCallback(callback->AsObject()); in RemoveCallback()
208 void ShutdownController::RemoveCallback(const sptr<IAsyncShutdownCallback>& callback) in RemoveCallback() function in OHOS::PowerMgr::ShutdownController
211 asyncShutdownCallbackHolder_->RemoveCallback(callback->AsObject()); in RemoveCallback()
216 void ShutdownController::RemoveCallback(const sptr<ISyncShutdownCallback>& callback) in RemoveCallback() function in OHOS::PowerMgr::ShutdownController
219 syncShutdownCallbackHolder_->RemoveCallback(callback->AsObject()); in RemoveCallback()
/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/
Ddlp_callback_test.cpp104 res = DlpSandboxChangeCallbackManager::GetInstance().RemoveCallback(nullptr);
112 res = DlpSandboxChangeCallbackManager::GetInstance().RemoveCallback(0, result);
182 res = OpenDlpFileCallbackManager::GetInstance().RemoveCallback(getpid(), callback->AsObject());
243 int32_t res = OpenDlpFileCallbackManager::GetInstance().RemoveCallback(getpid(), nullptr);
261 res = OpenDlpFileCallbackManager::GetInstance().RemoveCallback(0, callback->AsObject());
279 res = OpenDlpFileCallbackManager::GetInstance().RemoveCallback(getpid(), callback->AsObject());
297 …res = OpenDlpFileCallbackManager::GetInstance().RemoveCallback(getpid() + 1, callback->AsObject());
320 res = OpenDlpFileCallbackManager::GetInstance().RemoveCallback(getpid(), callback2->AsObject());
340 res = OpenDlpFileCallbackManager::GetInstance().RemoveCallback(getpid(), callback2->AsObject());
353 int32_t res = OpenDlpFileCallbackManager::GetInstance().RemoveCallback(nullptr);
[all …]
/base/security/dlp_permission_service/services/dlp_permission/sa/callback/dlp_sandbox_change_callback/
Ddlp_sandbox_change_callback_manager.h43 int32_t RemoveCallback(const sptr<IRemoteObject>& callback);
44 int32_t RemoveCallback(int32_t pid, bool &result);
Ddlp_sandbox_change_callback_death_recipient.cpp39 DlpSandboxChangeCallbackManager::GetInstance().RemoveCallback(object); in OnRemoteDied()
Ddlp_sandbox_change_callback_manager.cpp79 int32_t DlpSandboxChangeCallbackManager::RemoveCallback(const sptr<IRemoteObject> &callback) in RemoveCallback() function in OHOS::Security::DlpPermission::DlpSandboxChangeCallbackManager
104 int32_t DlpSandboxChangeCallbackManager::RemoveCallback(int32_t pid, bool &result) in RemoveCallback() function in OHOS::Security::DlpPermission::DlpSandboxChangeCallbackManager
/base/useriam/user_auth_framework/frameworks/native/client/src/
Duser_idm_callback_service.cpp43 CallbackManager::GetInstance().RemoveCallback(reinterpret_cast<uintptr_t>(this)); in ~IdmCallbackService()
82 CallbackManager::GetInstance().RemoveCallback(reinterpret_cast<uintptr_t>(this)); in ~IdmGetCredInfoCallbackService()
111 CallbackManager::GetInstance().RemoveCallback(reinterpret_cast<uintptr_t>(this)); in ~IdmGetSecureUserInfoCallbackService()
Dcallback_manager_impl.cpp32 void RemoveCallback(uintptr_t key) override;
50 void CallbackManagerImpl::RemoveCallback(uintptr_t key) in RemoveCallback() function in OHOS::UserIam::UserAuth::CallbackManagerImpl
Duser_auth_callback_service.cpp57 CallbackManager::GetInstance().RemoveCallback(reinterpret_cast<uintptr_t>(this)); in ~UserAuthCallbackService()
102 CallbackManager::GetInstance().RemoveCallback(reinterpret_cast<uintptr_t>(this)); in ~GetExecutorPropertyCallbackService()
130 CallbackManager::GetInstance().RemoveCallback(reinterpret_cast<uintptr_t>(this)); in ~SetExecutorPropertyCallbackService()
Dwidget_callback_service.cpp43 CallbackManager::GetInstance().RemoveCallback(reinterpret_cast<uintptr_t>(this)); in ~WidgetCallbackService()
/base/security/dlp_permission_service/services/dlp_permission/sa/callback/open_dlp_file_callback/
Dopen_dlp_file_callback_manager.h47 int32_t RemoveCallback(const sptr<IRemoteObject>& callback);
48 int32_t RemoveCallback(int32_t pid, const sptr<IRemoteObject> &callback);
Dopen_dlp_file_callback_death_recipient.cpp39 OpenDlpFileCallbackManager::GetInstance().RemoveCallback(object); in OnRemoteDied()
Dopen_dlp_file_callback_manager.cpp92 int32_t OpenDlpFileCallbackManager::RemoveCallback(const sptr<IRemoteObject>& callback) in RemoveCallback() function in OHOS::Security::DlpPermission::OpenDlpFileCallbackManager
125 int32_t OpenDlpFileCallbackManager::RemoveCallback(int32_t pid, const sptr<IRemoteObject>& callback) in RemoveCallback() function in OHOS::Security::DlpPermission::OpenDlpFileCallbackManager
/base/useriam/user_auth_framework/frameworks/native/client/inc/
Dcallback_manager.h34 virtual void RemoveCallback(uintptr_t key) = 0;
/base/security/access_token/services/privacymanager/src/active/
Dperm_active_status_callback_death_recipient.cpp42 ActiveStatusCallbackManager::GetInstance().RemoveCallback(object); in OnRemoteDied()
Dactive_status_callback_manager.cpp80 int32_t ActiveStatusCallbackManager::RemoveCallback(const sptr<IRemoteObject>& callback) in RemoveCallback() function in OHOS::Security::AccessToken::ActiveStatusCallbackManager
/base/security/access_token/services/accesstokenmanager/main/cpp/src/callback/
Dperm_state_callback_death_recipient.cpp43 CallbackManager::GetInstance().RemoveCallback(object); in OnRemoteDied()
Dcallback_manager.cpp78 int32_t CallbackManager::RemoveCallback(const sptr<IRemoteObject>& callback) in RemoveCallback() function in OHOS::Security::AccessToken::CallbackManager
/base/security/access_token/services/privacymanager/include/active/
Dactive_status_callback_manager.h49 int32_t RemoveCallback(const sptr<IRemoteObject>& callback);
/base/security/access_token/services/accesstokenmanager/main/cpp/include/callback/
Dcallback_manager.h53 int32_t RemoveCallback(const sptr<IRemoteObject>& callback);
/base/powermgr/power_manager/services/native/include/
Dpower_mode_module.h51 void RemoveCallback(const sptr<IPowerModeCallback>& callback);
/base/powermgr/power_manager/services/native/src/
Dpower_mode_module.cpp118 callbackMgr_->RemoveCallback(callback); in DelPowerModeCallback()
143 void PowerModeModule::CallbackManager::RemoveCallback(const sptr<IPowerModeCallback>& callback) in RemoveCallback() function in OHOS::PowerMgr::PowerModeModule::CallbackManager
160 RemoveCallback(iface_cast<IPowerModeCallback>(remote.promote())); in OnRemoteDied()
/base/request/request/test/unittest/common/napi/requestTest/
DRequestJsunit.test.js426 function RemoveCallback() {} class
427 downloadTask.on('remove', RemoveCallback);
428 downloadTask.off('remove', RemoveCallback);

12