Searched refs:primaryWifiInfo (Results 1 – 5 of 5) sorted by relevance
87 WifiInfo primaryWifiInfo = Mockito.mock(WifiInfo.class); in testWifiInfoClearedOnPrimaryNetworkLost() local88 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() local143 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 …]
142 WifiInfo primaryWifiInfo = mWifiManager.getConnectionInfo(); in handleNetworkStateChangedAction() local144 if (primaryWifiInfo == null || networkInfo == null) { in handleNetworkStateChangedAction()147 getWifiEntry().onPrimaryWifiInfoChanged(primaryWifiInfo, networkInfo); in handleNetworkStateChangedAction()
296 WifiInfo primaryWifiInfo = mWifiManager.getConnectionInfo(); in handleNetworkStateChangedAction() local298 if (primaryWifiInfo == null || networkInfo == null) { in handleNetworkStateChangedAction()302 entry.onPrimaryWifiInfoChanged(primaryWifiInfo, networkInfo); in handleNetworkStateChangedAction()
973 @Nullable WifiInfo primaryWifiInfo, @Nullable NetworkInfo networkInfo) { in onPrimaryWifiInfoChanged()974 if (primaryWifiInfo == null || !connectionInfoMatches(primaryWifiInfo)) { in onPrimaryWifiInfoChanged()984 updateWifiInfo(primaryWifiInfo); in onPrimaryWifiInfoChanged()
365 WifiInfo primaryWifiInfo = mWifiManager.getConnectionInfo(); in handleNetworkStateChangedAction() local367 if (primaryWifiInfo != null) { in handleNetworkStateChangedAction()368 conditionallyCreateConnectedWifiEntry(primaryWifiInfo); in handleNetworkStateChangedAction()371 entry.onPrimaryWifiInfoChanged(primaryWifiInfo, networkInfo); in handleNetworkStateChangedAction()381 WifiInfo primaryWifiInfo = mWifiManager.getConnectionInfo(); in handleRssiChangedAction() local383 entry.onPrimaryWifiInfoChanged(primaryWifiInfo, null); in handleRssiChangedAction()