/system/connectivity/shill/cellular/ |
modem.cc | 17 #include "shill/cellular/modem.h" 37 static string ObjectID(Modem* m) { return m->path().c_str(); } 40 // TODO(petkov): Consider generating these in mm/mm-modem.h. 41 const char Modem::kPropertyLinkName[] = "Device"; 42 const char Modem::kPropertyIPMethod[] = "IpMethod"; 43 const char Modem::kPropertyType[] = "Type"; 46 constexpr char Modem::kFakeDevNameFormat[]; 47 const char Modem::kFakeDevAddress[] = "000000000000"; 48 const int Modem::kFakeDevInterfaceIndex = -1; 49 size_t Modem::fake_dev_serial_ = 0 [all...] |
mock_modem.cc | 25 : Modem(service, path, modem_info, control_interface) {}
|
modem.h | 38 // Handles an instance of ModemManager.Modem and an instance of a Cellular 40 class Modem { 42 // ||path| is the ModemManager.Modem DBus object path (e.g., 44 Modem(const std::string& service, 48 virtual ~Modem(); 50 // Asynchronously initializes support for the modem. 78 // Returns the name of the DBUS Modem interface. 119 // ModemManager.Modem properties and watch for property changes 142 DISALLOW_COPY_AND_ASSIGN(Modem); 145 class ModemClassic : public Modem { [all...] |
mock_modem.h | 24 #include "shill/cellular/modem.h" 28 class MockModem : public Modem {
|
modem_manager.h | 39 class Modem; 43 // Handles a modem manager service and creates and destroys modem instances. 52 // Starts watching for and handling the DBus modem manager service. 55 // Stops watching for the DBus modem manager service and destroys any 62 typedef std::map<std::string, std::shared_ptr<Modem>> Modems; 73 // Connect/Disconnect to a modem manager service. 80 // Put the modem into our modem map 81 void RecordAddedModem(std::shared_ptr<Modem> modem) [all...] |
modem_unittest.cc | 17 #include "shill/cellular/modem.h" 24 #include <mm/mm-modem.h> 140 // modem will take ownership 184 // No modem interface properties: no device created 221 base::StringPrintf(Modem::kFakeDevNameFormat, Modem::fake_dev_serial_)); 227 Modem::kFakeDevAddress, 228 Modem::kFakeDevInterfaceIndex, 239 StrEq(Modem::kFakeDevAddress), 240 Modem::kFakeDevInterfaceIndex)) [all...] |
modem_1.cc | 17 #include "shill/cellular/modem.h" 33 : Modem(service, path, modem_info, control_interface) {} 69 LOG(ERROR) << "Cellular device with no modem properties";
|
modem_classic.cc | 17 #include "shill/cellular/modem.h" 19 #include <mm/mm-modem.h> 32 : Modem(service, path, modem_info, control_interface) {} 60 LOG(ERROR) << "Unsupported cellular modem type: " << mm_type;
|
/external/autotest/client/cros/cellular/ |
modem.py | 13 class Modem(object): 14 """An object which talks to a ModemManager modem.""" 15 MODEM_INTERFACE = 'org.freedesktop.ModemManager.Modem' 16 SIMPLE_MODEM_INTERFACE = 'org.freedesktop.ModemManager.Modem.Simple' 17 CDMA_MODEM_INTERFACE = 'org.freedesktop.ModemManager.Modem.Cdma' 18 GSM_MODEM_INTERFACE = 'org.freedesktop.ModemManager.Modem.Gsm' 19 GOBI_MODEM_INTERFACE = 'org.chromium.ModemManager.Modem.Gobi' 20 GSM_CARD_INTERFACE = 'org.freedesktop.ModemManager.Modem.Gsm.Card' 21 GSM_SMS_INTERFACE = 'org.freedesktop.ModemManager.Modem.Gsm.SMS' 22 GSM_NETWORK_INTERFACE = 'org.freedesktop.ModemManager.Modem.Gsm.Network [all...] |
modem1.py | 5 """Implement a modem proxy to talk to a ModemManager1 modem.""" 19 class Modem(object): 20 """An object which talks to a ModemManager1 modem.""" 22 # From /usr/include/mm/mm-modem.h 33 # Mapping of modem technologies to cellular technologies 51 def Modem(self): 98 """Returns all DBus Properties of all the modem interfaces.""" 128 """Returns the modem access technology.""" 131 return Modem._ACCESS_TECH_TO_TECHNOLOGY[tech [all...] |
cell_tools.py | 8 # TODO(thieule): Consider renaming mm.py, mm1.py, modem.py, etc to be more 16 from autotest_lib.client.cros.cellular import modem 113 # This is racy: The modem is free to report itself as 130 'modem not disconnected from base station')) 134 """Get a set of modem paths.""" 142 # NB: This fails if an unrelated modem disappears. Not fixing 143 # until we support > 1 modem 155 'Modem did not come back after settings change')) 162 'Unexpected modem list change: %s vs %s' % 165 logger.info('New modem: %s' % new_modems[0] [all...] |
/system/connectivity/shill/dbus/ |
chromeos_modem_gobi_proxy.h | 29 // A proxy to (old) ModemManager.Modem.Gobi. 32 // Constructs a ModemManager.Modem.Gobi DBus object proxy at |path| owned by 51 std::unique_ptr<org::chromium::ModemManager::Modem::GobiProxy> proxy_;
|
chromeos_mm1_modem_modem3gpp_proxy.h | 29 // A proxy to org.freedesktop.ModemManager1.Modem.Modem3gpp. 32 // Constructs an org.freedesktop.ModemManager1.Modem.Modem3gpp DBus 59 std::unique_ptr<org::freedesktop::ModemManager1::Modem::Modem3gppProxy>
|
chromeos_modem_simple_proxy.h | 29 // A proxy to (old) ModemManager.Modem.Simple. 32 // Constructs a ModemManager.Modem.Simple DBus object proxy at 60 std::unique_ptr<org::freedesktop::ModemManager::Modem::SimpleProxy> proxy_;
|
chromeos_mm1_modem_modemcdma_proxy.h | 28 // A proxy to org.freedesktop.ModemManager1.Modem.ModemCdma. 31 // Constructs a org.freedesktop.ModemManager1.Modem.ModemCdma DBus 75 std::unique_ptr<org::freedesktop::ModemManager1::Modem::ModemCdmaProxy>
|
chromeos_mm1_modem_simple_proxy.h | 28 // A proxy to org.freedesktop.ModemManager1.Modem.Simple. 31 // Constructs a org.freedesktop.ModemManager1.Modem.Simple DBus 70 std::unique_ptr<org::freedesktop::ModemManager1::Modem::SimpleProxy> proxy_;
|
chromeos_modem_gobi_proxy.cc | 41 new org::chromium::ModemManager::Modem::GobiProxy(
|
chromeos_mm1_modem_modem3gpp_proxy.cc | 40 new org::freedesktop::ModemManager1::Modem::Modem3gppProxy(
|
chromeos_mm1_modem_modemcdma_proxy.cc | 40 new org::freedesktop::ModemManager1::Modem::ModemCdmaProxy(
|
chromeos_modem_cdma_proxy.h | 27 // A proxy to (old) ModemManager.Modem.CDMA. 30 // Constructs a ModemManager.Modem.CDMA DBus object proxy at |path| owned by 117 std::unique_ptr<org::freedesktop::ModemManager::Modem::CdmaProxy> proxy_;
|
chromeos_modem_gsm_card_proxy.h | 29 // A proxy to (old) ModemManager.Modem.Gsm.Card. 32 // Constructs a ModemManager.Modem.Gsm.Card DBus 103 std::unique_ptr<org::freedesktop::ModemManager::Modem::Gsm::CardProxy> proxy_;
|
chromeos_modem_gsm_network_proxy.h | 28 // A proxy to (old) ModemManager.Modem.Gsm.Network. 31 // Constructs a ModemManager.Modem.Gsm.Network DBus object proxy at |path| 128 std::unique_ptr<org::freedesktop::ModemManager::Modem::Gsm::NetworkProxy>
|
chromeos_modem_simple_proxy.cc | 41 new org::freedesktop::ModemManager::Modem::SimpleProxy(
|
/external/autotest/client/cros/cellular/pseudomodem/ |
modem_3gpp.py | 9 import modem 16 class Modem3gpp(modem.Modem): 19 org.freedesktop.ModemManager1.Modem.Modem3gpp and 20 org.freedesktop.ModemManager1.Modem.Simple interfaces. This class provides 50 org.freedesktop.ModemManager1.Modem.Modem3gpp.Scan. 69 modem.Modem.__init__(self, 85 ip = modem.Modem._InitializeProperties(self [all...] |
modem_cdma.py | 9 import modem 15 class ModemCdma(modem.Modem): 18 org.freedesktop.ModemManager1.Modem.ModemCdma and 19 org.freedesktop.ModemManager1.Modem.Simple interfaces. This class provides 46 @returns: The 'Mobile Directory Number' assigned to this modem by 65 modem.Modem.__init__(self, 74 ip = modem.Modem._InitializeProperties(self [all...] |