Home
last modified time | relevance | path

Searched refs:defaultCb (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSNetworkActivityTest.kt92 val defaultCb = TestableNetworkCallback() in <lambda>() constant
93 cm.registerDefaultNetworkCallback(defaultCb) in <lambda>()
107 defaultCb.expectAvailableCallbacks(cellAgent.network, validated = false) in <lambda>()
120 defaultCb.expectAvailableCallbacks(wifiAgent.network, validated = false) in <lambda>()
151 cm.unregisterNetworkCallback(defaultCb) in <lambda>()
DCSSatelliteNetworkTest.kt149 val defaultCb = TestableNetworkCallback() in doTestSatelliteNeverBecomeDefaultNetwork() constant
150 cm.registerDefaultNetworkCallback(defaultCb) in doTestSatelliteNeverBecomeDefaultNetwork()
152 defaultCb.assertNoCallback() in doTestSatelliteNeverBecomeDefaultNetwork()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java3078 final TestableNetworkCallback defaultCb =
3084 defaultCb.eventuallyExpect(CallbackEntry.AVAILABLE, NETWORK_CALLBACK_TIMEOUT_MS,
3096 defaultCb.eventuallyExpect(CallbackEntry.NETWORK_CAPS_UPDATED,
3109 defaultCb.eventuallyExpect(CallbackEntry.AVAILABLE, NETWORK_CALLBACK_TIMEOUT_MS,
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java3040 final TestNetworkCallback defaultCb = new TestNetworkCallback();
3044 mCm.registerDefaultNetworkCallback(defaultCb);
3051 defaultCb.expectAvailableThenValidatedCallbacks(net1);
3065 defaultCb.expectAvailableDoubleValidatedCallbacks(net2);
3096 defaultCb.expectAvailableDoubleValidatedCallbacks(net3);
3117 defaultCb.assertNoCallback();
3120 mCm.unregisterNetworkCallback(defaultCb);
10235 final TestNetworkCallback defaultCb = new TestNetworkCallback();
10238 mCm.registerDefaultNetworkCallback(defaultCb, h);
10244 defaultCb.expectAvailableCallbacksValidated(mMockVpn);
[all …]