Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanManager.java318 int scanMode; field in ScanManager.BatchScanParams
323 scanMode = -1; in BatchScanParams()
337 return scanMode == other.scanMode && fullScanClientIf == other.fullScanClientIf in equals()
561 Utils.millsToUnit(getBatchScanIntervalMillis(batchScanParams.scanMode)); in resetBatchScan()
563 Utils.millsToUnit(getBatchScanWindowMillis(batchScanParams.scanMode)); in resetBatchScan()
593 params.scanMode = Math.max(params.scanMode, client.settings.getScanMode()); in getBatchScanParams()
603 private int getBatchScanWindowMillis(int scanMode) { in getBatchScanWindowMillis() argument
604 switch (scanMode) { in getBatchScanWindowMillis()
616 private int getBatchScanIntervalMillis(int scanMode) { in getBatchScanIntervalMillis() argument
617 switch (scanMode) { in getBatchScanIntervalMillis()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterProperties.java143 boolean setScanMode(int scanMode) { in setScanMode() argument
146 AbstractionLayer.BT_PROPERTY_ADAPTER_SCAN_MODE, Utils.intToByteArray(scanMode)); in setScanMode()