/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkStackBpfNetMaps.java | 32 import com.android.net.module.util.IBpfMap; 53 private final IBpfMap<S32, U32> mConfigurationMap; 56 private final IBpfMap<S32, UidOwnerValue> mUidOwnerMap; 57 private final IBpfMap<S32, U8> mDataSaverEnabledMap; 95 public IBpfMap<S32, U32> getConfigurationMap() { in getConfigurationMap() 105 public IBpfMap<S32, UidOwnerValue> getUidOwnerMap() { in getUidOwnerMap() 115 public IBpfMap<S32, U8> getDataSaverEnabledMap() { in getDataSaverEnabledMap()
|
D | BpfNetMapsUtils.java | 79 import com.android.net.module.util.IBpfMap; 213 final IBpfMap<S32, U32> configurationMap, final int chain) { in isChainEnabled() 237 public static int getUidRule(final IBpfMap<S32, UidOwnerValue> uidOwnerMap, in getUidRule() 260 IBpfMap<S32, U32> configurationMap, in getUidNetworkingBlockedReasons() 261 IBpfMap<S32, UidOwnerValue> uidOwnerMap, in getUidNetworkingBlockedReasons() 262 IBpfMap<S32, U8> dataSaverEnabledMap in getUidNetworkingBlockedReasons() 328 IBpfMap<S32, U32> configurationMap, in isUidNetworkingBlocked() 329 IBpfMap<S32, UidOwnerValue> uidOwnerMap, in isUidNetworkingBlocked() 330 IBpfMap<S32, U8> dataSaverEnabledMap in isUidNetworkingBlocked() 365 public static boolean getDataSaverEnabled(IBpfMap<S32, U8> dataSaverEnabledMap) { in getDataSaverEnabled()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | BpfNetMaps.java | 74 import com.android.net.module.util.IBpfMap; 125 private static IBpfMap<S32, U32> sConfigurationMap = null; 127 private static IBpfMap<S32, UidOwnerValue> sUidOwnerMap = null; 128 private static IBpfMap<S32, U8> sUidPermissionMap = null; 129 private static IBpfMap<CookieTagMapKey, CookieTagMapValue> sCookieTagMap = null; 131 private static IBpfMap<S32, U8> sDataSaverEnabledMap = null; 132 private static IBpfMap<IngressDiscardKey, IngressDiscardValue> sIngressDiscardMap = null; 143 public static void setConfigurationMapForTest(IBpfMap<S32, U32> configurationMap) { in setConfigurationMapForTest() 151 public static void setUidOwnerMapForTest(IBpfMap<S32, UidOwnerValue> uidOwnerMap) { in setUidOwnerMapForTest() 159 public static void setUidPermissionMapForTest(IBpfMap<S32, U8> uidPermissionMap) { in setUidPermissionMapForTest() [all …]
|
/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/ |
D | BpfCoordinatorShimImpl.java | 32 import com.android.net.module.util.IBpfMap; 33 import com.android.net.module.util.IBpfMap.ThrowingBiConsumer; 71 private final IBpfMap<Tether4Key, Tether4Value> mBpfDownstream4Map; 75 private final IBpfMap<Tether4Key, Tether4Value> mBpfUpstream4Map; 79 private final IBpfMap<TetherDownstream6Key, Tether6Value> mBpfDownstream6Map; 83 private final IBpfMap<TetherUpstream6Key, Tether6Value> mBpfUpstream6Map; 87 private final IBpfMap<TetherStatsKey, TetherStatsValue> mBpfStatsMap; 91 private final IBpfMap<TetherLimitKey, TetherLimitValue> mBpfLimitMap; 95 private final IBpfMap<TetherDevKey, TetherDevValue> mBpfDevMap; 461 private String mapStatus(IBpfMap m, String name) { in mapStatus()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkStackBpfNetMapsTest.kt | 31 import com.android.net.module.util.IBpfMap 60 private val testConfigurationMap: IBpfMap<S32, U32> = TestBpfMap() 61 private val testUidOwnerMap: IBpfMap<S32, UidOwnerValue> = TestBpfMap() 62 private val testDataSaverEnabledMap: IBpfMap<S32, U8> = TestBpfMap() 68 private val configMap: IBpfMap<S32, U32>, 69 private val uidOwnerMap: IBpfMap<S32, UidOwnerValue>, 70 private val dataSaverEnabledMap: IBpfMap<S32, U8>
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | BpfDumpTest.java | 99 private String getDumpMap(final IBpfMap<Struct.S32, Struct.S32> map) { in getDumpMap() 108 final IBpfMap<Struct.S32, Struct.S32> map = in testDumpMap() 120 final IBpfMap<Struct.S32, Struct.S32> map = in testDumpMapMultipleEntries() 132 private String getDumpMapStatus(final IBpfMap<Struct.S32, Struct.S32> map) { in getDumpMapStatus() 140 final IBpfMap<Struct.S32, Struct.S32> map = in testGetMapStatus()
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | SkDestroyListener.java | 24 import com.android.net.module.util.IBpfMap; 51 private final IBpfMap<CookieTagMapKey, CookieTagMapValue> mCookieTagMap; 53 SkDestroyListener(final IBpfMap<CookieTagMapKey, CookieTagMapValue> cookieTagMap, in SkDestroyListener()
|
D | BpfInterfaceMapHelper.java | 28 import com.android.net.module.util.IBpfMap; 40 private final IBpfMap<S32, InterfaceMapValue> mIndexToIfaceBpfMap; 57 public IBpfMap<S32, InterfaceMapValue> getInterfaceMap() { in getInterfaceMap()
|
D | NetworkStatsService.java | 184 import com.android.net.module.util.IBpfMap; 451 private final IBpfMap<S32, U8> mUidCounterSetMap; 452 private final IBpfMap<CookieTagMapKey, CookieTagMapValue> mCookieTagMap; 453 private final IBpfMap<StatsMapKey, StatsMapValue> mStatsMapA; 454 private final IBpfMap<StatsMapKey, StatsMapValue> mStatsMapB; 455 private final IBpfMap<UidStatsMapKey, StatsMapValue> mAppUidStatsMap; 456 private final IBpfMap<S32, StatsMapValue> mIfaceStatsMap; 844 public IBpfMap<S32, U8> getUidCounterSetMap() { 854 public IBpfMap<CookieTagMapKey, CookieTagMapValue> getCookieTagMap() { 865 public IBpfMap<StatsMapKey, StatsMapValue> getStatsMapA() { [all …]
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ |
D | BpfDump.java | 86 public static <K extends Struct, V extends Struct> void dumpRawMap(IBpfMap<K, V> map, in dumpRawMap() 106 public static <K extends Struct, V extends Struct> void dumpMap(IBpfMap<K, V> map, in dumpMap() 114 public static <K extends Struct, V extends Struct> void dumpMap(IBpfMap<K, V> map, in dumpMap() 138 public static <K extends Struct, V extends Struct> void dumpMapStatus(IBpfMap<K, V> map, in dumpMapStatus()
|
D | IBpfMap.java | 33 public interface IBpfMap<K extends Struct, V extends Struct> extends AutoCloseable { interface
|
D | BpfMap.java | 46 public class BpfMap<K extends Struct, V extends Struct> implements IBpfMap<K, V> {
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | BpfInterfaceMapHelperTest.java | 34 import com.android.net.module.util.IBpfMap; 59 private IBpfMap<S32, InterfaceMapValue> mBpfMap = 64 public IBpfMap<S32, InterfaceMapValue> getInterfaceMap() { in getInterfaceMap()
|
D | NetworkStatsServiceTest.java | 154 import com.android.net.module.util.IBpfMap; 565 public IBpfMap<S32, U8> getUidCounterSetMap() { in getUidCounterSetMap() 570 public IBpfMap<CookieTagMapKey, CookieTagMapValue> getCookieTagMap() { in getCookieTagMap() 575 public IBpfMap<StatsMapKey, StatsMapValue> getStatsMapA() { in getStatsMapA() 580 public IBpfMap<StatsMapKey, StatsMapValue> getStatsMapB() { in getStatsMapB() 585 public IBpfMap<UidStatsMapKey, StatsMapValue> getAppUidStatsMap() { in getAppUidStatsMap() 590 public IBpfMap<S32, StatsMapValue> getIfaceStatsMap() { in getIfaceStatsMap() 606 IBpfMap<CookieTagMapKey, CookieTagMapValue> cookieTagMap, Handler handler) { in makeSkDestroyListener()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | BpfCoordinator.java | 68 import com.android.net.module.util.IBpfMap; 377 @Nullable public IBpfMap<Tether4Key, Tether4Value> getBpfDownstream4Map() { in getBpfDownstream4Map() 389 @Nullable public IBpfMap<Tether4Key, Tether4Value> getBpfUpstream4Map() { in getBpfUpstream4Map() 401 @Nullable public IBpfMap<TetherDownstream6Key, Tether6Value> getBpfDownstream6Map() { in getBpfDownstream6Map() 413 @Nullable public IBpfMap<TetherUpstream6Key, Tether6Value> getBpfUpstream6Map() { in getBpfUpstream6Map() 425 @Nullable public IBpfMap<TetherStatsKey, TetherStatsValue> getBpfStatsMap() { in getBpfStatsMap() 437 @Nullable public IBpfMap<TetherLimitKey, TetherLimitValue> getBpfLimitMap() { in getBpfLimitMap() 449 @Nullable public IBpfMap<TetherDevKey, TetherDevValue> getBpfDevMap() { in getBpfDevMap() 461 @Nullable public IBpfMap<S32, S32> getBpfErrorMap() { in getBpfErrorMap() 1211 try (IBpfMap<TetherStatsKey, TetherStatsValue> map = mDeps.getBpfStatsMap()) { in dumpBpfStats() [all …]
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | ClatCoordinatorTest.java | 56 import com.android.net.module.util.IBpfMap; 332 public IBpfMap<ClatIngress6Key, ClatIngress6Value> getBpfIngress6Map() { in getBpfIngress6Map() 338 public IBpfMap<ClatEgress4Key, ClatEgress4Value> getBpfEgress4Map() { in getBpfEgress4Map() 344 public IBpfMap<CookieTagMapKey, CookieTagMapValue> getBpfCookieTagMap() { in getBpfCookieTagMap() 635 public IBpfMap<CookieTagMapKey, CookieTagMapValue> getBpfCookieTagMap() { in testNotStartClatWithNativeFailureCreateTunInterface() 636 return mock(IBpfMap.class); in testNotStartClatWithNativeFailureCreateTunInterface() 653 public IBpfMap<CookieTagMapKey, CookieTagMapValue> getBpfCookieTagMap() { in testNotStartClatWithNativeFailureDetectMtu() 654 return mock(IBpfMap.class); in testNotStartClatWithNativeFailureDetectMtu() 742 public IBpfMap<CookieTagMapKey, CookieTagMapValue> getBpfCookieTagMap() { in testNotStartClatWithNullCookieTagMap()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | ClatCoordinator.java | 46 import com.android.net.module.util.IBpfMap; 134 private final IBpfMap<ClatIngress6Key, ClatIngress6Value> mIngressMap; 136 private final IBpfMap<ClatEgress4Key, ClatEgress4Value> mEgressMap; 138 private final IBpfMap<CookieTagMapKey, CookieTagMapValue> mCookieTagMap; 258 public IBpfMap<ClatIngress6Key, ClatIngress6Value> getBpfIngress6Map() { in getBpfIngress6Map() 270 public IBpfMap<ClatEgress4Key, ClatEgress4Value> getBpfEgress4Map() { in getBpfEgress4Map() 282 public IBpfMap<CookieTagMapKey, CookieTagMapValue> getBpfCookieTagMap() { in getBpfCookieTagMap()
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | TestBpfMap.java | 23 import com.android.net.module.util.IBpfMap; 43 public class TestBpfMap<K extends Struct, V extends Struct> implements IBpfMap<K, V> {
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | BpfCoordinatorTest.java | 124 import com.android.net.module.util.IBpfMap; 476 private final IBpfMap<Tether4Key, Tether4Value> mBpfDownstream4Map = 478 private final IBpfMap<Tether4Key, Tether4Value> mBpfUpstream4Map = 480 private final IBpfMap<TetherDownstream6Key, Tether6Value> mBpfDownstream6Map = 482 private final IBpfMap<TetherUpstream6Key, Tether6Value> mBpfUpstream6Map = 484 private final IBpfMap<TetherStatsKey, TetherStatsValue> mBpfStatsMap = 486 private final IBpfMap<TetherLimitKey, TetherLimitValue> mBpfLimitMap = 488 private final IBpfMap<TetherDevKey, TetherDevValue> mBpfDevMap = 490 private final IBpfMap<S32, S32> mBpfErrorMap = 533 public IBpfMap<Tether4Key, Tether4Value> getBpfDownstream4Map() { [all …]
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | BpfNetMapsTest.java | 100 import com.android.net.module.util.IBpfMap; 163 private final IBpfMap<S32, U32> mConfigurationMap = new TestBpfMap<>(S32.class, U32.class); 164 private final IBpfMap<S32, UidOwnerValue> mUidOwnerMap = 166 private final IBpfMap<S32, U8> mUidPermissionMap = new TestBpfMap<>(S32.class, U8.class); 167 private final IBpfMap<CookieTagMapKey, CookieTagMapValue> mCookieTagMap = 169 private final IBpfMap<S32, U8> mDataSaverEnabledMap = new TestBpfMap<>(S32.class, U8.class); 170 private final IBpfMap<IngressDiscardKey, IngressDiscardValue> mIngressDiscardMap =
|
/packages/modules/Connectivity/Tethering/apishim/common/com/android/networkstack/tethering/apishim/common/ |
D | BpfCoordinatorShim.java | 24 import com.android.net.module.util.IBpfMap.ThrowingBiConsumer;
|
/packages/modules/Connectivity/Tethering/apishim/30/com/android/networkstack/tethering/apishim/api30/ |
D | BpfCoordinatorShimImpl.java | 28 import com.android.net.module.util.IBpfMap.ThrowingBiConsumer;
|
/packages/modules/Connectivity/staticlibs/testutils/ |
D | Android.bp | 32 "net-utils-device-common-bpf", // TestBpfMap extends IBpfMap.
|
/packages/modules/Connectivity/staticlibs/ |
D | Android.bp | 136 "device/com/android/net/module/util/IBpfMap.java",
|