Lines Matching refs:final

4   public final class BluetoothA2dp implements android.bluetooth.BluetoothProfile {
18 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
19 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
20 field public static final int DYNAMIC_BUFFER_SUPPORT_A2DP_OFFLOAD = 1; // 0x1
21 field public static final int DYNAMIC_BUFFER_SUPPORT_A2DP_SOFTWARE_ENCODING = 2; // 0x2
22 field public static final int DYNAMIC_BUFFER_SUPPORT_NONE = 0; // 0x0
23 field public static final int OPTIONAL_CODECS_NOT_SUPPORTED = 0; // 0x0
24 field public static final int OPTIONAL_CODECS_PREF_DISABLED = 0; // 0x0
25 field public static final int OPTIONAL_CODECS_PREF_ENABLED = 1; // 0x1
26 field public static final int OPTIONAL_CODECS_PREF_UNKNOWN = -1; // 0xffffffff
27 field public static final int OPTIONAL_CODECS_SUPPORTED = 1; // 0x1
28 field public static final int OPTIONAL_CODECS_SUPPORT_UNKNOWN = -1; // 0xffffffff
31 public final class BluetoothA2dpSink implements android.bluetooth.BluetoothProfile {
39 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
42 public final class BluetoothActivityEnergyInfo implements android.os.Parcelable {
53 field public static final int BT_STACK_STATE_INVALID = 0; // 0x0
54 field public static final int BT_STACK_STATE_STATE_ACTIVE = 1; // 0x1
55 field public static final int BT_STACK_STATE_STATE_IDLE = 3; // 0x3
56 field public static final int BT_STACK_STATE_STATE_SCANNING = 2; // 0x2
57 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothActivi…
60 public final class BluetoothAdapter {
103 …ermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public static final String ACTION_AUTO…
104 …field public static final String ACTION_BLE_STATE_CHANGED = "android.bluetooth.adapter.action.BLE_…
105 …field public static final String ACTION_REQUEST_BLE_SCAN_ALWAYS_AVAILABLE = "android.bluetooth.ada…
106 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
107 field public static final int ACTIVE_DEVICE_ALL = 2; // 0x2
108 field public static final int ACTIVE_DEVICE_AUDIO = 0; // 0x0
109 field public static final int ACTIVE_DEVICE_PHONE_CALL = 1; // 0x1
110 field public static final String AUDIO_MODE_DUPLEX = "audio_mode_duplex";
111 field public static final String AUDIO_MODE_OUTPUT_ONLY = "audio_mode_output_only";
112 …field @FlaggedApi("com.android.bluetooth.flags.auto_on_feature") public static final int AUTO_ON_S…
113 …field @FlaggedApi("com.android.bluetooth.flags.auto_on_feature") public static final int AUTO_ON_S…
114 field public static final int BT_SNOOP_LOG_MODE_DISABLED = 0; // 0x0
115 field public static final int BT_SNOOP_LOG_MODE_FILTERED = 1; // 0x1
116 field public static final int BT_SNOOP_LOG_MODE_FULL = 2; // 0x2
117 …field @FlaggedApi("com.android.bluetooth.flags.auto_on_feature") public static final String EXTRA_…
118 …field public static final String EXTRA_RFCOMM_LISTENER_ID = "android.bluetooth.adapter.extra.RFCOM…
119 field public static final int STATE_BLE_ON = 15; // 0xf
152 field public static final int BLUETOOTH_SIG = 1; // 0x1
153 field public static final int WIFI_ALLIANCE_NEIGHBOR_AWARENESS_NETWORKING = 2; // 0x2
154 field public static final int WIFI_ALLIANCE_SERVICE_ADVERTISEMENT = 3; // 0x3
157 public final class BluetoothClass implements android.os.Parcelable {
158 field public static final int PROFILE_A2DP_SINK = 6; // 0x6
159 field public static final int PROFILE_NAP = 5; // 0x5
160 field public static final int PROFILE_OPP = 2; // 0x2
161 field public static final int PROFILE_PANU = 4; // 0x4
164 …@FlaggedApi("com.android.bluetooth.flags.a2dp_offload_codec_extensibility") public final class Blu…
169 …public final class BluetoothCsipSetCoordinator implements java.lang.AutoCloseable android.bluetoot…
176 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public static final St…
177 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public static final St…
178 field public static final String EXTRA_CSIS_GROUP_ID = "android.bluetooth.extra.CSIS_GROUP_ID";
179 field public static final int GROUP_ID_INVALID = -1; // 0xffffffff
186 public final class BluetoothDevice implements android.os.Parcelable {
221 field public static final int ACCESS_ALLOWED = 1; // 0x1
222 field public static final int ACCESS_REJECTED = 2; // 0x2
223 field public static final int ACCESS_UNKNOWN = 0; // 0x0
224 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
225 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
226 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
227 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
228 …CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public static final String ACTION_KEY_…
229 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
230 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
231 …CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public static final String ACTION_SWIT…
232 ….flags.metadata_api_inactive_audio_device_upon_connection") public static final int ACTIVE_AUDIO_D…
233 ….flags.metadata_api_inactive_audio_device_upon_connection") public static final int ACTIVE_AUDIO_D…
234 ….flags.metadata_api_inactive_audio_device_upon_connection") public static final int ACTIVE_AUDIO_D…
235 field public static final int BATTERY_LEVEL_BLUETOOTH_OFF = -100; // 0xffffff9c
236 field public static final int BATTERY_LEVEL_UNKNOWN = -1; // 0xffffffff
237 field public static final int CONNECTION_ACCESS_NO = 2; // 0x2
238 field public static final int CONNECTION_ACCESS_YES = 1; // 0x1
239 …ndroid.bluetooth.flags.support_metadata_device_types_apis") public static final String DEVICE_TYPE…
240 field public static final String DEVICE_TYPE_DEFAULT = "Default";
241 …ndroid.bluetooth.flags.support_metadata_device_types_apis") public static final String DEVICE_TYPE…
242 …ndroid.bluetooth.flags.support_metadata_device_types_apis") public static final String DEVICE_TYPE…
243 …ndroid.bluetooth.flags.support_metadata_device_types_apis") public static final String DEVICE_TYPE…
244 field public static final String DEVICE_TYPE_STYLUS = "Stylus";
245 field public static final String DEVICE_TYPE_UNTETHERED_HEADSET = "Untethered Headset";
246 field public static final String DEVICE_TYPE_WATCH = "Watch";
247 …field public static final String EXTRA_ACCESS_REQUEST_TYPE = "android.bluetooth.device.extra.ACCES…
248 …field public static final String EXTRA_ALWAYS_ALLOWED = "android.bluetooth.device.extra.ALWAYS_ALL…
249 …field public static final String EXTRA_BATTERY_LEVEL = "android.bluetooth.device.extra.BATTERY_LEV…
250 …field public static final String EXTRA_CONNECTION_ACCESS_RESULT = "android.bluetooth.device.extra.…
251 …field public static final String EXTRA_LOW_LATENCY_BUFFER_SIZE = "android.bluetooth.device.extra.L…
252 …field public static final String EXTRA_PAIRING_INITIATOR = "android.bluetooth.device.extra.PAIRING…
253 field public static final int EXTRA_PAIRING_INITIATOR_BACKGROUND = 2; // 0x2
254 field public static final int EXTRA_PAIRING_INITIATOR_FOREGROUND = 1; // 0x1
255 field public static final String EXTRA_UNBOND_REASON = "android.bluetooth.device.extra.REASON";
256 field public static final int METADATA_COMPANION_APP = 4; // 0x4
257 field public static final int METADATA_DEVICE_TYPE = 17; // 0x11
258 field public static final int METADATA_ENHANCED_SETTINGS_UI_URI = 16; // 0x10
259 …field @FlaggedApi("com.android.bluetooth.flags.support_exclusive_manager") public static final int…
260 field public static final int METADATA_HARDWARE_VERSION = 3; // 0x3
261 field public static final int METADATA_IS_UNTETHERED_HEADSET = 6; // 0x6
262 field public static final int METADATA_LE_AUDIO = 26; // 0x1a
263 field public static final int METADATA_MAIN_BATTERY = 18; // 0x12
264 field public static final int METADATA_MAIN_CHARGING = 19; // 0x13
265 field public static final int METADATA_MAIN_ICON = 5; // 0x5
266 field public static final int METADATA_MAIN_LOW_BATTERY_THRESHOLD = 20; // 0x14
267 field public static final int METADATA_MANUFACTURER_NAME = 0; // 0x0
268 field public static final int METADATA_MAX_LENGTH = 2048; // 0x800
269 field public static final int METADATA_MODEL_NAME = 1; // 0x1
270 field public static final int METADATA_SOFTWARE_VERSION = 2; // 0x2
271 field public static final int METADATA_UNTETHERED_CASE_BATTERY = 12; // 0xc
272 field public static final int METADATA_UNTETHERED_CASE_CHARGING = 15; // 0xf
273 field public static final int METADATA_UNTETHERED_CASE_ICON = 9; // 0x9
274 field public static final int METADATA_UNTETHERED_CASE_LOW_BATTERY_THRESHOLD = 23; // 0x17
275 field public static final int METADATA_UNTETHERED_LEFT_BATTERY = 10; // 0xa
276 field public static final int METADATA_UNTETHERED_LEFT_CHARGING = 13; // 0xd
277 field public static final int METADATA_UNTETHERED_LEFT_ICON = 7; // 0x7
278 field public static final int METADATA_UNTETHERED_LEFT_LOW_BATTERY_THRESHOLD = 21; // 0x15
279 field public static final int METADATA_UNTETHERED_RIGHT_BATTERY = 11; // 0xb
280 field public static final int METADATA_UNTETHERED_RIGHT_CHARGING = 14; // 0xe
281 field public static final int METADATA_UNTETHERED_RIGHT_ICON = 8; // 0x8
282 field public static final int METADATA_UNTETHERED_RIGHT_LOW_BATTERY_THRESHOLD = 22; // 0x16
283 field public static final int PAIRING_VARIANT_CONSENT = 3; // 0x3
284 field public static final int PAIRING_VARIANT_DISPLAY_PASSKEY = 4; // 0x4
285 field public static final int PAIRING_VARIANT_DISPLAY_PIN = 5; // 0x5
286 field public static final int PAIRING_VARIANT_OOB_CONSENT = 6; // 0x6
287 field public static final int PAIRING_VARIANT_PASSKEY = 1; // 0x1
288 field public static final int PAIRING_VARIANT_PIN_16_DIGITS = 7; // 0x7
289 field public static final int REQUEST_TYPE_MESSAGE_ACCESS = 3; // 0x3
290 field public static final int REQUEST_TYPE_PHONEBOOK_ACCESS = 2; // 0x2
291 field public static final int REQUEST_TYPE_PROFILE_CONNECTION = 1; // 0x1
292 field public static final int REQUEST_TYPE_SIM_ACCESS = 4; // 0x4
293 field public static final int UNBOND_REASON_AUTH_CANCELED = 3; // 0x3
294 field public static final int UNBOND_REASON_AUTH_FAILED = 1; // 0x1
295 field public static final int UNBOND_REASON_AUTH_REJECTED = 2; // 0x2
296 field public static final int UNBOND_REASON_AUTH_TIMEOUT = 6; // 0x6
297 field public static final int UNBOND_REASON_DISCOVERY_IN_PROGRESS = 5; // 0x5
298 field public static final int UNBOND_REASON_REMOTE_AUTH_CANCELED = 8; // 0x8
299 field public static final int UNBOND_REASON_REMOTE_DEVICE_DOWN = 4; // 0x4
300 field public static final int UNBOND_REASON_REMOVED = 9; // 0x9
301 field public static final int UNBOND_REASON_REPEATED_ATTEMPTS = 7; // 0x7
305 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
306 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
307 …field public static final String EXTRA_FILTER_TYPE = "android.bluetooth.devicepicker.extra.FILTER_…
308 …field public static final String EXTRA_LAUNCH_CLASS = "android.bluetooth.devicepicker.extra.DEVICE…
309 …field public static final String EXTRA_LAUNCH_PACKAGE = "android.bluetooth.devicepicker.extra.LAUN…
310 …field public static final String EXTRA_NEED_AUTH = "android.bluetooth.devicepicker.extra.NEED_AUTH…
311 field public static final int FILTER_TYPE_ALL = 0; // 0x0
312 field public static final int FILTER_TYPE_AUDIO = 1; // 0x1
313 field public static final int FILTER_TYPE_NAP = 4; // 0x4
314 field public static final int FILTER_TYPE_PANU = 3; // 0x3
315 field public static final int FILTER_TYPE_TRANSFER = 2; // 0x2
318 …public final class BluetoothHapClient implements java.lang.AutoCloseable android.bluetooth.Bluetoo…
346 …CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public static final String ACTION_HAP_…
347 …m.android.bluetooth.flags.settings_can_control_hap_preset") public static final int PRESET_INDEX_U…
348 field public static final int TYPE_BANDED = 2; // 0x2
349 field public static final int TYPE_BINAURAL = 0; // 0x0
350 field public static final int TYPE_MONAURAL = 1; // 0x1
351 field public static final int TYPE_RFU = 3; // 0x3
363 public final class BluetoothHapPresetInfo implements android.os.Parcelable {
370 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothHapPre…
373 public final class BluetoothHeadset implements android.bluetooth.BluetoothProfile {
386 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
389 …public final class BluetoothHeadsetClient implements java.lang.AutoCloseable android.bluetooth.Blu…
398 …CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public static final String ACTION_CONN…
399 …CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public static final String ACTION_NETW…
400 …field public static final String EXTRA_NETWORK_SERVICE_STATE = "android.bluetooth.headsetclient.ex…
403 …public static final class BluetoothHeadsetClient.NetworkServiceState implements android.os.Parcela…
411 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothHeadse…
414 public final class BluetoothHearingAid implements android.bluetooth.BluetoothProfile {
422 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
423 field public static final long HI_SYNC_ID_INVALID = 0L; // 0x0L
424 field public static final int MODE_BINAURAL = 1; // 0x1
425 field public static final int MODE_MONAURAL = 0; // 0x0
426 field public static final int MODE_UNKNOWN = -1; // 0xffffffff
427 field public static final int SIDE_LEFT = 0; // 0x0
428 field public static final int SIDE_RIGHT = 1; // 0x1
429 field public static final int SIDE_UNKNOWN = -1; // 0xffffffff
432 …public static final class BluetoothHearingAid.AdvertisementServiceData implements android.os.Parce…
440 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothHearin…
443 public final class BluetoothHidDevice implements android.bluetooth.BluetoothProfile {
447 public final class BluetoothHidHost implements android.bluetooth.BluetoothProfile {
455 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
458 …public final class BluetoothLeAudio implements java.lang.AutoCloseable android.bluetooth.Bluetooth…
468 …CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public static final String ACTION_LE_A…
469 field public static final int AUDIO_LOCATION_BACK_CENTER = 256; // 0x100
470 field public static final int AUDIO_LOCATION_BACK_LEFT = 16; // 0x10
471 field public static final int AUDIO_LOCATION_BACK_RIGHT = 32; // 0x20
472 field public static final int AUDIO_LOCATION_BOTTOM_FRONT_CENTER = 2097152; // 0x200000
473 field public static final int AUDIO_LOCATION_BOTTOM_FRONT_LEFT = 4194304; // 0x400000
474 field public static final int AUDIO_LOCATION_BOTTOM_FRONT_RIGHT = 8388608; // 0x800000
475 field public static final int AUDIO_LOCATION_FRONT_CENTER = 4; // 0x4
476 field public static final int AUDIO_LOCATION_FRONT_LEFT = 1; // 0x1
477 field public static final int AUDIO_LOCATION_FRONT_LEFT_OF_CENTER = 64; // 0x40
478 field public static final int AUDIO_LOCATION_FRONT_LEFT_WIDE = 16777216; // 0x1000000
479 field public static final int AUDIO_LOCATION_FRONT_RIGHT = 2; // 0x2
480 field public static final int AUDIO_LOCATION_FRONT_RIGHT_OF_CENTER = 128; // 0x80
481 field public static final int AUDIO_LOCATION_FRONT_RIGHT_WIDE = 33554432; // 0x2000000
482 field public static final int AUDIO_LOCATION_INVALID = 0; // 0x0
483 field public static final int AUDIO_LOCATION_LEFT_SURROUND = 67108864; // 0x4000000
484 field public static final int AUDIO_LOCATION_LOW_FREQ_EFFECTS_ONE = 8; // 0x8
485 field public static final int AUDIO_LOCATION_LOW_FREQ_EFFECTS_TWO = 512; // 0x200
486 field public static final int AUDIO_LOCATION_RIGHT_SURROUND = 134217728; // 0x8000000
487 field public static final int AUDIO_LOCATION_SIDE_LEFT = 1024; // 0x400
488 field public static final int AUDIO_LOCATION_SIDE_RIGHT = 2048; // 0x800
489 field public static final int AUDIO_LOCATION_TOP_BACK_CENTER = 1048576; // 0x100000
490 field public static final int AUDIO_LOCATION_TOP_BACK_LEFT = 65536; // 0x10000
491 field public static final int AUDIO_LOCATION_TOP_BACK_RIGHT = 131072; // 0x20000
492 field public static final int AUDIO_LOCATION_TOP_CENTER = 32768; // 0x8000
493 field public static final int AUDIO_LOCATION_TOP_FRONT_CENTER = 16384; // 0x4000
494 field public static final int AUDIO_LOCATION_TOP_FRONT_LEFT = 4096; // 0x1000
495 field public static final int AUDIO_LOCATION_TOP_FRONT_RIGHT = 8192; // 0x2000
496 field public static final int AUDIO_LOCATION_TOP_SIDE_LEFT = 262144; // 0x40000
497 field public static final int AUDIO_LOCATION_TOP_SIDE_RIGHT = 524288; // 0x80000
498 …field public static final String EXTRA_LE_AUDIO_GROUP_ID = "android.bluetooth.extra.LE_AUDIO_GROUP…
499 …d.bluetooth.flags.leaudio_callback_on_group_stream_status") public static final int GROUP_STREAM_S…
500 …d.bluetooth.flags.leaudio_callback_on_group_stream_status") public static final int GROUP_STREAM_S…
511 public final class BluetoothLeAudioCodecConfigMetadata implements android.os.Parcelable {
520 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothLeAudi…
523 public static final class BluetoothLeAudioCodecConfigMetadata.Builder {
533 public final class BluetoothLeAudioContentMetadata implements android.os.Parcelable {
540 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothLeAudi…
543 public static final class BluetoothLeAudioContentMetadata.Builder {
551 …public final class BluetoothLeBroadcast implements java.lang.AutoCloseable android.bluetooth.Bluet…
583 …public final class BluetoothLeBroadcastAssistant implements java.lang.AutoCloseable android.blueto…
601 …CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public static final String ACTION_CONN…
620 public final class BluetoothLeBroadcastChannel implements android.os.Parcelable {
626 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothLeBroa…
629 public static final class BluetoothLeBroadcastChannel.Builder {
638 public final class BluetoothLeBroadcastMetadata implements android.os.Parcelable {
655 field public static final int AUDIO_CONFIG_QUALITY_HIGH = 2; // 0x2
656 field public static final int AUDIO_CONFIG_QUALITY_NONE = 0; // 0x0
657 field public static final int AUDIO_CONFIG_QUALITY_STANDARD = 1; // 0x1
658 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothLeBroa…
659 field public static final int PA_SYNC_INTERVAL_UNKNOWN = 65535; // 0xffff
660 …etooth.flags.leaudio_broadcast_monitor_source_sync_status") public static final int RSSI_UNKNOWN =…
663 public static final class BluetoothLeBroadcastMetadata.Builder {
683 public final class BluetoothLeBroadcastReceiveState implements android.os.Parcelable {
697 field public static final int BIG_ENCRYPTION_STATE_BAD_CODE = 3; // 0x3
698 field public static final int BIG_ENCRYPTION_STATE_CODE_REQUIRED = 1; // 0x1
699 field public static final int BIG_ENCRYPTION_STATE_DECRYPTING = 2; // 0x2
700 field public static final int BIG_ENCRYPTION_STATE_NOT_ENCRYPTED = 0; // 0x0
701 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothLeBroa…
702 field public static final int PA_SYNC_STATE_FAILED_TO_SYNCHRONIZE = 3; // 0x3
703 field public static final int PA_SYNC_STATE_IDLE = 0; // 0x0
704 field public static final int PA_SYNC_STATE_NO_PAST = 4; // 0x4
705 field public static final int PA_SYNC_STATE_SYNCHRONIZED = 2; // 0x2
706 field public static final int PA_SYNC_STATE_SYNCINFO_REQUEST = 1; // 0x1
709 public final class BluetoothLeBroadcastSettings implements android.os.Parcelable {
717 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothLeBroa…
720 public static final class BluetoothLeBroadcastSettings.Builder {
732 public final class BluetoothLeBroadcastSubgroup implements android.os.Parcelable {
740 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothLeBroa…
743 public static final class BluetoothLeBroadcastSubgroup.Builder {
754 public final class BluetoothLeBroadcastSubgroupSettings implements android.os.Parcelable {
759 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothLeBroa…
760 field public static final int QUALITY_HIGH = 1; // 0x1
761 field public static final int QUALITY_STANDARD = 0; // 0x0
764 public static final class BluetoothLeBroadcastSubgroupSettings.Builder {
772 …public final class BluetoothMap implements java.lang.AutoCloseable android.bluetooth.BluetoothProf…
780 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
783 …public final class BluetoothMapClient implements java.lang.AutoCloseable android.bluetooth.Bluetoo…
792 …CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public static final String ACTION_CONN…
795 public final class BluetoothPan implements android.bluetooth.BluetoothProfile {
803 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
804 …field public static final String ACTION_TETHERING_STATE_CHANGED = "android.bluetooth.action.TETHER…
805 field public static final String EXTRA_LOCAL_ROLE = "android.bluetooth.pan.extra.LOCAL_ROLE";
806 …field public static final String EXTRA_TETHERING_STATE = "android.bluetooth.extra.TETHERING_STATE";
807 field public static final int LOCAL_NAP_ROLE = 1; // 0x1
808 field public static final int LOCAL_PANU_ROLE = 2; // 0x2
809 field public static final int PAN_ROLE_NONE = 0; // 0x0
810 field public static final int REMOTE_NAP_ROLE = 1; // 0x1
811 field public static final int REMOTE_PANU_ROLE = 2; // 0x2
812 field public static final int TETHERING_STATE_OFF = 1; // 0x1
813 field public static final int TETHERING_STATE_ON = 2; // 0x2
821 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
824 …public final class BluetoothPbapClient implements java.lang.AutoCloseable android.bluetooth.Blueto…
832 …CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public static final String ACTION_CONN…
838 field public static final int A2DP_SINK = 11; // 0xb
839 field public static final int AVRCP_CONTROLLER = 12; // 0xc
840 field public static final int CONNECTION_POLICY_ALLOWED = 100; // 0x64
841 field public static final int CONNECTION_POLICY_FORBIDDEN = 0; // 0x0
842 field public static final int CONNECTION_POLICY_UNKNOWN = -1; // 0xffffffff
843 field public static final int HEADSET_CLIENT = 16; // 0x10
844 field public static final int HID_HOST = 4; // 0x4
845 field public static final int LE_AUDIO_BROADCAST = 26; // 0x1a
846 field public static final int LE_AUDIO_BROADCAST_ASSISTANT = 29; // 0x1d
847 field public static final int MAP = 9; // 0x9
848 field public static final int MAP_CLIENT = 18; // 0x12
849 field public static final int OPP = 20; // 0x14
850 field public static final int PAN = 5; // 0x5
851 field public static final int PBAP = 6; // 0x6
852 field public static final int PBAP_CLIENT = 17; // 0x11
853 field @Deprecated public static final int PRIORITY_OFF = 0; // 0x0
854 field @Deprecated public static final int PRIORITY_ON = 100; // 0x64
855 field public static final int VOLUME_CONTROL = 23; // 0x17
858 public final class BluetoothQualityReport implements android.os.Parcelable {
871 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothQualit…
872 field public static final int QUALITY_REPORT_ID_A2DP_CHOPPY = 3; // 0x3
873 field public static final int QUALITY_REPORT_ID_APPROACH_LSTO = 2; // 0x2
874 field public static final int QUALITY_REPORT_ID_CONN_FAIL = 8; // 0x8
875 field public static final int QUALITY_REPORT_ID_MONITOR = 1; // 0x1
876 field public static final int QUALITY_REPORT_ID_SCO_CHOPPY = 4; // 0x4
879 public static final class BluetoothQualityReport.BqrCommon implements android.os.Parcelable {
903 field public static final int CONNECTION_ROLE_CENTRAL = 0; // 0x0
904 field public static final int CONNECTION_ROLE_PERIPHERAL = 1; // 0x1
905 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothQualit…
908 public static final class BluetoothQualityReport.BqrConnectFail implements android.os.Parcelable {
913 field public static final int CONNECT_FAIL_ID_ACL_ALREADY_EXIST = 11; // 0xb
914 field public static final int CONNECT_FAIL_ID_CONNECTION_TIMEOUT = 8; // 0x8
915 field public static final int CONNECT_FAIL_ID_CONTROLLER_BUSY = 58; // 0x3a
916 field public static final int CONNECT_FAIL_ID_NO_ERROR = 0; // 0x0
917 field public static final int CONNECT_FAIL_ID_PAGE_TIMEOUT = 4; // 0x4
918 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothQualit…
921 …public static final class BluetoothQualityReport.BqrVsA2dpChoppy implements android.os.Parcelable {
932 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothQualit…
935 public static final class BluetoothQualityReport.BqrVsLsto implements android.os.Parcelable {
947 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothQualit…
950 public static final class BluetoothQualityReport.BqrVsScoChoppy implements android.os.Parcelable {
972 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothQualit…
975 public static final class BluetoothQualityReport.Builder {
986 …public final class BluetoothSap implements java.lang.AutoCloseable android.bluetooth.BluetoothProf…
994 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
997 public final class BluetoothSinkAudioPolicy implements android.os.Parcelable {
1003 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothSinkAu…
1004 field public static final int POLICY_ALLOWED = 1; // 0x1
1005 field public static final int POLICY_NOT_ALLOWED = 2; // 0x2
1006 field public static final int POLICY_UNCONFIGURED = 0; // 0x0
1009 public static final class BluetoothSinkAudioPolicy.Builder {
1018 public final class BluetoothSocket implements java.io.Closeable {
1023 public final class BluetoothStatusCodes {
1024 field public static final int ALLOWED = 400; // 0x190
1025 field public static final int ERROR_ALREADY_IN_TARGET_STATE = 26; // 0x1a
1026 field public static final int ERROR_ANOTHER_ACTIVE_OOB_REQUEST = 1000; // 0x3e8
1027 field public static final int ERROR_ANOTHER_ACTIVE_REQUEST = 29; // 0x1d
1028 field public static final int ERROR_AUDIO_DEVICE_ALREADY_CONNECTED = 1116; // 0x45c
1029 field public static final int ERROR_AUDIO_DEVICE_ALREADY_DISCONNECTED = 1117; // 0x45d
1030 field public static final int ERROR_AUDIO_ROUTE_BLOCKED = 1118; // 0x45e
1031 field public static final int ERROR_BAD_PARAMETERS = 21; // 0x15
1032 field public static final int ERROR_CALLBACK_NOT_REGISTERED = 28; // 0x1c
1033 field public static final int ERROR_CALL_ACTIVE = 1119; // 0x45f
1034 field public static final int ERROR_CSIP_GROUP_LOCKED_BY_OTHER = 1208; // 0x4b8
1035 field public static final int ERROR_CSIP_INVALID_GROUP_ID = 1207; // 0x4b7
1036 field public static final int ERROR_CSIP_LOCKED_GROUP_MEMBER_LOST = 1209; // 0x4b9
1037 field public static final int ERROR_DISTANCE_MEASUREMENT_INTERNAL = 1301; // 0x515
1038 field public static final int ERROR_HAP_INVALID_PRESET_INDEX = 1211; // 0x4bb
1039 field public static final int ERROR_HAP_PRESET_NAME_TOO_LONG = 1210; // 0x4ba
1040 field public static final int ERROR_HARDWARE_GENERIC = 20; // 0x14
1041 field public static final int ERROR_LE_BROADCAST_ASSISTANT_DUPLICATE_ADDITION = 1203; // 0x4b3
1042 field public static final int ERROR_LE_BROADCAST_ASSISTANT_INVALID_SOURCE_ID = 1202; // 0x4b2
1043 field public static final int ERROR_LE_BROADCAST_INVALID_BROADCAST_ID = 1200; // 0x4b0
1044 field public static final int ERROR_LE_BROADCAST_INVALID_CODE = 1201; // 0x4b1
1045 field public static final int ERROR_LE_CONTENT_METADATA_INVALID_LANGUAGE = 1205; // 0x4b5
1046 field public static final int ERROR_LE_CONTENT_METADATA_INVALID_OTHER = 1206; // 0x4b6
1047 field public static final int ERROR_LE_CONTENT_METADATA_INVALID_PROGRAM_INFO = 1204; // 0x4b4
1048 field public static final int ERROR_LOCAL_NOT_ENOUGH_RESOURCES = 22; // 0x16
1049 field public static final int ERROR_NOT_ACTIVE_DEVICE = 12; // 0xc
1050 field public static final int ERROR_NOT_DUAL_MODE_AUDIO_DEVICE = 3000; // 0xbb8
1051 field public static final int ERROR_NO_ACTIVE_DEVICES = 13; // 0xd
1052 field public static final int ERROR_NO_LE_CONNECTION = 1300; // 0x514
1053 field public static final int ERROR_PROFILE_NOT_CONNECTED = 14; // 0xe
1054 field public static final int ERROR_REMOTE_LINK_ERROR = 25; // 0x19
1055 field public static final int ERROR_REMOTE_NOT_ENOUGH_RESOURCES = 23; // 0x17
1056 field public static final int ERROR_REMOTE_OPERATION_NOT_SUPPORTED = 27; // 0x1b
1057 field public static final int ERROR_REMOTE_OPERATION_REJECTED = 24; // 0x18
1058 field public static final int ERROR_TIMEOUT = 15; // 0xf
1059 field public static final int NOT_ALLOWED = 401; // 0x191
1060 field public static final int REASON_LOCAL_APP_REQUEST = 16; // 0x10
1061 field public static final int REASON_LOCAL_STACK_REQUEST = 17; // 0x11
1062 field public static final int REASON_REMOTE_REQUEST = 18; // 0x12
1063 field public static final int REASON_SYSTEM_POLICY = 19; // 0x13
1064 field public static final int RFCOMM_LISTENER_FAILED_TO_CLOSE_SERVER_SOCKET = 2004; // 0x7d4
1065 field public static final int RFCOMM_LISTENER_FAILED_TO_CREATE_SERVER_SOCKET = 2003; // 0x7d3
1066 field public static final int RFCOMM_LISTENER_NO_SOCKET_AVAILABLE = 2005; // 0x7d5
1067 field public static final int RFCOMM_LISTENER_OPERATION_FAILED_DIFFERENT_APP = 2002; // 0x7d2
1068 …field public static final int RFCOMM_LISTENER_OPERATION_FAILED_NO_MATCHING_SERVICE_RECORD = 2001; …
1069 field public static final int RFCOMM_LISTENER_START_FAILED_UUID_IN_USE = 2000; // 0x7d0
1072 public final class BluetoothUuid {
1075 field @NonNull public static final android.os.ParcelUuid A2DP_SINK;
1076 field @NonNull public static final android.os.ParcelUuid A2DP_SOURCE;
1077 field @NonNull public static final android.os.ParcelUuid ADV_AUDIO_DIST;
1078 field @NonNull public static final android.os.ParcelUuid AVRCP;
1079 field @NonNull public static final android.os.ParcelUuid AVRCP_CONTROLLER;
1080 field @NonNull public static final android.os.ParcelUuid AVRCP_TARGET;
1081 field @NonNull public static final android.os.ParcelUuid BASE_UUID;
1082 field @NonNull public static final android.os.ParcelUuid BASS;
1083 field @NonNull public static final android.os.ParcelUuid BNEP;
1084 field @NonNull public static final android.os.ParcelUuid CAP;
1085 field @NonNull public static final android.os.ParcelUuid COORDINATED_SET;
1086 field @NonNull public static final android.os.ParcelUuid DIP;
1087 field @NonNull public static final android.os.ParcelUuid GENERIC_MEDIA_CONTROL;
1088 field @NonNull public static final android.os.ParcelUuid HAS;
1089 field @NonNull public static final android.os.ParcelUuid HEARING_AID;
1090 field @NonNull public static final android.os.ParcelUuid HFP;
1091 field @NonNull public static final android.os.ParcelUuid HFP_AG;
1092 field @NonNull public static final android.os.ParcelUuid HID;
1093 field @NonNull public static final android.os.ParcelUuid HOGP;
1094 field @NonNull public static final android.os.ParcelUuid HSP;
1095 field @NonNull public static final android.os.ParcelUuid HSP_AG;
1096 field @NonNull public static final android.os.ParcelUuid LE_AUDIO;
1097 field @NonNull public static final android.os.ParcelUuid MAP;
1098 field @NonNull public static final android.os.ParcelUuid MAS;
1099 field @NonNull public static final android.os.ParcelUuid MEDIA_CONTROL;
1100 …field @FlaggedApi("com.android.bluetooth.flags.mfi_has_uuid") @NonNull public static final android…
1101 field @NonNull public static final android.os.ParcelUuid MNS;
1102 field @NonNull public static final android.os.ParcelUuid NAP;
1103 field @NonNull public static final android.os.ParcelUuid OBEX_OBJECT_PUSH;
1104 field @NonNull public static final android.os.ParcelUuid PANU;
1105 field @NonNull public static final android.os.ParcelUuid PBAP_PCE;
1106 field @NonNull public static final android.os.ParcelUuid PBAP_PSE;
1107 field @NonNull public static final android.os.ParcelUuid SAP;
1108 field public static final int UUID_BYTES_128_BIT = 16; // 0x10
1109 field public static final int UUID_BYTES_16_BIT = 2; // 0x2
1110 field public static final int UUID_BYTES_32_BIT = 4; // 0x4
1111 field @NonNull public static final android.os.ParcelUuid VOLUME_CONTROL;
1114 …public final class BluetoothVolumeControl implements java.lang.AutoCloseable android.bluetooth.Blu…
1129 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
1140 public final class BufferConstraint implements android.os.Parcelable {
1147 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BufferConstrain…
1150 public final class BufferConstraints implements android.os.Parcelable {
1155 field public static final int BUFFER_CODEC_MAX_NUM = 32; // 0x20
1156 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BufferConstrain…
1159 public final class OobData implements android.os.Parcelable {
1172 field public static final int CLASS_OF_DEVICE_OCTETS = 3; // 0x3
1173 field public static final int CONFIRMATION_OCTETS = 16; // 0x10
1174 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.OobData> CREATO…
1175 field public static final int DEVICE_ADDRESS_OCTETS = 7; // 0x7
1176 field public static final int LE_APPEARANCE_OCTETS = 2; // 0x2
1177 field public static final int LE_DEVICE_FLAG_OCTETS = 1; // 0x1
1178 field public static final int LE_DEVICE_ROLE_BOTH_PREFER_CENTRAL = 3; // 0x3
1179 field public static final int LE_DEVICE_ROLE_BOTH_PREFER_PERIPHERAL = 2; // 0x2
1180 field public static final int LE_DEVICE_ROLE_CENTRAL_ONLY = 1; // 0x1
1181 field public static final int LE_DEVICE_ROLE_OCTETS = 1; // 0x1
1182 field public static final int LE_DEVICE_ROLE_PERIPHERAL_ONLY = 0; // 0x0
1183 field public static final int LE_FLAG_BREDR_NOT_SUPPORTED = 2; // 0x2
1184 field public static final int LE_FLAG_GENERAL_DISCOVERY_MODE = 1; // 0x1
1185 field public static final int LE_FLAG_LIMITED_DISCOVERY_MODE = 0; // 0x0
1186 field public static final int LE_FLAG_SIMULTANEOUS_CONTROLLER = 3; // 0x3
1187 field public static final int LE_FLAG_SIMULTANEOUS_HOST = 4; // 0x4
1188 field public static final int LE_TK_OCTETS = 16; // 0x10
1189 field public static final int OOB_LENGTH_OCTETS = 2; // 0x2
1190 field public static final int RANDOMIZER_OCTETS = 16; // 0x10
1193 public static final class OobData.ClassicBuilder {
1201 public static final class OobData.LeBuilder {
1210 public final class UidTraffic implements java.lang.Cloneable android.os.Parcelable {
1217 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.UidTraffic> CRE…
1224 public final class AdvertiseSettings implements android.os.Parcelable {
1228 public static final class AdvertiseSettings.Builder {
1232 public final class AdvertisingSet {
1236 public final class AdvertisingSetParameters implements android.os.Parcelable {
1238 field public static final int ADDRESS_TYPE_DEFAULT = -1; // 0xffffffff
1239 field public static final int ADDRESS_TYPE_PUBLIC = 0; // 0x0
1240 field public static final int ADDRESS_TYPE_RANDOM = 1; // 0x1
1241 field public static final int ADDRESS_TYPE_RANDOM_NON_RESOLVABLE = 2; // 0x2
1244 public static final class AdvertisingSetParameters.Builder {
1248 public final class BluetoothLeAdvertiser {
1252 public final class BluetoothLeScanner {
1258 …@FlaggedApi("com.android.bluetooth.flags.channel_sounding") public final class ChannelSoundingPara…
1264 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.le.ChannelSound…
1265 field public static final int CS_SECURITY_LEVEL_FOUR = 4; // 0x4
1266 field public static final int CS_SECURITY_LEVEL_ONE = 1; // 0x1
1267 field public static final int CS_SECURITY_LEVEL_THREE = 3; // 0x3
1268 field public static final int CS_SECURITY_LEVEL_TWO = 2; // 0x2
1269 field public static final int CS_SECURITY_LEVEL_UNKNOWN = 0; // 0x0
1270 field public static final int LOCATION_TYPE_INDOOR = 1; // 0x1
1271 field public static final int LOCATION_TYPE_OUTDOOR = 2; // 0x2
1272 field public static final int LOCATION_TYPE_UNKNOWN = 0; // 0x0
1273 field public static final int SIGHT_TYPE_LINE_OF_SIGHT = 1; // 0x1
1274 field public static final int SIGHT_TYPE_NON_LINE_OF_SIGHT = 2; // 0x2
1275 field public static final int SIGHT_TYPE_UNKNOWN = 0; // 0x0
1278 public static final class ChannelSoundingParams.Builder {
1286 public final class DistanceMeasurementManager {
1293 public final class DistanceMeasurementMethod implements android.os.Parcelable {
1299 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.le.DistanceMeas…
1300 field public static final int DISTANCE_MEASUREMENT_METHOD_AUTO = 0; // 0x0
1301 …field @FlaggedApi("com.android.bluetooth.flags.channel_sounding") public static final int DISTANCE…
1302 field public static final int DISTANCE_MEASUREMENT_METHOD_RSSI = 1; // 0x1
1305 public static final class DistanceMeasurementMethod.Builder {
1312 public final class DistanceMeasurementParams implements android.os.Parcelable {
1322 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.le.DistanceMeas…
1323 field public static final int REPORT_FREQUENCY_HIGH = 2; // 0x2
1324 field public static final int REPORT_FREQUENCY_LOW = 0; // 0x0
1325 field public static final int REPORT_FREQUENCY_MEDIUM = 1; // 0x1
1328 public static final class DistanceMeasurementParams.Builder {
1337 public final class DistanceMeasurementResult implements android.os.Parcelable {
1350 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.le.DistanceMeas…
1351 …field @FlaggedApi("com.android.bluetooth.flags.channel_sounding") public static final int NADM_ATT…
1352 …field @FlaggedApi("com.android.bluetooth.flags.channel_sounding") public static final int NADM_ATT…
1353 …field @FlaggedApi("com.android.bluetooth.flags.channel_sounding") public static final int NADM_ATT…
1354 …field @FlaggedApi("com.android.bluetooth.flags.channel_sounding") public static final int NADM_ATT…
1355 …field @FlaggedApi("com.android.bluetooth.flags.channel_sounding") public static final int NADM_ATT…
1356 …field @FlaggedApi("com.android.bluetooth.flags.channel_sounding") public static final int NADM_ATT…
1357 …field @FlaggedApi("com.android.bluetooth.flags.channel_sounding") public static final int NADM_ATT…
1358 …field @FlaggedApi("com.android.bluetooth.flags.channel_sounding") public static final int NADM_UNK…
1361 public static final class DistanceMeasurementResult.Builder {
1374 public final class DistanceMeasurementSession {
1385 @Deprecated public final class ResultStorageDescriptor implements android.os.Parcelable {
1392 …field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.le.…
1395 public final class ScanFilter implements android.os.Parcelable {
1401 public static final class ScanFilter.Builder {
1405 field public static final int LEN_IRK_OCTETS = 16; // 0x10
1408 public final class ScanRecord {
1412 public final class ScanSettings implements android.os.Parcelable {
1413 field public static final int SCAN_MODE_AMBIENT_DISCOVERY = 3; // 0x3
1414 field public static final int SCAN_RESULT_TYPE_ABBREVIATED = 1; // 0x1
1415 field public static final int SCAN_RESULT_TYPE_FULL = 0; // 0x0
1418 public static final class ScanSettings.Builder {
1422 public final class TransportBlockFilter implements android.os.Parcelable {
1431 …field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.le.TransportBlo…
1432 field public static final int WIFI_NAN_HASH_LENGTH_BYTES = 8; // 0x8
1435 public static final class TransportBlockFilter.Builder {
1443 @Deprecated public final class TruncatedFilter {