Home
last modified time | relevance | path

Searched refs:myUidCallback (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java2535 final DetailedBlockedStatusCallback myUidCallback = new DetailedBlockedStatusCallback();
2542 networkCallbackRule.registerDefaultNetworkCallback(myUidCallback, handler);
2547 final Network defaultNetwork = myUidCallback.expect(CallbackEntry.AVAILABLE).getNetwork();
2549 List.of(myUidCallback, otherUidCallback);
2559 myUidCallback.eventuallyExpectBlockedStatusCallback(defaultNetwork,
2565 myUidCallback.assertNoBlockedStatusCallback();
2573 myUidCallback.assertNoBlockedStatusCallback();
2578 myUidCallback.eventuallyExpectBlockedStatusCallback(defaultNetwork, BLOCKED_REASON_NONE);
2581 myUidCallback.assertNoBlockedStatusCallback();
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java972 final TestableNetworkCallback myUidCallback = new TestableNetworkCallback(); in testDefault() local
984 registerDefaultNetworkCallbackForUid(Process.myUid(), myUidCallback, h); in testDefault() local
986 for (TestableNetworkCallback callback : List.of(systemDefaultCallback, myUidCallback)) { in testDefault()
1018 myUidCallback.expectAvailableThenValidatedCallbacks(vpnNetwork, TIMEOUT_MS); in testDefault()