android_packages_modules_Co.../tests/unit/java/com/android
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai 9fb574d0c3 Address review comments at aosp/3249945
This change includes:
  1. Rename binder interfaces.
  2. Use a dedicated class to pass the result of
     get{Total|Iface|Uid}Stats, as it is 25% faster than passing
     a NetworkStats object through the binder interface.
  3. Remove the binder interface only used by the test.
  4. Remove NetworkStatsBinderTest on R and S, since the binder
     interface is removed, the mainlined service does not run on
     those versions and the chance of breaking these tests on
     R and S is low.
  5. Remove useless TODO comments.

Test: atest FrameworksNetTests:android.net.connectivity.com.android.server.net.NetworkStatsServiceTest \
      CtsNetTestCases:android.net.cts.NetworkStatsBinderTest \
      FrameworksNetIntegrationTests:com.android.server.net.integrationtests.NetworkStatsIntegrationTest
Bug: 372851500
Bug: 343260158

Change-Id: Ibd79a17218f54f0117d8ef5d7b9ec6073356f923
2024-10-28 10:59:35 +08:00
..
internal/net Move platform VPN related test to FrameworksVpnTests 2024-03-01 07:03:14 +00:00
metrics Report isKnownService in discovery stop metrics 2024-05-29 08:23:37 +00:00
server Address review comments at aosp/3249945 2024-10-28 10:59:35 +08:00