Home
last modified time | relevance | path

Searched refs:ScanResult (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/base/core/java/android/bluetooth/le/
DScanResult.java29 public final class ScanResult implements Parcelable { class
51 public ScanResult(BluetoothDevice device, ScanRecord scanRecord, int rssi, in ScanResult() method in ScanResult
59 private ScanResult(Parcel in) { in ScanResult() method in ScanResult
139 ScanResult other = (ScanResult) obj; in equals()
152 public static final Parcelable.Creator<ScanResult> CREATOR = new Creator<ScanResult>() {
154 public ScanResult createFromParcel(Parcel source) {
155 return new ScanResult(source);
159 public ScanResult[] newArray(int size) {
160 return new ScanResult[size];
DScanCallback.java62 public void onScanResult(int callbackType, ScanResult result) { in onScanResult()
70 public void onBatchScanResults(List<ScanResult> results) { in onBatchScanResults()
DScanResult.aidl19 parcelable ScanResult;
/frameworks/base/wifi/java/android/net/wifi/
DBatchedScanResult.java37 public final List<ScanResult> scanResults = new ArrayList<ScanResult>();
45 for (ScanResult s : source.scanResults) scanResults.add(new ScanResult(s)); in BatchedScanResult()
55 for (ScanResult s : scanResults) { in toString()
71 for (ScanResult s : scanResults) { in writeToParcel()
84 result.scanResults.add(ScanResult.CREATOR.createFromParcel(in));
DScanResult.java29 public class ScanResult implements Parcelable { class
276 return ScanResult.is24GHz(frequency); in is24GHz()
291 return ScanResult.is5GHz(frequency); in is5GHz()
330 public ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, in ScanResult() method in ScanResult
348 public ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, in ScanResult() method in ScanResult
366 public ScanResult(String Ssid, String BSSID, String caps, int level, int frequency, in ScanResult() method in ScanResult
388 public ScanResult(WifiSsid wifiSsid, String Ssid, String BSSID, String caps, int level, in ScanResult() method in ScanResult
397 public ScanResult(ScanResult source) { in ScanResult() method in ScanResult
428 public ScanResult() { in ScanResult() method in ScanResult
515 public static final Creator<ScanResult> CREATOR =
[all …]
DWifiScanner.java242 private ScanResult mResults[];
246 public ScanData(int id, int flags, ScanResult[] results) { in ScanData()
255 mResults = new ScanResult[s.mResults.length]; in ScanData()
257 ScanResult result = s.mResults[i]; in ScanData()
258 ScanResult newResult = new ScanResult(result); in ScanData()
271 public ScanResult[] getResults() { in getResults()
287 ScanResult result = mResults[i]; in writeToParcel()
302 ScanResult results[] = new ScanResult[n];
304 results[i] = ScanResult.CREATOR.createFromParcel(in);
365 public ScanResult mResults[];
[all …]
DIWifiManager.aidl25 import android.net.wifi.ScanResult;
51 WifiConfiguration getMatchingWifiConfig(in ScanResult scanResult); in getMatchingWifiConfig()
69 List<ScanResult> getScanResults(String callingPackage); in getScanResults()
DScanResult.aidl19 parcelable ScanResult;
/frameworks/base/wifi/java/android/net/wifi/passpoint/
DWifiPasspointManager.java20 import android.net.wifi.ScanResult;
192 private List<ScanResult> mAnqpRequest = new LinkedList<ScanResult>();
252 private void anqpRequestStart(ScanResult sr) { in anqpRequestStart()
262 for (ScanResult sr : mAnqpRequest) in anqpRequestFinish()
273 private void anqpRequestFinish(ScanResult sr) { in anqpRequestFinish()
276 for (ScanResult sr1 : mAnqpRequest) in anqpRequestFinish()
311 anqpRequestFinish((ScanResult) message.obj); in handleMessage()
454 public void requestAnqpInfo(Channel c, List<ScanResult> requested, int mask, in requestAnqpInfo()
459 List<ScanResult> list = new ArrayList<ScanResult>(); in requestAnqpInfo()
460 for (ScanResult sr : requested) in requestAnqpInfo()
[all …]
DIWifiPasspointManager.aidl19 import android.net.wifi.ScanResult;
35 List<WifiPasspointPolicy> requestCredentialMatch(in List<ScanResult> requested); in requestCredentialMatch()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/
DScanResultTest.java46 ScanResult result = new ScanResult(device, ScanRecord.parseFromBytes(scanRecord), rssi, in testScanResultParceling()
52 ScanResult resultFromParcel = ScanResult.CREATOR.createFromParcel(parcel); in testScanResultParceling()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkScoreCache.java24 import android.net.wifi.ScanResult;
82 public boolean isScoredNetwork(ScanResult result) { in isScoredNetwork()
92 public boolean hasScoreCurve(ScanResult result) { in hasScoreCurve()
97 public int getNetworkScore(ScanResult result) { in getNetworkScore()
113 public int getNetworkScore(ScanResult result, boolean isActiveNetwork) { in getNetworkScore()
130 private ScoredNetwork getScoredNetwork(ScanResult result) { in getScoredNetwork()
155 private String buildNetworkKey(ScanResult result) { in buildNetworkKey()
177 for (ScanResult scanResult : wifiManager.getScanResults()) { in dump()
DScanDetail.java3 import android.net.wifi.ScanResult;
21 private final ScanResult mScanResult;
29 mScanResult = new ScanResult(wifiSsid, BSSID, caps, level, frequency, tsf ); in ScanDetail()
36 mScanResult.setFlag(ScanResult.FLAG_80211mc_RESPONDER); in ScanDetail()
43 mScanResult = new ScanResult(wifiSsid, BSSID, caps, level, frequency, tsf ); in ScanDetail()
53 private ScanDetail(ScanResult scanResult, NetworkDetail networkDetail, in ScanDetail()
75 mScanResult.setFlag(ScanResult.FLAG_80211mc_RESPONDER); in updateResults()
77 mScanResult.setFlag(ScanResult.FLAG_PASSPOINT_NETWORK); in updateResults()
99 public ScanResult getScanResult() { in getScanResult()
DWifiScanningServiceImpl.java27 import android.net.wifi.ScanResult;
290 public void onFullScanResult(ScanResult fullScanResult) { in onFullScanResult()
307 public void onHotlistApFound(ScanResult[] results) { in onHotlistApFound()
313 public void onHotlistApLost(ScanResult[] results) { in onHotlistApLost()
319 public void onChangesFound(ScanResult[] results) { in onChangesFound()
453 ScanResult result = (ScanResult) msg.obj; in processMessage()
463 ScanResult[] results = (ScanResult[])msg.obj; in processMessage()
472 ScanResult[] results = (ScanResult[])msg.obj; in processMessage()
481 ScanResult[] results = (ScanResult[])msg.obj; in processMessage()
486 ScanResult[] results = (ScanResult[])msg.obj; in processMessage()
[all …]
DScanDetailCache.java4 import android.net.wifi.ScanResult;
50 ScanResult get(String bssid) { in get()
120 ScanResult a = ((ScanDetail)o1).getScanResult(); in sort()
121 ScanResult b = ((ScanDetail)o2).getScanResult(); in sort()
153 ScanResult result = scanDetail.getScanResult(); in getVisibilityByRssi()
205 ScanResult result = scanDetail.getScanResult(); in getVisibilityByPasspointMatch()
227 ScanResult result = pmiBest5.getScanDetail().getScanResult(); in getVisibilityByPasspointMatch()
234 ScanResult result = pmiBest24.getScanDetail().getScanResult(); in getVisibilityByPasspointMatch()
265 ScanResult result = scanDetail.getScanResult(); in toString()
DWifiNative.java21 import android.net.wifi.ScanResult;
1383 void onFullScanResult(ScanResult fullScanResult); in onFullScanResult()
1439 public static boolean setSsid(byte[] rawSsid, ScanResult result) { in setSsid()
1449 static void populateScanResult(ScanResult result, byte bytes[], String dbg) { in populateScanResult()
1474 ScanResult.InformationElement elements[] = new ScanResult.InformationElement[num]; in populateScanResult()
1479 ScanResult.InformationElement elem = new ScanResult.InformationElement(); in populateScanResult()
1512 result.setFlag(ScanResult.FLAG_80211mc_RESPONDER); in populateScanResult()
1514 result.clearFlag(ScanResult.FLAG_80211mc_RESPONDER); in populateScanResult()
1558 synchronized static void onFullScanResult(int id, ScanResult result, byte bytes[]) { in onFullScanResult()
1659 void onHotlistApFound (ScanResult[] result); in onHotlistApFound()
[all …]
DWifiAutoJoinController.java23 import android.net.wifi.ScanResult;
170 void averageRssiAndRemoveFromCache(ScanResult result) { in averageRssiAndRemoveFromCache()
174 ScanResult sr = sd.getScanResult(); in averageRssiAndRemoveFromCache()
195 void addToUnscoredNetworks(ScanResult result, List<NetworkKey> unknownScanResults) { in addToUnscoredNetworks()
228 ScanResult result = scanDetail.getScanResult(); in addToScanCache()
269 result.setAutoJoinStatus(ScanResult.ENABLED); in addToScanCache()
1006 public ScanResult attemptRoam(ScanResult a, in attemptRoam()
1047 ScanResult b = sd.getScanResult(); in attemptRoam()
1054 || b.autoJoinStatus != ScanResult.ENABLED in attemptRoam()
1182 ScanResult result = sd.getScanResult(); in getConfigNetworkScore()
[all …]
DWifiNotificationController.java29 import android.net.wifi.ScanResult;
141 List<ScanResult> scanResults) { in checkAndSetNotification()
158 ScanResult scanResult = scanResults.get(i); in checkAndSetNotification()
/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/
DWifiTrackerTest.java21 import android.net.wifi.ScanResult;
132 List<ScanResult> scanResults = new ArrayList<ScanResult>(); in testNetworkSorting()
156 List<ScanResult> scanResults = new ArrayList<ScanResult>(); in testSavedOnly()
183 List<ScanResult> scanResults = new ArrayList<ScanResult>(); in testSavedOnlyNoLooper()
204 List<ScanResult> scanResults = new ArrayList<ScanResult>(); in testAvailableOnly()
229 List<ScanResult> scanResults = new ArrayList<ScanResult>(); in testNonEphemeralConnected()
271 List<ScanResult> scanResults, boolean connectedIsEphemeral) { in generateTestNetworks()
315 private void addResult(List<ScanResult> results, String ssid, int level) { in addResult()
316 results.add(new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), in addResult()
DAccessPointTest.java18 import android.net.wifi.ScanResult;
51 ScanResult result = new ScanResult(); in testOnLevelChanged()
76 ScanResult result = new ScanResult(); in testOnAccessPointChangedCallback()
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattCallbackWrapper.java20 import android.bluetooth.le.ScanResult;
43 public void onScanResult(ScanResult scanResult) throws RemoteException { in onScanResult()
47 public void onBatchScanResults(List<ScanResult> batchResults) throws RemoteException { in onBatchScanResults()
123 public void onFoundOrLost(boolean onFound, ScanResult scanResult) throws RemoteException { in onFoundOrLost()
DIBluetoothGattCallback.aidl20 import android.bluetooth.le.ScanResult;
30 void onScanResult(in ScanResult scanResult); in onScanResult()
31 void onBatchScanResults(in List<ScanResult> batchResults); in onBatchScanResults()
72 void onFoundOrLost(in boolean onFound, in ScanResult scanResult); in onFoundOrLost()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java31 import android.net.wifi.ScanResult;
83 public LruCache<String, ScanResult> mScanResultCache = new LruCache<String, ScanResult>(32);
147 ArrayList<ScanResult> scanResultArrayList = in AccessPoint()
150 for (ScanResult result : scanResultArrayList) { in AccessPoint()
159 AccessPoint(Context context, ScanResult result) { in AccessPoint()
232 public boolean matches(ScanResult result) { in matches()
265 for (ScanResult result : mScanResultCache.snapshot().values()) { in getRssi()
276 for (ScanResult result : mScanResultCache.snapshot().values()) { in getSeen()
508 Map<String, ScanResult> list = mScanResultCache.snapshot(); in getVisibilityStatus()
510 for (ScanResult result : list.values()) { in getVisibilityStatus()
[all …]
DWifiTracker.java24 import android.net.wifi.ScanResult;
79 private HashMap<String, ScanResult> mScanResultCache = new HashMap<>();
257 private Collection<ScanResult> fetchScanResults() { in fetchScanResults()
259 final List<ScanResult> newResults = mWifiManager.getScanResults(); in fetchScanResults()
260 for (ScanResult newResult : newResults) { in fetchScanResults()
272 ScanResult result = mScanResultCache.get(e.getKey()); in fetchScanResults()
343 final Collection<ScanResult> results = fetchScanResults(); in updateAccessPoints()
345 for (ScanResult result : results) { in updateAccessPoints()
410 private AccessPoint getCachedOrCreate(ScanResult result, List<AccessPoint> cache) { in getCachedOrCreate()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java24 import android.net.wifi.ScanResult;
154 List<ScanResult> scanResultLocal = null; in testWifiScanning()
173 for (ScanResult sr : scanResultLocal) { in testWifiScanning()

123