Searched refs:scanResult (Results 1 – 4 of 4) sorted by relevance
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
D | WifiJsonParser.java | 52 ScanResult scanResult = new ScanResult(); in getScanResult() local 55 scanResult.BSSID = j.getString("BSSID"); in getScanResult() 58 scanResult.SSID = j.getString("SSID"); in getScanResult() 61 scanResult.frequency = j.getInt("frequency"); in getScanResult() 64 scanResult.level = j.getInt("level"); in getScanResult() 67 scanResult.capabilities = j.getString("capabilities"); in getScanResult() 70 scanResult.timestamp = j.getLong("timestamp"); in getScanResult() 73 scanResult.centerFreq0 = j.getInt("centerFreq0"); in getScanResult() 76 scanResult.centerFreq1 = j.getInt("centerFreq1"); in getScanResult() 79 scanResult.channelWidth = j.getInt("channelWidth"); in getScanResult() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowScanResultTest.java | 17 ScanResult scanResult = ShadowScanResult.newInstance("SSID", "BSSID", "Caps", 11, 42); in shouldConstruct() local 18 assertThat(scanResult.SSID).isEqualTo("SSID"); in shouldConstruct() 19 assertThat(scanResult.BSSID).isEqualTo("BSSID"); in shouldConstruct() 20 assertThat(scanResult.capabilities).isEqualTo("Caps"); in shouldConstruct() 21 assertThat(scanResult.level).isEqualTo(11); in shouldConstruct() 22 assertThat(scanResult.frequency).isEqualTo(42); in shouldConstruct() 23 assertNotNull(shadowOf(scanResult).realObject); in shouldConstruct()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowScanResult.java | 15 ScanResult scanResult = Shadow.newInstanceOf(ScanResult.class); in newInstance() local 16 scanResult.SSID = SSID; in newInstance() 17 scanResult.BSSID = BSSID; in newInstance() 18 scanResult.capabilities = caps; in newInstance() 19 scanResult.level = level; in newInstance() 20 scanResult.frequency = frequency; in newInstance() 21 return scanResult; in newInstance()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/ |
D | JsonBuilder.java | 426 android.bluetooth.le.ScanResult scanResult) throws JSONException { in buildJsonBleScanResult() argument 428 result.put("rssi", scanResult.getRssi()); in buildJsonBleScanResult() 429 result.put("timestampNanos", scanResult.getTimestampNanos()); in buildJsonBleScanResult() 430 result.put("deviceName", scanResult.getScanRecord().getDeviceName()); in buildJsonBleScanResult() 431 result.put("txPowerLevel", scanResult.getScanRecord().getTxPowerLevel()); in buildJsonBleScanResult() 432 result.put("advertiseFlags", scanResult.getScanRecord() in buildJsonBleScanResult() 436 if (scanResult.getScanRecord().getManufacturerSpecificData() != null) { in buildJsonBleScanResult() 437 SparseArray<byte[]> manufacturerSpecificData = scanResult in buildJsonBleScanResult() 450 if (scanResult.getScanRecord().getServiceData() != null) { in buildJsonBleScanResult() 451 Map<ParcelUuid, byte[]> serviceDataMap = scanResult.getScanRecord() in buildJsonBleScanResult() [all …]
|