Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DWifiRepositoryImplTest.kt193 whenever(wifiPickerTracker.connectedWifiEntry).thenReturn(wifiEntry) in isWifiDefault_wifiNetwork_isTrue()
221 whenever(wifiPickerTracker.connectedWifiEntry).thenReturn(wifiEntry) in isWifiDefault_wifiNetworkNotDefault_isFalse()
250 whenever(wifiPickerTracker.connectedWifiEntry).thenReturn(wifiEntry) in isWifiDefault_noWifiNetwork_isFalse()
256 whenever(wifiPickerTracker.connectedWifiEntry).thenReturn(null) in isWifiDefault_noWifiNetwork_isFalse()
282 whenever(wifiPickerTracker.connectedWifiEntry).thenReturn(wifiEntry) in wifiNetwork_primaryWifiNetworkAdded_flowHasNetwork()
302 whenever(wifiPickerTracker.connectedWifiEntry).thenReturn(wifiEntry) in accessPointInfo_alwaysFalse()
322 whenever(wifiPickerTracker.connectedWifiEntry).thenReturn(wifiEntry) in wifiNetwork_unreachableLevel_inactiveNetwork()
338 whenever(wifiPickerTracker.connectedWifiEntry).thenReturn(wifiEntry) in wifiNetwork_levelTooHigh_inactiveNetwork()
354 whenever(wifiPickerTracker.connectedWifiEntry).thenReturn(wifiEntry) in wifiNetwork_levelTooLow_inactiveNetwork()
370 whenever(wifiPickerTracker.connectedWifiEntry).thenReturn(wifiEntry) in wifiNetwork_levelIsMax_activeNetworkWithMaxLevel()
[all …]
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DSavedNetworkTrackerTest.java716 WifiEntry connectedWifiEntry = savedNetworkTracker.getSavedWifiEntries().get(0); in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges() local
717 assertThat(connectedWifiEntry).isNotNull(); in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges()
718 assertThat(connectedWifiEntry.getConnectedState()).isEqualTo(CONNECTED_STATE_CONNECTED); in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges()
721 assertThat(connectedWifiEntry.isDefaultNetwork()).isFalse(); in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges()
727 assertThat(connectedWifiEntry.isDefaultNetwork()).isFalse(); in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges()
739 assertThat(connectedWifiEntry.isDefaultNetwork()).isFalse(); in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges()
744 assertThat(connectedWifiEntry.isDefaultNetwork()).isTrue(); in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges()
748 assertThat(connectedWifiEntry.isDefaultNetwork()).isFalse(); in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DAccessPointControllerImplTest.kt77 `when`(wifiPickerTracker.connectedWifiEntry).thenReturn(wifiEntryConnected) in setUp()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DWifiPickerTracker.java669 WifiEntry connectedWifiEntry = null; in updateWifiEntries() local
674 connectedWifiEntry = primaryWifiEntry; in updateWifiEntries()
677 mConnectedWifiEntry = connectedWifiEntry; in updateWifiEntries()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DWifiRepositoryImpl.kt232 this?.connectedWifiEntry in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionsRepositoryTest.kt1405 whenever(wifiPickerTracker.connectedWifiEntry).thenReturn(null) in <lambda>()
1412 whenever(wifiPickerTracker.connectedWifiEntry).thenReturn(wifiEntry) in <lambda>()