android_packages_modules_Co.../service/native
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Motomu Utsumi fdb601603d Move Interface index name map dump to NetworkStatsService
Map status dump will do access check if map is null.
This could show different message from the current dump output.

Information in map content dump does not change
$ dumpsys connectivity trafficcontroller
....
     mIfaceIndexNameMap:
      ifaceIndex=5 ifaceName=ip6_vti0
      ifaceIndex=19 ifaceName=r_rmnet_data3
      ifaceIndex=17 ifaceName=r_rmnet_data1
      ifaceIndex=18 ifaceName=r_rmnet_data2
      ifaceIndex=23 ifaceName=wifi-aware0
....

$ dumpsys netstats
....
  BPF map content:
    ifaceIndex=5 ifaceName=ip6_vti0
    ifaceIndex=19 ifaceName=r_rmnet_data3
    ifaceIndex=17 ifaceName=r_rmnet_data1
    ifaceIndex=18 ifaceName=r_rmnet_data2
    ifaceIndex=8 ifaceName=rmnet_ipa0
....

Bug: 217624062
Test: dumpsys netstats, atest
com.android.server.net.BpfInterfaceMapUpdaterTest

Change-Id: If182bd97f72713b6347028668cf7bd4676b8aea4
2022-09-12 16:53:51 +09:00
..
include Add startSkDestroyListener flag to native_init 2022-09-06 11:23:13 +09:00
libs/libclat ClatUtils: add test GenerateIpv6AddressFailWithUlaSocketAddress 2022-06-05 22:37:57 +08:00
Android.bp Add traffic_controller, networkstats, netd_updatable tests to MTS. 2022-05-27 15:00:18 +00:00
TrafficController.cpp Move Interface index name map dump to NetworkStatsService 2022-09-12 16:53:51 +09:00
TrafficControllerTest.cpp Move Interface index name map dump to NetworkStatsService 2022-09-12 16:53:51 +09:00