/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/ |
D | StructRtMsg.java | 42 @Field(order = 0, type = Type.U8) 44 @Field(order = 1, type = Type.U8) 46 @Field(order = 2, type = Type.U8) 48 @Field(order = 3, type = Type.U8) 50 @Field(order = 4, type = Type.U8) 52 @Field(order = 5, type = Type.U8) 54 @Field(order = 6, type = Type.U8) 56 @Field(order = 7, type = Type.U8)
|
D | StructPrefixMsg.java | 50 @Field(order = 0, type = Type.U8, padding = 3) 54 @Field(order = 2, type = Type.U8) 56 @Field(order = 3, type = Type.U8) 58 @Field(order = 4, type = Type.U8, padding = 1)
|
D | StructIfaddrMsg.java | 41 @Field(order = 0, type = Type.U8) 43 @Field(order = 1, type = Type.U8) 45 @Field(order = 2, type = Type.U8) 47 @Field(order = 3, type = Type.U8)
|
D | StructIfinfoMsg.java | 41 @Field(order = 0, type = Type.U8, padding = 1)
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | StructTest.java | 96 @Field(order = 0, type = Type.U8, padding = 1) 102 @Field(order = 3, type = Type.U8) 104 @Field(order = 4, type = Type.U8, padding = 6) 140 @Field(order = 0, type = Type.U8, padding = 1) 146 @Field(order = 3, type = Type.U8) 148 @Field(order = 4, type = Type.U8, padding = 6) 168 @Field(order = 0, type = Type.U8, padding = 1) 174 @Field(order = 3, type = Type.U8) 176 @Field(order = 4, type = Type.U8, padding = 6) 187 @Field(order = 0, type = Type.U8, padding = 1) [all …]
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkStackBpfNetMaps.java | 35 import com.android.net.module.util.Struct.U8; 57 private final IBpfMap<S32, U8> mDataSaverEnabledMap; 115 public IBpfMap<S32, U8> getDataSaverEnabledMap() { in getDataSaverEnabledMap() 118 U8.class); in getDataSaverEnabledMap()
|
D | BpfNetMapsUtils.java | 83 import com.android.net.module.util.Struct.U8; 262 IBpfMap<S32, U8> dataSaverEnabledMap in getUidNetworkingBlockedReasons() 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 | 79 import com.android.net.module.util.Struct.U8; 128 private static IBpfMap<S32, U8> sUidPermissionMap = null; 131 private static IBpfMap<S32, U8> sDataSaverEnabledMap = null; 159 public static void setUidPermissionMapForTest(IBpfMap<S32, U8> uidPermissionMap) { in setUidPermissionMapForTest() 176 public static void setDataSaverEnabledMapForTest(IBpfMap<S32, U8> dataSaverEnabledMap) { in setDataSaverEnabledMapForTest() 210 private static IBpfMap<S32, U8> getUidPermissionMap() { in getUidPermissionMap() 213 UID_PERMISSION_MAP_PATH, S32.class, U8.class); in getUidPermissionMap() 231 private static IBpfMap<S32, U8> getDataSaverEnabledMap() { in getDataSaverEnabledMap() 234 DATA_SAVER_ENABLED_MAP_PATH, S32.class, U8.class); in getDataSaverEnabledMap() 289 sDataSaverEnabledMap.updateEntry(DATA_SAVER_ENABLED_KEY, new U8(DATA_SAVER_DISABLED)); in initBpfMaps() [all …]
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkStackBpfNetMapsTest.kt | 34 import com.android.net.module.util.Struct.U8 62 private val testDataSaverEnabledMap: IBpfMap<S32, U8> = TestBpfMap() 70 private val dataSaverEnabledMap: IBpfMap<S32, U8> 134 testDataSaverEnabledMap.updateEntry(DATA_SAVER_ENABLED_KEY, U8(dataSaverValue)) in mockDataSaverEnabled() 275 testDataSaverEnabledMap.updateEntry(DATA_SAVER_ENABLED_KEY, U8(DATA_SAVER_DISABLED)) in testGetDataSaverEnabled() 277 testDataSaverEnabledMap.updateEntry(DATA_SAVER_ENABLED_KEY, U8(DATA_SAVER_ENABLED)) in testGetDataSaverEnabled()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/xfrm/ |
D | StructXfrmSelector.java | 73 @Field(order = 7, type = Type.U8, padding = 1) 76 @Field(order = 8, type = Type.U8, padding = 1) 79 @Field(order = 9, type = Type.U8, padding = 1)
|
D | StructXfrmUsersaInfo.java | 88 @Field(order = 4, type = Type.U8) 91 @Field(order = 5, type = Type.U8) 94 @Field(order = 6, type = Type.U8, padding = 7)
|
D | StructXfrmId.java | 49 @Field(order = 2, type = Type.U8, padding = 3)
|
D | StructXfrmUsersaId.java | 55 @Field(order = 3, type = Type.U8, padding = 1)
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ |
D | Struct.java | 108 U8, // unsigned byte, size = 1 byte enumConstant 172 case U8: in checkAnnotationType() 221 case U8: in getFieldLength() 360 case U8: in getFieldValue() 460 case U8: in putFieldValue() 752 public static class U8 extends Struct { class in Struct 753 @Struct.Field(order = 0, type = Struct.Type.U8) 756 public U8(final short val) { in U8() method in Struct.U8
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/structs/ |
D | Icmpv6Header.java | 33 @Field(order = 0, type = Type.U8) 35 @Field(order = 1, type = Type.U8)
|
D | Icmpv4Header.java | 32 @Field(order = 0, type = Type.U8) 34 @Field(order = 1, type = Type.U8)
|
D | StructMif6ctl.java | 28 @Field(order = 1, type = Type.U8) 30 @Field(order = 2, type = Type.U8)
|
D | FragmentHeader.java | 35 @Field(order = 0, type = Type.U8)
|
D | Ipv6Header.java | 59 @Field(order = 3, type = Type.U8)
|
D | RouteInformationOption.java | 64 @Field(order = 2, type = Type.U8)
|
D | Ipv4Header.java | 62 @Field(order = 5, type = Type.U8)
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | BpfNetMapsTest.java | 103 import com.android.net.module.util.Struct.U8; 166 private final IBpfMap<S32, U8> mUidPermissionMap = new TestBpfMap<>(S32.class, U8.class); 169 private final IBpfMap<S32, U8> mDataSaverEnabledMap = new TestBpfMap<>(S32.class, U8.class); 187 mDataSaverEnabledMap.updateEntry(DATA_SAVER_ENABLED_KEY, new U8(DATA_SAVER_DISABLED)); in setUp() 858 mUidPermissionMap.updateEntry(new S32(TEST_UID), new U8((short) PERMISSION_NONE)); in testGetNetPermFoUid() 862 new U8((short) (PERMISSION_INTERNET | PERMISSION_UPDATE_DEVICE_STATS))); in testGetNetPermFoUid() 903 mUidPermissionMap.updateEntry(new S32(0), new U8((short) 0)); in testPullBpfMapInfo() 904 mUidPermissionMap.updateEntry(new S32(1), new U8((short) 0)); in testPullBpfMapInfo() 905 mUidPermissionMap.updateEntry(new S32(2), new U8((short) 0)); in testPullBpfMapInfo() 941 mUidPermissionMap.updateEntry(new S32(TEST_UID), new U8((short) permission)); in doTestDumpUidPermissionMap() [all …]
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | DscpPolicyValue.java | 52 @Field(order = 6, type = Type.U8) 58 @Field(order = 8, type = Type.U8, padding = 3)
|
/packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/ |
D | ClatEgress4Value.java | 36 @Field(order = 3, type = Type.U8, padding = 3)
|
D | Tether4Key.java | 39 @Field(order = 2, type = Type.U8, padding = 1)
|