Skip to content
Snippets Groups Projects
  1. Feb 18, 2021
  2. Feb 16, 2021
    • Josh Gao's avatar
      Purge proto tombstones when apps are uninstalled. · 5814cc70
      Josh Gao authored
      In preparation for making tombstones available to apps, make sure we
      clean up after ourselves, so that when we recycle UIDs, we don't
      accidentally give out old tombstones from unrelated previous apps.
      
      Bug: http://b/159164105
      Test: manual
      Change-Id: I76646b6e98bc9019bb8d978fa416303a617a8238
      5814cc70
  3. Feb 09, 2021
  4. Feb 08, 2021
  5. Feb 07, 2021
    • Treehugger Robot's avatar
      905c2570
    • Lorenzo Colitti's avatar
    • Lorenzo Colitti's avatar
      Change ConnectivityServiceTest to prepare for VPN code move. · 9ce4107f
      Lorenzo Colitti authored
      No-op changes to make it easier to review the VPN code move.
      1. Set underlying networks via MockVpn, not ConnectivityService.
      2. Add a processBroadcastForVpn utility method that we can modify
         without too much churn when the code is moved.
      
      Bug: 173331190
      Test: test-only change
      Change-Id: I4256ca5f33034ef9d1de79857795a6ed1d644e61
      9ce4107f
    • Lorenzo Colitti's avatar
      Add to VpnManager the VPN APIs used by Settings and SystemUI. · a835b390
      Lorenzo Colitti authored
      Settings and SystemUI use these through raw AIDL calls.
      Make them proper manager calls so we can move the implementation
      without touching the callers again.
      
      For now these still call into ConnectivityService via
      IConnectivityManager. In an upcoming CL the implementation will
      move to VpnManagerService.
      
      Test: m
      Bug: 173331190
      Change-Id: I91528e1ad9948fbaa1fc5e37c61c5eb95f54964e
      a835b390
    • Lorenzo Colitti's avatar
      Remove temporary hack in VpnTest. · 001e831d
      Lorenzo Colitti authored
      This temporary hack was necessary due to b/175883995. Now that
      that bug is fixed, remove the hack.
      
      Bug: 171529940
      Test: test-only change
      Change-Id: I48bd594cf3a37575f4888c1be9a1cf535de2e4d2
      001e831d
    • Lorenzo Colitti's avatar
      More cleanly separate requests and listens. · 97d09a26
      Lorenzo Colitti authored
      Currently, NetworkRequest has several types of requests (LISTEN,
      TRACK_DEFAULT, REQUEST, BACKGROUND_REQUEST), and we expect more
      to be added.
      
      There are really three categories of request:
      1. Requests satisfied by only one network and will keep that
         network up, and thus need to be sent to NetworkProviders:
         REQUEST, BACKGROUND_REQUEST.
      2. Requests satisfied by only one network but will not keep that
         network up: TRACK_DEFAULT
      3. Requests satisfied by multiple networks and will not keep any
         networks up: LISTEN.
      
      Unfortunately the separation is not very clear. Currently, for
      any valid request, either isListen() will return true or
      isRequest() will return true. This makes it impossible to tell
      whether a particular request should be sent to NetworkProviders,
      so the current code sends TRACK_DEFAULT requests to
      NetworkProviders as well. This is incorrect - a TRACK_DEFAULT
      should never keep a network up, for example.
      
      This CL attempts to clarify things by making isRequest() return
      false for TRACK_DEFAULT requests and thus never sending them to
      NetworkProviders. After this CL:
      
      - isRequest will return true only for requests that attempt to
        bring up or keep up a network.
      - isListen will return true only for requests that match multiple
        networks but do not keep any of them up.
      - Neither will return true for TRACK_DEFAULT.
      
      Test: atest ConnectivityServiceTest
      Change-Id: I7aad30ade8f7ab2a179e53483d9afd8675f64a12
      97d09a26
    • Serik Beketayev's avatar
  6. Feb 06, 2021
    • Serik Beketayev's avatar
      Revert "[Mainline] Migrate android.utils package items" · 28c40e2d
      Serik Beketayev authored
      Revert submission 1553146-android_util
      
      Reason for revert: Build Breakage aosp-master/db845c-userdebug @ 7128996
      Reverted Changes:
      Ia39f6e03f:[Mainline] Migrate android.utils package items
      Iaf99140d6:[Mainline] Migrate android.utils package items
      
      Change-Id: I5bdaec5d1a87436510c3e05fadaf0124d86b1bdf
      28c40e2d
    • Jeongik Cha's avatar
      Specify version for aidl_interface explicitly · ddd4aa0a
      Jeongik Cha authored
      Bug: 150578172
      Test: m
      Change-Id: Ib1001deb3a88b633477c5b314be01ea773f2d298
      Merged-In: I99a5000109b171a74ac4f604b88e86a87b48ec5f
      ddd4aa0a
Loading