/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | refbase.h | 262 // including the pointer of sptr/wptr(The pointer of itself, not the pointer 306 * A WeakRefCounter object can be held by multiple wptr objects.\n 364 * the corresponding RefBase object(Used in promoting a wptr to a sptr). 475 * @note Avoid using it independently. Use related methods of wptr. 527 * interaction between sptr and wptr. Avoid using it independently. 587 * use `wptr::Promote()`. 599 class wptr; 612 friend class wptr<T>; 623 * @param other Object to be managed by wptr. 660 * @brief Constructor only used in promote process of wptr 1019 class wptr { global() class 1289 wptr<T>::wptr() wptr() function in OHOS::wptr 1295 wptr<T>::wptr(T *other) wptr() function in OHOS::wptr 1308 wptr<T>::wptr(const wptr<T> &other) wptr() function in OHOS::wptr 1317 wptr<T>::wptr(const sptr<T> &other) wptr() function in OHOS::wptr 1329 wptr<T>::wptr(const wptr<O> &other) wptr() function in OHOS::wptr 1339 wptr<T>::wptr(const sptr<O> &other) wptr() function in OHOS::wptr [all...] |
/foundation/distributeddatamgr/preferences/frameworks/native/mock/c_utils/utils/base/include/ |
H A D | refbase.h | 155 template<typename T> class wptr; 160 friend class wptr<T>; 212 sptr<T> &operator=(const wptr<T> &other); 223 bool operator==(const wptr<T> &other) const; 225 inline bool operator!=(const wptr<T> &other) const in operator !=() 316 template<typename T> inline sptr<T> &sptr<T>::operator=(const wptr<T> &other) in operator =() 347 template<typename T> inline bool sptr<T>::operator==(const wptr<T> &other) const in operator ==() 381 template<typename T> class wptr { class 382 template<typename O> friend class wptr; 385 wptr(); 459 template<typename T> wptr<T>::wptr() wptr() function in OHOS::wptr 464 template<typename T> wptr<T>::wptr(T *other) wptr() function in OHOS::wptr 476 template<typename T> wptr<T>::wptr(const wptr<T> &other) wptr() function in OHOS::wptr 484 template<typename T> wptr<T>::wptr(const sptr<T> &other) wptr() function in OHOS::wptr 494 template<typename T> template<typename O> wptr<T>::wptr(const wptr<O> &other) wptr() function in OHOS::wptr 502 template<typename T> template<typename O> wptr<T>::wptr(const sptr<O> &other) wptr() function in OHOS::wptr [all...] |
/foundation/systemabilitymgr/samgr/services/samgr/native/source/ |
H A D | ability_death_recipient.cpp | 23 void AbilityDeathRecipient::OnRemoteDied(const wptr<IRemoteObject>& remote) in OnRemoteDied() 30 void SystemProcessDeathRecipient::OnRemoteDied(const wptr<IRemoteObject>& remote) in OnRemoteDied() 37 void AbilityStatusDeathRecipient::OnRemoteDied(const wptr<IRemoteObject>& remote) in OnRemoteDied() 44 void AbilityCallbackDeathRecipient::OnRemoteDied(const wptr<IRemoteObject>& remote) in OnRemoteDied() 51 void RemoteCallbackDeathRecipient::OnRemoteDied(const wptr<IRemoteObject>& remote) in OnRemoteDied() 58 void SystemProcessListenerDeathRecipient::OnRemoteDied(const wptr<IRemoteObject>& remote) in OnRemoteDied()
|
/foundation/multimedia/camera_framework/services/camera_service/include/ |
H A D | camera_privacy.h | 32 wptr<HCameraDevice> device, const Security::AccessToken::PermStateChangeScope& scopeInfo) in PermissionStatusChangeCb() 39 wptr<HCameraDevice> cameraDevice_; 44 explicit CameraUseStateChangeCb(wptr<HCameraDevice> device) : cameraDevice_(device) {} in CameraUseStateChangeCb() 49 wptr<HCameraDevice> cameraDevice_; 54 explicit CameraPrivacy(wptr<HCameraDevice> device, uint32_t callingTokenId, int32_t pid) in CameraPrivacy() 67 wptr<HCameraDevice> cameraDevice_;
|
/foundation/systemabilitymgr/samgr/services/samgr/native/include/ |
H A D | ability_death_recipient.h | 24 void OnRemoteDied(const wptr<IRemoteObject>& remote) override; 31 void OnRemoteDied(const wptr<IRemoteObject>& remote) override; 38 void OnRemoteDied(const wptr<IRemoteObject>& remote) override; 45 void OnRemoteDied(const wptr<IRemoteObject>& remote) override; 52 void OnRemoteDied(const wptr<IRemoteObject>& remote) override; 59 void OnRemoteDied(const wptr<IRemoteObject>& remote) override;
|
/foundation/window/window_manager/wm/include/ |
H A D | picture_in_picture_manager.h | 39 static bool IsActiveController(wptr<PictureInPictureController> pipController); 41 static void RemoveActiveController(wptr<PictureInPictureController> pipController); 42 static void AttachAutoStartController(int32_t handleId, wptr<PictureInPictureController> pipController); 43 static void DetachAutoStartController(int32_t handleId, wptr<PictureInPictureController> pipController); 61 static wptr<PictureInPictureController> autoStartController_; 63 static std::map<int32_t, wptr<PictureInPictureController>> autoStartControllerMap_;
|
/foundation/multimedia/player_framework/services/services/monitor/server/ |
H A D | monitor_server.h | 37 int32_t RegisterObj(int32_t pid, wptr<MonitorServerObject> obj); 38 int32_t CancellationObj(int32_t pid, wptr<MonitorServerObject> obj); 47 int32_t GetObjListByPid(int32_t pid, std::list<wptr<MonitorServerObject>> &list); 48 int32_t ObjCtrl(std::list<wptr<MonitorServerObject>> &recoveryList, 49 std::list<wptr<MonitorServerObject>> &abnormalList); 62 std::map<int32_t, std::list<wptr<MonitorServerObject>>> objListMap_;
|
/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/include/ |
H A D | ext_extension.h | 224 std::function<void(ErrCode, const std::string)> IncreOnRestoreExCallback(wptr<BackupExtExtension> obj); 231 std::function<void(ErrCode, const std::string)> IncreOnRestoreCallback(wptr<BackupExtExtension> obj); 238 std::function<void(ErrCode, std::string)> OnRestoreCallback(wptr<BackupExtExtension> obj); 245 std::function<void(ErrCode, std::string)> OnRestoreExCallback(wptr<BackupExtExtension> obj); 250 std::function<void(ErrCode, std::string)> AppDoneCallbackEx(wptr<BackupExtExtension> obj); 252 std::function<void(ErrCode, const std::string)> IncOnBackupExCallback(wptr<BackupExtExtension> obj); 253 std::function<void(ErrCode, const std::string)> IncOnBackupCallback(wptr<BackupExtExtension> obj); 255 std::function<void(ErrCode, const std::string)> OnBackupExCallback(wptr<BackupExtExtension> obj); 256 std::function<void(ErrCode, const std::string)> OnBackupCallback(wptr<BackupExtExtension> obj); 274 ErrCode StartOnProcessTaskThread(wptr<BackupExtExtensio [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_mgr_service_death_recipient_test/ |
H A D | bms_bundle_mgr_service_death_recipient_test.cpp | 51 const std::function<void(const wptr<IRemoteObject>& object)> deathCallback; in HWTEST_F() 52 const wptr<IRemoteObject> object; in HWTEST_F() 65 const wptr<IRemoteObject> object; in HWTEST_F() 66 const std::function<void(const wptr<IRemoteObject>& object)> deathCallback; in HWTEST_F()
|
/foundation/filemanagement/app_file_service/tests/mock/backup_ext/include/ |
H A D | ext_extension_mock.h | 63 virtual std::function<void(ErrCode, std::string)> RestoreResultCallbackEx(wptr<BackupExtExtension>) = 0; 64 virtual std::function<void(ErrCode, std::string)> AppDoneCallbackEx(wptr<BackupExtExtension>) = 0; 65 virtual std::function<void(ErrCode, std::string)> IncRestoreResultCallbackEx(wptr<BackupExtExtension>) = 0; 66 virtual std::function<void(ErrCode, const std::string)> HandleBackupEx(wptr<BackupExtExtension>) = 0; 67 virtual std::function<void(ErrCode, const std::string)> HandleTaskBackupEx(wptr<BackupExtExtension>) = 0; 116 MOCK_METHOD((std::function<void(ErrCode, std::string)>), RestoreResultCallbackEx, (wptr<BackupExtExtension>)); 117 MOCK_METHOD((std::function<void(ErrCode, std::string)>), AppDoneCallbackEx, (wptr<BackupExtExtension>)); 118 MOCK_METHOD((std::function<void(ErrCode, std::string)>), IncRestoreResultCallbackEx, (wptr<BackupExtExtension>)); 119 MOCK_METHOD((std::function<void(ErrCode, const std::string)>), HandleBackupEx, (wptr<BackupExtExtension>)); 120 MOCK_METHOD((std::function<void(ErrCode, const std::string)>), HandleTaskBackupEx, (wptr<BackupExtExtensio [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/ |
H A D | bundle_mgr_service_death_recipient.h | 27 const std::function<void(const wptr<IRemoteObject>& object)>& deathCallback); 30 void OnRemoteDied(const wptr<IRemoteObject>& object) override; 33 std::function<void(const wptr<IRemoteObject>& object)> deathCallback_;
|
/foundation/multimodalinput/input/service/filter/include/ |
H A D | event_filter_death_recipient.h | 26 explicit EventFilterDeathRecipient(const std::function<void(const wptr<IRemoteObject> &object)> 30 void OnRemoteDied(const wptr<IRemoteObject> &object) override; 33 std::function<void(const wptr<IRemoteObject> &object)> deathCallback_;
|
/foundation/multimodalinput/input/common/anco/comm/include/ |
H A D | anco_channel_death_recipient.h | 28 std::function<void(const wptr<IRemoteObject>&)> deathCallback); 32 void OnRemoteDied(const wptr<IRemoteObject> &object) override; 35 std::function<void(const wptr<IRemoteObject>&)> deathCallback_;
|
/foundation/multimodalinput/input/service/connect_manager/include/ |
H A D | multimodal_input_connect_death_recipient.h | 26 explicit MultimodalInputConnectDeathRecipient(const std::function<void(const wptr<IRemoteObject> &object)> 30 void OnRemoteDied(const wptr<IRemoteObject> &object) override; 33 std::function<void(const wptr<IRemoteObject> &object)> deathCallback_;
|
H A D | input_binder_client_death_recipient.h | 27 const std::function<void(const wptr<IRemoteObject> &object)> &deathCallback); 30 void OnRemoteDied(const wptr<IRemoteObject> &object) override; 33 std::function<void(const wptr<IRemoteObject> &object)> deathCallback_;
|
/foundation/resourceschedule/background_task_mgr/services/continuous_task/include/ |
H A D | remote_death_recipient.h | 27 explicit RemoteDeathRecipient(std::function<void(const wptr<IRemoteObject> &)> callback)
in RemoteDeathRecipient() 37 void OnRemoteDied(const wptr<IRemoteObject> &object)
in OnRemoteDied() 45 std::function<void(const wptr<IRemoteObject> &)> callback_;
|
/foundation/resourceschedule/device_usage_statistics/services/common/include/ |
H A D | remote_death_recipient.h | 27 explicit RemoteDeathRecipient(std::function<void(const wptr<IRemoteObject> &)> callback) in RemoteDeathRecipient() 37 void OnRemoteDied(const wptr<IRemoteObject> &object) in OnRemoteDied() 45 std::function<void(const wptr<IRemoteObject> &)> callback_;
|
/foundation/resourceschedule/memmgr/services/memmgrservice/include/purgeable_mem_manager/ |
H A D | remote_death_recipient.h | 27 explicit RemoteDeathRecipient(std::function<void(const wptr<IRemoteObject> &)> callback)
in RemoteDeathRecipient() 37 void OnRemoteDied(const wptr<IRemoteObject> &object)
in OnRemoteDied() 45 std::function<void(const wptr<IRemoteObject> &)> callback_;
|
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner_lite/include/ |
H A D | svc_death_recipient_lite.h | 27 std::function<void(const wptr<IRemoteObject> &)> functor) : functor_(functor) {};
in SvcDeathRecipientLite() 28 void OnRemoteDied(const wptr<IRemoteObject> &object) override
36 std::function<void(const wptr<IRemoteObject> &)> functor_;
|
/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloud_daemon_kit_inner/ |
H A D | svc_death_recipient.h | 26 explicit SvcDeathRecipient(std::function<void(const wptr<IRemoteObject> &)> functor) : functor_(functor){}; in SvcDeathRecipient() 27 void OnRemoteDied(const wptr<IRemoteObject> &object) override 37 std::function<void(const wptr<IRemoteObject> &)> functor_;
|
/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloudsync_kit_inner/ |
H A D | svc_death_recipient.h | 26 explicit SvcDeathRecipient(std::function<void(const wptr<IRemoteObject> &)> functor) : functor_(functor){}; in SvcDeathRecipient() 27 void OnRemoteDied(const wptr<IRemoteObject> &object) override 37 std::function<void(const wptr<IRemoteObject> &)> functor_;
|
/foundation/filemanagement/app_file_service/interfaces/inner_api/native/backup_kit_inner/impl/ |
H A D | svc_death_recipient.h | 26 void OnRemoteDied(const wptr<IRemoteObject> &object) override 33 explicit SvcDeathRecipient(std::function<void(const wptr<IRemoteObject> &)> functor) : functor_(functor) {}; in SvcDeathRecipient() 36 std::function<void(const wptr<IRemoteObject> &)> functor_;
|
/foundation/filemanagement/app_file_service/services/backup_sa/include/module_sched/ |
H A D | sched_scheduler.h | 78 explicit SchedScheduler(wptr<Service> reversePtr, wptr<SvcSessionManager> sessionPtr) in SchedScheduler() 97 wptr<Service> reversePtr_; 98 wptr<SvcSessionManager> sessionPtr_;
|
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/ |
H A D | egl_bundle_mgr_helper.h | 46 const std::function<void(const wptr<IRemoteObject>& object)>& deathCallback); 49 void OnRemoteDied(const wptr<IRemoteObject>& object) override; 52 std::function<void (const wptr<IRemoteObject>& object)> deathCallback_;
|
/foundation/resourceschedule/background_task_mgr/services/transient_task/include/ |
H A D | bg_transient_task_mgr.h | 74 void HandleExpiredCallbackDeath(const wptr<IRemoteObject>& remote); 75 void HandleSubscriberDeath(const wptr<IRemoteObject>& remote); 120 explicit SubscriberDeathRecipient(const wptr<BackgroundTaskMgrService>& service); 123 void OnRemoteDied(const wptr<IRemoteObject>& remote) override; 126 wptr<BackgroundTaskMgrService> service_; 131 explicit ExpiredCallbackDeathRecipient(const wptr<BackgroundTaskMgrService>& service); 134 void OnRemoteDied(const wptr<IRemoteObject>& remote) override; 137 wptr<BackgroundTaskMgrService> service_;
|