Home
last modified time | relevance | path

Searched refs:CellDataFlowType (Results 1 – 12 of 12) sorted by relevance

/base/telephony/cellular_data/services/include/
Ddata_connection_monitor.h92 CellDataFlowType GetDataFlowType();
94 void SetDataFlowType(CellDataFlowType dataFlowType);
110 CellDataFlowType dataFlowType_ = CellDataFlowType::DATA_FLOW_TYPE_NONE;
Dstate_notification.h27 void OnUpDataFlowtype(int32_t slotId, CellDataFlowType flowType);
Ddata_connection_manager.h48 void SetDataFlowType(CellDataFlowType dataFlowType);
/base/telephony/cellular_data/services/src/
Ddata_connection_monitor.cpp151 if (dataFlowType_ != CellDataFlowType::DATA_FLOW_TYPE_NONE) { in EndNetStatistics()
152 dataFlowType_ = CellDataFlowType::DATA_FLOW_TYPE_NONE; in EndNetStatistics()
211 CellDataFlowType previousDataFlowType = dataFlowType_; in UpdateDataFlowType()
214 dataFlowType_ = CellDataFlowType::DATA_FLOW_TYPE_UP; in UpdateDataFlowType()
216 dataFlowType_ = CellDataFlowType::DATA_FLOW_TYPE_DOWN; in UpdateDataFlowType()
218 dataFlowType_ = CellDataFlowType::DATA_FLOW_TYPE_UP_DOWN; in UpdateDataFlowType()
220 dataFlowType_ = CellDataFlowType::DATA_FLOW_TYPE_NONE; in UpdateDataFlowType()
228 CellDataFlowType DataConnectionMonitor::GetDataFlowType() in GetDataFlowType()
233 void DataConnectionMonitor::SetDataFlowType(CellDataFlowType dataFlowType) in SetDataFlowType()
Dstate_notification.cpp36 void StateNotification::OnUpDataFlowtype(int32_t slotId, CellDataFlowType flowType) in OnUpDataFlowtype()
Ddata_connection_manager.cpp301 return static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_NONE); in GetDataFlowType()
303 CellDataFlowType flowType = connectionMonitor_->GetDataFlowType(); in GetDataFlowType()
307 void DataConnectionManager::SetDataFlowType(CellDataFlowType dataFlowType) in SetDataFlowType()
Dcellular_data_controller.cpp275 return static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_NONE); in GetCellularDataFlowType()
Dcellular_data_service.cpp353 return static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_DORMANT); in GetCellularDataFlowType()
Dcellular_data_handler.cpp222 connectionManager_->SetDataFlowType(CellDataFlowType::DATA_FLOW_TYPE_NONE); in ClearAllConnections()
824 connectionManager_->SetDataFlowType(CellDataFlowType::DATA_FLOW_TYPE_DORMANT); in HandleVoiceCallChanged()
/base/telephony/cellular_data/interfaces/innerkits/
Dcellular_data_types.h30 enum class CellDataFlowType : int32_t { enum
/base/telephony/cellular_data/frameworks/js/napi/src/
Dnapi_cellular_data.cpp101 case static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_NONE): { in WrapGetCellularDataFlowTypeType()
104 case static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_DOWN): { in WrapGetCellularDataFlowTypeType()
107 case static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_UP): { in WrapGetCellularDataFlowTypeType()
110 case static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_UP_DOWN): { in WrapGetCellularDataFlowTypeType()
113 case static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_DORMANT): { in WrapGetCellularDataFlowTypeType()
114 return static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_DORMANT); in WrapGetCellularDataFlowTypeType()
/base/telephony/cellular_data/test/
Dzero_branch_test.cpp312 con.SetDataFlowType(CellDataFlowType::DATA_FLOW_TYPE_NONE);
335 ASSERT_EQ(CellDataFlowType::DATA_FLOW_TYPE_NONE, mon.GetDataFlowType());