Lines Matching refs:Modem
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;
51 Modem::Modem(const string& service,
62 LOG(INFO) << "Modem created: at " << path;
65 Modem::~Modem() {
66 LOG(INFO) << "Modem destructed: " << path_;
73 void Modem::Init() {
77 Bind(&Modem::OnModemManagerPropertiesChanged, Unretained(this)));
79 Bind(&Modem::OnPropertiesChanged, Unretained(this)));
82 void Modem::OnDeviceInfoAvailable(const string& link_name) {
93 Cellular* Modem::ConstructCellular(const string& link_name,
107 void Modem::CreateDeviceFromModemProperties(
118 LOG(ERROR) << "Unable to find modem interface properties.";
165 bool Modem::GetDeviceParams(string* mac_address, int* interface_index) {
183 void Modem::OnPropertiesChanged(
196 void Modem::OnModemManagerPropertiesChanged(