/frameworks/base/wifi/java/android/net/wifi/ |
BatchedScanResult.java | 38 public final List<ScanResult> scanResults = new ArrayList<ScanResult>(); 46 for (ScanResult s : source.scanResults) scanResults.add(new ScanResult(s)); 55 append("scanResults: ["); 56 for (ScanResult s : scanResults) { 71 dest.writeInt(scanResults.size()); 72 for (ScanResult s : scanResults) { 85 result.scanResults.add(ScanResult.CREATOR.createFromParcel(in));
|
/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/ |
WifiTrackerTest.java | 132 List<ScanResult> scanResults = new ArrayList<ScanResult>(); 133 String[] expectedSsids = generateTestNetworks(wifiConfigs, scanResults, true); 140 Mockito.when(mWifiManager.getScanResults()).thenReturn(scanResults); 156 List<ScanResult> scanResults = new ArrayList<ScanResult>(); 157 generateTestNetworks(wifiConfigs, scanResults, true); 164 Mockito.when(mWifiManager.getScanResults()).thenReturn(scanResults); 183 List<ScanResult> scanResults = new ArrayList<ScanResult>(); 184 generateTestNetworks(wifiConfigs, scanResults, true); 188 Mockito.when(mWifiManager.getScanResults()).thenReturn(scanResults); 204 List<ScanResult> scanResults = new ArrayList<ScanResult>() [all...] |
/cts/tests/tests/net/src/android/net/wifi/cts/ |
ScanResultTest.java | 135 List<ScanResult> scanResults = mWifiManager.getScanResults(); 137 for (int i = 0; i < scanResults.size(); i++) { 138 ScanResult mScanResult = scanResults.get(i); 165 List<ScanResult> scanResults = mWifiManager.getScanResults(); 166 for (ScanResult result : scanResults) { 177 scanResults = mWifiManager.getScanResults(); 178 for (ScanResult result : scanResults) {
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
SupplicantPnoScannerTest.java | 37 import com.android.server.wifi.ScanResults; 94 ScanResults scanResults = createDummyScanResults(false); 99 expectSuccessfulHwDisconnectedPnoScan(order, pnoSettings, pnoEventHandler, scanResults); 115 ScanResults scanResults = createDummyScanResults(true); 125 scanResults); 136 expectSuccessfulHwDisconnectedPnoScan(order, pnoSettings, pnoEventHandler, scanResults); 185 ScanResults scanResults = createDummyScanResults(true) [all...] |
WifiScanningServiceTest.java | 49 import com.android.server.wifi.ScanResults; 239 int requestId1, ScanResults results1, int requestId2, ScanResults results2, 240 int listenerRequestId, ScanResults listenerResults) { 279 int requestId1, ScanResults results1, int requestId2, ScanResults results2) { 472 WifiNative.ScanSettings nativeSettings, ScanResults results) throws RemoteException { 513 ScanResults.create(0, true, 2400, 5150, 5175)); 524 ScanResults.create(0, 2400, 5150, 5175)); 536 ScanResults.create(0, true, 2400, 5150, 5175)) [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowWifiManager.java | 26 private List<ScanResult> scanResults; 55 return scanResults; 137 public void setScanResults(List<ScanResult> scanResults) { 138 this.scanResults = scanResults;
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
BluetoothLeScanTest.java | 106 Collection<ScanResult> scanResults = scan(); 108 assertTrue("Scan results shouldn't be empty", !scanResults.isEmpty()); 109 verifyTimestamp(scanResults, scanStartMillis, scanEndMillis); 137 Collection<ScanResult> scanResults = filterLeScanCallback.getScanResults(); 138 for (ScanResult result : scanResults) { 146 List<ScanResult> scanResults = new ArrayList<ScanResult>(scan()); 147 assertTrue("Scan results shouldn't be empty", !scanResults.isEmpty()); 150 Collections.sort(scanResults, new RssiComparator()); 151 ScanResult result = scanResults.get(0);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiNotificationControllerTest.java | 95 List<ScanResult> scanResults = new ArrayList<>(); 98 scanResults.add(scanResult); 99 when(mWifiStateMachine.syncGetScanResultsList()).thenReturn(scanResults);
|
ScanResults.java | 37 public class ScanResults { 43 private ScanResults(ArrayList<ScanDetail> scanDetails, ScanData scanData, 44 ScanResult[] scanResults) { 48 mScanResults = scanResults; 52 * Merge the results contained in a number of ScanResults into a single ScanResults 54 public static ScanResults merge(ScanResults... others) { 58 for (ScanResults other : others) { 65 return new ScanResults(scanDetails, new ScanData(id, 0, scanDataResult [all...] |
WifiConnectivityManagerTest.java | 168 final ScanResult[] scanResults = new ScanResult[1]; 169 scanResults[0] = new ScanResult(WifiSsid.createFromAsciiEncoded(CANDIDATE_SSID), 172 scanResults[0].informationElements = new InformationElement[1]; 173 scanResults[0].informationElements[0] = new InformationElement(); 174 scanResults[0].informationElements[0].id = InformationElement.EID_SSID; 175 scanResults[0].informationElements[0].bytes = 181 listener.onPnoNetworkFound(scanResults); 187 listener.onPnoNetworkFound(scanResults); [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiNotificationController.java | 155 List<ScanResult> scanResults) { 169 if (scanResults != null) { 171 for (int i = scanResults.size() - 1; i >= 0; i--) { 172 ScanResult scanResult = scanResults.get(i);
|
WifiServiceImpl.java | [all...] |
WifiStateMachine.java | [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
OSUCache.java | 80 public Map<OSUProvider, ScanResult> pushScanResults(Collection<ScanResult> scanResults) { 81 for (ScanResult scanResult : scanResults) {
|
OSUManager.java | 603 public void pushScanResults(Collection<ScanResult> scanResults) { 604 Map<OSUProvider, ScanResult> results = mOSUCache.pushScanResults(scanResults); [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
WifiManagerTest.java | 79 List<ScanResult> scanResults = new ArrayList<ScanResult>(); 80 shadowWifiManager.setScanResults(scanResults); 81 assertThat(wifiManager.getScanResults(), sameInstance(scanResults));
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
wpas-test.py | 52 # Should really wait for the "scanResults" signal instead of sleeping 54 res = iface.scanResults()
|
/frameworks/opt/net/wifi/service/jni/ |
com_android_server_wifi_WifiNative.cpp | 581 JNIObject<jobjectArray> scanResults = helper.createObjectArray( 583 if (scanResults == NULL) { 598 helper.setObjectArrayElement(scanResults, j, scanResult); 601 helper.setObjectField(data, "mResults", "[Landroid/net/wifi/ScanResult;", scanResults); 714 JNIObject<jobjectArray> scanResults = helper.newObjectArray(num_results, 716 if (scanResults == NULL) { 729 helper.setObjectArrayElement(scanResults, i, scanResult); 735 id, scanResults.get()); 744 JNIObject<jobjectArray> scanResults = helper.newObjectArray(num_results, 746 if (scanResults == NULL) [all...] |
/external/antlr/antlr-3.4/gunit-maven-plugin/src/main/java/org/antlr/mojo/antlr3/ |
GUnitExecuteMojo.java | 353 Set scanResults = scan.getIncludedSources( sourceDirectory, null ); 355 for ( Object result : scanResults ) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
WifiScanningServiceImpl.java | [all...] |
SupplicantWifiScannerImpl.java | [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/ |
JsonBuilder.java | 626 JSONArray scanResults = new JSONArray(); 628 scanResults.put(buildJsonScanResult(sr)); 630 result.put("ScanResults", scanResults); [all...] |
/external/robolectric/v3/runtime/ |
shadows-core-3.1-SNAPSHOT-16.jar | |
shadows-core-3.1-SNAPSHOT-17.jar | |
shadows-core-3.1-SNAPSHOT-18.jar | |