Home
last modified time | relevance | path

Searched defs:dataObserver (Results 1 – 25 of 73) sorted by relevance

123

/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/media_notification_test/src/
Dnotification_distribution_test.cpp73 sptr<IDataAbilityObserver> dataObserver = new (std::nothrow) IDataAbilityObserverTest(); variable
95 sptr<IDataAbilityObserver> dataObserver = new (std::nothrow) IDataAbilityObserverTest(); variable
113 sptr<IDataAbilityObserver> dataObserver = new (std::nothrow) IDataAbilityObserverTest(); variable
131 sptr<IDataAbilityObserver> dataObserver = new (std::nothrow) IDataAbilityObserverTest(); variable
150 sptr<IDataAbilityObserver> dataObserver = new (std::nothrow) IDataAbilityObserverTest(); variable
168 sptr<IDataAbilityObserver> dataObserver = new (std::nothrow) IDataAbilityObserverTest(); variable
186 sptr<IDataAbilityObserver> dataObserver = new (std::nothrow) IDataAbilityObserverTest(); variable
211 sptr<IDataAbilityObserver> dataObserver = new (std::nothrow) IDataAbilityObserverTest(); variable
232 sptr<IDataAbilityObserver> dataObserver = new (std::nothrow) IDataAbilityObserverTest(); variable
256 sptr<IDataAbilityObserver> dataObserver = new (std::nothrow) IDataAbilityObserverTest(); variable
[all …]
/foundation/ability/ability_runtime/services/dataobsmgr/src/
Ddataobs_mgr_inner_ext.cpp31 Status DataObsMgrInnerExt::HandleRegisterObserver(Uri &uri, sptr<IDataAbilityObserver> dataObserver, in HandleRegisterObserver()
56 …tus DataObsMgrInnerExt::HandleUnregisterObserver(Uri &uri, sptr<IDataAbilityObserver> dataObserver) in HandleUnregisterObserver()
73 Status DataObsMgrInnerExt::HandleUnregisterObserver(sptr<IDataAbilityObserver> dataObserver) in HandleUnregisterObserver()
132 const sptr<IRemoteObject> &dataObserver) in AddObsDeathRecipient()
157 void DataObsMgrInnerExt::RemoveObsDeathRecipient(const sptr<IRemoteObject> &dataObserver, bool isFo… in RemoveObsDeathRecipient()
176 auto dataObserver = remote.promote(); in OnCallBackDied() local
264 sptr<IDataAbilityObserver> dataObserver) in RemoveObserver()
284 bool DataObsMgrInnerExt::Node::RemoveObserver(sptr<IRemoteObject> dataObserver) in RemoveObserver()
303 inline bool DataObsMgrInnerExt::Node::RemoveObserver(sptr<IDataAbilityObserver> dataObserver) in RemoveObserver()
Ddataobs_mgr_inner_pref.cpp139 void DataObsMgrInnerPref::AddObsDeathRecipient(sptr<IDataAbilityObserver> dataObserver) in AddObsDeathRecipient()
165 void DataObsMgrInnerPref::RemoveObsDeathRecipient(sptr<IRemoteObject> dataObserver) in RemoveObsDeathRecipient()
181 auto dataObserver = remote.promote(); in OnCallBackDied() local
195 void DataObsMgrInnerPref::RemoveObs(sptr<IRemoteObject> dataObserver) in RemoveObs()
215 bool DataObsMgrInnerPref::HaveRegistered(sptr<IDataAbilityObserver> dataObserver) in HaveRegistered()
Ddataobs_mgr_inner.cpp146 void DataObsMgrInner::AddObsDeathRecipient(sptr<IDataAbilityObserver> dataObserver) in AddObsDeathRecipient()
172 void DataObsMgrInner::RemoveObsDeathRecipient(sptr<IRemoteObject> dataObserver) in RemoveObsDeathRecipient()
188 auto dataObserver = remote.promote(); in OnCallBackDied() local
203 void DataObsMgrInner::RemoveObs(sptr<IRemoteObject> dataObserver) in RemoveObs()
223 bool DataObsMgrInner::HaveRegistered(sptr<IDataAbilityObserver> dataObserver) in HaveRegistered()
Ddataobs_mgr_proxy.cpp35 …agerProxy::WriteParam(MessageParcel &data, const Uri &uri, sptr<IDataAbilityObserver> dataObserver) in WriteParam()
68 sptr<IDataAbilityObserver> dataObserver, int32_t userId, DataObsOption opt) in RegisterObserver()
100 sptr<IDataAbilityObserver> dataObserver, int32_t userId, in RegisterObserverFromExtension()
132 …_t DataObsManagerProxy::UnregisterObserver(const Uri &uri, sptr<IDataAbilityObserver> dataObserver, in UnregisterObserver()
253 …s DataObsManagerProxy::RegisterObserverExt(const Uri &uri, sptr<IDataAbilityObserver> dataObserver, in RegisterObserverExt()
288 …DataObsManagerProxy::UnregisterObserverExt(const Uri &uri, sptr<IDataAbilityObserver> dataObserver, in UnregisterObserverExt()
316 Status DataObsManagerProxy::UnregisterObserverExt(sptr<IDataAbilityObserver> dataObserver, DataObsO… in UnregisterObserverExt()
Ddataobs_mgr_client.cpp104 ErrCode DataObsMgrClient::RegisterObserver(const Uri &uri, sptr<IDataAbilityObserver> dataObserver,… in RegisterObserver()
123 …bsMgrClient::RegisterObserverFromExtension(const Uri &uri, sptr<IDataAbilityObserver> dataObserver, in RegisterObserverFromExtension()
154 …ode DataObsMgrClient::UnregisterObserver(const Uri &uri, sptr<IDataAbilityObserver> dataObserver, … in UnregisterObserver()
252 …atus DataObsMgrClient::RegisterObserverExt(const Uri &uri, sptr<IDataAbilityObserver> dataObserver, in RegisterObserverExt()
270 …us DataObsMgrClient::UnregisterObserverExt(const Uri &uri, sptr<IDataAbilityObserver> dataObserver, in UnregisterObserverExt()
290 Status DataObsMgrClient::UnregisterObserverExt(sptr<IDataAbilityObserver> dataObserver, DataObsOpti… in UnregisterObserverExt()
Ddataobs_mgr_service.cpp109 …uct ObserverNode> DataObsMgrService::ConstructObserverNode(sptr<IDataAbilityObserver> dataObserver, in ConstructObserverNode()
243 int32_t DataObsMgrService::RegisterObserver(const Uri &uri, sptr<IDataAbilityObserver> dataObserver, in RegisterObserver()
249 …sMgrService::RegisterObserverFromExtension(const Uri &uri, sptr<IDataAbilityObserver> dataObserver, in RegisterObserverFromExtension()
303 …t DataObsMgrService::RegisterObserverInner(const Uri &uri, sptr<IDataAbilityObserver> dataObserver, in RegisterObserverInner()
359 int DataObsMgrService::UnregisterObserver(const Uri &uri, sptr<IDataAbilityObserver> dataObserver, … in UnregisterObserver()
475 …tus DataObsMgrService::RegisterObserverExt(const Uri &uri, sptr<IDataAbilityObserver> dataObserver, in RegisterObserverExt()
509 …s DataObsMgrService::UnregisterObserverExt(const Uri &uri, sptr<IDataAbilityObserver> dataObserver, in UnregisterObserverExt()
531 Status DataObsMgrService::UnregisterObserverExt(sptr<IDataAbilityObserver> dataObserver, DataObsOpt… in UnregisterObserverExt()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/media_notification_register_manager_test/src/
Dmedia_notification_register_manager_test.cpp65 sptr<IDataAbilityObserver> dataObserver = new (std::nothrow) IDataAbilityObserverTest(); variable
90 sptr<IDataAbilityObserver> dataObserver = new (std::nothrow) IDataAbilityObserverTest(); variable
115 sptr<IDataAbilityObserver> dataObserver = new (std::nothrow) IDataAbilityObserverTest(); variable
150 sptr<IDataAbilityObserver> dataObserver = new (std::nothrow) IDataAbilityObserverTest(); variable
187 sptr<IDataAbilityObserver> dataObserver = new (std::nothrow) IDataAbilityObserverTest(); variable
219 sptr<IDataAbilityObserver> dataObserver = new (std::nothrow) IDataAbilityObserverTest(); variable
256 sptr<IDataAbilityObserver> dataObserver = new (std::nothrow) IDataAbilityObserverTest(); variable
/foundation/distributeddatamgr/preferences/frameworks/native/mock/ability_runtime/dataobs_manager/src/
Ddataobs_mgr_client.cpp33 int DataObsMgrClient::RegisterObserver(const Uri &uri, sptr<IDataAbilityObserver> dataObserver) in RegisterObserver()
38 int DataObsMgrClient::UnregisterObserver(const Uri &uri, sptr<IDataAbilityObserver> dataObserver) in UnregisterObserver()
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/mock/
Ddatashare_helper.cpp54 …DataShareHelper::RegisterObserver(const Uri &uri, const sptr<AAFwk::IDataAbilityObserver> &dataObs… in RegisterObserver()
59 …taShareHelper::UnregisterObserver(const Uri &uri, const sptr<AAFwk::IDataAbilityObserver> &dataObs… in UnregisterObserver()
/foundation/distributeddatamgr/data_share/test/unittest/native/consumer/src/
Ddatashare_connection_test.cpp129 …sptr<IDataAbilityObserverTest> dataObserver = new (std::nothrow) IDataAbilityObserverTest(DATA_SHA… variable
164 …sptr<IDataAbilityObserverTest> dataObserver = new (std::nothrow) IDataAbilityObserverTest(DATA_SHA… variable
210 …sptr<IDataAbilityObserverTest> dataObserver = new (std::nothrow) IDataAbilityObserverTest(DATA_SHA… variable
253 …sptr<IDataAbilityObserverTest> dataObserver = new (std::nothrow) IDataAbilityObserverTest(DATA_SHA… variable
/foundation/distributeddatamgr/data_share/frameworks/native/provider/src/
Ddatashare_ext_ability.cpp128 …ShareExtAbility::RegisterObserver(const Uri &uri, const sptr<AAFwk::IDataAbilityObserver> &dataObs… in RegisterObserver()
133 …areExtAbility::UnregisterObserver(const Uri &uri, const sptr<AAFwk::IDataAbilityObserver> &dataObs… in UnregisterObserver()
144 const sptr<AAFwk::IDataAbilityObserver> &dataObserver, bool isDescendants) in RegisterObserverExtProvider()
150 const sptr<AAFwk::IDataAbilityObserver> &dataObserver) in UnregisterObserverExtProvider()
/foundation/distributeddatamgr/data_share/test/native/unittest/mediadatashare_test/src/
Ddatashare_connection_test.cpp138 …sptr<IDataAbilityObserverTest> dataObserver = new (std::nothrow) IDataAbilityObserverTest(DATA_SHA… variable
182 …sptr<IDataAbilityObserverTest> dataObserver = new (std::nothrow) IDataAbilityObserverTest(DATA_SHA… variable
236 …sptr<IDataAbilityObserverTest> dataObserver = new (std::nothrow) IDataAbilityObserverTest(DATA_SHA… variable
287 …sptr<IDataAbilityObserverTest> dataObserver = new (std::nothrow) IDataAbilityObserverTest(DATA_SHA… variable
Ddatashare_stub_test.cpp99 bool RegisterObserver(const Uri &uri, const sptr<AAFwk::IDataAbilityObserver> &dataObserver) in RegisterObserver()
103 bool UnregisterObserver(const Uri &uri, const sptr<AAFwk::IDataAbilityObserver> &dataObserver) in UnregisterObserver()
154 sptr<IDataAbilityObserverTest> dataObserver = new (std::nothrow) IDataAbilityObserverTest(); variable
197 sptr<IDataAbilityObserverTest> dataObserver = new (std::nothrow) IDataAbilityObserverTest(); variable
/foundation/multimedia/media_library/services/media_notification/src/register_manager/
Dmedia_observer_manager.cpp48 const sptr<AAFwk::IDataAbilityObserver> &dataObserver, bool isReconnect) in AddObserver()
158 const sptr<AAFwk::IDataAbilityObserver> &dataObserver) in RemoveObserverWithUri()
195 const sptr<AAFwk::IDataAbilityObserver> &dataObserver) in ExeForReconnect()
/foundation/distributeddatamgr/data_share/frameworks/native/consumer/controller/provider/src/
Dgeneral_controller_provider_impl.cpp136 const sptr<AAFwk::IDataAbilityObserver> &dataObserver) in RegisterObserver()
156 const sptr<AAFwk::IDataAbilityObserver> &dataObserver) in UnregisterObserver()
192 const sptr<AAFwk::IDataAbilityObserver> &dataObserver, bool isDescendants) in RegisterObserverExtProvider()
217 const sptr<AAFwk::IDataAbilityObserver> &dataObserver) in UnregisterObserverExtProvider()
/foundation/multimedia/media_library/frameworks/ani/src/cpp/
Duserfile_client.cpp179 … UserFileClient::RegisterObserver(const Uri &uri, const sptr<AAFwk::IDataAbilityObserver> &dataObs… in RegisterObserver()
188 …serFileClient::UnregisterObserver(const Uri &uri, const sptr<AAFwk::IDataAbilityObserver> &dataObs… in UnregisterObserver()
217 shared_ptr<DataShare::DataShareObserver> dataObserver, bool isDescendants) in RegisterObserverExt()
226 …eClient::UnregisterObserverExt(const Uri &uri, std::shared_ptr<DataShare::DataShareObserver> dataO… in UnregisterObserverExt()
/foundation/distributeddatamgr/data_share/test/unittest/native/provider/src/
Ddatashare_stub_test.cpp99 bool RegisterObserver(const Uri &uri, const sptr<AAFwk::IDataAbilityObserver> &dataObserver) in RegisterObserver()
103 bool UnregisterObserver(const Uri &uri, const sptr<AAFwk::IDataAbilityObserver> &dataObserver) in UnregisterObserver()
144 sptr<IDataAbilityObserverTest> dataObserver = new (std::nothrow) IDataAbilityObserverTest(); variable
177 sptr<IDataAbilityObserverTest> dataObserver = new (std::nothrow) IDataAbilityObserverTest(); variable
/foundation/distributeddatamgr/data_share/frameworks/native/consumer/controller/service/src/
Dgeneral_controller_service_impl.cpp200 const sptr<AAFwk::IDataAbilityObserver> &dataObserver) in RegisterObserver()
221 const sptr<AAFwk::IDataAbilityObserver> &dataObserver) in UnregisterObserver()
247 const sptr<AAFwk::IDataAbilityObserver> &dataObserver, bool isDescendants) in RegisterObserverExtProvider()
254 const sptr<AAFwk::IDataAbilityObserver> &dataObserver) in UnregisterObserverExtProvider()
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
Ddata_ability_helper_impl_test.cpp1532 const sptr<AAFwk::IDataAbilityObserver> dataObserver; variable
1554 const sptr<AAFwk::IDataAbilityObserver> dataObserver; variable
1576 …const sptr<AAFwk::IDataAbilityObserver> dataObserver = new (std::nothrow) MolDataAbilityObserver(); variable
1597 const sptr<AAFwk::IDataAbilityObserver> dataObserver; variable
1619 const sptr<AAFwk::IDataAbilityObserver> dataObserver; variable
1640 const sptr<AAFwk::IDataAbilityObserver> dataObserver; variable
1663 const sptr<AAFwk::IDataAbilityObserver> dataObserver; variable
1686 const sptr<AAFwk::IDataAbilityObserver> dataObserver; variable
1711 const sptr<AAFwk::IDataAbilityObserver> dataObserver; variable
1732 const sptr<AAFwk::IDataAbilityObserver> dataObserver; variable
[all …]
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/aakit/include/
Dability_scheduler.h84 …irtual bool ScheduleRegisterObserver(const Uri& uri, const sptr<IDataAbilityObserver>& dataObserve… in ScheduleRegisterObserver()
88 …tual bool ScheduleUnregisterObserver(const Uri& uri, const sptr<IDataAbilityObserver>& dataObserve… in ScheduleUnregisterObserver()
/foundation/multimedia/media_library/frameworks/js/src/
Duserfile_client.cpp332 … UserFileClient::RegisterObserver(const Uri &uri, const sptr<AAFwk::IDataAbilityObserver> &dataObs… in RegisterObserver()
341 …serFileClient::UnregisterObserver(const Uri &uri, const sptr<AAFwk::IDataAbilityObserver> &dataObs… in UnregisterObserver()
381 shared_ptr<DataShare::DataShareObserver> dataObserver, bool isDescendants) in RegisterObserverExt()
390 …eClient::UnregisterObserverExt(const Uri &uri, std::shared_ptr<DataShare::DataShareObserver> dataO… in UnregisterObserverExt()
493 std::shared_ptr<DataShare::DataShareObserver> dataObserver, bool isDescendants) in RegisterObserverExtProvider()
504 std::shared_ptr<DataShare::DataShareObserver> dataObserver) in UnregisterObserverExtProvider()
/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/sync_rule/
Dsettings_data_manager.cpp275 sptr<SettingsDataObserver> dataObserver(new (std::nothrow) SettingsDataObserver(key)); in RegisterObserver() local
282 …taManager::RegisterObserver(const std::string &key, sptr<AAFwk::DataAbilityObserverStub> dataObser… in RegisterObserver()
308 sptr<SettingsDataObserver> dataObserver(new (std::nothrow) SettingsDataObserver(key)); in UnregisterObserver() local
/foundation/communication/nfc/services/src/card_emulation/
Dsetting_data_share_impl.cpp30const sptr<AAFwk::IDataAbilityObserver>& dataObserver) in RegisterDataObserver()
48const sptr<AAFwk::IDataAbilityObserver>& dataObserver) in ReleaseDataObserver()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
Dmedia_datashare_stub_impl.cpp152 …taShareStubImpl::RegisterObserver(const Uri &uri, const sptr<AAFwk::IDataAbilityObserver> &dataObs… in RegisterObserver()
164 …ShareStubImpl::UnregisterObserver(const Uri &uri, const sptr<AAFwk::IDataAbilityObserver> &dataObs… in UnregisterObserver()
177const sptr<AAFwk::IDataAbilityObserver> &dataObserver, bool isDescendants, RegisterOption option) in RegisterObserverExtProvider()
194 const sptr<AAFwk::IDataAbilityObserver> &dataObserver) in UnregisterObserverExtProvider()

123