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/ |
D | ScanManagerTest.java | 27 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/ |
D | ScanRequest.java | 61 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/ |
D | ScanSettings.java | 40 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/ |
D | ScanRequestTest.java | 22 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/ |
D | BleDiscoveryProvider.java | 231 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/ |
D | ScanRequestTest.java | 21 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/ |
D | AppScanStats.java | 260 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()
|
D | ScanManager.java | 140 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/ |
D | system-current.txt | 232 field public static final int SCAN_MODE_LOW_POWER = 0; // 0x0
|
/packages/modules/Bluetooth/framework/api/ |
D | current.txt | 1469 field public static final int SCAN_MODE_LOW_POWER = 0; // 0x0
|