Home
last modified time | relevance | path

Searched refs:wptr (Results 1 - 25 of 886) sorted by relevance

12345678910>>...36

/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Drefbase.h262 // 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 Drefbase.h155 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 Dability_death_recipient.cpp23 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 Dcamera_privacy.h32 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 Dability_death_recipient.h24 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 Dpicture_in_picture_manager.h39 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 Dmonitor_server.h37 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 Dext_extension.h224 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 Dbms_bundle_mgr_service_death_recipient_test.cpp51 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 Dext_extension_mock.h63 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 Dbundle_mgr_service_death_recipient.h27 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 Devent_filter_death_recipient.h26 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 Danco_channel_death_recipient.h28 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 Dmultimodal_input_connect_death_recipient.h26 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 Dinput_binder_client_death_recipient.h27 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 Dremote_death_recipient.h27 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 Dremote_death_recipient.h27 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 Dremote_death_recipient.h27 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 Dsvc_death_recipient_lite.h27 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 Dsvc_death_recipient.h26 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 Dsvc_death_recipient.h26 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 Dsvc_death_recipient.h26 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 Dsched_scheduler.h78 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 Degl_bundle_mgr_helper.h46 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 Dbg_transient_task_mgr.h74 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_;

Completed in 13 milliseconds

12345678910>>...36