History log of /system/connectivity/shill/mobile_operator_db/serviceproviders_converter.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5 03-Sep-2015 Peter Qiu <zqiu@google.com> License shill to Apache2

This patch automatically replaced the license on all text files from
Chromium OS (BSD style) to AOSP (Apache2), keeping the original year as
a reference.

The license header was added to .gyp and .gypi, the NOTICE was added with a copy
of the Apache2 license and MODULE_LICENSE_* file was added.

BUG=23587594
TEST=grep 'Chromium OS Authors' doesn't find anything.

Change-Id: If41ede586c2465f5831fb7fee270ff41dbfdb596
/system/connectivity/shill/mobile_operator_db/serviceproviders_converter.py
f3cbe88832406f0a92a5b600b83d153948ceaa39 08-May-2014 Prathmesh Prabhu <pprabhu@chromium.org> shill: cellular: Make uuid a required field in operator database.

With our own database, it is now possible to enforce having a uuid. This
makes the uuid more reliable for shill. This CL
- Adds uuids to serviceproviders.prototxt (also updates the script that
generated this file)
- Removes the fallback uuid generation code from shill.

BUG=chromium:371179
TEST=- Run shill_unittests
- Test sensible storage identifiers are generated for different network
providers, and that auto-connect property is sticky.

Change-Id: Ie6dcef8615aec9d9e11c1203eeeef70434a52878
Reviewed-on: https://chromium-review.googlesource.com/198774
Reviewed-by: Ben Chan <benchan@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org>
/system/connectivity/shill/mobile_operator_db/serviceproviders_converter.py
7e7482002eddfc858414ee96f34f6074b2a67388 17-Apr-2014 Prathmesh Prabhu <pprabhu@chromium.org> shill: cellular: Fix service providers database conversion.

The service providers database committed in CL:190128 missed some of the entries
from the upstream database. This CL:
- Updates the database file to include the missed entries
- Adds a diagnostics phase to the conversion script that compares the number of
incoming providers with the dumped providers. It also prints out fairly
detailed information about the different types of providers found.

BUG=chromium:373765
TEST=(1) Spot check some GSM/CDMA providers, in particular one with MCCMNC
23203.
(2) The conversion script's diagnostics phase should pass.

Change-Id: Ib912602329a3491a9a2b44387a8db6b941525441
Reviewed-on: https://chromium-review.googlesource.com/195259
Reviewed-by: Thieu Le <thieule@chromium.org>
Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
/system/connectivity/shill/mobile_operator_db/serviceproviders_converter.py
2fa7bc4fa04f9fa34f40691423e6ad8ecaf88637 28-Mar-2014 Prathmesh Prabhu <pprabhu@chromium.org> shill: cellular: Add mobile_operator_db

mobile_operator_db is the new database of mobile operators in protobuf format.
This database is used by MobileOperatorInfo to identify a mobile operator from
information provided by the SIM, or obtained over the air.
This CL:
- Adds a protobuf description of the database.
- Adds a script serviceproviders_converter.py to obtain the initial database
from the mobile_provider_db xml database.
- Adds a build rule to convert this text format protobuf database to binary
format.
- Adds a build rule to generate C++ proto bindings for the database for shill.

BUG=chromium:352241
TEST=emerge-peppy platform2
CQ-DEPEND=CL:189238

Change-Id: Ibf06e17646df2ccb9108fb87b91238f47627d250
Reviewed-on: https://chromium-review.googlesource.com/190128
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Ben Chan <benchan@chromium.org>
Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org>
/system/connectivity/shill/mobile_operator_db/serviceproviders_converter.py