Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1861 final TestNetworkCallback defaultCallback = new TestNetworkCallback(); in doNetworkCallbacksSanitizationTest() local
1865 mCm.registerDefaultNetworkCallback(defaultCallback); in doNetworkCallbacksSanitizationTest()
1870 defaultCallback.expectAvailableCallbacksUnvalidated(mWiFiNetworkAgent); in doNetworkCallbacksSanitizationTest()
1882 defaultCallback.expectLinkPropertiesThat(mWiFiNetworkAgent, lp -> in doNetworkCallbacksSanitizationTest()
1889 defaultCallback.expectLinkPropertiesThat(mWiFiNetworkAgent, lp -> in doNetworkCallbacksSanitizationTest()
1936 TestNetworkCallback defaultCallback = new TestNetworkCallback(); in testMultipleLingering() local
1937 mCm.registerDefaultNetworkCallback(defaultCallback); in testMultipleLingering()
1949 defaultCallback.expectAvailableThenValidatedCallbacks(mCellNetworkAgent); in testMultipleLingering()
1951 assertEquals(defaultCallback.getLastAvailableNetwork(), mCm.getActiveNetwork()); in testMultipleLingering()
1960 defaultCallback.expectAvailableDoubleValidatedCallbacks(mWiFiNetworkAgent); in testMultipleLingering()
[all …]