Home
last modified time | relevance | path

Searched refs:Cellular (Results 1 – 25 of 39) sorted by relevance

12

/system/connectivity/shill/cellular/
Dcellular.cc75 static string ObjectID(Cellular* c) { return c->GetRpcIdentifier(); } in ObjectID()
79 const char Cellular::kAllowRoaming[] = "AllowRoaming";
80 const int64_t Cellular::kDefaultScanningTimeoutMilliseconds = 60000;
81 const char Cellular::kGenericServiceNamePrefix[] = "MobileNetwork";
82 unsigned int Cellular::friendly_service_name_id_ = 1;
84 Cellular::Cellular(ModemInfo* modem_info, in Cellular() function in shill::Cellular
107 new Cellular::MobileOperatorInfoObserver(this)), in Cellular()
140 Cellular::~Cellular() { in ~Cellular()
158 bool Cellular::Load(StoreInterface* storage) { in Load()
168 bool Cellular::Save(StoreInterface* storage) { in Save()
[all …]
Dcellular_unittest.cc95 device_(new Cellular(&modem_info_, in CellularPropertyTest()
99 Cellular::kTypeCDMA, in CellularPropertyTest()
156 device_(new Cellular(&modem_info_, in CellularTest()
160 Cellular::kTypeGSM, in CellularTest()
180 device_->state_ = Cellular::kStateDisabled; in TearDown()
359 SetCellularType(Cellular::kTypeUniversal); in ExpectDisconnectCapabilityUniversal()
360 device_->state_ = Cellular::kStateConnected; in ExpectDisconnectCapabilityUniversal()
368 EXPECT_EQ(Cellular::kStateRegistered, device_->state_); in VerifyDisconnect()
389 device_->state_ = Cellular::kStateConnected; in FakeUpConnectedPPP()
416 SetCellularType(Cellular::kTypeUniversal); in SetupOnAfterResume()
[all …]
Dcellular_capability_classic.cc57 static Cellular::ModemState ConvertClassicToModemState(uint32_t classic_state) { in ConvertClassicToModemState()
61 return Cellular::kModemStateUnknown; in ConvertClassicToModemState()
63 return Cellular::kModemStateDisabled; in ConvertClassicToModemState()
65 return Cellular::kModemStateDisabling; in ConvertClassicToModemState()
67 return Cellular::kModemStateEnabling; in ConvertClassicToModemState()
69 return Cellular::kModemStateEnabled; in ConvertClassicToModemState()
71 return Cellular::kModemStateSearching; in ConvertClassicToModemState()
73 return Cellular::kModemStateRegistered; in ConvertClassicToModemState()
75 return Cellular::kModemStateDisconnecting; in ConvertClassicToModemState()
77 return Cellular::kModemStateConnecting; in ConvertClassicToModemState()
[all …]
Dcellular_capability_cdma.cc54 Cellular* cellular, in CellularCapabilityCDMA()
178 if (cellular()->state() == Cellular::kStateEnabled || in Activate()
179 cellular()->state() == Cellular::kStateRegistered) { in Activate()
185 } else if (cellular()->state() == Cellular::kStateConnected || in Activate()
186 cellular()->state() == Cellular::kStateLinked) { in Activate()
193 Cellular::GetStateString(cellular()->state())); in Activate()
214 if (cellular()->state() == Cellular::kStateEnabled || in DisconnectCleanup()
215 cellular()->state() == Cellular::kStateRegistered) { in DisconnectCleanup()
Dcellular_capability.h33 class Cellular; variable
83 CellularCapability(Cellular* cellular,
275 Cellular* cellular() const { return cellular_; } in cellular()
302 Cellular* cellular_;
Dcellular_capability_cdma_unittest.cc57 Cellular::kTypeCDMA, in CellularCapabilityCDMATest()
140 void SetDeviceState(Cellular::State state) { in SetDeviceState()
161 SetDeviceState(Cellular::kStateEnabled); in TEST_F()
179 SetDeviceState(Cellular::kStateConnected); in TEST_F()
201 SetDeviceState(Cellular::kStateRegistered); in TEST_F()
214 SetDeviceState(Cellular::kStateConnected); in TEST_F()
245 SetDeviceState(Cellular::kStateEnabled); in TEST_F()
388 cellular_->state_ = Cellular::kStateEnabled; in TEST_F()
Dcellular_capability_gsm.cc74 Cellular* cellular, in CellularCapabilityGSM()
211 case Cellular::kModemStateFailed: in IsUnderlyingDeviceRegistered()
212 case Cellular::kModemStateUnknown: in IsUnderlyingDeviceRegistered()
213 case Cellular::kModemStateDisabled: in IsUnderlyingDeviceRegistered()
214 case Cellular::kModemStateInitializing: in IsUnderlyingDeviceRegistered()
215 case Cellular::kModemStateLocked: in IsUnderlyingDeviceRegistered()
216 case Cellular::kModemStateDisabling: in IsUnderlyingDeviceRegistered()
217 case Cellular::kModemStateEnabling: in IsUnderlyingDeviceRegistered()
218 case Cellular::kModemStateEnabled: in IsUnderlyingDeviceRegistered()
220 case Cellular::kModemStateSearching: in IsUnderlyingDeviceRegistered()
[all …]
Dmobile_operator_info.cc132 if (SLOG_IS_ON(Cellular, 3)) { in mccmnc_list()
145 if (SLOG_IS_ON(Cellular, 3)) { in sid_list()
159 if (SLOG_IS_ON(Cellular, 3)) { in operator_name_list()
174 if (SLOG_IS_ON(Cellular, 3)) { in apn_list()
196 if (SLOG_IS_ON(Cellular, 3)) { in olp_list()
Dcellular.h47 class Cellular : public Device, public RPCTaskDelegate {
95 Cellular(ModemInfo* modem_info,
102 ~Cellular() override;
398 explicit MobileOperatorInfoObserver(Cellular* cellular);
409 Cellular* const cellular_;
446 bool(Cellular::*get)(Error* error),
447 bool(Cellular::*set)(const bool& value, Error* error));
450 std::string(Cellular::*get)(Error* error));
487 base::WeakPtrFactory<Cellular> weak_ptr_factory_;
572 DISALLOW_COPY_AND_ASSIGN(Cellular);
Dmodem_classic.cc54 set_type(Cellular::kTypeCDMA); in CreateDeviceClassic()
57 set_type(Cellular::kTypeGSM); in CreateDeviceClassic()
Dmodem_1.cc80 set_type(Cellular::kTypeUniversal); in CreateDeviceMM1()
82 set_type(Cellular::kTypeUniversalCDMA); in CreateDeviceMM1()
Dmodem.h62 void set_type(Cellular::Type type) { type_ = type; } in set_type()
73 virtual Cellular* ConstructCellular(const std::string& link_name,
131 Cellular::Type type_;
Dcellular_capability_classic.h36 class Cellular; variable
69 CellularCapabilityClassic(Cellular* cellular,
173 Cellular* cellular_;
Dmodem.cc58 type_(Cellular::kTypeInvalid), in Modem()
93 Cellular* Modem::ConstructCellular(const string& link_name, in ConstructCellular()
98 return new Cellular(modem_info_, in ConstructCellular()
Dcellular_capability_classic_unittest.cc67 cellular_(new Cellular(&modem_info_, in CellularCapabilityTest()
71 Cellular::kTypeGSM, in CellularCapabilityTest()
234 void SetCellularType(Cellular::Type type) { in SetCellularType()
268 SetCellularType(Cellular::kTypeCDMA); in TEST_F()
349 cellular_->state_ = Cellular::kStateConnected; in TEST_F()
354 EXPECT_EQ(Cellular::kStateConnected, cellular_->state_); in TEST_F()
359 cellular_->state_ = Cellular::kStateConnected; in TEST_F()
362 EXPECT_EQ(Cellular::kStateRegistered, cellular_->state_); in TEST_F()
Dcellular_capability_universal_unittest.cc94 cellular_(new Cellular(&modem_info_, in CellularCapabilityUniversalTest()
98 Cellular::kTypeUniversal, in CellularCapabilityUniversalTest()
450 capability_->OnModemStateChanged(Cellular::kModemStateEnabling); in TEST_F()
458 capability_->OnModemStateChanged(Cellular::kModemStateDisabling); in TEST_F()
465 capability_->OnModemStateChanged(Cellular::kModemStateDisabled); in TEST_F()
493 capability_->OnModemStateChanged(Cellular::kModemStateDisabled); in TEST_F()
687 EXPECT_EQ(Cellular::kStateDisabled, cellular_->state()); in TEST_F()
688 EXPECT_EQ(Cellular::kModemStateUnknown, cellular_->modem_state()); in TEST_F()
693 cellular_->OnModemStateChanged(Cellular::kModemStateEnabled); in TEST_F()
695 EXPECT_EQ(Cellular::kStateEnabled, cellular_->state()); in TEST_F()
[all …]
Dmock_cellular.cc35 : Cellular(modem_info, link_name, address, interface_index, type, in MockCellular()
Dcellular_capability_universal.cc150 Cellular* cellular, in CellularCapabilityUniversal()
1147 Cellular::ModemState state = static_cast<Cellular::ModemState>(istate); in OnModemPropertiesChanged()
1355 Cellular::ModemState state) { in OnModemStateChanged()
1356 SLOG(this, 3) << __func__ << ": " << Cellular::GetModemStateString(state); in OnModemStateChanged()
1358 if (state == Cellular::kModemStateConnected) { in OnModemStateChanged()
1369 state == Cellular::kModemStateDisabled) { in OnModemStateChanged()
1531 if (cellular()->modem_state() == Cellular::kModemStateConnected && in On3GPPRegistrationChanged()
1628 Cellular::ModemState old_modem_state = in OnModemStateChangedSignal()
1629 static_cast<Cellular::ModemState>(old_state); in OnModemStateChangedSignal()
1630 Cellular::ModemState new_modem_state = in OnModemStateChangedSignal()
[all …]
Dmock_modem.h46 MOCK_METHOD3(ConstructCellular, Cellular*(
Dmock_cellular.h29 class MockCellular : public Cellular {
Dsubscription_state_out_of_credits_detector_unittest.cc52 Cellular::kTypeCDMA, in SubscriptionStateOutOfCreditsDetectorTest()
/system/connectivity/shill/doc/
Ddevice-api.txt52 the property Cellular.FoundNetworks (see below) is
67 (Cellular only) Enable or disable PIN protection for
84 (Cellular only) Provide a PIN to unlock a SIM card.
97 (Cellular only) Provide a PUK code to unblock a PIN.
115 (Cellular only) Change the PIN used to unlock a SIM
130 (Cellular only) Initiate registration on the network
149 (Cellular only) Set the modem carrier firmware. For
151 and Generic UMTS. The Cellular.SupportedCarriers
257 boolean Cellular.AllowRoaming [readwrite]
274 If the Cellular.ProviderRequiresRoaming property
[all …]
/system/connectivity/shill/
Drefptr_types.h28 class Cellular; variable
29 typedef scoped_refptr<const Cellular> CellularConstRefPtr;
30 typedef scoped_refptr<Cellular> CellularRefPtr;
/system/connectivity/shill/bin/
Dset_apn40 APN_PROPERTY=Cellular.APN
41 LAST_GOOD_APN_PROPERTY=Cellular.LastGoodAPN
Dset_cellular_ppp42 PASSWORD_PROPERTY=Cellular.PPP.Password
44 USERNAME_PROPERTY=Cellular.PPP.Username

12