Searched refs:CookieTagMapKey (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Connectivity/Tethering/tests/mts/src/android/tethering/mts/ |
D | SkDestroyListenerTest.java | 36 import com.android.net.module.util.bpf.CookieTagMapKey; 59 private Map<CookieTagMapKey, CookieTagMapValue> parseBpfRawMap(final String dump) { in parseBpfRawMap() 60 final Map<CookieTagMapKey, CookieTagMapValue> map = new HashMap<>(); in parseBpfRawMap() 62 final Pair<CookieTagMapKey, CookieTagMapValue> keyValue = in parseBpfRawMap() 63 BpfDump.fromBase64EncodedString(CookieTagMapKey.class, in parseBpfRawMap() 72 final Map<CookieTagMapKey, CookieTagMapValue> cookieTagMap = parseBpfRawMap(dump); in countTaggedSocket()
|
/packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/ |
D | CookieTagMapKey.java | 26 public class CookieTagMapKey extends Struct { class 30 public CookieTagMapKey(final long socketCookie) { in CookieTagMapKey() method in CookieTagMapKey
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | ClatCoordinatorTest.java | 61 import com.android.net.module.util.bpf.CookieTagMapKey; 134 private static final CookieTagMapKey COOKIE_TAG_KEY = new CookieTagMapKey(RAW_SOCK_COOKIE); 142 private final TestBpfMap<CookieTagMapKey, CookieTagMapValue> mCookieTagMap = 143 spy(new TestBpfMap<>(CookieTagMapKey.class, CookieTagMapValue.class)); 344 public IBpfMap<CookieTagMapKey, CookieTagMapValue> getBpfCookieTagMap() { in getBpfCookieTagMap() 635 public IBpfMap<CookieTagMapKey, CookieTagMapValue> getBpfCookieTagMap() { in testNotStartClatWithNativeFailureCreateTunInterface() 653 public IBpfMap<CookieTagMapKey, CookieTagMapValue> getBpfCookieTagMap() { in testNotStartClatWithNativeFailureDetectMtu() 742 public IBpfMap<CookieTagMapKey, CookieTagMapValue> getBpfCookieTagMap() { in testNotStartClatWithNullCookieTagMap()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | ClatCoordinator.java | 53 import com.android.net.module.util.bpf.CookieTagMapKey; 137 private final IBpfMap<CookieTagMapKey, CookieTagMapValue> mCookieTagMap; 283 public IBpfMap<CookieTagMapKey, CookieTagMapValue> getBpfCookieTagMap() { in getBpfCookieTagMap() 287 CookieTagMapKey.class, CookieTagMapValue.class); in getBpfCookieTagMap() 539 final CookieTagMapKey key = new CookieTagMapKey(cookie); in tagSocketAsClat() 559 final CookieTagMapKey key = new CookieTagMapKey(cookie); in untagSocket()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | BpfNetMaps.java | 85 import com.android.net.module.util.bpf.CookieTagMapKey; 137 private static IBpfMap<CookieTagMapKey, CookieTagMapValue> sCookieTagMap = null; 180 IBpfMap<CookieTagMapKey, CookieTagMapValue> cookieTagMap) { in setCookieTagMapForTest() argument 251 private static IBpfMap<CookieTagMapKey, CookieTagMapValue> getCookieTagMap() { in getCookieTagMap() 255 CookieTagMapKey.class, CookieTagMapValue.class); in getCookieTagMap()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 170 import com.android.net.module.util.bpf.CookieTagMapKey; 293 private TestBpfMap<CookieTagMapKey, CookieTagMapValue> mCookieTagMap = new TestBpfMap<>( 294 CookieTagMapKey.class, CookieTagMapValue.class); 581 public IBpfMap<CookieTagMapKey, CookieTagMapValue> getCookieTagMap() { in getCookieTagMap() 2941 mCookieTagMap.insertEntry(new CookieTagMapKey(1000 + uid), new CookieTagMapValue(uid, 1)); in initBpfMapsWithTagData() 2942 mCookieTagMap.insertEntry(new CookieTagMapKey(2000 + uid), new CookieTagMapValue(uid, 2)); in initBpfMapsWithTagData() 3025 Map<CookieTagMapKey, CookieTagMapValue> cookieTagMap = parseBpfRawMap( in testDumpCookieTagMapBpfRawMap() 3026 CookieTagMapKey.class, CookieTagMapValue.class, dump); in testDumpCookieTagMapBpfRawMap() 3028 final CookieTagMapValue val1 = cookieTagMap.get(new CookieTagMapKey(2002)); in testDumpCookieTagMapBpfRawMap() 3032 final CookieTagMapValue val2 = cookieTagMap.get(new CookieTagMapKey(3002)); in testDumpCookieTagMapBpfRawMap()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | BpfNetMapsTest.java | 107 import com.android.net.module.util.bpf.CookieTagMapKey; 184 private final IBpfMap<CookieTagMapKey, CookieTagMapValue> mCookieTagMap = 185 spy(new TestBpfMap<>(CookieTagMapKey.class, CookieTagMapValue.class)); 1135 mCookieTagMap.updateEntry(new CookieTagMapKey(0), new CookieTagMapValue(0, 0)); in testPullBpfMapInfo() 1302 mCookieTagMap.updateEntry(new CookieTagMapKey(123), new CookieTagMapValue(456, 0x789)); in testDumpCookieTagMap()
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | NetworkStatsService.java | 190 import com.android.net.module.util.bpf.CookieTagMapKey; 458 private final IBpfMap<CookieTagMapKey, CookieTagMapValue> mCookieTagMap; 735 mCookieTagMap.deleteEntry(new CookieTagMapKey(sockId.cookie)); in NetworkStatsService() 905 public IBpfMap<CookieTagMapKey, CookieTagMapValue> getCookieTagMap() { 908 CookieTagMapKey.class, CookieTagMapValue.class);
|