Searched refs:myUidCallback (Results 1 – 2 of 2) sorted by relevance
2535 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();
972 final TestableNetworkCallback myUidCallback = new TestableNetworkCallback(); in testDefault() local984 registerDefaultNetworkCallbackForUid(Process.myUid(), myUidCallback, h); in testDefault() local986 for (TestableNetworkCallback callback : List.of(systemDefaultCallback, myUidCallback)) { in testDefault()1018 myUidCallback.expectAvailableThenValidatedCallbacks(vpnNetwork, TIMEOUT_MS); in testDefault()