Home
last modified time | relevance | path

Searched refs:scanResult (Results 1 – 13 of 13) sorted by relevance

/frameworks/opt/net/wifi/service/jni/
Dcom_android_server_wifi_WifiNative.cpp173 jobject scanResult = createObject(env, "android/net/wifi/ScanResult"); in createScanResult() local
174 if (scanResult == NULL) { in createScanResult()
180 setStringField(env, scanResult, "SSID", result->ssid); in createScanResult()
186 setStringField(env, scanResult, "BSSID", bssid); in createScanResult()
188 setIntField(env, scanResult, "level", result->rssi); in createScanResult()
189 setIntField(env, scanResult, "frequency", result->channel); in createScanResult()
190 setLongField(env, scanResult, "timestamp", result->ts); in createScanResult()
192 return scanResult; in createScanResult()
317 jobject scanResult = createScanResult(env, result); in onFullScanResult() local
335 scanResult, elements); in onFullScanResult()
[all …]
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeScanner.java320 public void onScanResult(final ScanResult scanResult) { in onScanResult() argument
321 if (VDBG) Log.d(TAG, "onScanResult() - " + scanResult.toString()); in onScanResult()
331 mScanCallback.onScanResult(ScanSettings.CALLBACK_TYPE_ALL_MATCHES, scanResult); in onScanResult()
349 public void onFoundOrLost(final boolean onFound, final ScanResult scanResult) { in onFoundOrLost() argument
352 " " + scanResult.toString()); in onFoundOrLost()
366 scanResult); in onFoundOrLost()
369 scanResult); in onFoundOrLost()
DScanFilter.java269 public boolean matches(ScanResult scanResult) { in matches() argument
270 if (scanResult == null) { in matches()
273 BluetoothDevice device = scanResult.getDevice(); in matches()
280 ScanRecord scanRecord = scanResult.getScanRecord(); in matches()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessPointControllerImpl.java182 for (ScanResult scanResult : scanResults) { in updateAccessPoints()
183 if (scanResult == null) { in updateAccessPoints()
186 final String ssid = scanResult.SSID; in updateAccessPoints()
190 final int level = WifiManager.calculateSignalLevel(scanResult.level, ICONS.length); in updateAccessPoints()
211 ap.hasSecurity = scanResult.capabilities.contains("WEP") in updateAccessPoints()
212 || scanResult.capabilities.contains("PSK") in updateAccessPoints()
213 || scanResult.capabilities.contains("EAP"); in updateAccessPoints()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkScoreCache.java177 for (ScanResult scanResult : wifiManager.getScanResults()) { in dump()
178 … writer.println(" " + buildNetworkKey(scanResult) + ": " + getNetworkScore(scanResult)); in dump()
DWifiNotificationController.java158 ScanResult scanResult = scanResults.get(i); in checkAndSetNotification() local
162 if (scanResult.capabilities != null && in checkAndSetNotification()
163 scanResult.capabilities.equals("[ESS]")) { in checkAndSetNotification()
DWifiConfigStore.java3303 public boolean updateSavedNetworkHistory(ScanResult scanResult) {
3305 if (scanResult == null)
3308 String SSID = "\"" + scanResult.SSID + "\"";
3323 + " SSID=" + config.SSID + " " + scanResult.SSID
3324 + " " + scanResult.capabilities
3327 if (scanResult.capabilities.contains("WEP")
3330 } else if (scanResult.capabilities.contains("PSK")
3333 } else if (scanResult.capabilities.contains("EAP")
3336 } else if (!scanResult.capabilities.contains("WEP")
3337 && !scanResult.capabilities.contains("PSK")
[all …]
DWifiStateMachine.java3413 ScanResult scanResult = mScanResultCache.get(key); in setScanResults() local
3414 if (scanResult != null) { in setScanResults()
3416 scanResult.level = level; in setScanResults()
3417 scanResult.wifiSsid = wifiSsid; in setScanResults()
3419 scanResult.SSID = (wifiSsid != null) ? wifiSsid.toString() : in setScanResults()
3421 scanResult.capabilities = flags; in setScanResults()
3422 scanResult.frequency = freq; in setScanResults()
3423 scanResult.timestamp = tsf; in setScanResults()
3424 scanResult.seen = System.currentTimeMillis(); in setScanResults()
3426 scanResult = in setScanResults()
[all …]
DWifiNative.java395 public String scanResult(String bssid) { in scanResult() method in WifiNative
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattCallbackWrapper.java43 public void onScanResult(ScanResult scanResult) throws RemoteException { in onScanResult() argument
123 public void onFoundOrLost(boolean onFound, ScanResult scanResult) throws RemoteException { in onFoundOrLost() argument
DIBluetoothGattCallback.aidl30 void onScanResult(in ScanResult scanResult); in onScanResult() argument
71 void onFoundOrLost(in boolean onFound, in ScanResult scanResult); in onFoundOrLost() argument
/frameworks/base/libs/androidfw/
DAsset.cpp183 bool scanResult; in createFromCompressedFile() local
208 scanResult = ZipUtils::examineGzip(fp, &method, &uncompressedLen, in createFromCompressedFile()
212 if (!scanResult) { in createFromCompressedFile()
/frameworks/base/tools/aapt/
DZipFile.cpp464 bool scanResult; in addCommon() local
468 scanResult = ZipUtils::examineGzip(inputFp, &method, &uncompressedLen, in addCommon()
470 if (!scanResult || method != ZipEntry::kCompressDeflated) { in addCommon()