Home
last modified time | relevance | path

Searched refs:cellular_ (Results 1 – 14 of 14) sorted by relevance

/system/connectivity/shill/cellular/
Dcellular_capability_universal_unittest.cc94 cellular_(new Cellular(&modem_info_, in CellularCapabilityUniversalTest()
101 service_(new MockCellularService(&modem_info_, cellular_)), in CellularCapabilityUniversalTest()
104 modem_info_.metrics()->RegisterDevice(cellular_->interface_index(), in CellularCapabilityUniversalTest()
109 cellular_->service_ = nullptr; in ~CellularCapabilityUniversalTest()
116 cellular_->capability_.get()); in SetUp()
118 static_cast<DeviceMockAdaptor*>(cellular_->adaptor()); in SetUp()
119 cellular_->service_ = service_; in SetUp()
143 auto service = new CellularService(&modem_info_, cellular_); in CreateService()
152 cellular_->set_home_provider(serving_operator); in CreateService()
153 cellular_->service_ = service; in CreateService()
[all …]
Dcellular_capability_classic_unittest.cc67 cellular_(new Cellular(&modem_info_, in CellularCapabilityTest()
74 modem_info_.metrics()->RegisterDevice(cellular_->interface_index(), in CellularCapabilityTest()
79 cellular_->service_ = nullptr; in ~CellularCapabilityTest()
85 static_cast<Device*>(cellular_.get())->rtnl_handler_ = &rtnl_handler_; in SetUp()
88 cellular_->capability_.get()); in SetUp()
90 static_cast<DeviceMockAdaptor*>(cellular_->adaptor()); in SetUp()
107 auto service = new CellularService(&modem_info_, cellular_); in CreateService()
117 cellular_->set_home_provider(serving_operator); in CreateService()
118 cellular_->service_ = service; in CreateService()
122 return static_cast<CellularCapabilityGSM*>(cellular_->capability_.get()); in GetGsmCapability()
[all …]
Dcellular_capability_cdma_unittest.cc53 cellular_(new MockCellular(&modem_info_, in CellularCapabilityCDMATest()
63 modem_info_.metrics()->RegisterDevice(cellular_->interface_index(), in CellularCapabilityCDMATest()
68 cellular_->service_ = nullptr; in ~CellularCapabilityCDMATest()
74 static_cast<CellularCapabilityCDMA*>(cellular_->capability_.get()); in SetUp()
137 cellular_->service_ = new CellularService(&modem_info_, cellular_); in SetService()
141 cellular_->state_ = state; in SetDeviceState()
146 scoped_refptr<MockCellular> cellular_; member in shill::CellularCapabilityCDMATest
157 EXPECT_TRUE(cellular_->store().Contains(kPRLVersionProperty)); in TEST_F()
174 cellular_->service()->activation_state()); in TEST_F()
175 EXPECT_EQ("", cellular_->service()->error()); in TEST_F()
[all …]
Dcellular_capability_gsm_unittest.cc72 cellular_(new Cellular(&modem_info_, in CellularCapabilityGSMTest()
81 modem_info_.metrics()->RegisterDevice(cellular_->interface_index(), in CellularCapabilityGSMTest()
86 cellular_->service_ = nullptr; in ~CellularCapabilityGSMTest()
93 static_cast<CellularCapabilityGSM*>(cellular_->capability_.get()); in SetUp()
95 static_cast<DeviceMockAdaptor*>(cellular_->adaptor()); in SetUp()
260 auto service = new CellularService(&modem_info_, cellular_); in CreateService()
270 cellular_->set_home_provider(serving_operator); in CreateService()
271 cellular_->service_ = service; in CreateService()
281 cellular_->set_home_provider_info(mock_home_provider_info_); in SetMockMobileOperatorInfoObjects()
282 cellular_->set_serving_operator_info(mock_serving_operator_info_); in SetMockMobileOperatorInfoObjects()
[all …]
Dcellular_capability_universal_cdma_unittest.cc76 cellular_(new Cellular(&modem_info_, in CellularCapabilityUniversalCDMATest()
84 cellular_)), in CellularCapabilityUniversalCDMATest()
89 cellular_->service_ = nullptr; in ~CellularCapabilityUniversalCDMATest()
96 cellular_->capability_.get()); in SetUp()
98 static_cast<NiceMock<DeviceMockAdaptor>*>(cellular_->adaptor()); in SetUp()
99 cellular_->service_ = service_; in SetUp()
107 cellular_->service_ = new CellularService(&modem_info_, cellular_); in SetService()
111 cellular_->service_ = nullptr; in ClearService()
133 cellular_->set_home_provider_info(mock_home_provider_info_); in SetMockMobileOperatorInfoObjects()
134 cellular_->set_serving_operator_info(mock_serving_operator_info_); in SetMockMobileOperatorInfoObjects()
[all …]
Dsubscription_state_out_of_credits_detector_unittest.cc48 cellular_(new NiceMock<MockCellular>(&modem_info_, in SubscriptionStateOutOfCreditsDetectorTest()
55 service_(new NiceMock<MockCellularService>(&modem_info_, cellular_)), in SubscriptionStateOutOfCreditsDetectorTest()
64 cellular_->service_ = service_; in SetUp()
69 cellular_->service_ = nullptr; // Break circular reference. in TearDown()
80 scoped_refptr<NiceMock<MockCellular>> cellular_; member in shill::SubscriptionStateOutOfCreditsDetectorTest
Dcellular_service.cc82 cellular_(device), in CellularService()
106 set_friendly_name(cellular_->CreateDefaultFriendlyServiceName()); in CellularService()
108 cellular_->address() + "_" + friendly_name()); in CellularService()
117 if (!cellular_->running()) { in IsAutoConnectable()
121 if (cellular_->IsActivating()) { in IsAutoConnectable()
347 cellular_->Connect(error); in Connect()
354 cellular_->Disconnect(error, reason); in Disconnect()
360 cellular_->Activate(carrier, error, callback); in ActivateCellularModem()
364 cellular_->CompleteActivation(error); in CompleteCellularActivation()
385 return cellular_->GetRpcIdentifier(); in GetDeviceRpcId()
Dcellular_capability.h275 Cellular* cellular() const { return cellular_; } in cellular()
288 return cellular_->allow_roaming_property(); in allow_roaming_property()
302 Cellular* cellular_; variable
Dactive_passive_out_of_credits_detector_unittest.cc58 cellular_(new NiceMock<MockCellular>(&modem_info_, in ActivePassiveOutOfCreditsDetectorTest()
65 service_(new NiceMock<MockCellularService>(&modem_info_, cellular_)), in ActivePassiveOutOfCreditsDetectorTest()
74 cellular_->service_ = service_; in SetUp()
88 cellular_->service_ = nullptr; // Break circular reference. in TearDown()
115 scoped_refptr<NiceMock<MockCellular>> cellular_; member in shill::ActivePassiveOutOfCreditsDetectorTest
Dcellular.cc1572 : cellular_(cellular), in MobileOperatorInfoObserver()
1578 SLOG(cellular_, 3) << __func__; in OnOperatorChanged()
1588 cellular_->home_provider_info(); in OnOperatorChanged()
1590 cellular_->serving_operator_info(); in OnOperatorChanged()
1598 cellular_->UpdateHomeProvider(home_provider_info); in OnOperatorChanged()
1600 SLOG(cellular_, 2) << "Serving provider proxying in for home provider."; in OnOperatorChanged()
1601 cellular_->UpdateHomeProvider(serving_operator_info); in OnOperatorChanged()
1606 cellular_->UpdateServingOperator(serving_operator_info, in OnOperatorChanged()
1609 cellular_->UpdateServingOperator(serving_operator_info, nullptr); in OnOperatorChanged()
1612 cellular_->UpdateServingOperator(home_provider_info, home_provider_info); in OnOperatorChanged()
Dcellular_service.h68 const CellularRefPtr& cellular() const { return cellular_; } in cellular()
228 CellularRefPtr cellular_; variable
Dcellular_capability.cc58 : cellular_(cellular), in CellularCapability()
Dcellular_capability_classic.h173 Cellular* cellular_; variable
Dcellular.h409 Cellular* const cellular_;