Searched refs:ApnProfileState (Results 1 – 13 of 13) sorted by relevance
38 void SetApnState(ApnProfileState state);39 ApnProfileState GetApnState() const;63 ApnProfileState apnState_ = ApnProfileState::PROFILE_STATE_IDLE;
46 ApnProfileState GetOverallApnState() const;
106 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 …]
29 void StateNotification::UpdateCellularDataConnectState(int32_t slotId, ApnProfileState dataState, i… in UpdateCellularDataConnectState()
100 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()
390 …ApnProfileState statusDefault = cellularDataControllers_[slotId]->GetCellularDataState(DATA_CONTEX… in GetStateMachineCurrentStatusDump()391 …ApnProfileState statusIms = cellularDataControllers_[slotId]->GetCellularDataState(DATA_CONTEXT_RO… in GetStateMachineCurrentStatusDump()
252 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 …]
58 void ApnHolder::SetApnState(ApnProfileState state) in SetApnState()68 ApnProfileState ApnHolder::GetApnState() const in GetApnState()
38 ApnProfileState GetCellularDataState() const;39 ApnProfileState GetCellularDataState(const std::string &apnType) const;
26 …void UpdateCellularDataConnectState(int32_t slotId, ApnProfileState dataState, int32_t networkType…
52 ApnProfileState GetCellularDataState() const;53 ApnProfileState GetCellularDataState(const std::string &apnType) const;
27 enum ApnProfileState { enum73 constexpr int32_t CellularDataStateAdapter(ApnProfileState state) in CellularDataStateAdapter()
102 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(""));