Home
last modified time | relevance | path

Searched full:datastate (Results 1 – 25 of 27) sorted by relevance

12

/base/telephony/cellular_data/services/src/
Dtraffic_management.cpp38 DataFlowStatistics dataState; in UpdatePacketData() local
40 sendPackets_ = dataState.GetIfaceTxPackets(interfaceName); in UpdatePacketData()
41 recvPackets_ = dataState.GetIfaceRxPackets(interfaceName); in UpdatePacketData()
Dstate_notification.cpp29 void StateNotification::UpdateCellularDataConnectState(int32_t slotId, ApnProfileState dataState, i… in UpdateCellularDataConnectState() argument
31 int32_t state = CellularDataStateAdapter(dataState); in UpdateCellularDataConnectState()
Dcellular_data_service.cpp170 int32_t dataState = CellularDataStateAdapter(item->second->GetCellularDataState()); in GetCellularDataState() local
173 dataState = static_cast<int32_t>(DataConnectionStatus::DATA_STATE_SUSPENDED); in GetCellularDataState()
175 return dataState; in GetCellularDataState()
/base/telephony/state_registry/test/unittest/state_test/
Dstate_registry_observer.h50 void OnCellularDataConnectStateUpdated(int32_t slotId, int32_t dataState, int32_t networkType) in OnCellularDataConnectStateUpdated() argument
52 …_LOGI("StateRegistryObserver%{public}d::OnCellularDataConnectStateUpdated dataState is %{public}d", in OnCellularDataConnectStateUpdated()
53 slotId, dataState); in OnCellularDataConnectStateUpdated()
/base/telephony/state_registry/frameworks/js/napi/src/
Dnapi_telephony_observer.cpp89 int32_t slotId, int32_t dataState, int32_t networkType) in OnCellularDataConnectStateUpdated() argument
92 "OnCellularDataConnectStateUpdated slotId=%{public}d, dataState=%{public}d, networkType=" in OnCellularDataConnectStateUpdated()
94 slotId, dataState, networkType); in OnCellularDataConnectStateUpdated()
96 std::make_unique<CellularDataConnectState>(slotId, dataState, networkType); in OnCellularDataConnectStateUpdated()
/base/telephony/state_registry/frameworks/js/napi/include/
Dupdate_contexts.h82 int32_t dataState; member
86 dataState = info.dataState_;
Dupdate_infos.h75 CellularDataConnectState(int32_t slotId, int32_t dataState, int32_t networkType) in CellularDataConnectState()
76 : UpdateInfo(slotId), dataState_(dataState), networkType_(networkType) in CellularDataConnectState()
Dnapi_telephony_observer.h35 …void OnCellularDataConnectStateUpdated(int32_t slotId, int32_t dataState, int32_t networkType) ove…
/base/telephony/cellular_data/services/include/
Dstate_notification.h26 …void UpdateCellularDataConnectState(int32_t slotId, ApnProfileState dataState, int32_t networkType…
/base/telephony/core_service/interfaces/innerkits/include/
Di_telephony_state_notify.h42 * @param dataState cellular data link state
47 int32_t slotId, int32_t dataState, int32_t networkState) = 0;
Dtelephony_state_registry_proxy.h34 int32_t slotId, int32_t dataState, int32_t networkState) override;
Dtelephony_observer_broker.h42 int32_t slotId, int32_t dataState, int32_t networkType) = 0;
Dtelephony_state_registry_client.h31 int32_t UpdateCellularDataConnectState(int32_t slotId, int32_t dataState, int32_t networkState);
/base/telephony/state_registry/frameworks/native/observer/src/
Dtelephony_observer.cpp39 int32_t slotId, int32_t dataState, int32_t networkType) {} in OnCellularDataConnectStateUpdated() argument
137 int32_t dataState = data.ReadInt32(); in OnCellularDataConnectStateUpdatedInner() local
139 OnCellularDataConnectStateUpdated(slotId, dataState, networkType); in OnCellularDataConnectStateUpdatedInner()
Dtelephony_observer_proxy.cpp176 int32_t slotId, int32_t dataState, int32_t networkType) in OnCellularDataConnectStateUpdated() argument
187 dataParcel.WriteInt32(dataState); in OnCellularDataConnectStateUpdated()
/base/telephony/state_registry/service/include/
Dtelephony_state_registry_service.h48 …int32_t UpdateCellularDataConnectState(int32_t slotId, int32_t dataState, int32_t networkType) ove…
82 … void SendCellularDataConnectStateChanged(int32_t slotId, int32_t dataState, int32_t networkType);
/base/telephony/state_registry/frameworks/native/observer/include/
Dtelephony_observer_proxy.h41 int32_t slotId, int32_t dataState, int32_t networkType);
Dtelephony_observer.h44 int32_t slotId, int32_t dataState, int32_t networkType) override;
/base/telephony/core_service/frameworks/native/src/
Dtelephony_state_registry_client.cpp83 int32_t slotId, int32_t dataState, int32_t networkState) in UpdateCellularDataConnectState() argument
90 return proxy->UpdateCellularDataConnectState(slotId, dataState, networkState); in UpdateCellularDataConnectState()
/base/telephony/state_registry/service/src/
Dtelephony_state_registry_service.cpp94 int32_t slotId, int32_t dataState, int32_t networkType) in UpdateCellularDataConnectState() argument
101 cellularDataConnectionState_[slotId] = dataState; in UpdateCellularDataConnectState()
109 … record.telephonyObserver_->OnCellularDataConnectStateUpdated(slotId, dataState, networkType); in UpdateCellularDataConnectState()
113 SendCellularDataConnectStateChanged(slotId, dataState, networkType); in UpdateCellularDataConnectState()
469 int32_t slotId, int32_t dataState, int32_t networkType) in SendCellularDataConnectStateChanged() argument
473 want.SetParam("dataState", dataState); in SendCellularDataConnectStateChanged()
Dtelephony_state_registry_stub.cpp107 int32_t dataState = data.ReadInt32(); in OnUpdateCellularDataConnectState() local
109 int32_t ret = UpdateCellularDataConnectState(slotId, dataState, networkType); in OnUpdateCellularDataConnectState()
/base/telephony/cellular_data/services/src/utils/
Dcellular_data_hisysevent.cpp33 static constexpr const char *DATASTATE_KEY = "DATASTATE";
/base/telephony/cellular_data/frameworks/js/napi/src/
Dnapi_cellular_data.cpp129 int32_t dataState = CellularDataClient::GetInstance().GetCellularDataState(); in NativeGetCellularDataState() local
131 asyncContext->result = WrapCellularDataType(dataState); in NativeGetCellularDataState()
753 int32_t dataState = CellularDataClient::GetInstance().GetCellularDataFlowType(); in NativeGetCellularDataFlowType() local
754 TELEPHONY_LOGI("dataState = %{public}d", dataState); in NativeGetCellularDataFlowType()
756 asyncContext->result = WrapGetCellularDataFlowTypeType(dataState); in NativeGetCellularDataFlowType()
/base/telephony/core_service/services/core/src/
Dcore_service_hisysevent.cpp51 static constexpr const char *DATASTATE_KEY = "DATASTATE";
/base/telephony/core_service/
Dhisysevent.yaml82 DATASTATE: {type: INT32, desc: cellular data state}

12