Home
last modified time | relevance | path

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

/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DBleScanReceiver.java131 public void firstAlarm(int scanMode, int startTime, int scanTime, in firstAlarm() argument
133 Log.d(TAG, "First Alarm for scan mode: " + scanMode); in firstAlarm()
140 scanMode).build(); in firstAlarm()
255 int scanMode = -1, startTime = 0, scanTime = 0, noScanTime = 0; in onReceive() local
273 scanMode = Integer.valueOf(str); in onReceive()
305 if (scanTime == 0 || startTime == 0 || scanMode == -1) { in onReceive()
309 mAlarmScanListener.firstAlarm(scanMode, startTime, in onReceive()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanManager.java375 int scanMode; field in ScanManager.BatchScanParams
380 scanMode = -1; in BatchScanParams()
394 return scanMode == other.scanMode && fullScanscannerId == other.fullScanscannerId in equals()
631 Utils.millsToUnit(getBatchScanIntervalMillis(batchScanParams.scanMode)); in resetBatchScan()
633 Utils.millsToUnit(getBatchScanWindowMillis(batchScanParams.scanMode)); in resetBatchScan()
663 params.scanMode = Math.max(params.scanMode, client.settings.getScanMode()); in getBatchScanParams()
673 private int getBatchScanWindowMillis(int scanMode) { in getBatchScanWindowMillis() argument
674 switch (scanMode) { in getBatchScanWindowMillis()
686 private int getBatchScanIntervalMillis(int scanMode) { in getBatchScanIntervalMillis() argument
687 switch (scanMode) { in getBatchScanIntervalMillis()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterProperties.java232 boolean setScanMode(int scanMode) { in setScanMode() argument
235 AbstractionLayer.BT_PROPERTY_ADAPTER_SCAN_MODE, Utils.intToByteArray(scanMode)); in setScanMode()