shill: Implement CellularCapabilityUniversalCDMA.
This CL implements the logic necessary to connect to a CDMA network
while running modemmanager-next. This code currently works only on
Gobi3k modems with Chromebooks running modemmanager-next with the QMI
plugin. This CL does not implement activation logic.
BUG=chromium:219821
TEST=1. Build and run unit tests.
2. On a Chromebook with a Gobi3k modem which has been activated on
a CDMA network (currently only Verizon Wireless):
1. Build and install ChromeOS with USE="qmi -gobi",
2. Make sure that the modem is running a Verizon firmware.
3. On the Settings page, clicking on Mobile Data should reveal
Verizon Wireless as the current cellular network.
4. Make sure that we can connect/disconnect to Verizon Wireless.
All actions that do not require network activation should be
working.
Change-Id: I55f3bf9640e2d88615280591c027043a05c10bf5
Reviewed-on: https://gerrit.chromium.org/gerrit/41797
Reviewed-by: Arman Uguray <armansito@chromium.org>
Tested-by: Arman Uguray <armansito@chromium.org>
Commit-Queue: Arman Uguray <armansito@chromium.org>
diff --git a/cellular_operator_info.h b/cellular_operator_info.h
index b5185aa..54bc678 100644
--- a/cellular_operator_info.h
+++ b/cellular_operator_info.h
@@ -36,6 +36,9 @@
// The name can be a carrier name, or the name that a cellular carrier
// prefers to show for a certain access point.
struct LocalizedName {
+ LocalizedName();
+ LocalizedName(std::string name, std::string language);
+
// The name as it appears in the corresponding language.
std::string name;
@@ -124,7 +127,11 @@
private:
friend class CellularOperatorInfo;
friend class CellularOperatorInfoImpl;
+ friend class CellularCapabilityUniversalCDMATest;
FRIEND_TEST(CellularCapabilityUniversalMainTest, UpdateStorageIdentifier);
+ FRIEND_TEST(CellularCapabilityUniversalCDMATest, CreateFriendlyServiceName);
+ FRIEND_TEST(CellularCapabilityUniversalCDMATest, OnCDMARegistrationChanged);
+ FRIEND_TEST(CellularCapabilityUniversalCDMATest, UpdateOperatorInfo);
std::string country_;
std::string identifier_;