/system/connectivity/shill/cellular/ |
D | cellular.cc | 75 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 …]
|
D | cellular_unittest.cc | 95 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 …]
|
D | cellular_capability_classic.cc | 57 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 …]
|
D | cellular_capability_cdma.cc | 54 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()
|
D | cellular_capability.h | 33 class Cellular; variable 83 CellularCapability(Cellular* cellular, 275 Cellular* cellular() const { return cellular_; } in cellular() 302 Cellular* cellular_;
|
D | cellular_capability_cdma_unittest.cc | 57 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()
|
D | cellular_capability_gsm.cc | 74 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 …]
|
D | mobile_operator_info.cc | 132 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()
|
D | cellular.h | 47 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);
|
D | modem_classic.cc | 54 set_type(Cellular::kTypeCDMA); in CreateDeviceClassic() 57 set_type(Cellular::kTypeGSM); in CreateDeviceClassic()
|
D | modem_1.cc | 80 set_type(Cellular::kTypeUniversal); in CreateDeviceMM1() 82 set_type(Cellular::kTypeUniversalCDMA); in CreateDeviceMM1()
|
D | modem.h | 62 void set_type(Cellular::Type type) { type_ = type; } in set_type() 73 virtual Cellular* ConstructCellular(const std::string& link_name, 131 Cellular::Type type_;
|
D | cellular_capability_classic.h | 36 class Cellular; variable 69 CellularCapabilityClassic(Cellular* cellular, 173 Cellular* cellular_;
|
D | modem.cc | 58 type_(Cellular::kTypeInvalid), in Modem() 93 Cellular* Modem::ConstructCellular(const string& link_name, in ConstructCellular() 98 return new Cellular(modem_info_, in ConstructCellular()
|
D | cellular_capability_classic_unittest.cc | 67 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()
|
D | cellular_capability_universal_unittest.cc | 94 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 …]
|
D | mock_cellular.cc | 35 : Cellular(modem_info, link_name, address, interface_index, type, in MockCellular()
|
D | cellular_capability_universal.cc | 150 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 …]
|
D | mock_modem.h | 46 MOCK_METHOD3(ConstructCellular, Cellular*(
|
D | mock_cellular.h | 29 class MockCellular : public Cellular {
|
D | subscription_state_out_of_credits_detector_unittest.cc | 52 Cellular::kTypeCDMA, in SubscriptionStateOutOfCreditsDetectorTest()
|
/system/connectivity/shill/doc/ |
D | device-api.txt | 52 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/ |
D | refptr_types.h | 28 class Cellular; variable 29 typedef scoped_refptr<const Cellular> CellularConstRefPtr; 30 typedef scoped_refptr<Cellular> CellularRefPtr;
|
/system/connectivity/shill/bin/ |
D | set_apn | 40 APN_PROPERTY=Cellular.APN 41 LAST_GOOD_APN_PROPERTY=Cellular.LastGoodAPN
|
D | set_cellular_ppp | 42 PASSWORD_PROPERTY=Cellular.PPP.Password 44 USERNAME_PROPERTY=Cellular.PPP.Username
|