Home
last modified time | relevance | path

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

12

/ohos5.0/base/telephony/cellular_data/services/src/state_machine/
H A Dcellular_data_state_machine.cpp38 bool CellularDataStateMachine::IsInactiveState() const in IsInactiveState()
43 bool CellularDataStateMachine::IsActivatingState() const in IsActivatingState()
53 bool CellularDataStateMachine::IsActiveState() const in IsActiveState()
58 bool CellularDataStateMachine::IsDefaultState() const in IsDefaultState()
68 uint64_t CellularDataStateMachine::GetCapability() const in GetCapability()
73 int32_t CellularDataStateMachine::GetCid() const in GetCid()
83 int32_t CellularDataStateMachine::GetSlotId() const in GetSlotId()
170 bool CellularDataStateMachine::operator==(const CellularDataStateMachine &stateMachine) const in operator ==()
175 void CellularDataStateMachine::Init() in Init()
243 std::string CellularDataStateMachine::GetIpType() in GetIpType()
[all …]
H A Dactive.cpp30 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in StateBegin()
72 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessDisconnectDone()
103 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessDisconnectAllDone()
133 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessLostConnection()
178 std::shared_ptr<CellularDataStateMachine> shareStateMachine = stateMachine_.lock(); in ProcessLinkCapabilityChanged()
195 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessDataConnectionRoamOn()
209 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessDataConnectionRoamOff()
222 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessDataConnectionVoiceCallStartedOrEnded()
244 std::shared_ptr<CellularDataStateMachine> shareStateMachine = stateMachine_.lock(); in ProcessDataConnectionComplete()
268 std::shared_ptr<CellularDataStateMachine> shareStateMachine = stateMachine_.lock(); in ProcessNrStateChanged()
[all …]
H A Ddefault.cpp42 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in StateProcess()
67 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessDisconnectDone()
83 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessDisconnectAllDone()
99 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessDataConnectionDrsOrRatChanged()
143 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessDataCallListChanged()
H A Ddisconnecting.cpp30 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in StateBegin()
52 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessDisconnectTimeout()
73 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessRilAdapterHostDied()
95 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessRilDeactivateDataCall()
130 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in StateProcess()
H A Dactivating.cpp30 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in StateBegin()
51 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in RilActivatePdpContextDone()
140 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in RilErrorResponse()
195 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessConnectTimeout()
228 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in StateProcess()
H A Dinactive.cpp28 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in StateBegin()
80 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in StateProcess()
111 void Inactive::SetStateMachine(const std::weak_ptr<CellularDataStateMachine> &stateMachine) in SetStateMachine()
/ohos5.0/base/telephony/cellular_data/services/include/
H A Ddata_connection_manager.h28 class CellularDataStateMachine; variable
34 void AddConnectionStateMachine(const std::shared_ptr<CellularDataStateMachine> &stateMachine);
35 … void RemoveConnectionStateMachine(const std::shared_ptr<CellularDataStateMachine> &stateMachine);
36 void AddActiveConnectionByCid(const std::shared_ptr<CellularDataStateMachine> &stateMachine);
37 std::shared_ptr<CellularDataStateMachine> GetActiveConnectionByCid(int32_t cid);
39 std::map<int32_t, std::shared_ptr<CellularDataStateMachine>> GetActiveConnection();
51 std::vector<std::shared_ptr<CellularDataStateMachine>> GetAllConnectionMachine();
66 std::vector<std::shared_ptr<CellularDataStateMachine>> stateMachines_;
67 std::map<int32_t, std::shared_ptr<CellularDataStateMachine>> cidActiveConnectionMap_;
H A Dcellular_data_handler.h79 std::shared_ptr<CellularDataStateMachine> CreateCellularDataConnect();
80 std::shared_ptr<CellularDataStateMachine> FindIdleCellularDataConnection() const;
142 …std::shared_ptr<CellularDataStateMachine> CheckForCompatibleDataConnection(sptr<ApnHolder> &apnHol…
/ohos5.0/base/telephony/cellular_data/services/src/
H A Ddata_connection_manager.cpp57 …nectionManager::AddConnectionStateMachine(const std::shared_ptr<CellularDataStateMachine> &stateMa… in AddConnectionStateMachine()
72 for (std::vector<std::shared_ptr<CellularDataStateMachine>>::const_iterator iter = in RemoveConnectionStateMachine()
81 std::vector<std::shared_ptr<CellularDataStateMachine>> DataConnectionManager::GetAllConnectionMachi… in GetAllConnectionMachine()
87 void DataConnectionManager::AddActiveConnectionByCid(const std::shared_ptr<CellularDataStateMachine in AddActiveConnectionByCid()
95 std::shared_ptr<CellularDataStateMachine> DataConnectionManager::GetActiveConnectionByCid(int32_t c… in GetActiveConnectionByCid()
105 std::map<int32_t, std::shared_ptr<CellularDataStateMachine>> DataConnectionManager::GetActiveConnec… in GetActiveConnection()
213 std::vector<std::shared_ptr<CellularDataStateMachine>> retryDataConnection; in RadioDataCallListChanged()
214 std::map<int32_t, std::shared_ptr<CellularDataStateMachine>> idActiveConnectionMap = in RadioDataCallListChanged()
217 …for (const std::pair<const int32_t, std::shared_ptr<CellularDataStateMachine>>& it : idActiveConne… in RadioDataCallListChanged()
235 for (std::shared_ptr<CellularDataStateMachine> &it : retryDataConnection) { in RadioDataCallListChanged()
[all …]
H A Dcellular_data_handler.cpp278 std::shared_ptr<CellularDataStateMachine> stateMachine = apn->GetCellularDataStateMachine(); in ClearConnection()
614 std::shared_ptr<CellularDataStateMachine> CellularDataHandler::FindIdleCellularDataConnection() con… in FindIdleCellularDataConnection()
621 for (const std::shared_ptr<CellularDataStateMachine> &connect : allMachines) { in FindIdleCellularDataConnection()
633 std::shared_ptr<CellularDataStateMachine> CellularDataHandler::CreateCellularDataConnect() in CreateCellularDataConnect()
635 …std::shared_ptr<CellularDataStateMachine> cellularDataStateMachine = std::make_shared<CellularData… in CreateCellularDataConnect()
656 std::shared_ptr<CellularDataStateMachine> cellularDataStateMachine = nullptr; in EstablishDataConnection()
1852 std::vector<std::shared_ptr<CellularDataStateMachine>> stateMachines = in HandleRadioNrStateChanged()
1867 std::vector<std::shared_ptr<CellularDataStateMachine>> stateMachines = in HandleRadioNrFrequencyChanged()
2035 std::vector<std::shared_ptr<CellularDataStateMachine>> stateMachines = in OnRilAdapterHostDied()
2133 std::shared_ptr<CellularDataStateMachine> CellularDataHandler::CheckForCompatibleDataConnection( in CheckForCompatibleDataConnection()
[all …]
/ohos5.0/base/telephony/cellular_data/services/include/state_machine/
H A Dcellular_data_state_machine.h38 class CellularDataStateMachine : public StateMachine,
39 public std::enable_shared_from_this<CellularDataStateMachine> {
41 CellularDataStateMachine( in CellularDataStateMachine() function
47 ~CellularDataStateMachine() = default;
48 bool operator==(const CellularDataStateMachine &stateMachine) const;
H A Dinactive.h29 Inactive(std::weak_ptr<CellularDataStateMachine> &&cellularService, std::string &&name) in Inactive()
36 void SetStateMachine(const std::weak_ptr<CellularDataStateMachine> &stateMachine);
41 std::weak_ptr<CellularDataStateMachine> stateMachine_;
H A Dactivating.h29 Activating(std::weak_ptr<CellularDataStateMachine> &&cellularService, std::string &&name) in Activating()
42 std::weak_ptr<CellularDataStateMachine> stateMachine_;
H A Ddisconnecting.h29 Disconnecting(std::weak_ptr<CellularDataStateMachine> &&cellularService, std::string &&name) in Disconnecting()
43 std::weak_ptr<CellularDataStateMachine> stateMachine_;
H A Ddefault.h30 Default(std::weak_ptr<CellularDataStateMachine> &&cellularService, std::string &&name) in Default()
66 std::weak_ptr<CellularDataStateMachine> stateMachine_;
H A Dactive.h31 Active(std::weak_ptr<CellularDataStateMachine> &&cellularService, std::string &&name) in Active()
89 std::weak_ptr<CellularDataStateMachine> stateMachine_;
/ohos5.0/base/telephony/cellular_data/services/include/apn_manager/
H A Dapn_holder.h36 class CellularDataStateMachine; variable
53 void SetCellularDataStateMachine(const std::shared_ptr<CellularDataStateMachine> &stateMachine);
54 std::shared_ptr<CellularDataStateMachine> GetCellularDataStateMachine() const;
80 std::shared_ptr<CellularDataStateMachine> cellularDataStateMachine_;
/ohos5.0/base/telephony/cellular_data/test/fuzztest/updateinactivemachine_fuzzer/
H A Dupdateinactivemachine_fuzzer.cpp40 …std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(slo… in UpdateInActiveMachineFuzz()
47 …std::make_unique<Inactive>(std::weak_ptr<CellularDataStateMachine>(cellularMachine), "Inactive").r… in UpdateInActiveMachineFuzz()
49 …std::make_unique<Activating>(std::weak_ptr<CellularDataStateMachine>(cellularMachine), "Activating… in UpdateInActiveMachineFuzz()
/ohos5.0/base/telephony/cellular_data/test/fuzztest/updatedisconnectmachine_fuzzer/
H A Dupdatedisconnectmachine_fuzzer.cpp40 …std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(slo… in UpdateDisconnectMachineFuzz()
45 …std::make_unique<Disconnecting>(std::weak_ptr<CellularDataStateMachine>(cellularMachine), "Disconn… in UpdateDisconnectMachineFuzz()
48 …std::make_unique<Default>(std::weak_ptr<CellularDataStateMachine>(cellularMachine), "Default").rel… in UpdateDisconnectMachineFuzz()
/ohos5.0/base/telephony/cellular_data/test/fuzztest/common_fuzzer/
H A Dstatemachine_fuzzer.h31 std::shared_ptr<CellularDataStateMachine> CreateCellularDataConnect(int32_t slotId);
34 std::shared_ptr<CellularDataStateMachine> cellularDataStateMachine_ = nullptr;
H A Dstatemachine_fuzzer.cpp22 std::shared_ptr<CellularDataStateMachine> StateMachineFuzzer::CreateCellularDataConnect(int32_t slo… in CreateCellularDataConnect()
32 cellularDataStateMachine_ = std::make_shared<CellularDataStateMachine>( in CreateCellularDataConnect()
/ohos5.0/base/telephony/cellular_data/test/
H A Dcellualr_data_branch_test.cpp45 std::shared_ptr<CellularDataStateMachine> cellularMachine;
69 std::shared_ptr<CellularDataStateMachine> CreateCellularDataConnect(int32_t slotId);
72 std::shared_ptr<CellularDataStateMachine> cellularDataStateMachine_ = nullptr;
75 std::shared_ptr<CellularDataStateMachine> CellularMachineTest::CreateCellularDataConnect(int32_t sl… in CreateCellularDataConnect()
85 cellularDataStateMachine_ = std::make_shared<CellularDataStateMachine>( in CreateCellularDataConnect()
H A Dzero_branch_test.cpp107 std::shared_ptr<CellularDataStateMachine> CreateCellularDataConnect(int32_t slotId);
110 std::shared_ptr<CellularDataStateMachine> cellularDataStateMachine_ = nullptr;
113 std::shared_ptr<CellularDataStateMachine> StateMachineTest::CreateCellularDataConnect(int32_t slotI… in CreateCellularDataConnect()
123 cellularDataStateMachine_ = std::make_shared<CellularDataStateMachine>( in CreateCellularDataConnect()
840 std::shared_ptr<CellularDataStateMachine> stateMachine = nullptr;
891 std::shared_ptr<CellularDataStateMachine> stateMachine = machine->CreateCellularDataConnect(0);
1169 std::weak_ptr<CellularDataStateMachine> stateMachine1;
1203 std::weak_ptr<CellularDataStateMachine> stateMachine1;
1249 std::weak_ptr<CellularDataStateMachine> stateMachine1;
1271 std::weak_ptr<CellularDataStateMachine> stateMachine1;
[all …]
H A Dapn_manager_test.cpp57 std::shared_ptr<CellularDataStateMachine> CreateCellularDataStateMachine(int32_t slotId);
60 std::shared_ptr<CellularDataStateMachine> cellularDataStateMachine_ = nullptr;
63 std::shared_ptr<CellularDataStateMachine> StateMachineTest::CreateCellularDataStateMachine(int32_t … in CreateCellularDataStateMachine()
73 cellularDataStateMachine_ = std::make_shared<CellularDataStateMachine>( in CreateCellularDataStateMachine()
323 std::shared_ptr<CellularDataStateMachine> stateMachine = nullptr;
/ohos5.0/base/telephony/cellular_data/test/fuzztest/updateactivemachine_fuzzer/
H A Dupdateactivemachine_fuzzer.cpp39 …std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(slo… in UpdateActiveMachineFuzz()
44 …std::make_unique<Active>(std::weak_ptr<CellularDataStateMachine>(cellularMachine), "Active").relea… in UpdateActiveMachineFuzz()

12