Home | History | Annotate | Download | only in cros

Lines Matching refs:cellular

35 // NetworkDevice: e.g. ethernet, wifi modem, cellular modem
42 // WirelessNetwork: a Wifi or Cellular Network.
48 // active_cellular_: Cellular version of wifi_.
49 // cellular_networks_: Cellular version of wifi_.
66 // TODO(stevenjb): Document cellular data plan handlers.
80 // All *Pin(...) methods use internal callback that would update cellular
93 // How long we should remember that cellular plan payment was received.
97 // retries count once cellular device with SIM card is initialized.
98 // If cellular device doesn't have SIM card, then retries are never used.
136 const char* kActivationStateProperty = "Cellular.ActivationState";
137 const char* kNetworkTechnologyProperty = "Cellular.NetworkTechnology";
138 const char* kRoamingStateProperty = "Cellular.RoamingState";
139 const char* kOperatorNameProperty = "Cellular.OperatorName";
140 const char* kOperatorCodeProperty = "Cellular.OperatorCode";
141 const char* kServingOperatorProperty = "Cellular.ServingOperator";
142 const char* kPaymentURLProperty = "Cellular.OlpUrl";
143 const char* kUsageURLProperty = "Cellular.UsageUrl";
144 const char* kCellularApnProperty = "Cellular.APN";
145 const char* kCellularLastGoodApnProperty = "Cellular.LastGoodAPN";
163 const char* kSIMLockStatusProperty = "Cellular.SIMLockStatus";
167 // Flimflam property names for Cellular.FoundNetworks.
190 const char* kCarrierProperty = "Cellular.Carrier";
191 const char* kCellularAllowRoamingProperty = "Cellular.AllowRoaming";
192 const char* kHomeProviderProperty = "Cellular.HomeProvider";
193 const char* kMeidProperty = "Cellular.MEID";
194 const char* kImeiProperty = "Cellular.IMEI";
195 const char* kImsiProperty = "Cellular.IMSI";
196 const char* kEsnProperty = "Cellular.ESN";
197 const char* kMdnProperty = "Cellular.MDN";
198 const char* kMinProperty = "Cellular.MIN";
199 const char* kModelIDProperty = "Cellular.ModelID";
200 const char* kManufacturerProperty = "Cellular.Manufacturer";
201 const char* kFirmwareRevisionProperty = "Cellular.FirmwareRevision";
202 const char* kHardwareRevisionProperty = "Cellular.HardwareRevision";
204 const char* kPRLVersionProperty = "Cellular.PRLVersion"; // (INT16)
205 const char* kSelectedNetworkProperty = "Cellular.SelectedNetwork";
206 const char* kSupportNetworkScanProperty = "Cellular.SupportNetworkScan";
207 const char* kFoundNetworksProperty = "Cellular.FoundNetworks";
214 const char* kTypeCellular = "cellular";
1508 // A cellular plan is uniquely described by the union of name, type,
1685 // No need to localize these cellular technology abbreviations.
2449 CellularNetwork* cellular = FindCellularNetworkByPath(path);
2450 if (cellular && cellular->needs_new_plan())
2467 const NetworkDevice* cellular = FindCellularDevice();
2468 if (!cellular) {
2469 NOTREACHED() << "Calling ChangePin method w/o cellular device.";
2473 chromeos::RequestChangePin(cellular->device_path().c_str(),
2482 const NetworkDevice* cellular = FindCellularDevice();
2483 if (!cellular) {
2484 NOTREACHED() << "Calling ChangeRequirePin method w/o cellular device.";
2488 chromeos::RequestRequirePin(cellular->device_path().c_str(),
2494 const NetworkDevice* cellular = FindCellularDevice();
2495 if (!cellular) {
2496 NOTREACHED() << "Calling EnterPin method w/o cellular device.";
2500 chromeos::RequestEnterPin(cellular->device_path().c_str(),
2507 const NetworkDevice* cellular = FindCellularDevice();
2508 if (!cellular) {
2509 NOTREACHED() << "Calling UnblockPin method w/o cellular device.";
2513 chromeos::RequestUnblockPin(cellular->device_path().c_str(),
2551 const NetworkDevice* cellular = FindCellularDevice();
2552 if (!cellular) {
2553 NOTREACHED() << "Calling RequestCellularScan method w/o cellular device.";
2556 chromeos::ProposeScan(cellular->device_path().c_str());
2560 const NetworkDevice* cellular = FindCellularDevice();
2561 if (!cellular) {
2562 NOTREACHED() << "Calling CellularRegister method w/o cellular device.";
2565 chromeos::RequestCellularRegister(cellular->device_path().c_str(),
2582 const NetworkDevice* cellular = FindCellularDevice();
2583 if (!cellular) {
2585 "w/o cellular device.";
2589 chromeos::SetNetworkDeviceProperty(cellular->device_path().c_str(),
2778 virtual void ConnectToCellularNetwork(CellularNetwork* cellular) {
2779 CallConnectToNetwork(cellular);
2782 // Records information that cellular play payment had happened.
2788 // Returns true if cellular plan payment had been recorded recently.
2890 const NetworkDevice* cellular = FindCellularDevice();
2891 if (cellular) {
2892 return cellular->home_provider_id();
3435 LOG(ERROR) << "Deleting active cellular network: " << service_path;
3613 CellularNetwork* cellular = new CellularNetwork(service_path);
3614 return cellular;
3913 const NetworkDevice* cellular = FindCellularDevice();
3914 if (cellular) {
3915 NetworkDevice* device = GetNetworkDeviceByPath(cellular->device_path());
4027 VLOG(1) << "Updating cellular data plans for: " << service_path;
4045 // Now, update any matching cellular network's cached data
4046 CellularNetwork* cellular = FindCellularNetworkByPath(service_path);
4047 if (cellular) {
4050 if (cellular->needs_new_plan())
4055 << " Need plan: " << cellular->needs_new_plan();
4056 cellular->set_data_left(data_left);
4082 NetworkDevice* cellular = new NetworkDevice("cellular");
4084 cellular->ParseValue(PROPERTY_INDEX_TYPE, cellular_type.get());
4085 cellular->IMSI_ = "123456789012345";
4086 device_map_["cellular"] = cellular;
4145 cellular1->set_name("Fake Cellular");
4175 cellular2->set_name("Fake Cellular 2");
4224 // Cellular data plan observer list
4242 // For monitoring data plan changes to the connected cellular network.
4278 // The list of available cellular networks.
4281 // The current connected (or connecting) cellular network.
4317 // Cellular plan payment time.