Searched refs:scanResults (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/ |
D | WifiTrackerTest.java | 132 List<ScanResult> scanResults = new ArrayList<ScanResult>(); in testNetworkSorting() local 133 String[] expectedSsids = generateTestNetworks(wifiConfigs, scanResults, true); in testNetworkSorting() 140 Mockito.when(mWifiManager.getScanResults()).thenReturn(scanResults); in testNetworkSorting() 156 List<ScanResult> scanResults = new ArrayList<ScanResult>(); in testSavedOnly() local 157 generateTestNetworks(wifiConfigs, scanResults, true); in testSavedOnly() 164 Mockito.when(mWifiManager.getScanResults()).thenReturn(scanResults); in testSavedOnly() 183 List<ScanResult> scanResults = new ArrayList<ScanResult>(); in testSavedOnlyNoLooper() local 184 generateTestNetworks(wifiConfigs, scanResults, true); in testSavedOnlyNoLooper() 188 Mockito.when(mWifiManager.getScanResults()).thenReturn(scanResults); in testSavedOnlyNoLooper() 204 List<ScanResult> scanResults = new ArrayList<ScanResult>(); in testAvailableOnly() local [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | BatchedScanResult.java | 37 public final List<ScanResult> scanResults = new ArrayList<ScanResult>(); field in BatchedScanResult 45 for (ScanResult s : source.scanResults) scanResults.add(new ScanResult(s)); in BatchedScanResult() 55 for (ScanResult s : scanResults) { in toString() 70 dest.writeInt(scanResults.size()); in writeToParcel() 71 for (ScanResult s : scanResults) { in writeToParcel() 84 result.scanResults.add(ScanResult.CREATOR.createFromParcel(in));
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNotificationController.java | 141 List<ScanResult> scanResults) { in checkAndSetNotification() argument 155 if (scanResults != null) { in checkAndSetNotification() 157 for (int i = scanResults.size() - 1; i >= 0; i--) { in checkAndSetNotification() 158 ScanResult scanResult = scanResults.get(i); in checkAndSetNotification()
|
D | WifiServiceImpl.java | 1464 List<ScanResult> scanResults = mWifiStateMachine.syncGetScanResultsList(); in dump() local 1466 if (scanResults != null && scanResults.size() != 0) { in dump() 1469 for (ScanResult r : scanResults) { in dump()
|
D | WifiStateMachine.java | 3774 String scanResults; in setScanResults() local 3780 tmpResults = mWifiNative.scanResults(sid); in setScanResults() 3805 scanResults = scanResultsBuf.toString(); in setScanResults() 3806 if (TextUtils.isEmpty(scanResults)) { in setScanResults() 3825 String[] lines = scanResults.split("\n"); in setScanResults()
|
D | WifiNative.java | 421 public String scanResults(int sid) { in scanResults() method in WifiNative
|
/frameworks/opt/net/wifi/service/jni/ |
D | com_android_server_wifi_WifiNative.cpp | 622 JNIObject<jobjectArray> scanResults = helper.createObjectArray( in android_net_wifi_getScanResults() local 624 if (scanResults == NULL) { in android_net_wifi_getScanResults() 638 helper.setObjectArrayElement(scanResults, j, scanResult); in android_net_wifi_getScanResults() 641 helper.setObjectField(data, "mResults", "[Landroid/net/wifi/ScanResult;", scanResults); in android_net_wifi_getScanResults() 740 JNIObject<jobjectArray> scanResults = helper.newObjectArray(num_results, in onHotlistApFound() local 742 if (scanResults == NULL) { in onHotlistApFound() 755 helper.setObjectArrayElement(scanResults, i, scanResult); in onHotlistApFound() 761 id, scanResults.get()); in onHotlistApFound() 770 JNIObject<jobjectArray> scanResults = helper.newObjectArray(num_results, in onHotlistApLost() local 772 if (scanResults == NULL) { in onHotlistApLost() [all …]
|
/frameworks/base/api/ |
D | system-current.txt | 20654 field public final java.util.List<android.net.wifi.ScanResult> scanResults;
|