Searched refs:scanMode (Results 1 – 2 of 2) sorted by relevance
34 private int scanMode = BluetoothAdapter.SCAN_MODE_NONE; field in ShadowBluetoothAdapter143 protected boolean setScanMode(int scanMode) { in setScanMode() argument144 if (scanMode != BluetoothAdapter.SCAN_MODE_CONNECTABLE in setScanMode()145 && scanMode != BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE in setScanMode()146 && scanMode != BluetoothAdapter.SCAN_MODE_NONE) { in setScanMode()150 this.scanMode = scanMode; in setScanMode()156 return scanMode; in getScanMode()
348 Integer scanMode) { in bleSetScanSettingsScanMode()349 mScanSettingsBuilder.setScanMode(scanMode); in bleSetScanSettingsScanMode()