Home
last modified time | relevance | path

Searched defs:observer (Results 1 – 25 of 569) sorted by relevance

12345678910>>...23

/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dability_lifecycle_test.cpp96 std::shared_ptr<MockLifecycleObserver> observer = std::make_shared<MockLifecycleObserver>(); variable
113 std::shared_ptr<MockLifecycleObserver> observer = std::make_shared<MockLifecycleObserver>(); variable
131 std::shared_ptr<MockLifecycleObserver> observer = std::make_shared<MockLifecycleObserver>(); variable
150 std::shared_ptr<MockLifecycleObserver> observer = std::make_shared<MockLifecycleObserver>(); variable
168 std::shared_ptr<MockLifecycleObserver> observer = std::make_shared<MockLifecycleObserver>(); variable
186 std::shared_ptr<MockLifecycleObserver> observer = std::make_shared<MockLifecycleObserver>(); variable
204 std::shared_ptr<MockLifecycleObserver> observer = std::make_shared<MockLifecycleObserver>(); variable
222 std::shared_ptr<MockLifecycleObserver> observer = std::make_shared<MockLifecycleObserver>(); variable
240 std::shared_ptr<MockLifecycleObserver> observer = std::make_shared<MockLifecycleObserver>(); variable
258 std::shared_ptr<MockLifecycleObserver> observer = std::make_shared<MockLifecycleObserver>(); variable
[all …]
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/
H A Dapp_state_observer_test.cpp56 AppStateObserver observer; variable
75 AppStateObserver observer; variable
90 AppStateObserver observer; variable
116 AppStateObserver observer; variable
133 AppStateObserver observer; variable
150 AppStateObserver observer; variable
169 AppStateObserver observer; variable
186 AppStateObserver observer; variable
228 AppStateObserver observer; variable
/ohos5.0/foundation/ability/ability_runtime/tools/test/unittest/ability_delegator/
H A Dtest_observer_test.cpp66 void TestObserverTest::thfunc(TestObserver& observer) in thfunc()
82 TestObserver observer; variable
95 TestObserver observer; variable
107 TestObserver observer; variable
122 TestObserver observer; variable
136 std::shared_ptr<TestObserver> observer = std::make_shared<TestObserver>(); variable
/ohos5.0/base/telephony/call_manager/services/call/src/
H A Dcall_state_listener.cpp32 bool CallStateListener::AddOneObserver(const std::shared_ptr<CallStateListenerBase> &observer) in AddOneObserver()
46 bool CallStateListener::RemoveOneObserver(const std::shared_ptr<CallStateListenerBase> &observer) in RemoveOneObserver()
71 for (auto &observer : listenerSet_) { in NewCallCreated() local
79 for (auto &observer : listenerSet_) { in CallDestroyed() local
92 for (auto &observer : listenerSet_) { in CallStateUpdated() local
104 for (auto &observer : listenerSet_) { in IncomingCallHungUp() local
116 for (auto &observer : listenerSet_) { in IncomingCallActivated() local
124 for (auto &observer : listenerSet_) { in CallEventUpdated() local
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dability_first_frame_state_observer_manager.cpp29 const sptr<IAbilityFirstFrameStateObserver> &observer, const std::string &targetBundleName) in AddAbilityFirstFrameStateObserver()
50 …d AbilityFirstFrameStateObserverSet::AddObserverDeathRecipient(const sptr<IRemoteBroker> &observer) in AddObserverDeathRecipient()
68 …sptr<IAbilityFirstFrameStateObserver> observer = iface_cast<IAbilityFirstFrameStateObserver>(objec… in AddObserverDeathRecipient() local
85 const sptr<IAbilityFirstFrameStateObserver> &observer) in RemoveAbilityFirstFrameStateObserver()
100 …bilityFirstFrameStateObserverSet::RemoveObserverDeathRecipient(const sptr<IRemoteBroker> &observer) in RemoveObserverDeathRecipient()
156 const sptr<IAbilityFirstFrameStateObserver> &observer, const std::string &targetBundleName) in RegisterAbilityFirstFrameStateObserver()
176 const sptr<IAbilityFirstFrameStateObserver> &observer) in UnregisterAbilityFirstFrameStateObserver()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/render_state_observer_manager_test/
H A Drender_state_observer_manager_test.cpp85 sptr<IRenderStateObserver> observer = new MockRenderStateObserver(); variable
98 sptr<IRenderStateObserver> observer = new MockRenderStateObserver(); variable
111 sptr<IRenderStateObserver> observer = new MockRenderStateObserver(); variable
124 sptr<IRenderStateObserver> observer = new MockRenderStateObserver(); variable
151 sptr<IRenderStateObserver> observer = new MockRenderStateObserver(); variable
164 sptr<IRenderStateObserver> observer = new MockRenderStateObserver(); variable
178 sptr<IRenderStateObserver> observer = new MockRenderStateObserver(); variable
238 sptr<IRenderStateObserver> observer = new MockRenderStateObserver(); variable
/ohos5.0/drivers/hdf_core/framework/core/host/src/
H A Dhdf_service_observer.c18 bool HdfServiceObserverConstruct(struct HdfServiceObserver *observer) in HdfServiceObserverConstruct()
31 void HdfServiceObserverDestruct(struct HdfServiceObserver *observer) in HdfServiceObserverDestruct()
40struct HdfServiceObserver *observer, const char *svcName, devid_t deviceId, struct SubscriberCallb… in HdfServiceObserverSubscribeService()
84 int HdfServiceObserverPublishService(struct HdfServiceObserver *observer, const char *svcName, devi… in HdfServiceObserverPublishService()
114 void HdfServiceObserverRemoveRecord(struct HdfServiceObserver *observer, const char *svcName) in HdfServiceObserverRemoveRecord()
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/connectionobs_manager/src/
H A Dconnection_observer_client_impl.cpp26 …2_t ConnectionObserverClientImpl::RegisterObserver(const std::shared_ptr<ConnectionObserver> &obse… in RegisterObserver()
44 …t ConnectionObserverClientImpl::UnregisterObserver(const std::shared_ptr<ConnectionObserver> &obse… in UnregisterObserver()
90 auto observer = *it; in HandleExtensionConnected() local
101 auto observer = *it; in HandleExtensionDisconnected() local
113 auto observer = *it; in HandleDlpAbilityOpened() local
124 auto observer = *it; in HandleDlpAbilityClosed() local
172 …t ConnectionObserverClientImpl::AddObserversLocked(const std::shared_ptr<ConnectionObserver> &obse… in AddObserversLocked()
182 …onnectionObserverClientImpl::RemoveObserversLocked(const std::shared_ptr<ConnectionObserver> &obse… in RemoveObserversLocked()
269 auto observer = *it; in NotifyServiceDiedToObservers() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dvalue_change_notifier.h52 void AddObserver(const WeakPtr<ValueChangeObserver>& observer) in AddObserver()
57 void RemoveObserver(const WeakPtr<ValueChangeObserver>& observer) in RemoveObserver()
99 const auto& observer = iter->Upgrade(); variable
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/include/
H A Dbluetooth_observer_list.h55 bool BluetoothObserverList<T>::Register(std::shared_ptr<T> &observer) in Register()
68 bool BluetoothObserverList<T>::Deregister(std::shared_ptr<T> &observer) in Deregister()
82 void BluetoothObserverList<T>::ForEach(const std::function<void(std::shared_ptr<T>)> &observer) in ForEach()
H A Dbluetooth_observer_map.h63 bool BluetoothObserverMap<T>::Register(int handle, T observer) in Register()
84 bool BluetoothObserverMap<T>::Deregister(T observer) in Deregister()
101 void BluetoothObserverMap<T>::ForEach(const std::function<void(uint8_t, T)> &observer, int handle) in ForEach()
112 uint8_t BluetoothObserverMap<T>::GetAdvertiserHandle(T observer) in GetAdvertiserHandle()
162 bool BluetoothObserverMap<T>::IsExistAdvertiserCallback(T observer, int &handle) in IsExistAdvertiserCallback()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/test/unittest/
H A Dlocal_subscribe_device_store_test.cpp161 auto observer = std::make_shared<DeviceObserverTest>(); variable
182 std::shared_ptr<DeviceObserverTest> observer = nullptr; variable
197 auto observer = std::make_shared<DeviceObserverTest>(); variable
223 auto observer = std::make_shared<DeviceObserverTest>(); variable
289 auto observer = std::make_shared<DeviceObserverTest>(); variable
332 auto observer = std::make_shared<DeviceObserverTest>(); variable
367 auto observer = std::make_shared<DeviceObserverTest>(); variable
402 auto observer = std::make_shared<DeviceObserverTest>(); variable
449 auto observer = std::make_shared<DeviceObserverTest>(); variable
496 auto observer = std::make_shared<DeviceObserverTest>(); variable
[all …]
H A Dlocal_subscribe_store_test.cpp171 auto observer = std::make_shared<KvStoreObserverUnitTest>(); variable
194 std::shared_ptr<KvStoreObserverUnitTest> observer = nullptr; variable
209 auto observer = std::make_shared<KvStoreObserverUnitTest>(); variable
236 auto observer = std::make_shared<KvStoreObserverUnitTest>(); variable
302 auto observer = std::make_shared<KvStoreObserverUnitTest>(); variable
345 auto observer = std::make_shared<KvStoreObserverUnitTest>(); variable
380 auto observer = std::make_shared<KvStoreObserverUnitTest>(); variable
414 auto observer = std::make_shared<KvStoreObserverUnitTest>(); variable
461 auto observer = std::make_shared<KvStoreObserverUnitTest>(); variable
508 auto observer = std::make_shared<KvStoreObserverUnitTest>(); variable
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/base/
H A Dbase_observer_list.h50 bool BaseObserverList<T>::Register(T &observer) in Register()
64 bool BaseObserverList<T>::Deregister(T &observer) in Deregister()
78 void BaseObserverList<T>::ForEach(const std::function<void(T &)> &observer) in ForEach()
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/ui_extension_ability_test/ui_extension_stability_test/
H A Dui_extension_stability_test.cpp135 …nsionStabilityTest::RegisterApplicationStateObserver(const sptr<IApplicationStateObserver> &observ… in RegisterApplicationStateObserver()
146 …ionStabilityTest::UnregisterApplicationStateObserver(const sptr<IApplicationStateObserver> &observ… in UnregisterApplicationStateObserver()
154 …xtensionStabilityTest::WaitUntilProcessCreated(const sptr<UIExtensionConnectModuleTestObserver> &o… in WaitUntilProcessCreated()
165 …UIExtensionStabilityTest::WaitUntilProcessDied(const sptr<UIExtensionConnectModuleTestObserver> &o… in WaitUntilProcessDied()
176 … UIExtensionStabilityTest::CheckProcessNotDied(const sptr<UIExtensionConnectModuleTestObserver> &o… in CheckProcessNotDied()
188 const sptr<UIExtensionConnectModuleTestObserver> &observer) in WaitUntilAbilityForeground()
200 const sptr<UIExtensionConnectModuleTestObserver> &observer) in WaitUntilAbilityBackground()
222 auto observer = sptr<UIExtensionConnectModuleTestObserver>::MakeSptr(); variable
254 auto observer = sptr<UIExtensionConnectModuleTestObserver>::MakeSptr(); variable
/ohos5.0/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/
H A Dmock_app_mgr_service.h119 …const AAFwk::Want &want, const sptr<IRemoteObject> &observer, const BundleInfo &bundleInfo, int32_… in StartUserTestProcess()
124 …irtual int32_t RegisterAppForegroundStateObserver(const sptr<IAbilityForegroundStateObserver> &obs… in RegisterAppForegroundStateObserver()
129 …al int32_t RegisterAbilityForegroundStateObserver(const sptr<IAbilityForegroundStateObserver> &obs… in RegisterAbilityForegroundStateObserver()
134 …tual int32_t UnregisterAppForegroundStateObserver(const sptr<IAbilityForegroundStateObserver> &obs… in UnregisterAppForegroundStateObserver()
139 … int32_t UnregisterAbilityForegroundStateObserver(const sptr<IAbilityForegroundStateObserver> &obs… in UnregisterAbilityForegroundStateObserver()
144 …virtual int32_t RegisterAppForegroundStateObserver(const sptr<IAppForegroundStateObserver> &observ… in RegisterAppForegroundStateObserver()
149 …irtual int32_t UnregisterAppForegroundStateObserver(const sptr<IAppForegroundStateObserver> &obser… in UnregisterAppForegroundStateObserver()
/ohos5.0/base/msdp/device_status/intention/cooperate/plugin/src/
H A Dcooperate_context.cpp116 void Context::AddObserver(std::shared_ptr<ICooperateObserver> observer) in AddObserver()
122 void Context::RemoveObserver(std::shared_ptr<ICooperateObserver> observer) in RemoveObserver()
260 return std::all_of(observers_.cbegin(), observers_.cend(), [](const auto &observer) { in IsAllowCooperate()
267 std::for_each(observers_.cbegin(), observers_.cend(), [&data](const auto &observer) { in OnStartCooperate()
274 std::for_each(observers_.cbegin(), observers_.cend(), [&data](const auto &observer) { in OnRemoteStartCooperate()
283 for (const auto &observer : observers_) { in OnTransitionOut() local
297 for (const auto &observer : observers_) { in OnTransitionIn() local
311 for (const auto &observer : observers_) { in OnBack() local
325 for (const auto &observer : observers_) { in OnRelayCooperation() local
339 for (const auto &observer : observers_) { in CloseDistributedFileConnection() local
[all …]
/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dsetting_provider_test.cpp99 sptr<SettingObserver> observer = nullptr; variable
112 auto observer = SettingProvider::GetInstance(POWER_MANAGER_SERVICE_ID).CreateObserver( variable
126 auto observer = SettingProvider::GetInstance(POWER_MANAGER_SERVICE_ID).CreateObserver( variable
142 auto observer = SettingProvider::GetInstance(POWER_MANAGER_SERVICE_ID).CreateObserver( variable
158 auto observer = SettingProvider::GetInstance(POWER_MANAGER_SERVICE_ID).CreateObserver( variable
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/account/test/
H A Daccount_delegate_test.cpp84 auto observer = std::make_shared<AccountObserver>(); variable
101 auto observer = std::make_shared<AccountObserver>(); variable
119 auto observer = std::make_shared<AccountObserver>(); variable
143 auto observer = std::make_shared<AccountObserver>(); variable
163 auto observer = std::make_shared<AccountObserver>(); variable
243 auto observer = std::make_shared<AccountObserver>(); variable
/ohos5.0/foundation/multimodalinput/input/intention/cooperate/plugin/src/
H A Dcooperate_context.cpp128 void Context::AddObserver(std::shared_ptr<ICooperateObserver> observer) in AddObserver()
134 void Context::RemoveObserver(std::shared_ptr<ICooperateObserver> observer) in RemoveObserver()
272 return std::all_of(observers_.cbegin(), observers_.cend(), [](const auto &observer) { in IsAllowCooperate()
279 std::for_each(observers_.cbegin(), observers_.cend(), [&data](const auto &observer) { in OnStartCooperate()
286 std::for_each(observers_.cbegin(), observers_.cend(), [&data](const auto &observer) { in OnRemoteStartCooperate()
295 for (const auto &observer : observers_) { in OnTransitionOut() local
309 for (const auto &observer : observers_) { in OnTransitionIn() local
323 for (const auto &observer : observers_) { in OnBack() local
337 for (const auto &observer : observers_) { in OnRelayCooperation() local
351 for (const auto &observer : observers_) { in CloseDistributedFileConnection() local
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/
H A Ddistributeddb_kv_observer_test.cpp116 KvStoreObserverImpl observer; variable
162 KvStoreObserverImpl observer; variable
279 KvStoreObserverImpl observer; variable
330 KvStoreObserverImpl observer; variable
385 KvStoreObserverImpl observer; variable
519 KvStoreObserverImpl observer; variable
560 KvStoreObserverImpl observer; variable
601 KvStoreObserverImpl observer; variable
637 KvStoreObserverImpl observer; variable
678 KvStoreObserverImpl observer; variable
[all …]
/ohos5.0/foundation/multimodalinput/input/intention/adapters/common_event_adapter/src/
H A Dcommon_event_adapter.cpp26 int32_t CommonEventAdapter::AddObserver(std::shared_ptr<ICommonEventObserver> observer) in AddObserver()
36 int32_t CommonEventAdapter::RemoveObserver(std::shared_ptr<ICommonEventObserver> observer) in RemoveObserver()
/ohos5.0/base/msdp/device_status/intention/adapters/common_event_adapter/src/
H A Dcommon_event_adapter.cpp26 int32_t CommonEventAdapter::AddObserver(std::shared_ptr<ICommonEventObserver> observer) in AddObserver()
36 int32_t CommonEventAdapter::RemoveObserver(std::shared_ptr<ICommonEventObserver> observer) in RemoveObserver()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/
H A Dapp_event_observer_dao.cpp62 int64_t AppEventObserverDao::Insert(const std::string& observer, int64_t hashCode) in Insert()
74 int64_t AppEventObserverDao::QuerySeq(const std::string& observer, int64_t hashCode) in QuerySeq()
98 int AppEventObserverDao::QuerySeqs(const std::string& observer, std::vector<int64_t>& observerSeqs) in QuerySeqs()
119 int AppEventObserverDao::Delete(const std::string& observer) in Delete()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_socket_server.cpp62 …t BluetoothSocketServer::DeregisterServerObserver(const sptr<IBluetoothServerSocketObserver> &obse… in DeregisterServerObserver()
69 const sptr<IBluetoothClientSocketObserver> &observer) in RegisterClientObserver()
75 const sptr<IBluetoothClientSocketObserver> &observer) in DeregisterClientObserver()

12345678910>>...23