Searched refs:connectedWifiEntry (Results 1 – 8 of 8) sorted by relevance
132 final WifiEntry connectedWifiEntry = mWifiPickerTracker.getConnectedWifiEntry(); in getWifiEntry() local133 if (connectedWifiEntry != null && TextUtils.equals(key, connectedWifiEntry.getKey())) { in getWifiEntry()134 keyWifiEntry = connectedWifiEntry; in getWifiEntry()155 final WifiEntry connectedWifiEntry = mWifiPickerTracker.getConnectedWifiEntry(); in updateResults() local156 if (connectedWifiEntry != null) { in updateResults()157 connectedWifiEntry.setListener(this); in updateResults()158 resultList.add(new WifiSliceItem(getContext(), connectedWifiEntry)); in updateResults()
103 WifiEntry connectedWifiEntry = getCarWifiManager().getConnectedWifiEntry(); in updateState() local105 if (wifiEntry.equals(connectedWifiEntry)) { in updateState()142 WifiEntry connectedWifiEntry = getCarWifiManager().getConnectedWifiEntry(); in fetchWifiEntries() local144 if (connectedWifiEntry != null) { in fetchWifiEntries()145 wifiEntries.add(0, connectedWifiEntry); in fetchWifiEntries()
102 WifiEntry connectedWifiEntry = mCarWifiManager.getConnectedWifiEntry(); in onWifiEntriesChanged() local103 if (connectedWifiEntry != null) { in onWifiEntriesChanged()104 String connectedWifiEntryKey = connectedWifiEntry.getKey(); in onWifiEntriesChanged()
99 final WifiEntry connectedWifiEntry = mock(WifiEntry.class); in getWifiEntry_connectedWifiKey_shouldGetConnectedWifi() local100 when(connectedWifiEntry.getKey()).thenReturn(key); in getWifiEntry_connectedWifiKey_shouldGetConnectedWifi()101 when(mWifiPickerTracker.getConnectedWifiEntry()).thenReturn(connectedWifiEntry); in getWifiEntry_connectedWifiKey_shouldGetConnectedWifi()103 assertThat(mWifiScanWorker.getWifiEntry(key)).isEqualTo(connectedWifiEntry); in getWifiEntry_connectedWifiKey_shouldGetConnectedWifi()
182 final WifiEntry connectedWifiEntry = mWifiPickerTracker.getConnectedWifiEntry(); in update() local183 if (connectedWifiEntry == null) { in update()186 if (mPreference == null || !mPreference.getWifiEntry().equals(connectedWifiEntry)) { in update()187 updatePreference(connectedWifiEntry); in update()
123 final WifiEntry connectedWifiEntry = mock(WifiEntry.class); in getWifiEntry_connectedWifiKey_shouldGetConnectedWifi() local124 when(connectedWifiEntry.getKey()).thenReturn(key); in getWifiEntry_connectedWifiKey_shouldGetConnectedWifi()125 when(mMockWifiPickerTracker.getConnectedWifiEntry()).thenReturn(connectedWifiEntry); in getWifiEntry_connectedWifiKey_shouldGetConnectedWifi()127 assertThat(mMockNetworkProviderWorker.getWifiEntry(key)).isEqualTo(connectedWifiEntry); in getWifiEntry_connectedWifiKey_shouldGetConnectedWifi()
235 final WifiEntry connectedWifiEntry = mWifiPickerTracker.getConnectedWifiEntry(); in isReachableWifiNetwork() local236 if (connectedWifiEntry != null) { in isReachableWifiNetwork()238 wifiEntries.add(connectedWifiEntry); in isReachableWifiNetwork()
760 final WifiEntry connectedWifiEntry = mWifiPickerTracker.getConnectedWifiEntry();761 if (connectedWifiEntry != null) {762 reachableWifiEntries.add(connectedWifiEntry);