blob: 3c0ffe8c69e4c17cb14727e84bde978160bb979a [file] [log] [blame]
Chris Masone3bd3c8c2011-06-13 08:20:26 -07001// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef SHILL_CELLULAR_
6#define SHILL_CELLULAR_
7
8#include <string>
9
10#include <base/basictypes.h>
Darin Petkovc5f56562011-08-06 16:40:05 -070011#include <base/task.h>
Darin Petkove9d12e02011-07-27 15:09:37 -070012#include <gtest/gtest_prod.h> // for FRIEND_TEST
Chris Masone3bd3c8c2011-06-13 08:20:26 -070013
Darin Petkovc5f56562011-08-06 16:40:05 -070014#include "shill/dbus_properties.h"
Chris Masone3bd3c8c2011-06-13 08:20:26 -070015#include "shill/device.h"
Paul Stewart26b327e2011-10-19 11:38:09 -070016#include "shill/event_dispatcher.h"
Darin Petkovd9661952011-08-03 16:25:42 -070017#include "shill/modem_cdma_proxy_interface.h"
Darin Petkova1e0a1c2011-08-25 15:08:33 -070018#include "shill/modem_gsm_network_proxy_interface.h"
Darin Petkovc5f56562011-08-06 16:40:05 -070019#include "shill/modem_proxy_interface.h"
Chris Masone2b105542011-06-22 10:58:09 -070020#include "shill/refptr_types.h"
Chris Masone3bd3c8c2011-06-13 08:20:26 -070021
Darin Petkov137884a2011-10-26 18:52:47 +020022struct mobile_provider_db;
23
Chris Masone3bd3c8c2011-06-13 08:20:26 -070024namespace shill {
25
Darin Petkovdaf43862011-10-27 11:37:28 +020026class CellularCapability;
Darin Petkov4d6d9412011-08-24 13:19:54 -070027class Error;
Darin Petkove604f702011-07-28 15:51:17 -070028class ModemSimpleProxyInterface;
Darin Petkovab565bb2011-10-06 02:55:51 -070029class ProxyFactory;
Darin Petkove9d12e02011-07-27 15:09:37 -070030
Darin Petkovd9661952011-08-03 16:25:42 -070031class Cellular : public Device,
Darin Petkov580c7af2011-10-24 12:32:50 +020032 public ModemCDMAProxyDelegate,
Darin Petkov580c7af2011-10-24 12:32:50 +020033 public ModemGSMNetworkProxyDelegate,
34 public ModemProxyDelegate {
Chris Masone3bd3c8c2011-06-13 08:20:26 -070035 public:
Darin Petkove9d12e02011-07-27 15:09:37 -070036 enum Type {
37 kTypeGSM,
38 kTypeCDMA
39 };
40
Darin Petkov0828f5f2011-08-11 10:18:52 -070041 // The device states progress linearly from Disabled to Linked.
Darin Petkove9d12e02011-07-27 15:09:37 -070042 enum State {
Darin Petkov0828f5f2011-08-11 10:18:52 -070043 // This is the initial state of the modem and indicates that the modem radio
44 // is not turned on.
Darin Petkove9d12e02011-07-27 15:09:37 -070045 kStateDisabled,
Darin Petkov0828f5f2011-08-11 10:18:52 -070046 // This state indicates that the modem radio is turned on, and it should be
47 // possible to measure signal strength.
Darin Petkove9d12e02011-07-27 15:09:37 -070048 kStateEnabled,
Darin Petkov0828f5f2011-08-11 10:18:52 -070049 // The modem has registered with a network and has signal quality
Darin Petkov51489002011-08-18 13:13:20 -070050 // measurements. A cellular service object is created.
Darin Petkove9d12e02011-07-27 15:09:37 -070051 kStateRegistered,
Darin Petkov0828f5f2011-08-11 10:18:52 -070052 // The modem has connected to a network.
Darin Petkove9d12e02011-07-27 15:09:37 -070053 kStateConnected,
Darin Petkov0828f5f2011-08-11 10:18:52 -070054 // The network interface is UP.
55 kStateLinked,
Darin Petkove9d12e02011-07-27 15:09:37 -070056 };
57
Darin Petkovbac96002011-08-09 13:22:00 -070058 // These should be kept in sync with ModemManager's mm-modem.h:MMModemState.
59 enum ModemState {
60 kModemStateUnknown = 0,
61 kModemStateDisabled = 10,
62 kModemStateDisabling = 20,
63 kModemStateEnabling = 30,
64 kModemStateEnabled = 40,
65 kModemStateSearching = 50,
66 kModemStateRegistered = 60,
67 kModemStateDisconnecting = 70,
68 kModemStateConnecting = 80,
69 kModemStateConnected = 90,
70 };
71
Darin Petkov3335b372011-08-22 11:05:32 -070072 class Operator {
73 public:
74 Operator();
75 ~Operator();
76
77 void CopyFrom(const Operator &oper);
78
79 const std::string &GetName() const;
80 void SetName(const std::string &name);
81
82 const std::string &GetCode() const;
83 void SetCode(const std::string &code);
84
85 const std::string &GetCountry() const;
86 void SetCountry(const std::string &country);
87
88 const Stringmap &ToDict() const;
89
90 private:
91 Stringmap dict_;
92
93 DISALLOW_COPY_AND_ASSIGN(Operator);
94 };
95
Chris Masone889666b2011-07-03 12:58:50 -070096 struct SimLockStatus {
97 public:
Darin Petkove9d12e02011-07-27 15:09:37 -070098 SimLockStatus() : retries_left(0) {}
Darin Petkov48a511a2011-09-15 10:33:37 -070099 SimLockStatus(const std::string &in_lock_type, uint32 in_retries_left)
100 : lock_type(in_lock_type),
101 retries_left(in_retries_left) {}
Darin Petkove9d12e02011-07-27 15:09:37 -0700102
Chris Masone889666b2011-07-03 12:58:50 -0700103 std::string lock_type;
104 uint32 retries_left;
105 };
106
Darin Petkovc5f56562011-08-06 16:40:05 -0700107 static const char kConnectPropertyPhoneNumber[];
108
Darin Petkove9d12e02011-07-27 15:09:37 -0700109 // |owner| is the ModemManager DBus service owner (e.g., ":1.17"). |path| is
110 // the ModemManager.Modem DBus object path (e.g.,
111 // "/org/chromium/ModemManager/Gobi/0").
Chris Masone3bd3c8c2011-06-13 08:20:26 -0700112 Cellular(ControlInterface *control_interface,
113 EventDispatcher *dispatcher,
114 Manager *manager,
Darin Petkove9d12e02011-07-27 15:09:37 -0700115 const std::string &link_name,
Chris Masone626719f2011-08-18 16:58:48 -0700116 const std::string &address,
Darin Petkove9d12e02011-07-27 15:09:37 -0700117 int interface_index,
118 Type type,
119 const std::string &owner,
Darin Petkov137884a2011-10-26 18:52:47 +0200120 const std::string &path,
121 mobile_provider_db *provider_db);
Darin Petkove9d12e02011-07-27 15:09:37 -0700122 virtual ~Cellular();
123
Darin Petkov4d6d9412011-08-24 13:19:54 -0700124 // Asynchronously connects the modem to the network. Populates |error| on
125 // failure, leaves it unchanged otherwise.
126 void Connect(Error *error);
Darin Petkovc5f56562011-08-06 16:40:05 -0700127
Darin Petkovb100ae72011-08-24 16:19:45 -0700128 // Asynchronously activates the modem. Populates |error| on failure, leaves it
129 // unchanged otherwise.
130 void Activate(const std::string &carrier, Error *error);
Darin Petkovc408e692011-08-17 13:47:15 -0700131
Darin Petkov3e509242011-11-10 14:46:44 +0100132 const CellularServiceRefPtr &service() const { return service_; }
133
Darin Petkovbac96002011-08-09 13:22:00 -0700134 void set_modem_state(ModemState state) { modem_state_ = state; }
135 ModemState modem_state() const { return modem_state_; }
136
Darin Petkov48a511a2011-09-15 10:33:37 -0700137 const SimLockStatus &sim_lock_status() const { return sim_lock_status_; }
138 void set_sim_lock_status(const SimLockStatus &s) { sim_lock_status_ = s; }
139
Darin Petkovdaf43862011-10-27 11:37:28 +0200140 const std::string &dbus_owner() const { return dbus_owner_; }
141 const std::string &dbus_path() const { return dbus_path_; }
142
Darin Petkov20c13ec2011-11-09 15:07:15 +0100143 uint32 gsm_registration_state() const { return gsm_.registration_state; }
144 uint32 gsm_access_technology() const { return gsm_.access_technology; }
145
146 uint32 cdma_registration_state_evdo() const {
147 return cdma_.registration_state_evdo;
148 }
149 uint32 cdma_registration_state_1x() const {
150 return cdma_.registration_state_1x;
151 }
152
Darin Petkovcb547732011-11-09 13:55:26 +0100153 const std::string &meid() const { return meid_; }
154 void set_meid(const std::string &meid) { meid_ = meid; }
155
156 const std::string &imei() const { return imei_; }
157 void set_imei(const std::string &imei) { imei_ = imei; }
158
159 const std::string &imsi() const { return imsi_; }
160 void set_imsi(const std::string &imsi) { imsi_ = imsi; }
161
162 const std::string &spn() const { return gsm_.spn; }
163 void set_spn(const std::string &spn) { gsm_.spn = spn; }
164
165 const std::string &mdn() const { return mdn_; }
166 void set_mdn(const std::string &mdn) { mdn_ = mdn; }
167
Darin Petkovdaf43862011-10-27 11:37:28 +0200168 ProxyFactory *proxy_factory() const { return proxy_factory_; }
169
Darin Petkovb05315f2011-11-07 10:14:25 +0100170 ModemCDMAProxyInterface *modem_cdma_proxy() const {
171 return cdma_proxy_.get();
172 }
Darin Petkovdaf43862011-10-27 11:37:28 +0200173 void set_modem_cdma_proxy(ModemCDMAProxyInterface *proxy) {
174 cdma_proxy_.reset(proxy);
175 }
Darin Petkovb05315f2011-11-07 10:14:25 +0100176 ModemGSMNetworkProxyInterface *modem_gsm_network_proxy() const {
177 return gsm_network_proxy_.get();
178 }
Darin Petkovdaf43862011-10-27 11:37:28 +0200179 void set_modem_gsm_network_proxy(ModemGSMNetworkProxyInterface *proxy) {
180 gsm_network_proxy_.reset(proxy);
181 }
182
Darin Petkov48a511a2011-09-15 10:33:37 -0700183 void SetGSMAccessTechnology(uint32 access_technology);
184
Darin Petkov3e509242011-11-10 14:46:44 +0100185 void HandleNewSignalQuality(uint32 strength);
186
Darin Petkove9d12e02011-07-27 15:09:37 -0700187 // Inherited from Device.
188 virtual void Start();
189 virtual void Stop();
Paul Stewartfdd16072011-09-16 12:41:35 -0700190 virtual bool TechnologyIs(Technology::Identifier type) const;
Darin Petkov0828f5f2011-08-11 10:18:52 -0700191 virtual void LinkEvent(unsigned int flags, unsigned int change);
Darin Petkovc0865312011-09-16 15:31:20 -0700192 virtual void Scan(Error *error);
Darin Petkov9ae310f2011-08-30 15:41:13 -0700193 virtual void RegisterOnNetwork(const std::string &network_id, Error *error);
Darin Petkove42e1012011-08-31 12:35:04 -0700194 virtual void RequirePIN(const std::string &pin, bool require, Error *error);
195 virtual void EnterPIN(const std::string &pin, Error *error);
196 virtual void UnblockPIN(const std::string &unblock_code,
197 const std::string &pin,
198 Error *error);
199 virtual void ChangePIN(const std::string &old_pin,
200 const std::string &new_pin,
201 Error *error);
Chris Masone3bd3c8c2011-06-13 08:20:26 -0700202
203 private:
Darin Petkovab565bb2011-10-06 02:55:51 -0700204 friend class CellularTest;
Darin Petkov20c13ec2011-11-09 15:07:15 +0100205 friend class CellularCapabilityCDMATest;
206 friend class CellularCapabilityGSMTest;
Darin Petkovc408e692011-08-17 13:47:15 -0700207 FRIEND_TEST(CellularTest, Activate);
Darin Petkov51489002011-08-18 13:13:20 -0700208 FRIEND_TEST(CellularTest, ActivateError);
Darin Petkov3335b372011-08-22 11:05:32 -0700209 FRIEND_TEST(CellularTest, CreateService);
Darin Petkovc5f56562011-08-06 16:40:05 -0700210 FRIEND_TEST(CellularTest, Connect);
Darin Petkovc408e692011-08-17 13:47:15 -0700211 FRIEND_TEST(CellularTest, GetCDMAActivationStateString);
Darin Petkov51489002011-08-18 13:13:20 -0700212 FRIEND_TEST(CellularTest, GetCDMAActivationErrorString);
Darin Petkovbec79a22011-08-01 14:47:17 -0700213 FRIEND_TEST(CellularTest, GetCDMARegistrationState);
Darin Petkovceb68172011-07-29 14:47:48 -0700214 FRIEND_TEST(CellularTest, GetModemInfo);
215 FRIEND_TEST(CellularTest, GetModemStatus);
Darin Petkove9d12e02011-07-27 15:09:37 -0700216 FRIEND_TEST(CellularTest, GetStateString);
217 FRIEND_TEST(CellularTest, GetTypeString);
Darin Petkovbec79a22011-08-01 14:47:17 -0700218 FRIEND_TEST(CellularTest, InitProxiesCDMA);
219 FRIEND_TEST(CellularTest, InitProxiesGSM);
Darin Petkovc0865312011-09-16 15:31:20 -0700220 FRIEND_TEST(CellularTest, ParseScanResult);
Darin Petkov137884a2011-10-26 18:52:47 +0200221 FRIEND_TEST(CellularTest, ParseScanResultProviderLookup);
Darin Petkov9ae310f2011-08-30 15:41:13 -0700222 FRIEND_TEST(CellularTest, RegisterOnNetwork);
223 FRIEND_TEST(CellularTest, RegisterOnNetworkError);
Darin Petkov48a511a2011-09-15 10:33:37 -0700224 FRIEND_TEST(CellularTest, SetGSMAccessTechnology);
Darin Petkovc0865312011-09-16 15:31:20 -0700225 FRIEND_TEST(CellularTest, Scan);
Darin Petkovbac96002011-08-09 13:22:00 -0700226 FRIEND_TEST(CellularTest, StartConnected);
Darin Petkova1e0a1c2011-08-25 15:08:33 -0700227 FRIEND_TEST(CellularTest, StartCDMARegister);
Darin Petkov9bac6fe2011-08-26 12:49:05 -0700228 FRIEND_TEST(CellularTest, StartGSMRegister);
Darin Petkov0828f5f2011-08-11 10:18:52 -0700229 FRIEND_TEST(CellularTest, StartLinked);
Darin Petkov137884a2011-10-26 18:52:47 +0200230 FRIEND_TEST(CellularTest, UpdateGSMOperatorInfo);
Darin Petkovbac96002011-08-09 13:22:00 -0700231
Darin Petkov9bac6fe2011-08-26 12:49:05 -0700232 struct CDMA {
233 CDMA();
234
235 uint32 registration_state_evdo;
236 uint32 registration_state_1x;
237 uint32 activation_state;
238
239 uint16 prl_version;
240 std::string payment_url;
241 std::string usage_url;
242 };
243
244 struct GSM {
245 GSM();
246
247 uint32 registration_state;
248 uint32 access_technology;
249 std::string network_id;
250 std::string operator_name;
Darin Petkov137884a2011-10-26 18:52:47 +0200251 std::string operator_country;
Darin Petkov975b5e72011-08-30 11:48:08 -0700252 std::string spn;
Darin Petkov9bac6fe2011-08-26 12:49:05 -0700253 };
254
Darin Petkovc0865312011-09-16 15:31:20 -0700255 static const char kNetworkPropertyAccessTechnology[];
256 static const char kNetworkPropertyID[];
257 static const char kNetworkPropertyLongName[];
258 static const char kNetworkPropertyShortName[];
259 static const char kNetworkPropertyStatus[];
Darin Petkovbac96002011-08-09 13:22:00 -0700260 static const char kPhoneNumberCDMA[];
261 static const char kPhoneNumberGSM[];
Darin Petkove9d12e02011-07-27 15:09:37 -0700262
Darin Petkov0828f5f2011-08-11 10:18:52 -0700263 void SetState(State state);
264
Darin Petkovc5f56562011-08-06 16:40:05 -0700265 void ConnectTask(const DBusPropertiesMap &properties);
Darin Petkovc0865312011-09-16 15:31:20 -0700266 void ScanTask();
Darin Petkovc408e692011-08-17 13:47:15 -0700267 void ActivateTask(const std::string &carrier);
Darin Petkov9ae310f2011-08-30 15:41:13 -0700268 void RegisterOnNetworkTask(const std::string &network_id);
Darin Petkovc5f56562011-08-06 16:40:05 -0700269
Darin Petkovbac96002011-08-09 13:22:00 -0700270 // Invoked when the modem is connected to the cellular network to transition
271 // to the network-connected state and bring the network interface up.
272 void EstablishLink();
273
Chris Masone889666b2011-07-03 12:58:50 -0700274 StrIntPair SimLockStatusToProperty();
Darin Petkov48a511a2011-09-15 10:33:37 -0700275
mukesh agrawalffa3d042011-10-06 15:26:10 -0700276 void HelpRegisterDerivedStrIntPair(
277 const std::string &name,
278 StrIntPair(Cellular::*get)(void),
279 void(Cellular::*set)(const StrIntPair&, Error *));
Chris Masone889666b2011-07-03 12:58:50 -0700280
Darin Petkovdaf43862011-10-27 11:37:28 +0200281 void InitCapability();
Darin Petkovbec79a22011-08-01 14:47:17 -0700282 void InitProxies();
283
Darin Petkovcc044422011-08-17 13:30:06 -0700284 std::string GetTypeString() const;
285 static std::string GetStateString(State state);
Darin Petkove9d12e02011-07-27 15:09:37 -0700286
Darin Petkovc408e692011-08-17 13:47:15 -0700287 static std::string GetCDMAActivationStateString(uint32 state);
Darin Petkov51489002011-08-18 13:13:20 -0700288 static std::string GetCDMAActivationErrorString(uint32 error);
Darin Petkovc408e692011-08-17 13:47:15 -0700289
Darin Petkovf5f61e02011-07-29 11:35:40 -0700290 void EnableModem();
291 void GetModemStatus();
Darin Petkovceb68172011-07-29 14:47:48 -0700292 void GetGSMProperties();
293 void RegisterGSMModem();
Darin Petkovceb68172011-07-29 14:47:48 -0700294
Darin Petkovd9661952011-08-03 16:25:42 -0700295 // Obtains modem's manufacturer, model ID, and hardware revision.
Darin Petkovceb68172011-07-29 14:47:48 -0700296 void GetModemInfo();
Darin Petkovf5f61e02011-07-29 11:35:40 -0700297
Darin Petkovbec79a22011-08-01 14:47:17 -0700298 void GetModemRegistrationState();
299 void GetCDMARegistrationState();
300 void GetGSMRegistrationState();
301
Darin Petkovd9661952011-08-03 16:25:42 -0700302 // Processes a change in the modem registration state, possibly creating,
303 // destroying or updating the CellularService.
304 void HandleNewRegistrationState();
Darin Petkov0828f5f2011-08-11 10:18:52 -0700305 void HandleNewRegistrationStateTask();
Darin Petkovd9661952011-08-03 16:25:42 -0700306
307 void CreateService();
308
Darin Petkovc408e692011-08-17 13:47:15 -0700309 void HandleNewCDMAActivationState(uint32 error);
310
Darin Petkov137884a2011-10-26 18:52:47 +0200311 // Updates the GSM operator name and country based on a newly obtained network
312 // id.
313 void UpdateGSMOperatorInfo();
314
315 // Updates the serving operator on the active service.
316 void UpdateServingOperator();
317
Darin Petkovc0865312011-09-16 15:31:20 -0700318 Stringmap ParseScanResult(
319 const ModemGSMNetworkProxyInterface::ScanResult &result);
320
Darin Petkov580c7af2011-10-24 12:32:50 +0200321 // Signal callbacks inherited from ModemCDMAProxyDelegate.
Darin Petkovb27e5442011-08-16 14:36:45 -0700322 virtual void OnCDMAActivationStateChanged(
323 uint32 activation_state,
324 uint32 activation_error,
325 const DBusPropertiesMap &status_changes);
Darin Petkovd9661952011-08-03 16:25:42 -0700326 virtual void OnCDMARegistrationStateChanged(uint32 state_1x,
327 uint32 state_evdo);
328 virtual void OnCDMASignalQualityChanged(uint32 strength);
329
Darin Petkov580c7af2011-10-24 12:32:50 +0200330 // Signal callbacks inherited from ModemGSMNetworkProxyDelegate.
Darin Petkova1e0a1c2011-08-25 15:08:33 -0700331 virtual void OnGSMNetworkModeChanged(uint32 mode);
332 virtual void OnGSMRegistrationInfoChanged(uint32 status,
333 const std::string &operator_code,
334 const std::string &operator_name);
335 virtual void OnGSMSignalQualityChanged(uint32 quality);
336
Darin Petkov580c7af2011-10-24 12:32:50 +0200337 // Signal callbacks inherited from ModemProxyDelegate.
Darin Petkovc5f56562011-08-06 16:40:05 -0700338 virtual void OnModemStateChanged(uint32 old_state,
339 uint32 new_state,
340 uint32 reason);
341
Darin Petkovab565bb2011-10-06 02:55:51 -0700342 // Store cached copies of singletons for speed/ease of testing.
343 ProxyFactory *proxy_factory_;
344
Darin Petkove9d12e02011-07-27 15:09:37 -0700345 Type type_;
346 State state_;
Darin Petkovbac96002011-08-09 13:22:00 -0700347 ModemState modem_state_;
Darin Petkove9d12e02011-07-27 15:09:37 -0700348
Darin Petkovdaf43862011-10-27 11:37:28 +0200349 scoped_ptr<CellularCapability> capability_;
350
Darin Petkove9d12e02011-07-27 15:09:37 -0700351 const std::string dbus_owner_; // ModemManager.Modem
352 const std::string dbus_path_; // ModemManager.Modem
353 scoped_ptr<ModemProxyInterface> proxy_;
Darin Petkove604f702011-07-28 15:51:17 -0700354 scoped_ptr<ModemSimpleProxyInterface> simple_proxy_;
Darin Petkovbec79a22011-08-01 14:47:17 -0700355 scoped_ptr<ModemCDMAProxyInterface> cdma_proxy_;
Darin Petkova1e0a1c2011-08-25 15:08:33 -0700356 scoped_ptr<ModemGSMNetworkProxyInterface> gsm_network_proxy_;
Darin Petkovbec79a22011-08-01 14:47:17 -0700357
Darin Petkov137884a2011-10-26 18:52:47 +0200358 mobile_provider_db *provider_db_;
359
Darin Petkovbec79a22011-08-01 14:47:17 -0700360 CDMA cdma_;
Darin Petkov9bac6fe2011-08-26 12:49:05 -0700361 GSM gsm_;
Darin Petkove9d12e02011-07-27 15:09:37 -0700362
Darin Petkovd9661952011-08-03 16:25:42 -0700363 CellularServiceRefPtr service_;
Chris Masone853b81b2011-06-24 14:11:41 -0700364
Darin Petkovc5f56562011-08-06 16:40:05 -0700365 ScopedRunnableMethodFactory<Cellular> task_factory_;
366
Chris Masoneb925cc82011-06-22 15:39:57 -0700367 // Properties
368 bool allow_roaming_;
369 std::string carrier_;
370 std::string meid_;
371 std::string imei_;
372 std::string imsi_;
373 std::string esn_;
374 std::string mdn_;
375 std::string min_;
376 std::string model_id_;
377 std::string manufacturer_;
378 std::string firmware_revision_;
379 std::string hardware_revision_;
Chris Masoneb925cc82011-06-22 15:39:57 -0700380 bool scanning_;
381 uint16 scan_interval_;
Darin Petkova1e0a1c2011-08-25 15:08:33 -0700382 std::string selected_network_;
Darin Petkovc0865312011-09-16 15:31:20 -0700383 Stringmaps found_networks_;
Chris Masone889666b2011-07-03 12:58:50 -0700384 SimLockStatus sim_lock_status_;
Darin Petkov3335b372011-08-22 11:05:32 -0700385 Operator home_provider_;
Chris Masoneb925cc82011-06-22 15:39:57 -0700386
Chris Masone3bd3c8c2011-06-13 08:20:26 -0700387 DISALLOW_COPY_AND_ASSIGN(Cellular);
388};
389
390} // namespace shill
391
392#endif // SHILL_CELLULAR_