Home
last modified time | relevance | path

Searched refs:SCAN_MODE_LOW_POWER (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/
DScanManagerTest.java27 import static android.bluetooth.le.ScanSettings.SCAN_MODE_LOW_POWER;
381 scanModeMap.put(SCAN_MODE_LOW_POWER, SCAN_MODE_LOW_POWER); in testScreenOffStartUnfilteredScan()
414 scanModeMap.put(SCAN_MODE_LOW_POWER, SCAN_MODE_SCREEN_OFF); in testScreenOffStartFilteredScan()
448 scanModeMap.put(SCAN_MODE_LOW_POWER, SCAN_MODE_LOW_POWER); in testScreenOffStartEmptyFilterScan()
481 scanModeMap.put(SCAN_MODE_LOW_POWER, SCAN_MODE_LOW_POWER); in testScreenOnStartUnfilteredScan()
514 scanModeMap.put(SCAN_MODE_LOW_POWER, SCAN_MODE_LOW_POWER); in testScreenOnStartFilteredScan()
547 scanModeMap.put(SCAN_MODE_LOW_POWER, SCAN_MODE_SCREEN_OFF); in testResumeUnfilteredScanAfterScreenOn()
585 scanModeMap.put(SCAN_MODE_LOW_POWER, SCAN_MODE_SCREEN_OFF); in testResumeFilteredScanAfterScreenOn()
623 scanModeMap.put(SCAN_MODE_LOW_POWER, SCAN_MODE_OPPORTUNISTIC); in testUnfilteredScanTimeout()
674 scanModeMap.put(SCAN_MODE_LOW_POWER, SCAN_MODE_LOW_POWER); in testFilteredScanTimeout()
[all …]
/packages/modules/Connectivity/nearby/framework/java/android/nearby/
DScanRequest.java61 public static final int SCAN_MODE_LOW_POWER = 0; field in ScanRequest
128 case SCAN_MODE_LOW_POWER: in scanModeToString()
151 || scanMode == SCAN_MODE_LOW_POWER in isValidScanMode()
273 SCAN_MODE_LOW_POWER,
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DScanSettings.java40 public static final int SCAN_MODE_LOW_POWER = 0; field in ScanSettings
288 private int mScanMode = SCAN_MODE_LOW_POWER;
308 case SCAN_MODE_LOW_POWER: in setScanMode()
/packages/modules/Connectivity/nearby/tests/cts/fastpair/src/android/nearby/cts/
DScanRequestTest.java22 import static android.nearby.ScanRequest.SCAN_MODE_LOW_POWER;
71 assertThat(request.getScanMode()).isEqualTo(SCAN_MODE_LOW_POWER); in testScanMode_defaultLowPower()
133 assertThat(ScanRequest.isValidScanMode(SCAN_MODE_LOW_POWER)).isTrue(); in test_isValidScanMode()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/provider/
DBleDiscoveryProvider.java231 int bleScanMode = ScanSettings.SCAN_MODE_LOW_POWER; in getScanSettings()
239 case ScanRequest.SCAN_MODE_LOW_POWER: in getScanSettings()
240 bleScanMode = ScanSettings.SCAN_MODE_LOW_POWER; in getScanSettings()
/packages/modules/Connectivity/nearby/tests/unit/src/android/nearby/
DScanRequestTest.java21 import static android.nearby.ScanRequest.SCAN_MODE_LOW_POWER;
62 assertThat(request.getScanMode()).isEqualTo(SCAN_MODE_LOW_POWER); in testScanRequestBuilder()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DAppScanStats.java260 case ScanSettings.SCAN_MODE_LOW_POWER: in recordScanStart()
352 case ScanSettings.SCAN_MODE_LOW_POWER: in recordScanStop()
506 case ScanSettings.SCAN_MODE_LOW_POWER: in getScanWeight()
713 case ScanSettings.SCAN_MODE_LOW_POWER: in scanModeToString()
779 case ScanSettings.SCAN_MODE_LOW_POWER: in dumpToString()
DScanManager.java140 private static final int SCAN_MODE_APP_IN_BACKGROUND = ScanSettings.SCAN_MODE_LOW_POWER;
141 private static final int SCAN_MODE_FORCE_DOWNGRADED = ScanSettings.SCAN_MODE_LOW_POWER;
183 mPriorityMap.put(ScanSettings.SCAN_MODE_LOW_POWER, 2); in ScanManager()
690 case ScanSettings.SCAN_MODE_LOW_POWER: in updateScanModeScreenOff()
777 case ScanSettings.SCAN_MODE_LOW_POWER: in upgradeScanModeByOneLevel()
1729 case ScanSettings.SCAN_MODE_LOW_POWER: in getScanWindowMillis()
1766 case ScanSettings.SCAN_MODE_LOW_POWER: in getScanIntervalMillis()
/packages/modules/Connectivity/framework-t/api/
Dsystem-current.txt232 field public static final int SCAN_MODE_LOW_POWER = 0; // 0x0
/packages/modules/Bluetooth/framework/api/
Dcurrent.txt1469 field public static final int SCAN_MODE_LOW_POWER = 0; // 0x0