Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DConnectivityControllerTest.java1727 final Network otherNetwork = mock(Network.class); in testIsNetworkInStateForJobRunLocked_Network() local
1739 allNetworkCallback.onAvailable(otherNetwork); in testIsNetworkInStateForJobRunLocked_Network()
1741 assertFalse(controller.isNetworkInStateForJobRunLocked(otherNetwork)); in testIsNetworkInStateForJobRunLocked_Network()
1746 allNetworkCallback.onCapabilitiesChanged(otherNetwork, mock(NetworkCapabilities.class)); in testIsNetworkInStateForJobRunLocked_Network()
1748 assertFalse(controller.isNetworkInStateForJobRunLocked(otherNetwork)); in testIsNetworkInStateForJobRunLocked_Network()
1753 assertFalse(controller.isNetworkInStateForJobRunLocked(otherNetwork)); in testIsNetworkInStateForJobRunLocked_Network()
1759 assertFalse(controller.isNetworkInStateForJobRunLocked(otherNetwork)); in testIsNetworkInStateForJobRunLocked_Network()
1763 assertFalse(controller.isNetworkInStateForJobRunLocked(otherNetwork)); in testIsNetworkInStateForJobRunLocked_Network()
1769 assertFalse(controller.isNetworkInStateForJobRunLocked(otherNetwork)); in testIsNetworkInStateForJobRunLocked_Network()
1775 assertFalse(controller.isNetworkInStateForJobRunLocked(otherNetwork)); in testIsNetworkInStateForJobRunLocked_Network()
[all …]
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DStandardWifiEntryTest.java812 Network otherNetwork = mock(Network.class); in testGetSummary_connectedButNotDefault_doesNotShowConnected() local
813 when(otherNetwork.getNetId()).thenReturn(2); in testGetSummary_connectedButNotDefault_doesNotShowConnected()
814 entry.onDefaultNetworkCapabilitiesChanged(otherNetwork, new NetworkCapabilities()); in testGetSummary_connectedButNotDefault_doesNotShowConnected()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt16948 field public static final java.lang.String EXTRA_OTHER_NETWORK_INFO = "otherNetwork";