Searched refs:mActiveNetwork (Results 1 – 2 of 2) sorted by relevance
51 private Network mActiveNetwork; field in DataConnectivityListenerTest61 when(mConnectivityManager.getActiveNetwork()).thenReturn(mActiveNetwork); in setUp()87 mListener.onCapabilitiesChanged(mActiveNetwork, mock(NetworkCapabilities.class)); in onCapabilitiesChanged_activeNetwork_onDataConnectivityChangeFires()100 mListener.onLosing(mActiveNetwork, 500); in onLosing_activeNetwork_onDataConnectivityChangeFires()113 mListener.onLost(mActiveNetwork); in onLost_activeNetwork_onDataConnectivityChangeFires()
96 private Network mActiveNetwork; field in SubscriptionsPreferenceControllerTest118 when(mConnectivityManager.getActiveNetwork()).thenReturn(mActiveNetwork); in setUp()119 when(mConnectivityManager.getNetworkCapabilities(mActiveNetwork)).thenReturn(mCapabilities); in setUp()