Home
last modified time | relevance | path

Searched refs:ApnProfileState (Results 1 – 13 of 13) sorted by relevance

/base/telephony/cellular_data/services/include/apn_manager/
Dapn_holder.h38 void SetApnState(ApnProfileState state);
39 ApnProfileState GetApnState() const;
63 ApnProfileState apnState_ = ApnProfileState::PROFILE_STATE_IDLE;
Dapn_manager.h46 ApnProfileState GetOverallApnState() const;
/base/telephony/cellular_data/services/src/
Dcellular_data_handler.cpp106 ApnProfileState apnState = apnHolder->GetApnState(); in RequestNet()
107 …if (apnState == ApnProfileState::PROFILE_STATE_CONNECTED || apnState == ApnProfileState::PROFILE_S… in RequestNet()
108 apnState == ApnProfileState::PROFILE_STATE_DISCONNECTING) { in RequestNet()
178 ApnProfileState apnState = apnManager_->GetOverallApnState(); in SetCellularDataRoamingEnabled()
179 if (apnState == ApnProfileState::PROFILE_STATE_CONNECTING || in SetCellularDataRoamingEnabled()
180 apnState == ApnProfileState::PROFILE_STATE_CONNECTED) { in SetCellularDataRoamingEnabled()
196 ApnProfileState currentState = apnManager_->GetOverallApnState(); in ClearAllConnections()
197 if (currentState == ApnProfileState::PROFILE_STATE_CONNECTED || in ClearAllConnections()
198 currentState == ApnProfileState::PROFILE_STATE_CONNECTING) { in ClearAllConnections()
249 ApnProfileState CellularDataHandler::GetCellularDataState() const in GetCellularDataState()
[all …]
Dstate_notification.cpp29 void StateNotification::UpdateCellularDataConnectState(int32_t slotId, ApnProfileState dataState, i… in UpdateCellularDataConnectState()
Dcellular_data_controller.cpp100 ApnProfileState CellularDataController::GetCellularDataState() const in GetCellularDataState()
104 return ApnProfileState::PROFILE_STATE_FAILED; in GetCellularDataState()
109 ApnProfileState CellularDataController::GetCellularDataState(const std::string &apnType) const in GetCellularDataState()
113 return ApnProfileState::PROFILE_STATE_FAILED; in GetCellularDataState()
Dcellular_data_service.cpp390ApnProfileState statusDefault = cellularDataControllers_[slotId]->GetCellularDataState(DATA_CONTEX… in GetStateMachineCurrentStatusDump()
391ApnProfileState statusIms = cellularDataControllers_[slotId]->GetCellularDataState(DATA_CONTEXT_RO… in GetStateMachineCurrentStatusDump()
/base/telephony/cellular_data/services/src/apn_manager/
Dapn_manager.cpp252 if (apnHolder->GetApnState() == ApnProfileState::PROFILE_STATE_CONNECTED || in HasAnyConnectedState()
253 apnHolder->GetApnState() == ApnProfileState::PROFILE_STATE_DISCONNECTING) { in HasAnyConnectedState()
260 ApnProfileState ApnManager::GetOverallApnState() const in GetOverallApnState()
264 return ApnProfileState::PROFILE_STATE_IDLE; in GetOverallApnState()
268 return ApnProfileState::PROFILE_STATE_CONNECTED; in GetOverallApnState()
275 if (apnHolder->GetApnState() == ApnProfileState::PROFILE_STATE_CONNECTING || in GetOverallApnState()
276 apnHolder->GetApnState() == ApnProfileState::PROFILE_STATE_RETRYING) { in GetOverallApnState()
278 return ApnProfileState::PROFILE_STATE_CONNECTING; in GetOverallApnState()
279 } else if (apnHolder->GetApnState() == ApnProfileState::PROFILE_STATE_IDLE) { in GetOverallApnState()
285 return ApnProfileState::PROFILE_STATE_IDLE; in GetOverallApnState()
[all …]
Dapn_holder.cpp58 void ApnHolder::SetApnState(ApnProfileState state) in SetApnState()
68 ApnProfileState ApnHolder::GetApnState() const in GetApnState()
/base/telephony/cellular_data/services/include/
Dcellular_data_controller.h38 ApnProfileState GetCellularDataState() const;
39 ApnProfileState GetCellularDataState(const std::string &apnType) const;
Dstate_notification.h26 …void UpdateCellularDataConnectState(int32_t slotId, ApnProfileState dataState, int32_t networkType…
Dcellular_data_handler.h52 ApnProfileState GetCellularDataState() const;
53 ApnProfileState GetCellularDataState(const std::string &apnType) const;
/base/telephony/cellular_data/services/include/common/
Dcellular_data_constant.h27 enum ApnProfileState { enum
73 constexpr int32_t CellularDataStateAdapter(ApnProfileState state) in CellularDataStateAdapter()
/base/telephony/cellular_data/test/
Dzero_branch_test.cpp102 ASSERT_EQ(ApnProfileState::PROFILE_STATE_IDLE, cellularDataHandler.GetCellularDataState());
103 ASSERT_EQ(ApnProfileState::PROFILE_STATE_IDLE, cellularDataHandler.GetCellularDataState(""));
258 EXPECT_EQ(ApnProfileState::PROFILE_STATE_FAILED, controller.GetCellularDataState());
259 EXPECT_EQ(ApnProfileState::PROFILE_STATE_FAILED, controller.GetCellularDataState(""));