Home
last modified time | relevance | path

Searched refs:cellularMachine (Results 1 - 7 of 7) sorted by relevance

/base/telephony/cellular_data/test/
H A Dcellualr_data_branch_test.cpp43 std::shared_ptr<CellularDataStateMachine> cellularMachine; member in OHOS::Telephony::CellularStateMachineTest
88 if (cellularMachine == nullptr) { in HWTEST_F()
90 cellularMachine = machine->CreateCellularDataConnect(0); in HWTEST_F()
91 cellularMachine->Init(); in HWTEST_F()
93 auto active = static_cast<Active *>(cellularMachine->activeState_.GetRefPtr()); in HWTEST_F()
94 active->stateMachine_ = cellularMachine; in HWTEST_F()
96 ASSERT_TRUE(cellularMachine != nullptr); in HWTEST_F()
106 if (cellularMachine == nullptr) { in HWTEST_F()
108 cellularMachine = machine->CreateCellularDataConnect(0); in HWTEST_F()
109 cellularMachine in HWTEST_F()
[all...]
H A Dcellular_state_machine_test.cpp64 std::shared_ptr<CellularDataStateMachine> cellularMachine; member in OHOS::Telephony::CellularStateMachineTest
545 if (cellularMachine == nullptr) { in HWTEST_F()
547 cellularMachine = machine->CreateCellularDataConnect(0); in HWTEST_F()
548 cellularMachine->Init(); in HWTEST_F()
550 auto inactive = static_cast<Inactive *>(cellularMachine->inActiveState_.GetRefPtr()); in HWTEST_F()
552 inactive->SetStateMachine(cellularMachine); in HWTEST_F()
567 if (cellularMachine == nullptr) { in HWTEST_F()
569 cellularMachine = machine->CreateCellularDataConnect(0); in HWTEST_F()
570 cellularMachine->Init(); in HWTEST_F()
572 auto inactive = static_cast<Inactive *>(cellularMachine in HWTEST_F()
1369 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(0); HWTEST_F() local
1575 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(0); HWTEST_F() local
1709 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(0); HWTEST_F() local
1724 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(0); HWTEST_F() local
1741 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(0); HWTEST_F() local
1758 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(0); HWTEST_F() local
2036 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(0); HWTEST_F() local
2057 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(0); HWTEST_F() local
2078 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(0); HWTEST_F() local
2099 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(0); HWTEST_F() local
2120 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(0); HWTEST_F() local
2139 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(0); HWTEST_F() local
[all...]
H A Dzero_branch_test.cpp1332 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(0); in HWTEST_F() local
1333 cellularMachine->Init(); in HWTEST_F()
1334 auto active = static_cast<Active *>(cellularMachine->activeState_.GetRefPtr()); in HWTEST_F()
1366 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(0); in HWTEST_F() local
1367 cellularMachine->Init(); in HWTEST_F()
1368 auto activating = static_cast<Activating *>(cellularMachine->activatingState_.GetRefPtr()); in HWTEST_F()
1389 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(0); in HWTEST_F() local
1390 cellularMachine->Init(); in HWTEST_F()
1391 auto inactive = static_cast<Inactive *>(cellularMachine->inActiveState_.GetRefPtr()); in HWTEST_F()
1410 std::shared_ptr<CellularDataStateMachine> cellularMachine in HWTEST_F() local
1432 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(0); HWTEST_F() local
1468 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(0); HWTEST_F() local
1643 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(0); HWTEST_F() local
1689 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(0); HWTEST_F() local
[all...]
H A Dcellular_data_handler_test.cpp413 std::shared_ptr<CellularDataStateMachine> cellularMachine = nullptr; in HWTEST_F() local
414 cellularDataHandler->connectionManager_->GetAllConnectionMachine().push_back(cellularMachine); in HWTEST_F()
430 std::shared_ptr<CellularDataStateMachine> cellularMachine = std::make_shared<CellularDataStateMachine>( in HWTEST_F() local
433 cellularDataHandler->connectionManager_->GetAllConnectionMachine().push_back(cellularMachine); in HWTEST_F()
730 std::shared_ptr<CellularDataStateMachine> cellularMachine = std::make_shared<CellularDataStateMachine>( in HWTEST_F() local
732 cellularMachine->capability_ = NetCap::NET_CAPABILITY_INTERNET; in HWTEST_F()
733 cellularDataHandler->connectionManager_->cidActiveConnectionMap_[0] = cellularMachine; in HWTEST_F()
751 std::shared_ptr<CellularDataStateMachine> cellularMachine = std::make_shared<CellularDataStateMachine>( in HWTEST_F() local
753 cellularMachine->capability_ = NetCap::NET_CAPABILITY_MMS; in HWTEST_F()
754 cellularDataHandler->connectionManager_->cidActiveConnectionMap_[0] = cellularMachine; in HWTEST_F()
821 std::shared_ptr<CellularDataStateMachine> cellularMachine = std::make_shared<CellularDataStateMachine>( HWTEST_F() local
[all...]
/base/telephony/cellular_data/test/fuzztest/updatedisconnectmachine_fuzzer/
H A Dupdatedisconnectmachine_fuzzer.cpp40 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(slotId); in UpdateDisconnectMachineFuzz() local
41 if (cellularMachine == nullptr) { in UpdateDisconnectMachineFuzz()
45 std::make_unique<Disconnecting>(std::weak_ptr<CellularDataStateMachine>(cellularMachine), "Disconnecting") in UpdateDisconnectMachineFuzz()
48 std::make_unique<Default>(std::weak_ptr<CellularDataStateMachine>(cellularMachine), "Default").release(); in UpdateDisconnectMachineFuzz()
54 cellularMachine->Init(); in UpdateDisconnectMachineFuzz()
/base/telephony/cellular_data/test/fuzztest/updateinactivemachine_fuzzer/
H A Dupdateinactivemachine_fuzzer.cpp40 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(slotId); in UpdateInActiveMachineFuzz() local
41 if (cellularMachine == nullptr) { in UpdateInActiveMachineFuzz()
44 cellularMachine->Init(); in UpdateInActiveMachineFuzz()
47 std::make_unique<Inactive>(std::weak_ptr<CellularDataStateMachine>(cellularMachine), "Inactive").release(); in UpdateInActiveMachineFuzz()
49 std::make_unique<Activating>(std::weak_ptr<CellularDataStateMachine>(cellularMachine), "Activating").release(); in UpdateInActiveMachineFuzz()
/base/telephony/cellular_data/test/fuzztest/updateactivemachine_fuzzer/
H A Dupdateactivemachine_fuzzer.cpp39 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(slotId); in UpdateActiveMachineFuzz() local
40 if (cellularMachine == nullptr) { in UpdateActiveMachineFuzz()
44 std::make_unique<Active>(std::weak_ptr<CellularDataStateMachine>(cellularMachine), "Active").release(); in UpdateActiveMachineFuzz()
48 cellularMachine->Init(); in UpdateActiveMachineFuzz()

Completed in 10 milliseconds