Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DWifiStatusTrackerTest.java87 WifiInfo primaryWifiInfo = Mockito.mock(WifiInfo.class); in testWifiInfoClearedOnPrimaryNetworkLost() local
88 when(primaryWifiInfo.makeCopy(anyLong())).thenReturn(primaryWifiInfo); in testWifiInfoClearedOnPrimaryNetworkLost()
89 when(primaryWifiInfo.isPrimary()).thenReturn(true); in testWifiInfoClearedOnPrimaryNetworkLost()
91 when(primaryWifiInfo.getRssi()).thenReturn(primaryRssi); in testWifiInfoClearedOnPrimaryNetworkLost()
94 .setTransportInfo(primaryWifiInfo) in testWifiInfoClearedOnPrimaryNetworkLost()
111 when(primaryWifiInfo.getRssi()).thenReturn(nonPrimaryRssi); in testWifiInfoClearedOnPrimaryNetworkLost()
142 WifiInfo primaryWifiInfo = Mockito.mock(WifiInfo.class); in isCarrierMerged_typicalWifi_false() local
143 when(primaryWifiInfo.isPrimary()).thenReturn(true); in isCarrierMerged_typicalWifi_false()
147 when(primaryCap.getTransportInfo()).thenReturn(primaryWifiInfo); in isCarrierMerged_typicalWifi_false()
174 WifiInfo primaryWifiInfo = Mockito.mock(WifiInfo.class); in isCarrierMerged_cellularCarrierMergedWifi_true() local
[all …]
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DNetworkDetailsTracker.java142 WifiInfo primaryWifiInfo = mWifiManager.getConnectionInfo(); in handleNetworkStateChangedAction() local
144 if (primaryWifiInfo == null || networkInfo == null) { in handleNetworkStateChangedAction()
147 getWifiEntry().onPrimaryWifiInfoChanged(primaryWifiInfo, networkInfo); in handleNetworkStateChangedAction()
DSavedNetworkTracker.java296 WifiInfo primaryWifiInfo = mWifiManager.getConnectionInfo(); in handleNetworkStateChangedAction() local
298 if (primaryWifiInfo == null || networkInfo == null) { in handleNetworkStateChangedAction()
302 entry.onPrimaryWifiInfoChanged(primaryWifiInfo, networkInfo); in handleNetworkStateChangedAction()
DWifiEntry.java973 @Nullable WifiInfo primaryWifiInfo, @Nullable NetworkInfo networkInfo) { in onPrimaryWifiInfoChanged()
974 if (primaryWifiInfo == null || !connectionInfoMatches(primaryWifiInfo)) { in onPrimaryWifiInfoChanged()
984 updateWifiInfo(primaryWifiInfo); in onPrimaryWifiInfoChanged()
DWifiPickerTracker.java365 WifiInfo primaryWifiInfo = mWifiManager.getConnectionInfo(); in handleNetworkStateChangedAction() local
367 if (primaryWifiInfo != null) { in handleNetworkStateChangedAction()
368 conditionallyCreateConnectedWifiEntry(primaryWifiInfo); in handleNetworkStateChangedAction()
371 entry.onPrimaryWifiInfoChanged(primaryWifiInfo, networkInfo); in handleNetworkStateChangedAction()
381 WifiInfo primaryWifiInfo = mWifiManager.getConnectionInfo(); in handleRssiChangedAction() local
383 entry.onPrimaryWifiInfoChanged(primaryWifiInfo, null); in handleRssiChangedAction()