Home
last modified time | relevance | path

Searched refs:TelephonyObserverBroker (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/base/telephony/state_registry/frameworks/js/napi/include/
H A Dtelephony_update_event_type.h25 EVENT_NETWORK_STATE_UPDATE = TelephonyObserverBroker::OBSERVER_MASK_NETWORK_STATE,
26 EVENT_CALL_STATE_UPDATE = TelephonyObserverBroker::OBSERVER_MASK_CALL_STATE,
27 EVENT_CELL_INFO_UPDATE = TelephonyObserverBroker::OBSERVER_MASK_CELL_INFO,
28 EVENT_SIGNAL_STRENGTHS_UPDATE = TelephonyObserverBroker::OBSERVER_MASK_SIGNAL_STRENGTHS,
29 EVENT_SIM_STATE_UPDATE = TelephonyObserverBroker::OBSERVER_MASK_SIM_STATE,
30 EVENT_DATA_CONNECTION_UPDATE = TelephonyObserverBroker::OBSERVER_MASK_DATA_CONNECTION_STATE,
31 EVENT_CELLULAR_DATA_FLOW_UPDATE = TelephonyObserverBroker::OBSERVER_MASK_DATA_FLOW,
32 EVENT_CFU_INDICATOR_UPDATE = TelephonyObserverBroker::OBSERVER_MASK_CFU_INDICATOR,
33 …EVENT_VOICE_MAIL_MSG_INDICATOR_UPDATE = TelephonyObserverBroker::OBSERVER_MASK_VOICE_MAIL_MSG_INDI…
34 EVENT_ICC_ACCOUNT_CHANGE = TelephonyObserverBroker::OBSERVER_MASK_ICC_ACCOUNT,
H A Dnapi_state_registry.h34 constexpr int32_t LISTEN_NET_WORK_STATE = TelephonyObserverBroker::OBSERVER_MASK_NETWORK_STATE;
35 constexpr int32_t LISTEN_CALL_STATE = TelephonyObserverBroker::OBSERVER_MASK_CALL_STATE;
36 constexpr int32_t LISTEN_CELL_INFO = TelephonyObserverBroker::OBSERVER_MASK_CELL_INFO;
37 constexpr int32_t LISTEN_SIGNAL_STRENGTHS = TelephonyObserverBroker::OBSERVER_MASK_SIGNAL_STRENGTHS;
38 constexpr int32_t LISTEN_SIM_STATE = TelephonyObserverBroker::OBSERVER_MASK_SIM_STATE;
39 constexpr int32_t LISTEN_DATA_CONNECTION_STATE = TelephonyObserverBroker::OBSERVER_MASK_DATA_CONNEC…
40 constexpr int32_t LISTEN_CELLULAR_DATA_FLOW = TelephonyObserverBroker::OBSERVER_MASK_DATA_FLOW;
/ohos5.0/base/telephony/state_registry/test/unittest/state_test/
H A Dstate_registry_test.cpp81 Telephony::TelephonyObserverBroker::OBSERVER_MASK_NETWORK_STATE | in InitTelephonyObserver()
83 Telephony::TelephonyObserverBroker::OBSERVER_MASK_CELL_INFO | in InitTelephonyObserver()
85 Telephony::TelephonyObserverBroker::OBSERVER_MASK_SIM_STATE | in InitTelephonyObserver()
87 Telephony::TelephonyObserverBroker::OBSERVER_MASK_DATA_FLOW | in InitTelephonyObserver()
960 TelephonyObserverBroker::OBSERVER_MASK_CELL_INFO |
962 TelephonyObserverBroker::OBSERVER_MASK_SIM_STATE |
964 TelephonyObserverBroker::OBSERVER_MASK_DATA_FLOW |
996 mask = TelephonyObserverBroker::OBSERVER_MASK_CELL_INFO;
1029 sptr<TelephonyObserverBroker> telephonyObserver = nullptr;
1033 mask = TelephonyObserverBroker::OBSERVER_MASK_CELL_INFO;
[all …]
/ohos5.0/base/telephony/state_registry/services/src/
H A Dtelephony_state_registry_dump_helper.cpp47 … if (item.IsExistStateListener(TelephonyObserverBroker::OBSERVER_MASK_DATA_CONNECTION_STATE)) { in ShowTelephonyStateRegistryInfo()
49 … } else if (item.IsExistStateListener(TelephonyObserverBroker::OBSERVER_MASK_DATA_FLOW)) { in ShowTelephonyStateRegistryInfo()
51 … } else if (item.IsExistStateListener(TelephonyObserverBroker::OBSERVER_MASK_CALL_STATE)) { in ShowTelephonyStateRegistryInfo()
53 … } else if (item.IsExistStateListener(TelephonyObserverBroker::OBSERVER_MASK_SIM_STATE)) { in ShowTelephonyStateRegistryInfo()
55 … } else if (item.IsExistStateListener(TelephonyObserverBroker::OBSERVER_MASK_SIGNAL_STRENGTHS)) { in ShowTelephonyStateRegistryInfo()
57 … } else if (item.IsExistStateListener(TelephonyObserverBroker::OBSERVER_MASK_CELL_INFO)) { in ShowTelephonyStateRegistryInfo()
59 … } else if (item.IsExistStateListener(TelephonyObserverBroker::OBSERVER_MASK_NETWORK_STATE)) { in ShowTelephonyStateRegistryInfo()
H A Dtelephony_state_registry_service.cpp427 if ((mask & TelephonyObserverBroker::OBSERVER_MASK_CELL_INFO) != 0) { in CheckCallerIsSystemApp()
433 if ((mask & TelephonyObserverBroker::OBSERVER_MASK_CFU_INDICATOR) != 0) { in CheckCallerIsSystemApp()
450 const sptr<TelephonyObserverBroker> &telephonyObserver, int32_t slotId, in RegisterStateChange()
514 if ((mask & TelephonyObserverBroker::OBSERVER_MASK_NETWORK_STATE) != 0) { in CheckPermission()
521 if ((mask & TelephonyObserverBroker::OBSERVER_MASK_CELL_INFO) != 0) { in CheckPermission()
552 if ((record.mask_ & TelephonyObserverBroker::OBSERVER_MASK_CALL_STATE) != 0) { in UpdateData()
561 if ((record.mask_ & TelephonyObserverBroker::OBSERVER_MASK_NETWORK_STATE) != 0) { in UpdateData()
565 if ((record.mask_ & TelephonyObserverBroker::OBSERVER_MASK_CELL_INFO) != 0) { in UpdateData()
569 if ((record.mask_ & TelephonyObserverBroker::OBSERVER_MASK_SIM_STATE) != 0) { in UpdateData()
578 if ((record.mask_ & TelephonyObserverBroker::OBSERVER_MASK_DATA_FLOW) != 0) { in UpdateData()
[all …]
H A Dtelephony_state_registry_stub.cpp355 sptr<TelephonyObserverBroker> callback = nullptr; in OnRegisterStateChange()
383 MessageParcel &data, MessageParcel &reply, sptr<TelephonyObserverBroker> &callback) in ReadData()
393 callback = iface_cast<TelephonyObserverBroker>(remote); in ReadData()
431 int32_t TelephonyStateRegistryStub::RegisterStateChange(const sptr<TelephonyObserverBroker> &teleph… in RegisterStateChange()
/ohos5.0/base/telephony/state_registry/frameworks/native/observer/include/
H A Dtelephony_state_manager.h75 class TelephonyObserverBroker; variable
78 static int32_t AddStateObserver(const sptr<TelephonyObserverBroker> &telephonyObserver,
H A Dtelephony_observer_proxy.h26 class TelephonyObserverProxy : public IRemoteProxy<TelephonyObserverBroker> {
/ohos5.0/base/telephony/state_registry/services/include/
H A Dtelephony_state_registry_stub.h37 …virtual int32_t RegisterStateChange(const sptr<TelephonyObserverBroker> &telephonyObserver, int32_…
43 …int32_t ReadData(MessageParcel &data, MessageParcel &reply, sptr<TelephonyObserverBroker> &callbac…
44 int32_t RegisterStateChange(const sptr<TelephonyObserverBroker> &telephonyObserver,
H A Dtelephony_state_registry_record.h43 sptr<TelephonyObserverBroker> telephonyObserver_ = nullptr;
H A Dtelephony_state_registry_service.h60 …int32_t RegisterStateChange(const sptr<TelephonyObserverBroker> &telephonyObserver, int32_t slotId…
/ohos5.0/foundation/multimedia/player_framework/services/services/observer/
H A Dincall_observer.cpp121 TelephonyObserverBroker::OBSERVER_MASK_CALL_STATE, true); in RegisterObserver()
138 TelephonyObserverBroker::OBSERVER_MASK_CALL_STATE); in UnRegisterObserver()
/ohos5.0/base/telephony/state_registry/frameworks/native/observer/src/
H A Dtelephony_state_manager.cpp26 int32_t TelephonyStateManager::AddStateObserver(const sptr<TelephonyObserverBroker> &telephonyObser… in AddStateObserver()
H A Dtelephony_observer_client.cpp82 int32_t TelephonyObserverClient::AddStateObserver(const sptr<TelephonyObserverBroker> &telephonyObs… in AddStateObserver()
H A Dtelephony_observer_proxy.cpp24 : IRemoteProxy<TelephonyObserverBroker>(impl) in TelephonyObserverProxy()
/ohos5.0/foundation/ai/intelligent_voice_framework/services/intell_voice_trigger/server/
H A Dtrigger_helper.cpp500 …telephonyObserver0_, DEFAULT_SIM_SLOT_ID, TelephonyObserverBroker::OBSERVER_MASK_CALL_STATE, false… in AttachTelephonyObserver()
511 … telephonyObserver1_, SIM_SLOT_ID_1, TelephonyObserverBroker::OBSERVER_MASK_CALL_STATE, false); in AttachTelephonyObserver()
525 DEFAULT_SIM_SLOT_ID, Telephony::TelephonyObserverBroker::OBSERVER_MASK_CALL_STATE); in DetachTelephonyObserver()
531 SIM_SLOT_ID_1, Telephony::TelephonyObserverBroker::OBSERVER_MASK_CALL_STATE); in DetachTelephonyObserver()
/ohos5.0/base/telephony/state_registry/interfaces/innerkits/observer/
H A Dtelephony_observer_client.h40 int32_t AddStateObserver(const sptr<TelephonyObserverBroker> &telephonyObserver,
H A Dtelephony_observer.h29 class TelephonyObserver : public IRemoteStub<TelephonyObserverBroker> {
/ohos5.0/base/telephony/core_service/interfaces/innerkits/include/
H A Dtelephony_observer_broker.h27 class TelephonyObserverBroker : public IRemoteBroker {
H A Di_telephony_state_notify.h132 …const sptr<TelephonyObserverBroker> &telephonyObserver, int32_t slotId, uint32_t mask, bool isUpda…
H A Dtelephony_state_registry_proxy.h54 int32_t RegisterStateChange(const sptr<TelephonyObserverBroker> &telephonyObserver,
/ohos5.0/base/telephony/core_service/test/unittest/ui_client/
H A Dui_client_test.cpp234 …telephonyObserver, SIM1_SLOTID, Telephony::TelephonyObserverBroker::OBSERVER_MASK_NETWORK_STATE, t… in AddStateObserver()
262 SIM1_SLOTID, Telephony::TelephonyObserverBroker::OBSERVER_MASK_NETWORK_STATE); in RemoveStateObserver()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_system_interface.cpp93TelephonyObserverBroker::OBSERVER_MASK_NETWORK_STATE | TelephonyObserverBroker::OBSERVER_MASK_SIGN… in RegisterObserver()
109TelephonyObserverBroker::OBSERVER_MASK_NETWORK_STATE | TelephonyObserverBroker::OBSERVER_MASK_SIGN… in UnregisterObserver()
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/observer/src/
H A Dobserver_manager.cpp287 … telephonyObserver_, slotId_, Telephony::TelephonyObserverBroker::OBSERVER_MASK_CALL_STATE, false); in InitTelephonyObserver()
310 slotId_, Telephony::TelephonyObserverBroker::OBSERVER_MASK_CALL_STATE); in DisableTelephonyObserver()
/ohos5.0/base/telephony/core_service/frameworks/native/src/
H A Dtelephony_state_registry_proxy.cpp294 const sptr<TelephonyObserverBroker> &callback, int32_t slotId, uint32_t mask, bool isUpdate) in RegisterStateChange()

12