• khorimoto's avatar
    [CrOS Tether] Add tether network properties (battery percentage, carrier, and... · e8e89d55
    khorimoto authored
    [CrOS Tether] Add tether network properties (battery percentage, carrier, and signal strength) to the Chrome OS networking stack.
    
    This change is composed of several related parts:
    (1) Update the chrome.networkingPrivate API to include tethering properties as part of NetworkProperties, ManagedNetworkProperties, and NetworkStateProperties.
    (2) Add ONC properties for the new tethering properties.
    (3) Add ONC validation for tether networks.
    (4) Add "fake" Shill tethering properties (since tethering networks are really normal Wi-Fi networks, Shill does not actually ever use the properties).
    (5) Add translation from Shill tethering properties to ONC tethering properties.
    (6) Update the settings page's chrome.networkingPrivate.getNetworks() call site to handle tether networks properly.
    
    BUG=672263
    CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
    
    Review-Url: https://codereview.chromium.org/2818593003
    Cr-Commit-Position: refs/heads/master@{#465749}
    e8e89d55
onc_constants.cc 14.9 KB