Home
last modified time | relevance | path

Searched refs:GetObserver (Results 1 – 25 of 53) sorted by relevance

123

/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/mdns/src/
H A Dmdns_exec.cpp31 …ton<MDnsClient>::GetInstance()->RegisterService(context->GetServiceInfo(), context->GetObserver()); in ExecAddLocalService()
42 sptr<IRegistrationCallback> callback = context->GetObserver(); in ExecRemoveLocalService()
55 …eton<MDnsClient>::GetInstance()->ResolveService(context->GetServiceInfo(), context->GetObserver()); in ExecResolveLocalService()
62 sptr<IResolveCallback> callback = context->GetObserver(); in ExecResolveLocalService()
104 discover->GetObserver()->EmitStartDiscover(info, ret); in ExecStartSearchingMDNS()
127 discover->GetObserver()->EmitStopDiscover(info, ret); in ExecStopSearchingMDNS()
H A Dmdns_instances.cpp55 sptr<MDnsDiscoveryObserver> MDnsDiscoveryInstance::GetObserver() const in GetObserver() function in OHOS::NetManagerStandard::MDnsDiscoveryInstance
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dkvdb_watcher.cpp36 auto observer = GetObserver(); in OnChange()
57 auto observer = GetObserver(); in OnChange()
70 sptr<IKvStoreObserver> KVDBWatcher::GetObserver() const in GetObserver() function in OHOS::DistributedKv::KVDBWatcher
H A Dkvdb_watcher.h32 sptr<IKvStoreObserver> GetObserver() const;
/ohos5.0/foundation/communication/netmanager_base/frameworks/cj/connection/src/
H A Dnet_connection_impl.cpp57 sptr<INetConnCallback> callback = netConn_->GetObserver(); in RegisterCallback()
70 sptr<INetConnCallback> callback = netConn_->GetObserver(); in UnregisterCallback()
136 sptr<ConnectionCallbackObserver> NetConnectionImpl::GetObserver() const in GetObserver() function in OHOS::NetManagerStandard::NetConnectionImpl
/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_policy/
H A Dthermal_policy.cpp89 tms->GetObserver()->SetRegisterCallback(callback); in RegisterObserver()
188 if (tms->GetObserver() ==nullptr) { in FindSubscribeActionValue()
193 tms->GetObserver()->FindSubscribeActionValue(); in FindSubscribeActionValue()
241 tms->GetObserver()->UpdatePolicyState(levInfo); in PrintPolicyState()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/include/
H A Dremote_observer_list.h44 sptr<T> GetObserver() const in GetObserver() function
79 if (!dr->GetObserver()->AsObject()->RemoveDeathRecipient(dr)) { in ~RemoteObserverList()
186 if (!dr->GetObserver()->AsObject()->RemoveDeathRecipient(dr)) { in UnregisterInternal()
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/consumer/src/
H A Ddatashare_helper.cpp44 …static sptr<ObserverImpl> GetObserver(const Uri& uri, const std::shared_ptr<DataShareObserver> &ob…
228 sptr<ObserverImpl> obs = ObserverImpl::GetObserver(uri, dataObserver); in RegisterObserverExt()
264 sptr<ObserverImpl> obs = ObserverImpl::GetObserver(uri, dataObserver); in UnregisterObserverExt()
324 sptr<ObserverImpl> ObserverImpl::GetObserver(const Uri& uri, const std::shared_ptr<DataShareObserve… in GetObserver() function in OHOS::DataShare::ObserverImpl
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/
H A Dscroll_controller.h41 ScrollerObserver GetObserver() in GetObserver() function
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/mdns/include/contexts/
H A Dmdns_removelocalservice_context.h33 sptr<IRegistrationCallback> GetObserver();
H A Dmdns_addlocalservice_context.h36 sptr<IRegistrationCallback> GetObserver() const;
H A Dmdns_resolvelocalservice_context.h36 sptr<IResolveCallback> GetObserver();
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/mdns/include/
H A Dmdns_instances.h28 [[nodiscard]] sptr<MDnsDiscoveryObserver> GetObserver() const;
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/connection/options/include/
H A Dnetconnection.h37 [[nodiscard]] sptr<NetConnCallbackObserver> GetObserver() const;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/
H A Dkv_store_snapshot_delegate_impl.h45 void GetObserver(KvStoreObserver *&observer) const;
H A Dkv_store_snapshot_delegate_impl.cpp84 void KvStoreSnapshotDelegateImpl::GetObserver(KvStoreObserver *&observer) const in GetObserver() function in DistributedDB::KvStoreSnapshotDelegateImpl
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Drdb_local_db_observer.h31 std::shared_ptr<RdbStoreObserver> GetObserver() in GetObserver() function
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/connection/async_context/src/
H A Dregister_context.cpp30 callback_ = conn->GetObserver(); in RegisterContext()
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/connection/options/src/
H A Dnetconnection.cpp49 sptr<NetConnCallbackObserver> NetConnection::GetObserver() const in GetObserver() function in OHOS::NetManagerStandard::NetConnection
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/inspector/
H A Djs_inspector.cpp30 static ComponentObserver* GetObserver(napi_env env, napi_value thisVar) in GetObserver() function
172 ComponentObserver* observer = GetObserver(env, thisVar); in FunctionOn()
200 ComponentObserver* observer = GetObserver(env, thisVar); in FunctionOff()
/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_observer/
H A Dthermal_sensor_info.cpp58 tms->GetObserver()->OnReceivedSensorInfo(GetTypeTempMap()); in NotifyObserver()
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/mdns/src/contexts/
H A Dmdns_resolvelocalservice_context.cpp48 sptr<IResolveCallback> MDnsResolveLocalServiceContext::GetObserver() in GetObserver() function in OHOS::NetManagerStandard::MDnsResolveLocalServiceContext
/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_action/action/action_soc/
H A Daction_cpu_boost.cpp69 tms->GetObserver()->SetDecisionValue(actionName_, std::to_string(value)); in Execute()
H A Daction_cpu_isolate.cpp63 tms->GetObserver()->SetDecisionValue(actionName_, std::to_string(value)); in Execute()
H A Daction_cpu_lit.cpp63 tms->GetObserver()->SetDecisionValue(actionName_, std::to_string(value)); in Execute()

123