/base/useriam/user_auth_framework/frameworks/native/client/src/ |
D | user_auth_callback_service.cpp | 31 CallbackManager::CallbackAction action = [impl]() { in UserAuthCallbackService() 38 CallbackManager::GetInstance().AddCallback(reinterpret_cast<uintptr_t>(this), action); in UserAuthCallbackService() 45 CallbackManager::CallbackAction action = [impl]() { in UserAuthCallbackService() 52 CallbackManager::GetInstance().AddCallback(reinterpret_cast<uintptr_t>(this), action); in UserAuthCallbackService() 57 CallbackManager::GetInstance().RemoveCallback(reinterpret_cast<uintptr_t>(this)); in ~UserAuthCallbackService() 90 CallbackManager::CallbackAction action = [impl]() { in GetExecutorPropertyCallbackService() 97 CallbackManager::GetInstance().AddCallback(reinterpret_cast<uintptr_t>(this), action); in GetExecutorPropertyCallbackService() 102 CallbackManager::GetInstance().RemoveCallback(reinterpret_cast<uintptr_t>(this)); in ~GetExecutorPropertyCallbackService() 118 CallbackManager::CallbackAction action = [impl]() { in SetExecutorPropertyCallbackService() 125 CallbackManager::GetInstance().AddCallback(reinterpret_cast<uintptr_t>(this), action); in SetExecutorPropertyCallbackService() [all …]
|
D | user_idm_callback_service.cpp | 31 CallbackManager::CallbackAction action = [impl]() { in IdmCallbackService() 38 CallbackManager::GetInstance().AddCallback(reinterpret_cast<uintptr_t>(this), action); in IdmCallbackService() 43 CallbackManager::GetInstance().RemoveCallback(reinterpret_cast<uintptr_t>(this)); in ~IdmCallbackService() 70 CallbackManager::CallbackAction action = [impl]() { in IdmGetCredInfoCallbackService() 77 CallbackManager::GetInstance().AddCallback(reinterpret_cast<uintptr_t>(this), action); in IdmGetCredInfoCallbackService() 82 CallbackManager::GetInstance().RemoveCallback(reinterpret_cast<uintptr_t>(this)); in ~IdmGetCredInfoCallbackService() 99 CallbackManager::CallbackAction action = [impl]() { in IdmGetSecureUserInfoCallbackService() 106 CallbackManager::GetInstance().AddCallback(reinterpret_cast<uintptr_t>(this), action); in IdmGetSecureUserInfoCallbackService() 111 CallbackManager::GetInstance().RemoveCallback(reinterpret_cast<uintptr_t>(this)); in ~IdmGetSecureUserInfoCallbackService()
|
D | callback_manager_impl.cpp | 29 class CallbackManagerImpl final : public CallbackManager, public NoCopyable { 36 friend class CallbackManager; 69 CallbackManager &CallbackManager::GetInstance() in GetInstance()
|
D | widget_callback_service.cpp | 31 CallbackManager::CallbackAction action = [impl]() { in WidgetCallbackService() 38 CallbackManager::GetInstance().AddCallback(reinterpret_cast<uintptr_t>(this), action); in WidgetCallbackService() 43 CallbackManager::GetInstance().RemoveCallback(reinterpret_cast<uintptr_t>(this)); in ~WidgetCallbackService()
|
D | co_auth_client_impl.cpp | 110 CallbackManager::GetInstance().OnServiceDeath(); in OnRemoteDied()
|
D | user_idm_client_impl.cpp | 300 CallbackManager::GetInstance().OnServiceDeath(); in OnRemoteDied()
|
D | user_auth_client_impl.cpp | 339 CallbackManager::GetInstance().OnServiceDeath(); in OnRemoteDied()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/callback/ |
D | callback_manager.cpp | 38 CallbackManager& CallbackManager::GetInstance() in GetInstance() 40 static CallbackManager instance; in GetInstance() 44 CallbackManager::CallbackManager() : callbackDeathRecipient_(sptr<IRemoteObject::DeathRecipient>( in CallbackManager() function in OHOS::Security::AccessToken::CallbackManager 49 CallbackManager::~CallbackManager() in ~CallbackManager() 53 int32_t CallbackManager::AddCallback(const PermStateChangeScope& scopeRes, const sptr<IRemoteObject… in AddCallback() 78 int32_t CallbackManager::RemoveCallback(const sptr<IRemoteObject>& callback) in RemoveCallback() 102 bool CallbackManager::CalledAccordingToTokenIdLlist( in CalledAccordingToTokenIdLlist() 112 bool CallbackManager::CalledAccordingToPermLlist(const std::vector<std::string>& permList, const st… in CalledAccordingToPermLlist() 121 void CallbackManager::ExecuteCallbackAsync(AccessTokenID tokenID, const std::string& permName, int3… in ExecuteCallbackAsync()
|
D | perm_state_callback_death_recipient.cpp | 43 CallbackManager::GetInstance().RemoveCallback(object); in OnRemoteDied()
|
/base/update/updater/services/ui/control/ |
D | callback_manager.cpp | 26 std::vector<CallbackCfg> CallbackManager::callbackCfgs_; 28 std::unordered_map<std::string, EventType> CallbackManager::evtTypes_ = { 33 bool CallbackManager::LoadCallbacks(const JsonNode &node) in LoadCallbacks() 52 bool CallbackManager::RegisterFunc(const std::string &name, Callback cb) in RegisterFunc() 61 std::unordered_map<std::string, Callback> &CallbackManager::GetFuncs() in GetFuncs() 67 void CallbackManager::Register(const CallbackCfg &cbCfg) in Register() 84 void CallbackManager::Init(bool hasFocus) in Init()
|
D | callback_manager.h | 28 class CallbackManager { 45 CallbackManager::RegisterFunc(#name, Callback{&name, async}); \
|
/base/useriam/user_auth_framework/test/unittest/inner_api/src/ |
D | callback_manager_impl_test.cpp | 55 CallbackManager::GetInstance().OnServiceDeath(); 64 CallbackManager::GetInstance().OnServiceDeath(); 73 CallbackManager::GetInstance().OnServiceDeath(); 82 CallbackManager::GetInstance().OnServiceDeath(); 91 CallbackManager::GetInstance().OnServiceDeath(); 100 CallbackManager::GetInstance().OnServiceDeath(); 109 CallbackManager::GetInstance().OnServiceDeath(); 118 CallbackManager::GetInstance().OnServiceDeath();
|
/base/useriam/user_auth_framework/frameworks/native/client/inc/ |
D | callback_manager.h | 28 class CallbackManager { 31 static CallbackManager &GetInstance(); 32 virtual ~CallbackManager() = default;
|
/base/location/frameworks/js/napi/include/ |
D | callback_manager.h | 24 class CallbackManager { 26 CallbackManager() = default; 27 virtual ~CallbackManager() = default; 42 std::map<napi_env, std::map<napi_ref, sptr<T>>> CallbackManager<T>::GetCallbackMap() in GetCallbackMap() 49 void CallbackManager<T>::DeleteCallbackByEnv(const napi_env& env) in DeleteCallbackByEnv() 61 bool CallbackManager<T>::IsCallbackInMap(const napi_env& env, const napi_value& handler) in IsCallbackInMap() 78 void CallbackManager<T>::AddCallback(const napi_env& env, const napi_ref& handlerRef, const sptr<T>… in AddCallback() 92 void CallbackManager<T>::DeleteCallback(const napi_env& env, const napi_value& handler) in DeleteCallback() 112 sptr<T> CallbackManager<T>::GetCallbackPtr(const napi_env& env, const napi_value& handler) in GetCallbackPtr() 129 bool CallbackManager<T>::RegCallback(const napi_env& env, const size_t argc, const napi_value* argv) in RegCallback() [all …]
|
/base/security/access_token/services/accesstokenmanager/main/cpp/include/callback/ |
D | callback_manager.h | 46 class CallbackManager { 48 virtual ~CallbackManager(); 49 CallbackManager(); 50 static CallbackManager& GetInstance();
|
/base/msdp/device_status/services/native/include/ |
D | devicestatus_msdp_client_impl.h | 32 using CallbackManager = std::function<int32_t(const Data&)>; 40 ErrCode RegisterImpl(const CallbackManager& callback); 76 DeviceStatusMsdpClientImpl::CallbackManager callBacksMgr_;
|
/base/powermgr/power_manager/services/native/include/ |
D | power_mode_module.h | 47 class CallbackManager : public IRemoteObject::DeathRecipient { 65 sptr<CallbackManager> callbackMgr_;
|
/base/powermgr/power_manager/services/native/src/ |
D | power_mode_module.cpp | 36 callbackMgr_ = new CallbackManager(); in PowerModeModule() 130 void PowerModeModule::CallbackManager::AddCallback(const sptr<IPowerModeCallback>& callback) in AddCallback() 143 void PowerModeModule::CallbackManager::RemoveCallback(const sptr<IPowerModeCallback>& callback) in RemoveCallback() 156 void PowerModeModule::CallbackManager::OnRemoteDied(const wptr<IRemoteObject>& remote) in OnRemoteDied() 163 void PowerModeModule::CallbackManager::WaitingCallback() in WaitingCallback()
|
/base/powermgr/power_manager/test/unittest/src/ |
D | power_mode_module_native_test.cpp | 82 shared_ptr<PowerModeModule::CallbackManager> powerModeModuleManager = 83 make_shared<PowerModeModule::CallbackManager>();
|
/base/update/updater/services/ui/ |
D | updater_ui_env.cpp | 72 CallbackManager::Init(UpdaterUiConfig::GetFocusCfg()); in InitEvts()
|
D | updater_ui_config.cpp | 186 return CallbackManager::LoadCallbacks(node); in LoadCallbacks()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/ |
D | permission_manager.cpp | 412 CallbackManager::GetInstance().ExecuteCallbackAsync(tokenID, permissionName, changeType); in UpdateTokenPermissionState() 526 return CallbackManager::GetInstance().AddCallback(scope, callback); in AddPermStateChangeCallback() 531 return CallbackManager::GetInstance().RemoveCallback(callback); in RemovePermStateChangeCallback() 720 …CallbackManager::GetInstance().ExecuteCallbackAsync(tokenID, permissionList[i], changeTypeList[i]); in ClearUserGrantedPermissionState()
|
/base/location/frameworks/js/napi/source/ |
D | location_napi_event.cpp | 30 CallbackManager<LocationSwitchCallbackHost> g_switchCallbacks; 31 CallbackManager<LocatorCallbackHost> g_locationCallbacks; 32 CallbackManager<GnssStatusCallbackHost> g_gnssStatusInfoCallbacks; 33 CallbackManager<NmeaMessageCallbackHost> g_nmeaCallbacks; 34 CallbackManager<CachedLocationsCallbackHost> g_cachedLocationCallbacks; 35 CallbackManager<CountryCodeCallbackHost> g_countryCodeCallbacks; 36 CallbackManager<LocatingRequiredDataCallbackHost> g_locatingRequiredDataCallbacks;
|
/base/msdp/device_status/services/native/src/ |
D | devicestatus_manager.cpp | 116 DeviceStatusMsdpClientImpl::CallbackManager callback = in InitDataCallback()
|
D | devicestatus_msdp_client_impl.cpp | 239 ErrCode DeviceStatusMsdpClientImpl::RegisterImpl(const CallbackManager& callback) in RegisterImpl()
|