Home
last modified time | relevance | path

Searched refs:ObserverImpl (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/consumer/src/
H A Ddatashare_helper.cpp36 class ObserverImpl : public AAFwk::DataAbilityObserverStub { class
49 sptr<ObserverImpl> obs_;
56 ConcurrentMap<DataShareObserver *, ObserverImpl::ObserverParam> ObserverImpl::observers_;
228 sptr<ObserverImpl> obs = ObserverImpl::GetObserver(uri, dataObserver); in RegisterObserverExt()
235 ObserverImpl::DeleteObserver(uri, dataObserver); in RegisterObserverExt()
259 if (!ObserverImpl::FindObserver(uri, dataObserver)) { in UnregisterObserverExt()
264 sptr<ObserverImpl> obs = ObserverImpl::GetObserver(uri, dataObserver); in UnregisterObserverExt()
275 ObserverImpl::DeleteObserver(uri, dataObserver); in UnregisterObserverExt()
295 void ObserverImpl::OnChange() {} in OnChange()
324 sptr<ObserverImpl> ObserverImpl::GetObserver(const Uri& uri, const std::shared_ptr<DataShareObserve… in GetObserver()
[all …]
/ohos5.0/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudfilesync/
H A Dcloud_sync_napi.cpp38 class ObserverImpl : public AAFwk::DataAbilityObserverStub { class
50 sptr<ObserverImpl> obs_;
57 ConcurrentMap<CloudNotifyObserver *, ObserverImpl::ObserverParam> ObserverImpl::observers_;
59 void ObserverImpl::OnChange() {} in OnChange()
61 void ObserverImpl::OnChangeExt(const AAFwk::ChangeInfo &info) in OnChangeExt()
70 sptr<ObserverImpl> ObserverImpl::GetObserver(const Uri &uri, const shared_ptr<CloudNotifyObserver> … in GetObserver()
73 sptr<ObserverImpl> result = nullptr; in GetObserver()
479 sptr<ObserverImpl> obs = ObserverImpl::GetObserver(uri, observer); in RegisterToObs()
487 ObserverImpl::DeleteObserver(uri, observer); in RegisterToObs()
563 sptr<ObserverImpl> obs = ObserverImpl::GetObserver(Uri(uri), observer); in UnregisterFromObs()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_avrcp_tg_server.cpp47 class ObserverImpl : public IProfileAvrcpTg::IObserver { class
49 explicit ObserverImpl(BluetoothAvrcpTgServer::impl *impl) : impl_(impl) {} in ObserverImpl() function in OHOS::Bluetooth::BluetoothAvrcpTgServer::impl::ObserverImpl
50 virtual ~ObserverImpl() {} in ~ObserverImpl()
68 observer_ = std::make_unique<ObserverImpl>(this); in impl()
113 observer_ = std::make_unique<ObserverImpl>(this); in OnSystemStateChange()
147 std::unique_ptr<ObserverImpl> observer_;
H A Dbluetooth_avrcp_ct_server.cpp49 class ObserverImpl : public IProfileAvrcpCt::IObserver { class
51 explicit ObserverImpl(BluetoothAvrcpCtServer::impl *impl) : impl_(impl) in ObserverImpl() function in OHOS::Bluetooth::BluetoothAvrcpCtServer::impl::ObserverImpl
53 virtual ~ObserverImpl() in ~ObserverImpl()
247 observer_ = std::make_unique<ObserverImpl>(this); in impl()
292 observer_ = std::make_unique<ObserverImpl>(this); in OnSystemStateChange()
754 std::unique_ptr<ObserverImpl> observer_;
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/
H A Davrcp_tg_service.cpp35 void AvrcpTgService::ObserverImpl::OnConnectionStateChanged(const std::string &addr, int state) in OnConnectionStateChanged()
40 void AvrcpTgService::ObserverImpl::OnPressButton(const std::string &addr, uint8_t button) in OnPressButton()
45 void AvrcpTgService::ObserverImpl::OnReleaseButton(const std::string &addr, uint8_t button) in OnReleaseButton()
74 void AvrcpTgService::ObserverImpl::OnGetPlayerAppSettingAttributes( in OnGetPlayerAppSettingAttributes()
86 void AvrcpTgService::ObserverImpl::OnGetPlayerAppSettingValues( in OnGetPlayerAppSettingValues()
133 void AvrcpTgService::ObserverImpl::OnGetPlayerAppSettingValueText(const std::string &addr, in OnGetPlayerAppSettingValueText()
145 void AvrcpTgService::ObserverImpl::OnGetElementAttributes(const std::string &addr, in OnGetElementAttributes()
256 void AvrcpTgService::ObserverImpl::OnGetTotalNumberOfItems( in OnGetTotalNumberOfItems()
292 void AvrcpTgService::ObserverImpl::OnGetAddressedPlayer( in OnGetAddressedPlayer()
326 IProfileAvrcpTg *AvrcpTgService::ObserverImpl::GetService(void) in GetService()
[all …]
H A Davrcp_tg_service.h56 class ObserverImpl : public stub::MediaService::IObserver {
61 ObserverImpl() = default;
66 ~ObserverImpl() = default;
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_avrcp_tg.cpp42 class ObserverImpl : public BluetoothAvrcpTgObserverStub { class
44 explicit ObserverImpl(AvrcpTarget::impl *impl) : impl_(impl) in ObserverImpl() function in OHOS::Bluetooth::AvrcpTarget::impl::ObserverImpl
46 ~ObserverImpl() override = default;
64 observer_ = new (std::nothrow) ObserverImpl(this); in impl()
95 sptr<ObserverImpl> observer_;
H A Dbluetooth_avrcp_ct.cpp51 class ObserverImpl : public BluetoothAvrcpCtObserverStub { class
53 explicit ObserverImpl(AvrcpController::impl *impl) : impl_(impl) in ObserverImpl() function in OHOS::Bluetooth::AvrcpController::impl::ObserverImpl
55 ~ObserverImpl() override = default;
886 sptr<ObserverImpl> observer_;
892 observer_ = new (std::nothrow) ObserverImpl(this); in impl()