Home
last modified time | relevance | path

Searched refs:otherUidCallback (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java2536 final DetailedBlockedStatusCallback otherUidCallback = new DetailedBlockedStatusCallback();
2545 otherUid, otherUidCallback, handler), NETWORK_SETTINGS);
2549 List.of(myUidCallback, otherUidCallback);
2561 otherUidCallback.assertNoBlockedStatusCallback();
2566 otherUidCallback.eventuallyExpectBlockedStatusCallback(defaultNetwork,
2574 otherUidCallback.assertNoBlockedStatusCallback();
2579 otherUidCallback.eventuallyExpectBlockedStatusCallback(defaultNetwork, BLOCKED_REASON_NONE);
2582 otherUidCallback.assertNoBlockedStatusCallback();
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java971 final TestableNetworkCallback otherUidCallback = new TestableNetworkCallback(); in testDefault() local
983 registerDefaultNetworkCallbackForUid(otherUid, otherUidCallback, h); in testDefault()
996 otherUidCallback.expectAvailableCallbacks(defaultNetwork, false /* suspended */, in testDefault()
1041 assertNoCallbackExceptCapOrLpChange(otherUidCallback); in testDefault()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java5675 final TestNetworkCallback otherUidCallback = new TestNetworkCallback();
5676 mCm.registerNetworkCallback(otherUidRequest, otherUidCallback);
5689 otherUidCallback.expectAvailableCallbacksUnvalidated(mWiFiAgent);
5693 otherUidCallback.expect(LOST, mWiFiAgent);
5702 otherUidCallback.assertNoCallback();
5707 otherUidCallback.assertNoCallback();
5752 final TestNetworkCallback otherUidCallback = new TestNetworkCallback();
5753 mCm.registerNetworkCallback(otherUidRequest, otherUidCallback);
5773 otherUidCallback.expectAvailableCallbacksUnvalidated(mWiFiAgent);