Home
last modified time | relevance | path

Searched refs:cellularDataHandler (Results 1 - 15 of 15) sorted by relevance

/base/telephony/cellular_data/test/
H A Dcellular_data_handler_test.cpp45 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); in HWTEST_F() local
48 cellularDataHandler->HandleUpdateNetInfo(event); in HWTEST_F()
49 EXPECT_EQ(cellularDataHandler->connectionManager_, nullptr); in HWTEST_F()
50 EXPECT_EQ(cellularDataHandler->apnManager_, nullptr); in HWTEST_F()
63 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); in HWTEST_F() local
64 cellularDataHandler->Init(); in HWTEST_F()
67 cellularDataHandler->HandleUpdateNetInfo(event); in HWTEST_F()
68 EXPECT_NE(cellularDataHandler->connectionManager_, nullptr); in HWTEST_F()
69 EXPECT_NE(cellularDataHandler->apnManager_, nullptr); in HWTEST_F()
83 auto cellularDataHandler in HWTEST_F() local
108 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
136 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
172 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
195 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
212 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
229 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
249 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
266 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
283 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
300 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
317 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
334 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
349 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
366 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
387 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
411 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 1); HWTEST_F() local
428 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 1); HWTEST_F() local
449 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
472 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
491 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
517 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
535 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
557 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
583 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 1); HWTEST_F() local
599 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 1); HWTEST_F() local
617 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 1); HWTEST_F() local
637 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 1); HWTEST_F() local
655 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 1); HWTEST_F() local
679 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 1); HWTEST_F() local
703 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 1); HWTEST_F() local
727 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 1); HWTEST_F() local
748 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 1); HWTEST_F() local
769 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 1); HWTEST_F() local
785 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 1); HWTEST_F() local
813 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 1); HWTEST_F() local
841 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 1); HWTEST_F() local
859 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
879 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
894 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
[all...]
H A Dcellular_data_observer_test.cpp54 std::shared_ptr<CellularDataHandler> cellularDataHandler = in createCellularDataHandler() local
56 return cellularDataHandler; in createCellularDataHandler()
62 std::shared_ptr<CellularDataHandler> cellularDataHandler = nullptr; in HWTEST_F() local
63 auto cellularDataIncallObserver = std::make_shared<CellularDataIncallObserver>(cellularDataHandler); in HWTEST_F()
65 ASSERT_TRUE(cellularDataHandler == nullptr); in HWTEST_F()
67 // GetValue success, cellularDataHandler is nullptr in HWTEST_F()
72 ASSERT_TRUE(cellularDataHandler == nullptr); in HWTEST_F()
74 // GetValue success, cellularDataHandler is not nullptr in HWTEST_F()
75 cellularDataHandler = CellularDataObserverTest::createCellularDataHandler(); in HWTEST_F()
76 cellularDataIncallObserver = std::make_shared<CellularDataIncallObserver>(cellularDataHandler); in HWTEST_F()
83 std::shared_ptr<CellularDataHandler> cellularDataHandler = nullptr; HWTEST_F() local
107 std::shared_ptr<CellularDataHandler> cellularDataHandler = nullptr; HWTEST_F() local
138 std::shared_ptr<CellularDataHandler> cellularDataHandler = nullptr; HWTEST_F() local
[all...]
H A Dcellular_data_handler_branch_test.cpp143 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 2); in HWTEST_F() local
145 EXPECT_EQ(cellularDataHandler->dataSwitchSettings_, nullptr); in HWTEST_F()
146 cellularDataHandler->defaultDataRoamingEnable_ = false; in HWTEST_F()
148 cellularDataHandler->IsCellularDataRoamingEnabled(result); in HWTEST_F()
151 cellularDataHandler->Init(); in HWTEST_F()
152 cellularDataHandler->IsCellularDataRoamingEnabled(result); in HWTEST_F()
161 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 2); in HWTEST_F() local
163 EXPECT_EQ(cellularDataHandler->incallDataStateMachine_, nullptr); in HWTEST_F()
164 cellularDataHandler->incallDataStateMachine_ = in HWTEST_F()
165 cellularDataHandler in HWTEST_F()
174 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 2); HWTEST_F() local
193 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 2); HWTEST_F() local
211 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 2); HWTEST_F() local
224 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 2); HWTEST_F() local
249 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 2); HWTEST_F() local
289 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
329 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
342 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
360 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
381 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
398 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
478 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
494 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
507 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
540 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
553 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); HWTEST_F() local
[all...]
H A Dzero_branch_test.cpp153 CellularDataHandler cellularDataHandler { subscriberInfo, 0 }; in HWTEST_F()
154 cellularDataHandler.HandleSimStateChanged(); in HWTEST_F()
155 cellularDataHandler.ReleaseAllNetworkRequest(); in HWTEST_F()
156 cellularDataHandler.CreateApnItem(); in HWTEST_F()
159 cellularDataHandler.ProcessEvent(event); in HWTEST_F()
161 cellularDataHandler.OnReceiveEvent(data); in HWTEST_F()
162 ASSERT_NE(cellularDataHandler.SetCellularDataEnable(true), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
164 cellularDataHandler.IsCellularDataEnabled(dataEnaled); in HWTEST_F()
167 cellularDataHandler.IsCellularDataRoamingEnabled(dataRoamingEnabled); in HWTEST_F()
169 ASSERT_NE(cellularDataHandler in HWTEST_F()
[all...]
H A Dcellular_data_test.cpp1994 auto cellularDataHandler = std::make_shared<CellularDataHandler>(subscriberInfo, 0); in HWTEST_F() local
1995 cellularDataHandler->Init(); in HWTEST_F()
1996 controller->cellularDataHandler_ = cellularDataHandler; in HWTEST_F()
/base/telephony/cellular_data/services/src/
H A Dcellular_data_rdb_observer.cpp26 CellularDataRdbObserver::CellularDataRdbObserver(std::weak_ptr<TelEventHandler> &&cellularDataHandler) in CellularDataRdbObserver() argument
27 : cellularDataHandler_(std::move(cellularDataHandler)) in CellularDataRdbObserver()
35 auto cellularDataHandler = cellularDataHandler_.lock(); in OnChange() local
36 if (cellularDataHandler == nullptr) { in OnChange()
37 TELEPHONY_LOGE("cellularDataHandler is null"); in OnChange()
41 cellularDataHandler->SendEvent(event); in OnChange()
H A Dcellular_data_setting_observer.cpp26 CellularDataSettingObserver::CellularDataSettingObserver(std::weak_ptr<TelEventHandler> &&cellularDataHandler) in CellularDataSettingObserver() argument
27 : cellularDataHandler_(std::move(cellularDataHandler)) in CellularDataSettingObserver()
45 auto cellularDataHandler = cellularDataHandler_.lock(); in OnChange() local
46 if (cellularDataHandler != nullptr) { in OnChange()
47 cellularDataHandler->SendEvent(CellularDataEventCode::MSG_DB_SETTING_ENABLE_CHANGED, value, 0); in OnChange()
H A Dcellular_data_incall_observer.cpp26 CellularDataIncallObserver::CellularDataIncallObserver(std::weak_ptr<TelEventHandler> &&cellularDataHandler) in CellularDataIncallObserver() argument
27 : cellularDataHandler_(std::move(cellularDataHandler)) in CellularDataIncallObserver()
45 auto cellularDataHandler = cellularDataHandler_.lock(); in OnChange() local
46 if (cellularDataHandler != nullptr) { in OnChange()
47 cellularDataHandler->SendEvent(CellularDataEventCode::MSG_DB_SETTING_INCALL_CHANGED, value, 0); in OnChange()
H A Dcellular_data_roaming_observer.cpp27 std::weak_ptr<TelEventHandler> &&cellularDataHandler, int32_t slotId) in CellularDataRoamingObserver()
28 : cellularDataHandler_(std::move(cellularDataHandler)), slotId_(slotId) in CellularDataRoamingObserver()
52 auto cellularDataHandler = cellularDataHandler_.lock(); in OnChange() local
53 if (cellularDataHandler != nullptr) { in OnChange()
54 cellularDataHandler->SendEvent(CellularDataEventCode::MSG_DB_SETTING_ROAMING_CHANGED, value, 0); in OnChange()
26 CellularDataRoamingObserver( std::weak_ptr<TelEventHandler> &&cellularDataHandler, int32_t slotId) CellularDataRoamingObserver() argument
/base/telephony/cellular_data/services/include/
H A Dcellular_data_setting_observer.h26 explicit CellularDataSettingObserver(std::weak_ptr<TelEventHandler> &&cellularDataHandler);
H A Dcellular_data_incall_observer.h26 explicit CellularDataIncallObserver(std::weak_ptr<TelEventHandler> &&cellularDataHandler);
H A Dcellular_data_rdb_observer.h26 explicit CellularDataRdbObserver(std::weak_ptr<TelEventHandler> &&cellularDataHandler);
H A Dcellular_data_roaming_observer.h26 explicit CellularDataRoamingObserver(std::weak_ptr<TelEventHandler> &&cellularDataHandler, int32_t slotId);
/base/telephony/cellular_data/services/include/state_machine/
H A Dcellular_data_state_machine.h44 sptr<DataConnectionManager> &cdConnectionManager, std::shared_ptr<TelEventHandler> &&cellularDataHandler) in CellularDataStateMachine()
46 cellularDataHandler_(std::move(cellularDataHandler)), cid_(0), capability_(0), in CellularDataStateMachine()
43 CellularDataStateMachine( sptr<DataConnectionManager> &cdConnectionManager, std::shared_ptr<TelEventHandler> &&cellularDataHandler) CellularDataStateMachine() argument
H A Dincall_data_state_machine.h34 int32_t slotId, std::weak_ptr<TelEventHandler> &&cellularDataHandler, sptr<ApnManager> &apnManager) in IncallDataStateMachine()
35 : StateMachine("IncallDataStateMachine"), cellularDataHandler_(std::move(cellularDataHandler)), in IncallDataStateMachine()
33 IncallDataStateMachine( int32_t slotId, std::weak_ptr<TelEventHandler> &&cellularDataHandler, sptr<ApnManager> &apnManager) IncallDataStateMachine() argument

Completed in 10 milliseconds