Skip to content
Snippets Groups Projects
  1. Mar 19, 2021
  2. Mar 18, 2021
  3. Mar 17, 2021
    • Remi NGUYEN VAN's avatar
      Add framework-connectivity.impl · 3f64a338
      Remi NGUYEN VAN authored
      The library will be included in the connectivity module APEX when
      migrating its sources out of framework-minus-apex.
      
      Bug: 171540887
      Test: m
      Change-Id: I1595521eaced6e6997c076bb56b06ffdd22a4fa0
      3f64a338
    • Chiachang Wang's avatar
      Expose uids related APIs in NetworkRequest and NetworkCapabilities · 34720854
      Chiachang Wang authored
      NetworkRequest is moving into the incoming connectivity mainline
      module. The hidden setUids becomes inaccessible outside the
      module. Shims for support cts in different API levels will need
      to use it to verify the behavior of NetworkRequest. Thus, expose
      it to the API surface.
      
      Also, VPN uses getUids and setUids to control network
      capabilities. Networkcapabilities is a part of incoming
      connectivity mainline module but VPN is not. Thus, exposing these
      two methods are needed to allow VPN to continue using it.
      
      Test: make update-api
      Bug: 172183305
      Change-Id: I107c329d4d7130d488772166eae8b5e7aaa2ff04
      34720854
    • Chiachang Wang's avatar
      Replace the usage of UidRange · 0843e480
      Chiachang Wang authored
      UidRange is used in a shared way between ConnectivityService
      and VPN through the use of NetworkCapabilities. UidRange will
      be part of the ConnectivityService mainline but Vpn.java will
      stay in the framework. We need a way to replace the APIs using
      UidRange, or to make UidRange system API. The only really
      relevant surface here is NetworkCapabilities#{setUids, getUids}.
      The need for UidRange could be replaced by an integer Range, so
      replace the usage of UidRange by a integer Range in
      NetworkCapabilities#{setUids, getUids} and update the relevant
      callers.
      
      Bug: 172183305
      Test: atest FrameworksNetTests CtsNetTestCasesLatestSdk
      Change-Id: I4e5aec6ef1ea02e038fcd7ed117a3b67b69c5cb9
      0843e480
    • Paul Hu's avatar
      Merge "Add ConnectivitySettingsManager" · 83adad72
      Paul Hu authored
      83adad72
    • Remi NGUYEN VAN's avatar
    • Paul Hu's avatar
      7aad0774
    • Remi NGUYEN VAN's avatar
      Merge "Remove extra comment" · a902c7cc
      Remi NGUYEN VAN authored
      a902c7cc
    • Remi NGUYEN VAN's avatar
      Remove Protocol.BASE_* usage in Connectivity · 1fb66ad1
      Remi NGUYEN VAN authored
      ConnectivityManager and NetworkAgent do not share their handler with any
      other component, so there is no reason to use addresses that do not
      overlap. Protocol.BASE_* was written to allow for interaction "between
      different StateMachine implementations without a conflict", but the
      classes do not use StateMachine, and they do not have such interactions.
      
      Bug: 177046265
      Test: atest FrameworksNetTests
      Change-Id: I18c341d4a2c01cb9559d682a9ad1ff259e6b5855
      1fb66ad1
    • Lucas Lin's avatar
      4579998a
    • Remi NGUYEN VAN's avatar
      843367e8
    • paulhu's avatar
      Remove Settings.Global.TCP_DEFAULT_INIT_RWND on CS · 8ec8e900
      paulhu authored
      TCP_DEFAULT_INIT_RWND setting has never been set before, CS
      always read the tcp receive window size from
      net.tcp.default_init_rwnd then set to net.tcp_def_init_rwnd.
      Thus, remove the unnecessary setting from CS, and the property
      doesn't need to set either. Because aosp/1639922 migrate the
      properties, the default value has been set to kernel already.
      
      Bug: 182538166
      Test: atest FrameworksNetTests
      Change-Id: I13e175ab4dea72446af7df4a25e307e5934fa813
      8ec8e900
    • Remi NGUYEN VAN's avatar
      Remove extra comment · 0d4c38d9
      Remi NGUYEN VAN authored
      This fixes a merge conflict with downstream branches due to an
      incomplete cherry-pick.
      
      Bug: 171540887
      Test: m
      
      Change-Id: I27a8f20f1a1d83b472700648f3f5a68413a76ac3
      Merged-In: I7432fe4c87cd3cab04dcb6185c9a4f3f84376549
      0d4c38d9
    • paulhu's avatar
      Add ConnectivitySettingsManager · 90a7a51e
      paulhu authored
      This class is used to manager the connectivity module related
      settings.
      
      Bug: 182538166
      Test: make
      Change-Id: I5e02e719ce0d305d7c8a45fefb850d7b981f07eb
      90a7a51e
    • lucaslin's avatar
      Modify the comment of getPrivateDnsMode · 7abe7e01
      lucaslin authored
      Bug: 172183305
      Test: m
      Change-Id: I2f1b44cf2a362b42f052ea5d34a5cec03d46e661
      7abe7e01
Loading