Home | History | Annotate | Download | only in bluetooth

Lines Matching defs:scanMode

503         int scanMode = adapter.getScanMode();
504 if (scanMode == BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) {
508 assertEquals(scanMode, BluetoothAdapter.SCAN_MODE_CONNECTABLE);
513 scanMode = adapter.getScanMode();
514 if (scanMode == BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) {
522 assertEquals(scanMode, BluetoothAdapter.SCAN_MODE_CONNECTABLE);
529 fail(String.format("discoverable() timeout: scanMode=%d (expected %d), flags=0x%x "
530 + "(expected 0x%x)", scanMode, BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE,
542 int scanMode = adapter.getScanMode();
543 if (scanMode == BluetoothAdapter.SCAN_MODE_CONNECTABLE) {
547 assertEquals(scanMode, BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE);
552 scanMode = adapter.getScanMode();
553 if (scanMode == BluetoothAdapter.SCAN_MODE_CONNECTABLE) {
561 assertEquals(scanMode, BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE);
568 fail(String.format("undiscoverable() timeout: scanMode=%d (expected %d), flags=0x%x "
569 + "(expected 0x%x)", scanMode, BluetoothAdapter.SCAN_MODE_CONNECTABLE, firedFlags,