Home
last modified time | relevance | path

Searched refs:scanResultType (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DScanSettings.java229 int scanResultType, in ScanSettings() argument
237 mScanResultType = scanResultType; in ScanSettings()
358 public Builder setScanResultType(int scanResultType) { in setScanResultType() argument
359 if (scanResultType < SCAN_RESULT_TYPE_FULL in setScanResultType()
360 || scanResultType > SCAN_RESULT_TYPE_ABBREVIATED) { in setScanResultType()
361 throw new IllegalArgumentException("invalid scanResultType - " + scanResultType); in setScanResultType()
363 mScanResultType = scanResultType; in setScanResultType()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkFactoryTest.java3955 private String getScanResultCapsForType(int scanResultType) { in getScanResultCapsForType() argument
3956 switch (scanResultType) { in getScanResultCapsForType()
3969 fail("Invalid scan result type " + scanResultType); in getScanResultCapsForType()
3973 private void setupScanData(int scanResultType, String ssid1, String ssid2, String ssid3, in setupScanData() argument
3975 setupScanData(mTestScanDatas, scanResultType, ssid1, ssid2, ssid3, ssid4); in setupScanData()
3979 private void setupScanData(WifiScanner.ScanData[] testScanDatas, int scanResultType, in setupScanData() argument
3986 String caps = getScanResultCapsForType(scanResultType); in setupScanData()
4125 private void setupScanDataSameSsidWithDiffBssid(int scanResultType, int nums, String[] ssids) { in setupScanDataSameSsidWithDiffBssid() argument
4135 String caps = getScanResultCapsForType(scanResultType); in setupScanDataSameSsidWithDiffBssid()