Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DDataConnectivityListenerTest.java51 private Network mActiveNetwork; field in DataConnectivityListenerTest
61 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()
DSubscriptionsPreferenceControllerTest.java96 private Network mActiveNetwork; field in SubscriptionsPreferenceControllerTest
118 when(mConnectivityManager.getActiveNetwork()).thenReturn(mActiveNetwork); in setUp()
119 when(mConnectivityManager.getNetworkCapabilities(mActiveNetwork)).thenReturn(mCapabilities); in setUp()