Home
last modified time | relevance | path

Searched refs:ScanMode (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/
DScanManagerTest.java387 int ScanMode = scanModeMap.keyAt(i); in testScreenOffStartUnfilteredScan() local
388 int expectedScanMode = scanModeMap.get(ScanMode); in testScreenOffStartUnfilteredScan()
392 + String.valueOf(ScanMode) in testScreenOffStartUnfilteredScan()
399 ScanClient client = createScanClient(i, isFiltered, ScanMode); in testScreenOffStartUnfilteredScan()
420 int ScanMode = scanModeMap.keyAt(i); in testScreenOffStartFilteredScan() local
421 int expectedScanMode = scanModeMap.get(ScanMode); in testScreenOffStartFilteredScan()
425 + String.valueOf(ScanMode) in testScreenOffStartFilteredScan()
432 ScanClient client = createScanClient(i, isFiltered, ScanMode); in testScreenOffStartFilteredScan()
454 int ScanMode = scanModeMap.keyAt(i); in testScreenOffStartEmptyFilterScan() local
455 int expectedScanMode = scanModeMap.get(ScanMode); in testScreenOffStartEmptyFilterScan()
[all …]
/packages/modules/Connectivity/nearby/framework/java/android/nearby/
DScanRequest.java100 private final @ScanMode int mScanMode;
106 private ScanRequest(@ScanType int scanType, @ScanMode int scanMode, boolean bleEnabled, in ScanRequest()
122 public static String scanModeToString(@ScanMode int scanMode) { in scanModeToString()
148 public static boolean isValidScanMode(@ScanMode int scanMode) { in isValidScanMode()
165 public @ScanMode int getScanMode() { in getScanMode()
275 public @interface ScanMode {} annotation in ScanRequest
281 private @ScanMode int mScanMode;
316 public Builder setScanMode(@ScanMode int scanMode) { in setScanMode()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/managers/
DMergedDiscoveryRequest.java38 @ScanRequest.ScanMode
45 private MergedDiscoveryRequest(@ScanRequest.ScanMode int scanMode, Set<Integer> scanTypes, in MergedDiscoveryRequest()
68 @ScanRequest.ScanMode
109 @ScanRequest.ScanMode
123 public Builder setScanMode(@ScanRequest.ScanMode int scanMode) { in setScanMode()
DDiscoveryProviderManagerLegacy.java75 @ScanRequest.ScanMode
320 @ScanRequest.ScanMode int highestScanModeRequested = ScanRequest.SCAN_MODE_NO_POWER; in unregisterScanListener()
323 @ScanRequest.ScanMode int scanMode = record.getScanRequest().getScanMode(); in unregisterScanListener()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/provider/
DAbstractDiscoveryProvider.java102 private @ScanRequest.ScanMode int mScanMode;
134 @ScanRequest.ScanMode
141 public void setProviderScanMode(@ScanRequest.ScanMode int scanMode) { in setProviderScanMode()
DDiscoveryProviderController.java51 void setProviderScanMode(@ScanRequest.ScanMode int scanMode); in setProviderScanMode()
54 @ScanRequest.ScanMode
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothAdapter.java439 public @interface ScanMode {} annotation in BluetoothAdapter
1841 @ScanMode
1884 public int setScanMode(@ScanMode int mode) { in setScanMode()