Searched refs:defaultCallback (Results 1 – 1 of 1) sorted by relevance
1861 final TestNetworkCallback defaultCallback = new TestNetworkCallback(); in doNetworkCallbacksSanitizationTest() local1865 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() local1937 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 …]