Home
last modified time | relevance | path

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

/ohos5.0/base/telephony/cellular_data/services/src/
H A Ddata_connection_monitor.cpp202 if (dataFlowType_ != CellDataFlowType::DATA_FLOW_TYPE_NONE) { in EndNetStatistics()
203 dataFlowType_ = CellDataFlowType::DATA_FLOW_TYPE_NONE; in EndNetStatistics()
267 CellDataFlowType previousDataFlowType = dataFlowType_; in UpdateDataFlowType()
270 dataFlowType_ = CellDataFlowType::DATA_FLOW_TYPE_UP; in UpdateDataFlowType()
272 dataFlowType_ = CellDataFlowType::DATA_FLOW_TYPE_DOWN; in UpdateDataFlowType()
274 dataFlowType_ = CellDataFlowType::DATA_FLOW_TYPE_UP_DOWN; in UpdateDataFlowType()
276 dataFlowType_ = CellDataFlowType::DATA_FLOW_TYPE_NONE; in UpdateDataFlowType()
284 CellDataFlowType DataConnectionMonitor::GetDataFlowType() in GetDataFlowType()
289 void DataConnectionMonitor::SetDataFlowType(CellDataFlowType dataFlowType) in SetDataFlowType()
H A Dstate_notification.cpp39 void StateNotification::OnUpDataFlowtype(int32_t slotId, CellDataFlowType flowType) in OnUpDataFlowtype()
43 if (flowType != CellDataFlowType::DATA_FLOW_TYPE_NONE && slotId != defaultSlotId) { in OnUpDataFlowtype()
H A Ddata_connection_manager.cpp323 return static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_NONE); in GetDataFlowType()
325 CellDataFlowType flowType = connectionMonitor_->GetDataFlowType(); in GetDataFlowType()
329 void DataConnectionManager::SetDataFlowType(CellDataFlowType dataFlowType) in SetDataFlowType()
H A Dcellular_data_controller.cpp279 return static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_NONE); in GetCellularDataFlowType()
H A Dcellular_data_service.cpp465 return static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_DORMANT); in GetCellularDataFlowType()
H A Dcellular_data_handler.cpp268 connectionManager_->SetDataFlowType(CellDataFlowType::DATA_FLOW_TYPE_NONE); in ResetDataFlowType()
1165 connectionManager_->SetDataFlowType(CellDataFlowType::DATA_FLOW_TYPE_DORMANT); in HandleVoiceCallChanged()
/ohos5.0/base/telephony/cellular_data/services/include/
H A Ddata_connection_monitor.h96 CellDataFlowType GetDataFlowType();
98 void SetDataFlowType(CellDataFlowType dataFlowType);
125 CellDataFlowType dataFlowType_ = CellDataFlowType::DATA_FLOW_TYPE_NONE;
H A Dstate_notification.h27 void OnUpDataFlowtype(int32_t slotId, CellDataFlowType flowType);
H A Ddata_connection_manager.h49 void SetDataFlowType(CellDataFlowType dataFlowType);
/ohos5.0/base/telephony/cellular_data/frameworks/js/napi/src/
H A Dnapi_cellular_data.cpp106 case static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_NONE): { in WrapGetCellularDataFlowTypeType()
107 return static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_NONE); in WrapGetCellularDataFlowTypeType()
109 case static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_DOWN): { in WrapGetCellularDataFlowTypeType()
110 return static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_DOWN); in WrapGetCellularDataFlowTypeType()
112 case static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_UP): { in WrapGetCellularDataFlowTypeType()
113 return static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_UP); in WrapGetCellularDataFlowTypeType()
115 case static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_UP_DOWN): { in WrapGetCellularDataFlowTypeType()
116 return static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_UP_DOWN); in WrapGetCellularDataFlowTypeType()
118 case static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_DORMANT): { in WrapGetCellularDataFlowTypeType()
119 return static_cast<int32_t>(CellDataFlowType::DATA_FLOW_TYPE_DORMANT); in WrapGetCellularDataFlowTypeType()
[all …]
/ohos5.0/base/telephony/cellular_data/interfaces/innerkits/
H A Dcellular_data_types.h30 enum class CellDataFlowType : int32_t { enum
/ohos5.0/base/telephony/cellular_data/test/
H A Dzero_branch_test.cpp875 con.SetDataFlowType(CellDataFlowType::DATA_FLOW_TYPE_NONE);
926 con.SetDataFlowType(CellDataFlowType::DATA_FLOW_TYPE_NONE);
963 ASSERT_EQ(CellDataFlowType::DATA_FLOW_TYPE_NONE, con.connectionMonitor_->GetDataFlowType());
995 ASSERT_EQ(CellDataFlowType::DATA_FLOW_TYPE_NONE, con.connectionMonitor_->GetDataFlowType());
1150 StateNotification::GetInstance().OnUpDataFlowtype(0, CellDataFlowType::DATA_FLOW_TYPE_NONE);
1151 StateNotification::GetInstance().OnUpDataFlowtype(1, CellDataFlowType::DATA_FLOW_TYPE_UP_DOWN);