Lines Matching refs:controller
243 CellularDataController controller { runner, 0 }; variable
244 controller.RegisterEvents();
245 controller.Init();
246 controller.cellularDataHandler_ = nullptr;
247 controller.cellularDataRdbObserver_ = nullptr;
249 ASSERT_FALSE(controller.ReleaseNet(request));
250 ASSERT_FALSE(controller.RequestNet(request));
251 ASSERT_NE(controller.SetCellularDataEnable(true), TELEPHONY_ERR_SUCCESS);
253 controller.IsCellularDataEnabled(dataEnabled);
255 ASSERT_NE(controller.SetCellularDataRoamingEnabled(true), TELEPHONY_ERR_SUCCESS);
256 EXPECT_EQ(ApnProfileState::PROFILE_STATE_FAILED, controller.GetCellularDataState());
257 EXPECT_EQ(ApnProfileState::PROFILE_STATE_FAILED, controller.GetCellularDataState(""));
259 controller.IsCellularDataRoamingEnabled(dataRoamingEnabled);
261 controller.SetDataPermitted(true);
262 ASSERT_FALSE(controller.HandleApnChanged());
263 controller.EstablishDataConnection();
265 controller.ProcessEvent(event);
267 controller.ProcessEvent(event);
268 controller.RegisterEvents();
269 ASSERT_FALSE(controller.IsRestrictedMode());
270 ASSERT_EQ(DisConnectionReason::REASON_NORMAL, controller.GetDisConnectionReason());
271 controller.HasInternetCapability(0);
273 ASSERT_FALSE(controller.ClearAllConnections(reason));
274 controller.UnRegisterEvents();
275 ASSERT_FALSE(controller.HandleApnChanged());
276 ASSERT_FALSE(controller.GetCellularDataFlowType());