Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/connectivity/setup/
DAddPageBasedOnNetworkStateTest.java82 ScanResult scanResult = new ScanResult(); in testForward_clearPassword_ssidNotMatch() local
83 scanResult.SSID = "atv01"; in testForward_clearPassword_ssidNotMatch()
84 scanResult.capabilities = ""; in testForward_clearPassword_ssidNotMatch()
85 mUserChoiceInfo.setChosenNetwork(scanResult); in testForward_clearPassword_ssidNotMatch()
99 ScanResult scanResult = new ScanResult(); in testForward_clearPassword_ssidIsNull() local
100 scanResult.SSID = "atv"; in testForward_clearPassword_ssidIsNull()
101 scanResult.capabilities = ""; in testForward_clearPassword_ssidIsNull()
102 mUserChoiceInfo.setChosenNetwork(scanResult); in testForward_clearPassword_ssidIsNull()
112 ScanResult scanResult = new ScanResult(); in testForward_networkSaved() local
113 scanResult.SSID = "atv"; in testForward_networkSaved()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DNetworkRequestDialogFragmentTest.java225 ScanResult scanResult = new ScanResult(); in onMatch_shouldUpdatedList() local
226 scanResult.SSID = SSID_AP1; in onMatch_shouldUpdatedList()
227 scanResult.capabilities = "WEP"; in onMatch_shouldUpdatedList()
228 scanResults.add(scanResult); in onMatch_shouldUpdatedList()
229 scanResult = new ScanResult(); in onMatch_shouldUpdatedList()
230 scanResult.SSID = SSID_AP2; in onMatch_shouldUpdatedList()
231 scanResult.capabilities = "WEP"; in onMatch_shouldUpdatedList()
232 scanResults.add(scanResult); in onMatch_shouldUpdatedList()
298 ScanResult scanResult = new ScanResult(); in onMatchManyResult_showNeutralButton() local
299 scanResult.SSID = SSID_AP + i; in onMatchManyResult_showNeutralButton()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java128 public ListItem(ScanResult scanResult) { in ListItem() argument
129 mName = scanResult.SSID; in ListItem()
130 mIconResource = AccessPoint.SECURITY_NONE == WifiSecurityUtil.getSecurity(scanResult) in ListItem()
133 mIconLevel = WifiManager.calculateSignalLevel(scanResult.level, 4); in ListItem()
135 mScanResult = scanResult; in ListItem()
177 ScanResult scanResult = source.readParcelable(ScanResult.class.getClassLoader());
178 if (scanResult == null) {
181 return new ListItem(scanResult);
DAddPageBasedOnNetworkState.java55 ScanResult scanResult = mUserChoiceInfo.getChosenNetwork(); in processForward() local
63 int wifiSecurity = WifiSecurityUtil.getSecurity(scanResult); in processForward()
66 scanResult.SSID, in processForward()
DSelectWifiState.java258 void setScanResult(ScanResult scanResult) { in setScanResult() argument
259 this.mScanResult = scanResult; in setScanResult()
287 Builder setScanResult(ScanResult scanResult) { in setScanResult() argument
288 this.mScanResult = scanResult; in setScanResult()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiUtils.java62 public static WifiConfiguration getWifiConfig(AccessPoint accessPoint, ScanResult scanResult, in getWifiConfig() argument
64 if (accessPoint == null && scanResult == null) { in getWifiConfig()
73 config.SSID = AccessPoint.convertToQuotedString(scanResult.SSID); in getWifiConfig()
74 security = getAccessPointSecurity(scanResult); in getWifiConfig()
DNetworkRequestDialogFragment.java488 for (ScanResult scanResult : scanResults) { in updateKeys()
489 final String key = AccessPoint.getKey(mContext, scanResult); in updateKeys()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiUtils.java134 public static WifiConfiguration getWifiConfig(AccessPoint accessPoint, ScanResult scanResult, in getWifiConfig() argument
136 if (accessPoint == null && scanResult == null) { in getWifiConfig()
145 config.SSID = AccessPoint.convertToQuotedString(scanResult.SSID); in getWifiConfig()
146 security = getAccessPointSecurity(scanResult); in getWifiConfig()
DWifiStatusTest.java273 final ScanResult scanResult = list.get(i); in handleScanResultsAvailable() local
275 if (scanResult == null) { in handleScanResultsAvailable()
279 if (TextUtils.isEmpty(scanResult.SSID)) { in handleScanResultsAvailable()
283 scanList.append(scanResult.SSID+" "); in handleScanResultsAvailable()
DNetworkRequestDialogFragment.java493 for (ScanResult scanResult : scanResults) { in updateKeys()
494 final String key = AccessPoint.getKey(mContext, scanResult); in updateKeys()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiUtils.java134 public static WifiConfiguration getWifiConfig(AccessPoint accessPoint, ScanResult scanResult, in getWifiConfig() argument
136 if (accessPoint == null && scanResult == null) { in getWifiConfig()
145 config.SSID = AccessPoint.convertToQuotedString(scanResult.SSID); in getWifiConfig()
146 security = getAccessPointSecurity(scanResult); in getWifiConfig()
DWifiStatusTest.java273 final ScanResult scanResult = list.get(i); in handleScanResultsAvailable() local
275 if (scanResult == null) { in handleScanResultsAvailable()
279 if (TextUtils.isEmpty(scanResult.SSID)) { in handleScanResultsAvailable()
283 scanList.append(scanResult.SSID+" "); in handleScanResultsAvailable()
DNetworkRequestDialogFragment.java490 for (ScanResult scanResult : scanResults) { in updateKeys()
491 final String key = AccessPoint.getKey(mContext, scanResult); in updateKeys()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DPeriodicScanManager.java180 void startSync(ScanResult scanResult, int skip, int timeout, in startSync() argument
190 String address = scanResult.getDevice().getAddress(); in startSync()
191 int sid = scanResult.getAdvertisingSid(); in startSync()
DGattService.java905 public void registerSync(ScanResult scanResult, int skip, int timeout, in registerSync() argument
911 service.registerSync(scanResult, skip, timeout, callback); in registerSync()
1109 private boolean matchesFilters(ScanClient client, ScanResult scanResult) { in matchesFilters() argument
1114 if (filter.matches(scanResult)) { in matchesFilters()
1619 for (ScanResult scanResult : allResults) { in deliverBatchScan()
1620 if (matchesFilters(client, scanResult)) { in deliverBatchScan()
1621 results.add(scanResult); in deliverBatchScan()
2117 void registerSync(ScanResult scanResult, int skip, int timeout, in registerSync() argument
2120 mPeriodicScanManager.startSync(scanResult, skip, timeout, callback); in registerSync()