Searched refs:mTestNetworkCallback (Results 1 – 2 of 2) sorted by relevance
55 private final TestNetworkCallback mTestNetworkCallback = new TestNetworkCallback(); field in NetworkCallbackTest234 .setSignalStrength(SIGNAL_STRENGTH_UNSPECIFIED).build(), mTestNetworkCallback); in setUp()237 mNetwork = mTestNetworkCallback.expectAvailableCallbackAndGetNetwork(); in setUp()239 mTestNetworkCallback.expectCapabilitiesCallbackEventually(mNetwork, in setUp()241 mTestNetworkCallback.drainAndWaitForIdle(); in setUp()288 mTestNetworkCallback.expectBlockedStatusCallbackEventually(mNetwork, true); in testOnBlockedStatusChanged_dataSaver()294 mTestNetworkCallback.expectBlockedStatusCallbackEventually(mNetwork, false); in testOnBlockedStatusChanged_dataSaver()301 mTestNetworkCallback.expectBlockedStatusCallbackEventually(mNetwork, true); in testOnBlockedStatusChanged_dataSaver()308 mTestNetworkCallback.expectCapabilitiesCallbackEventually(mNetwork, in testOnBlockedStatusChanged_dataSaver()313 mTestNetworkCallback.expectBlockedStatusCallbackEventually(mNetwork, false); in testOnBlockedStatusChanged_dataSaver()[all …]
158 private TestNetworkCallback mTestNetworkCallback; field in ConnectivityDiagnosticsManagerTest204 mTestNetworkCallback = new TestNetworkCallback(); in setUp()205 mConnectivityManager.requestNetwork(TEST_NETWORK_REQUEST, mTestNetworkCallback); in setUp()212 mConnectivityManager.unregisterNetworkCallback(mTestNetworkCallback); in tearDown()234 mTestNetwork = mTestNetworkCallback.waitForAvailable(); in testRegisterConnectivityDiagnosticsCallback()375 mTestNetwork = mTestNetworkCallback.waitForAvailable(); in testOnConnectivityReportAvailable()424 mTestNetwork = mTestNetworkCallback.waitForAvailable(); in verifyOnDataStallSuspected()456 mTestNetwork = mTestNetworkCallback.waitForAvailable(); in verifyOnNetworkConnectivityReported()