/ohos5.0/base/telephony/state_registry/frameworks/js/napi/include/ |
H A D | telephony_update_event_type.h | 25 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 D | napi_state_registry.h | 34 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 D | state_registry_test.cpp | 81 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 D | telephony_state_registry_dump_helper.cpp | 47 … 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 D | telephony_state_registry_service.cpp | 427 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 D | telephony_state_registry_stub.cpp | 355 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 D | telephony_state_manager.h | 75 class TelephonyObserverBroker; variable 78 static int32_t AddStateObserver(const sptr<TelephonyObserverBroker> &telephonyObserver,
|
H A D | telephony_observer_proxy.h | 26 class TelephonyObserverProxy : public IRemoteProxy<TelephonyObserverBroker> {
|
/ohos5.0/base/telephony/state_registry/services/include/ |
H A D | telephony_state_registry_stub.h | 37 …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 D | telephony_state_registry_record.h | 43 sptr<TelephonyObserverBroker> telephonyObserver_ = nullptr;
|
H A D | telephony_state_registry_service.h | 60 …int32_t RegisterStateChange(const sptr<TelephonyObserverBroker> &telephonyObserver, int32_t slotId…
|
/ohos5.0/foundation/multimedia/player_framework/services/services/observer/ |
H A D | incall_observer.cpp | 121 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 D | telephony_state_manager.cpp | 26 int32_t TelephonyStateManager::AddStateObserver(const sptr<TelephonyObserverBroker> &telephonyObser… in AddStateObserver()
|
H A D | telephony_observer_client.cpp | 82 int32_t TelephonyObserverClient::AddStateObserver(const sptr<TelephonyObserverBroker> &telephonyObs… in AddStateObserver()
|
H A D | telephony_observer_proxy.cpp | 24 : IRemoteProxy<TelephonyObserverBroker>(impl) in TelephonyObserverProxy()
|
/ohos5.0/foundation/ai/intelligent_voice_framework/services/intell_voice_trigger/server/ |
H A D | trigger_helper.cpp | 500 …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 D | telephony_observer_client.h | 40 int32_t AddStateObserver(const sptr<TelephonyObserverBroker> &telephonyObserver,
|
H A D | telephony_observer.h | 29 class TelephonyObserver : public IRemoteStub<TelephonyObserverBroker> {
|
/ohos5.0/base/telephony/core_service/interfaces/innerkits/include/ |
H A D | telephony_observer_broker.h | 27 class TelephonyObserverBroker : public IRemoteBroker {
|
H A D | i_telephony_state_notify.h | 132 …const sptr<TelephonyObserverBroker> &telephonyObserver, int32_t slotId, uint32_t mask, bool isUpda…
|
H A D | telephony_state_registry_proxy.h | 54 int32_t RegisterStateChange(const sptr<TelephonyObserverBroker> &telephonyObserver,
|
/ohos5.0/base/telephony/core_service/test/unittest/ui_client/ |
H A D | ui_client_test.cpp | 234 …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 D | hfp_ag_system_interface.cpp | 93 …TelephonyObserverBroker::OBSERVER_MASK_NETWORK_STATE | TelephonyObserverBroker::OBSERVER_MASK_SIGN… in RegisterObserver() 109 …TelephonyObserverBroker::OBSERVER_MASK_NETWORK_STATE | TelephonyObserverBroker::OBSERVER_MASK_SIGN… in UnregisterObserver()
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/observer/src/ |
H A D | observer_manager.cpp | 287 … 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 D | telephony_state_registry_proxy.cpp | 294 const sptr<TelephonyObserverBroker> &callback, int32_t slotId, uint32_t mask, bool isUpdate) in RegisterStateChange()
|