Searched refs:setScanMode (Results 1 – 4 of 4) sorted by relevance
90 assertThat(bluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE)).isTrue(); in scanMode_getAndSet_connectable()96 assertThat(bluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE)) in scanMode_getAndSet_discoverable()104 assertThat(bluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_NONE)).isTrue(); in scanMode_getAndSet_none()110 assertThat(bluetoothAdapter.setScanMode(9999)).isFalse(); in scanMode_getAndSet_invalid()
224 .setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE); in bluetoothMakeConnectable()235 mBluetoothAdapter.setScanMode( in bluetoothMakeDiscoverable()242 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_NONE); in bluetoothMakeUndiscoverable()
349 mScanSettingsBuilder.setScanMode(scanMode); in bleSetScanSettingsScanMode()
143 protected boolean setScanMode(int scanMode) { in setScanMode() method in ShadowBluetoothAdapter