Lines Matching defs:BluetoothAdapter
44 * Represents the local device Bluetooth adapter. The {@link BluetoothAdapter}
51 * <p>To get a {@link BluetoothAdapter} representing the local Bluetooth
75 public final class BluetoothAdapter {
76 private static final String TAG = "BluetoothAdapter";
84 * <p><code>Intent.getIntExtra(BluetoothAdapter.EXTRA_STATE,
85 * BluetoothAdapter.ERROR)</code>
356 private static BluetoothAdapter sAdapter;
371 public static synchronized BluetoothAdapter getDefaultAdapter() {
376 sAdapter = new BluetoothAdapter(managerService);
385 * Use {@link #getDefaultAdapter} to get the BluetoothAdapter instance.
387 BluetoothAdapter(IBluetoothManager managerService) {
683 * BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE})
747 * {@link BluetoothAdapter#cancelDiscovery()} even if it
864 if (getState() != STATE_ON) return BluetoothAdapter.STATE_DISCONNECTED;
870 return BluetoothAdapter.STATE_DISCONNECTED;