Home
last modified time | relevance | path

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

/base/telephony/cellular_data/services/src/
Dtraffic_management.cpp39 DataFlowStatistics dataState; in UpdatePacketData() local
42 sendPackets_ = dataState.GetIfaceTxPackets(interfaceName); in UpdatePacketData()
43 recvPackets_ = dataState.GetIfaceRxPackets(interfaceName); in UpdatePacketData()
Dstate_notification.cpp30 void StateNotification::UpdateCellularDataConnectState(int32_t slotId, ApnProfileState dataState, i… in UpdateCellularDataConnectState() argument
32 int32_t state = CellularDataStateAdapter(dataState); in UpdateCellularDataConnectState()
Dcellular_data_service.cpp184 int32_t dataState = CellularDataStateAdapter(item->second->GetCellularDataState()); in GetCellularDataState() local
187 dataState = static_cast<int32_t>(DataConnectionStatus::DATA_STATE_SUSPENDED); in GetCellularDataState()
189 return dataState; in GetCellularDataState()
/base/telephony/state_registry/test/unittest/state_test/
Dstate_registry_observer.h71 void OnCellularDataConnectStateUpdated(int32_t slotId, int32_t dataState, int32_t networkType) in OnCellularDataConnectStateUpdated() argument
74 slotId, dataState); in OnCellularDataConnectStateUpdated()
Dstate_registry_test.cpp175 int32_t dataState = 1; in UpdateCellularDataConnectState() local
178 slotId, dataState, networkState); in UpdateCellularDataConnectState()
/base/telephony/state_registry/frameworks/js/napi/include/
Dupdate_contexts.h82 int32_t dataState; member
86 dataState = info.dataState_;
Dupdate_infos.h71 CellularDataConnectState(int32_t slotId, int32_t dataState, int32_t networkType) in CellularDataConnectState()
72 : 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/state_registry/frameworks/js/napi/src/
Dnapi_telephony_observer.cpp89 int32_t slotId, int32_t dataState, int32_t networkType) in OnCellularDataConnectStateUpdated() argument
94 slotId, dataState, networkType); in OnCellularDataConnectStateUpdated()
96 std::make_unique<CellularDataConnectState>(slotId, dataState, networkType); in OnCellularDataConnectStateUpdated()
Devent_listener_handler.cpp706 SetPropertyToNapiObject(context->env, callbackValue, "state", context->dataState); in WorkCellularDataConnectStateUpdated()
/base/telephony/cellular_data/services/include/
Dstate_notification.h26 …void UpdateCellularDataConnectState(int32_t slotId, ApnProfileState 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);
/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/core_service/interfaces/innerkits/include/
Dtelephony_observer_broker.h45 int32_t slotId, int32_t dataState, int32_t networkType) = 0;
Di_telephony_state_notify.h33 …virtual int32_t UpdateCellularDataConnectState(int32_t slotId, int32_t dataState, int32_t networkS…
Dtelephony_state_registry_proxy.h35 int32_t slotId, int32_t dataState, int32_t networkState) override;
Dtelephony_state_registry_client.h39 int32_t UpdateCellularDataConnectState(int32_t slotId, int32_t dataState, int32_t networkState);
/base/telephony/state_registry/services/include/
Dtelephony_state_registry_service.h48 …int32_t UpdateCellularDataConnectState(int32_t slotId, int32_t dataState, int32_t networkType) ove…
86 … void SendCellularDataConnectStateChanged(int32_t slotId, int32_t dataState, int32_t networkType);
/base/telephony/state_registry/frameworks/native/observer/src/
Dtelephony_observer.cpp39 int32_t slotId, int32_t dataState, int32_t networkType) {} in OnCellularDataConnectStateUpdated() argument
147 int32_t dataState = data.ReadInt32(); in OnCellularDataConnectStateUpdatedInner() local
149 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/interfaces/innerkits/observer/
Dtelephony_observer.h90 int32_t slotId, int32_t dataState, int32_t networkType) override;
/base/telephony/state_registry/services/src/
Dtelephony_state_registry_service.cpp108 int32_t slotId, int32_t dataState, int32_t networkType) in UpdateCellularDataConnectState() argument
119 cellularDataConnectionState_[slotId] = dataState; in UpdateCellularDataConnectState()
126 … record.telephonyObserver_->OnCellularDataConnectStateUpdated(slotId, dataState, networkType); in UpdateCellularDataConnectState()
130 SendCellularDataConnectStateChanged(slotId, dataState, networkType); in UpdateCellularDataConnectState()
613 int32_t slotId, int32_t dataState, int32_t networkType) in SendCellularDataConnectStateChanged() argument
617 want.SetParam("dataState", dataState); in SendCellularDataConnectStateChanged()
Dtelephony_state_registry_stub.cpp113 int32_t dataState = data.ReadInt32(); in OnUpdateCellularDataConnectState() local
115 int32_t ret = UpdateCellularDataConnectState(slotId, dataState, networkType); in OnUpdateCellularDataConnectState()
/base/telephony/cellular_data/frameworks/js/napi/src/
Dnapi_cellular_data.cpp128 int32_t dataState = CellularDataClient::GetInstance().GetCellularDataState(); in NativeGetCellularDataState() local
130 asyncContext->result = WrapCellularDataType(dataState); in NativeGetCellularDataState()
768 int32_t dataState = CellularDataClient::GetInstance().GetCellularDataFlowType(); in NativeGetCellularDataFlowType() local
769 TELEPHONY_LOGI("dataState = %{public}d", dataState); in NativeGetCellularDataFlowType()
771 asyncContext->result = WrapGetCellularDataFlowTypeType(dataState); in NativeGetCellularDataFlowType()
/base/telephony/state_registry/test/fuzztest/telephonystateregistry_fuzzer/
Dtelephonystateregistry_fuzzer.cpp349 int32_t dataState = static_cast<int32_t>(size); in UpdateCellularDataConnectState() local
353 dataMessageParcel.WriteInt32(dataState); in UpdateCellularDataConnectState()