Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DWifiPickerTrackerHelperTest.java73 public MergedCarrierEntry mMergedCarrierEntry; field in WifiPickerTrackerHelperTest
96 when(mWifiPickerTracker.getMergedCarrierEntry()).thenReturn(mMergedCarrierEntry); in setUp()
137 when(mMergedCarrierEntry.isEnabled()).thenReturn(true); in isCarrierNetworkEnabled_returnCorrect()
141 when(mMergedCarrierEntry.isEnabled()).thenReturn(false); in isCarrierNetworkEnabled_returnCorrect()
150 verify(mMergedCarrierEntry).setEnabled(true); in setCarrierNetworkEnabled_shouldSetCorrect()
154 verify(mMergedCarrierEntry).setEnabled(false); in setCarrierNetworkEnabled_shouldSetCorrect()
163 verify(mMergedCarrierEntry, never()).setEnabled(true); in setCarrierNetworkEnabled_mergedCarrierEntryIsNull_shouldNotSet()
167 verify(mMergedCarrierEntry, never()).setEnabled(true); in setCarrierNetworkEnabled_mergedCarrierEntryIsNull_shouldNotSet()
172 when(mMergedCarrierEntry.canConnect()).thenReturn(true); in connectCarrierNetwork_returnTrueAndConnect()
175 verify(mMergedCarrierEntry).connect(mConnectCallback); in connectCarrierNetwork_returnTrueAndConnect()
[all …]