Home
last modified time | relevance | path

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

12

/base/telephony/cellular_data/services/include/
Ddata_connection_manager.h28 class CellularDataStateMachine; variable
33 void AddConnectionStateMachine(const std::shared_ptr<CellularDataStateMachine> &stateMachine);
34 … void RemoveConnectionStateMachine(const std::shared_ptr<CellularDataStateMachine> &stateMachine);
35 void AddActiveConnectionByCid(const std::shared_ptr<CellularDataStateMachine> &stateMachine);
36 std::shared_ptr<CellularDataStateMachine> GetActiveConnectionByCid(int32_t cid);
38 std::map<int32_t, std::shared_ptr<CellularDataStateMachine>> GetActiveConnection();
50 std::vector<std::shared_ptr<CellularDataStateMachine>> GetAllConnectionMachine();
61 std::vector<std::shared_ptr<CellularDataStateMachine>> stateMachines_;
62 std::map<int32_t, std::shared_ptr<CellularDataStateMachine>> cidActiveConnectionMap_;
Dcellular_data_handler.h67 std::shared_ptr<CellularDataStateMachine> CreateCellularDataConnect();
68 std::shared_ptr<CellularDataStateMachine> FindIdleCellularDataConnection() const;
/base/telephony/cellular_data/services/src/state_machine/
Dcellular_data_state_machine.cpp34 bool CellularDataStateMachine::IsInactiveState() const in IsInactiveState()
39 void CellularDataStateMachine::SetCapability(uint64_t capability) in SetCapability()
44 uint64_t CellularDataStateMachine::GetCapability() const in GetCapability()
49 int32_t CellularDataStateMachine::GetCid() const in GetCid()
54 void CellularDataStateMachine::SetCid(const int32_t cid) in SetCid()
59 int32_t CellularDataStateMachine::GetSlotId() const in GetSlotId()
68 sptr<ApnItem> CellularDataStateMachine::GetApnItem() const in GetApnItem()
73 void CellularDataStateMachine::DoConnect(const DataConnectionParams &connectionParams) in DoConnect()
118 void CellularDataStateMachine::FreeConnection(const DataDisconnectParams &params) in FreeConnection()
143 bool CellularDataStateMachine::operator==(const CellularDataStateMachine &stateMachine) const in operator ==()
[all …]
Dactive.cpp29 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in StateBegin()
71 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessDisconnectDone()
98 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessDisconnectAllDone()
116 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessLostConnection()
142 std::shared_ptr<CellularDataStateMachine> shareStateMachine = stateMachine_.lock(); in ProcessLinkCapabilityChanged()
159 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessDataConnectionRoamOn()
173 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessDataConnectionRoamOff()
186 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessDataConnectionVoiceCallStartedOrEnded()
208 std::shared_ptr<CellularDataStateMachine> shareStateMachine = stateMachine_.lock(); in ProcessDataConnectionComplete()
232 std::shared_ptr<CellularDataStateMachine> shareStateMachine = stateMachine_.lock(); in ProcessNrStateChanged()
[all …]
Ddefault.cpp40 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in StateProcess()
65 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessDisconnectDone()
81 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessDisconnectAllDone()
97 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessDataConnectionDrsOrRatChanged()
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 StateProcess()
Dinactive.cpp28 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in StateBegin()
76 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in StateProcess()
108 void Inactive::SetStateMachine(const std::weak_ptr<CellularDataStateMachine> &stateMachine) in SetStateMachine()
Dactivating.cpp30 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in StateBegin()
51 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in RilActivatePdpContextDone()
138 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in RilErrorResponse()
189 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessConnectTimeout()
210 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in StateProcess()
/base/telephony/cellular_data/services/include/state_machine/
Dinactive.h31 Inactive(std::weak_ptr<CellularDataStateMachine> &&cellularService, std::string &&name) in Inactive()
38 void SetStateMachine(const std::weak_ptr<CellularDataStateMachine> &stateMachine);
43 std::weak_ptr<CellularDataStateMachine> stateMachine_;
Dcellular_data_state_machine.h37 class CellularDataStateMachine : public StateMachine,
38 public std::enable_shared_from_this<CellularDataStateMachine> {
40 CellularDataStateMachine(sptr<DataConnectionManager> &cdConnectionManager, in CellularDataStateMachine() function
47 ~CellularDataStateMachine() = default;
48 bool operator==(const CellularDataStateMachine &stateMachine) const;
Ddisconnecting.h31 Disconnecting(std::weak_ptr<CellularDataStateMachine> &&cellularService, std::string &&name) in Disconnecting()
43 std::weak_ptr<CellularDataStateMachine> stateMachine_;
Dactivating.h31 Activating(std::weak_ptr<CellularDataStateMachine> &&cellularService, std::string &&name) in Activating()
44 std::weak_ptr<CellularDataStateMachine> stateMachine_;
Ddefault.h32 Default(std::weak_ptr<CellularDataStateMachine> &&cellularService, std::string &&name) in Default()
58 std::weak_ptr<CellularDataStateMachine> stateMachine_;
Dactive.h33 Active(std::weak_ptr<CellularDataStateMachine> &&cellularService, std::string &&name) in Active()
72 std::weak_ptr<CellularDataStateMachine> stateMachine_;
/base/telephony/cellular_data/services/include/apn_manager/
Dapn_holder.h27 class CellularDataStateMachine; variable
45 void SetCellularDataStateMachine(const std::shared_ptr<CellularDataStateMachine> &stateMachine);
46 std::shared_ptr<CellularDataStateMachine> GetCellularDataStateMachine() const;
67 std::shared_ptr<CellularDataStateMachine> cellularDataStateMachine_;
Dapn_manager.h43 … bool IsDataConnectionNotUsed(const std::shared_ptr<CellularDataStateMachine> &stateMachine) const;
/base/telephony/cellular_data/test/fuzztest/common_fuzzer/
Dstatemachine_fuzzer.h31 std::shared_ptr<CellularDataStateMachine> CreateCellularDataConnect(int32_t slotId);
35 std::shared_ptr<CellularDataStateMachine> cellularDataStateMachine_ = nullptr;
Dstatemachine_fuzzer.cpp22 std::shared_ptr<CellularDataStateMachine> StateMachineFuzzer::CreateCellularDataConnect(int32_t slo… in CreateCellularDataConnect()
39 …std::make_shared<CellularDataStateMachine>(connectionManager, shared_from_this(), stateMachineEven… in CreateCellularDataConnect()
/base/telephony/cellular_data/services/src/
Ddata_connection_manager.cpp50 …nectionManager::AddConnectionStateMachine(const std::shared_ptr<CellularDataStateMachine> &stateMa… in AddConnectionStateMachine()
58 …tionManager::RemoveConnectionStateMachine(const std::shared_ptr<CellularDataStateMachine> &stateMa… in RemoveConnectionStateMachine()
65 for (std::vector<std::shared_ptr<CellularDataStateMachine>>::const_iterator iter = in RemoveConnectionStateMachine()
74 std::vector<std::shared_ptr<CellularDataStateMachine>> DataConnectionManager::GetAllConnectionMachi… in GetAllConnectionMachine()
80 void DataConnectionManager::AddActiveConnectionByCid(const std::shared_ptr<CellularDataStateMachine in AddActiveConnectionByCid()
88 std::shared_ptr<CellularDataStateMachine> DataConnectionManager::GetActiveConnectionByCid(int32_t c… in GetActiveConnectionByCid()
91 …std::map<int32_t, std::shared_ptr<CellularDataStateMachine>>::const_iterator it = cidActiveConnect… in GetActiveConnectionByCid()
98 std::map<int32_t, std::shared_ptr<CellularDataStateMachine>> DataConnectionManager::GetActiveConnec… in GetActiveConnection()
207 std::vector<std::shared_ptr<CellularDataStateMachine>> retryDataConnection; in RadioDataCallListChanged()
208 std::map<int32_t, std::shared_ptr<CellularDataStateMachine>> idActiveConnectionMap = in RadioDataCallListChanged()
[all …]
Dcellular_data_handler.cpp232 std::shared_ptr<CellularDataStateMachine> stateMachine = apn->GetCellularDataStateMachine(); in ClearConnection()
500 std::shared_ptr<CellularDataStateMachine> CellularDataHandler::FindIdleCellularDataConnection() con… in FindIdleCellularDataConnection()
506 …std::vector<std::shared_ptr<CellularDataStateMachine>> allMachines = connectionManager_->GetAllCon… in FindIdleCellularDataConnection()
507 for (const std::shared_ptr<CellularDataStateMachine> &connect : allMachines) { in FindIdleCellularDataConnection()
519 std::shared_ptr<CellularDataStateMachine> CellularDataHandler::CreateCellularDataConnect() in CreateCellularDataConnect()
528 std::shared_ptr<CellularDataStateMachine> cellularDataStateMachine = in CreateCellularDataConnect()
529 …std::make_shared<CellularDataStateMachine>(connectionManager_, shared_from_this(), stateMachineEve… in CreateCellularDataConnect()
556 …std::shared_ptr<CellularDataStateMachine> cellularDataStateMachine = FindIdleCellularDataConnectio… in EstablishDataConnection()
605 … std::shared_ptr<CellularDataStateMachine> stateMachine = apnHolder->GetCellularDataStateMachine(); in EstablishDataConnectionComplete()
1216 …std::shared_ptr<CellularDataStateMachine> activeStateMachine = connectionManager_->GetActiveConnec… in HasInternetCapability()
[all …]
/base/telephony/cellular_data/test/fuzztest/updatedisconnectmachine_fuzzer/
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()
/base/telephony/cellular_data/test/fuzztest/updateinactivemachine_fuzzer/
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()
/base/telephony/cellular_data/test/fuzztest/updateactivemachine_fuzzer/
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()
/base/telephony/cellular_data/services/src/apn_manager/
Dapn_holder.cpp118 void ApnHolder::SetCellularDataStateMachine(const std::shared_ptr<CellularDataStateMachine> &stateM… in SetCellularDataStateMachine()
123 std::shared_ptr<CellularDataStateMachine> ApnHolder::GetCellularDataStateMachine() const in GetCellularDataStateMachine()
Dapn_manager.cpp225 bool ApnManager::IsDataConnectionNotUsed(const std::shared_ptr<CellularDataStateMachine> &stateMach… in IsDataConnectionNotUsed()
236 …std::shared_ptr<CellularDataStateMachine> cellularDataStateMachine = apnHolder->GetCellularDataSta… in IsDataConnectionNotUsed()

12