/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | LeAudioBluetoothDetailsHeaderController.java | 19 import android.bluetooth.BluetoothLeAudio; 62 BluetoothLeAudio.AUDIO_LOCATION_FRONT_LEFT 63 | BluetoothLeAudio.AUDIO_LOCATION_BACK_LEFT 64 | BluetoothLeAudio.AUDIO_LOCATION_FRONT_LEFT_OF_CENTER 65 | BluetoothLeAudio.AUDIO_LOCATION_SIDE_LEFT 66 | BluetoothLeAudio.AUDIO_LOCATION_TOP_FRONT_LEFT 67 | BluetoothLeAudio.AUDIO_LOCATION_TOP_BACK_LEFT 68 | BluetoothLeAudio.AUDIO_LOCATION_TOP_SIDE_LEFT 69 | BluetoothLeAudio.AUDIO_LOCATION_BOTTOM_FRONT_LEFT 70 | BluetoothLeAudio.AUDIO_LOCATION_FRONT_LEFT_WIDE [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/ |
D | ContentControlIdKeeperTest.java | 21 import android.bluetooth.BluetoothLeAudio; 97 int ccid_one = testCcidAcquire(uuid_one, BluetoothLeAudio.CONTEXT_TYPE_MEDIA, 1); in testAcquireReleaseCcid() 98 int ccid_two = testCcidAcquire(uuid_two, BluetoothLeAudio.CONTEXT_TYPE_RINGTONE, 2); in testAcquireReleaseCcid() 111 BluetoothLeAudio.CONTEXT_TYPE_MEDIA in testAcquireReleaseCcidForCompoundContext() 112 | BluetoothLeAudio.CONTEXT_TYPE_RINGTONE, in testAcquireReleaseCcidForCompoundContext() 135 int ccid_one = testCcidAcquire(uuid, BluetoothLeAudio.CONTEXT_TYPE_MEDIA, 1); in testAcquireContextMoreThanOnce() 136 int ccid_two = testCcidAcquire(uuid, BluetoothLeAudio.CONTEXT_TYPE_RINGTONE, 1); in testAcquireContextMoreThanOnce()
|
D | LeAudioServiceTest.java | 38 import android.bluetooth.BluetoothLeAudio; 238 filter.addAction(BluetoothLeAudio.ACTION_LE_AUDIO_CONNECTION_STATE_CHANGED); in setUp() 239 filter.addAction(BluetoothLeAudio.ACTION_LE_AUDIO_ACTIVE_DEVICE_CHANGED); in setUp() 313 if (BluetoothLeAudio.ACTION_LE_AUDIO_CONNECTION_STATE_CHANGED.equals( in onReceive() 328 } else if (BluetoothLeAudio.ACTION_LE_AUDIO_ACTIVE_DEVICE_CHANGED.equals( in onReceive() 353 .isEqualTo(BluetoothLeAudio.ACTION_LE_AUDIO_CONNECTION_STATE_CHANGED); in verifyConnectionStateIntent() 1359 int availableContexts = 5 + BluetoothLeAudio.CONTEXT_TYPE_RINGTONE; in testSetActiveDeviceGroup() 1393 verify(mNativeInterface).groupSetActive(BluetoothLeAudio.GROUP_ID_INVALID); in testSetActiveDeviceGroup() 1410 int availableContexts = 5 + BluetoothLeAudio.CONTEXT_TYPE_RINGTONE; in testSetActiveDeviceGroupTwice() 1458 String action = BluetoothLeAudio.ACTION_LE_AUDIO_ACTIVE_DEVICE_CHANGED; in testSetActiveDeviceGroupTwice() [all …]
|
D | LeAudioNativeInterfaceTest.java | 24 import android.bluetooth.BluetoothLeAudio; 90 int sinkAudioLocation = BluetoothLeAudio.AUDIO_LOCATION_INVALID; in onAudioConf() 91 int sourceAudioLocation = BluetoothLeAudio.AUDIO_LOCATION_INVALID; in onAudioConf() 106 int sinkAudioLocation = BluetoothLeAudio.AUDIO_LOCATION_INVALID; in onSinkAudioLocationAvailable()
|
D | LeAudioBinderTest.java | 27 import android.bluetooth.BluetoothLeAudio; 230 int contextType = BluetoothLeAudio.CONTEXT_TYPE_UNSPECIFIED; in setCcidInformation()
|
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/ |
D | BluetoothDeviceManager.java | 29 import android.bluetooth.BluetoothLeAudio; 83 private BluetoothLeAudio.Callback mLeAudioCallbacks = 84 new BluetoothLeAudio.Callback() { 93 if (device == null || groupId == BluetoothLeAudio.GROUP_ID_INVALID) { 106 if (device == null || groupId == BluetoothLeAudio.GROUP_ID_INVALID) { 136 mBluetoothLeAudioService = (BluetoothLeAudio) proxy; 280 private int mGroupIdActive = BluetoothLeAudio.GROUP_ID_INVALID; 281 private int mGroupIdPending = BluetoothLeAudio.GROUP_ID_INVALID; 292 private BluetoothLeAudio mBluetoothLeAudioService; 366 if (groupId != BluetoothLeAudio.GROUP_ID_INVALID) { in getConnectedDevices() [all …]
|
D | BluetoothStateReceiver.java | 33 import android.bluetooth.BluetoothLeAudio; 63 INTENT_FILTER.addAction(BluetoothLeAudio.ACTION_LE_AUDIO_CONNECTION_STATE_CHANGED); 64 INTENT_FILTER.addAction(BluetoothLeAudio.ACTION_LE_AUDIO_ACTIVE_DEVICE_CHANGED); 85 case BluetoothLeAudio.ACTION_LE_AUDIO_CONNECTION_STATE_CHANGED: in onReceive() 90 case BluetoothLeAudio.ACTION_LE_AUDIO_ACTIVE_DEVICE_CHANGED: in onReceive() 179 if (BluetoothLeAudio.ACTION_LE_AUDIO_CONNECTION_STATE_CHANGED.equals(intent.getAction())) { in handleConnectionStateChanged() 221 if (BluetoothLeAudio.ACTION_LE_AUDIO_ACTIVE_DEVICE_CHANGED.equals(intent.getAction())) { in handleActiveDeviceChanged()
|
D | BluetoothRouteManager.java | 25 import android.bluetooth.BluetoothLeAudio; 1074 BluetoothLeAudio bluetoothLeAudio = mDeviceManager.getLeAudioService();
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | LeAudio.kt | 20 import android.bluetooth.BluetoothLeAudio 56 getProfileProxy<BluetoothLeAudio>(context, BluetoothProfile.LE_AUDIO) 61 intentFilter.addAction(BluetoothLeAudio.ACTION_LE_AUDIO_CONNECTION_STATE_CHANGED) 82 BluetoothLeAudio.ACTION_LE_AUDIO_CONNECTION_STATE_CHANGED in open()
|
/packages/modules/Bluetooth/android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/ |
D | BluetoothProxy.java | 56 private BluetoothLeAudio bluetoothLeAudio = null; 78 private BluetoothLeAudio.Callback mLeAudioCallbacks = 79 new BluetoothLeAudio.Callback() { 107 if (device == null || groupId == BluetoothLeAudio.GROUP_ID_INVALID) { 134 if (device == null || groupId == BluetoothLeAudio.GROUP_ID_INVALID) { 140 if (device == null || groupId == BluetoothLeAudio.GROUP_ID_INVALID) { 213 case BluetoothLeAudio.ACTION_LE_AUDIO_CONNECTION_STATE_CHANGED: 217 BluetoothLeAudio.EXTRA_STATE, -1); 218 if (toState == BluetoothLeAudio.STATE_CONNECTED 220 == BluetoothLeAudio.STATE_DISCONNECTED) [all …]
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothLeAudio.java | 60 public final class BluetoothLeAudio implements BluetoothProfile, AutoCloseable { class 161 for (Map.Entry<BluetoothLeAudio.Callback, Executor> callbackExecutorEntry : 163 BluetoothLeAudio.Callback callback = callbackExecutorEntry.getKey(); 172 for (Map.Entry<BluetoothLeAudio.Callback, Executor> callbackExecutorEntry : 174 BluetoothLeAudio.Callback callback = callbackExecutorEntry.getKey(); 183 for (Map.Entry<BluetoothLeAudio.Callback, Executor> callbackExecutorEntry : 185 BluetoothLeAudio.Callback callback = callbackExecutorEntry.getKey(); 193 for (Map.Entry<BluetoothLeAudio.Callback, Executor> callbackExecutorEntry : 195 BluetoothLeAudio.Callback callback = callbackExecutorEntry.getKey(); 204 for (Map.Entry<BluetoothLeAudio.Callback, Executor> callbackExecutorEntry : [all …]
|
D | OWNERS | 3 per-file BluetoothLeAudio*.java=file:/OWNERS_leaudio
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | BluetoothDeviceManagerTest.java | 40 import android.bluetooth.BluetoothLeAudio; 77 @Mock BluetoothLeAudio mBluetoothLeAudio; 86 ArgumentCaptor<BluetoothLeAudio.Callback> leAudioCallbacksTest; 135 ArgumentCaptor.forClass(BluetoothLeAudio.Callback.class); in setUp() 354 buildConnectionActionIntent(BluetoothLeAudio.STATE_CONNECTED, device5, in testLeAudioServiceDisconnect() 389 buildConnectionActionIntent(BluetoothLeAudio.STATE_CONNECTED, device5, in testLeAudioGroupChangesIgnoredWhenNotInCall() 392 new Intent(BluetoothLeAudio.ACTION_LE_AUDIO_ACTIVE_DEVICE_CHANGED); in testLeAudioGroupChangesIgnoredWhenNotInCall() 498 buildConnectionActionIntent(BluetoothLeAudio.STATE_CONNECTED, device6, in testConnectEarbudLeAudio() 612 buildConnectionActionIntent(BluetoothLeAudio.STATE_CONNECTED, device6, in testConnectDualModeEarbud() 769 any(BluetoothLeAudio.Callback.class)); in testRegisterLeAudioCallbackNoPostpone() [all …]
|
D | BluetoothRouteManagerTest.java | 34 import android.bluetooth.BluetoothLeAudio; 81 @Mock private BluetoothLeAudio mBluetoothLeAudio;
|
D | BluetoothRouteTransitionTests.java | 38 import android.bluetooth.BluetoothLeAudio; 265 @Mock private BluetoothLeAudio mBluetoothLeAudio;
|
D | CallAudioRouteControllerTest.java | 60 import android.bluetooth.BluetoothLeAudio; 108 @Mock BluetoothLeAudio mBluetoothLeAudio;
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/ |
D | ContentControlIdKeeper.java | 20 import android.bluetooth.BluetoothLeAudio; 65 if (contextType == BluetoothLeAudio.CONTEXT_TYPE_INVALID) { in acquireCcid()
|
D | LeAudioService.java | 35 import android.bluetooth.BluetoothLeAudio; 233 mAllowedSinkContexts = BluetoothLeAudio.CONTEXTS_ALL; in LeAudioGroupDescriptor() 234 mAllowedSourceContexts = BluetoothLeAudio.CONTEXTS_ALL; in LeAudioGroupDescriptor() 326 return (mAllowedSinkContexts != BluetoothLeAudio.CONTEXTS_ALL) in areAllowedContextsModified() 327 || (mAllowedSourceContexts != BluetoothLeAudio.CONTEXTS_ALL); in areAllowedContextsModified() 336 mSinkAudioLocation = BluetoothLeAudio.AUDIO_LOCATION_INVALID; in LeAudioDeviceDescriptor() 1700 Intent intent = new Intent(BluetoothLeAudio.ACTION_LE_AUDIO_CONNECTION_STATE_CHANGED); in notifyConnectionStateChanged() 1711 Intent intent = new Intent(BluetoothLeAudio.ACTION_LE_AUDIO_ACTIVE_DEVICE_CHANGED); in sentActiveDeviceChangeIntent() 2723 ((groupDescriptor.mAvailableContexts & BluetoothLeAudio.CONTEXT_TYPE_RINGTONE) in updateInbandRingtoneForTheGroup() 3132 BluetoothLeAudio.GROUP_STATUS_INACTIVE)); in messageFromNative() [all …]
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilityHearingAidPreferenceController.java | 22 import android.bluetooth.BluetoothLeAudio; 95 filter.addAction(BluetoothLeAudio.ACTION_LE_AUDIO_CONNECTION_STATE_CHANGED); in onStart()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/ |
D | MediaControlProfile.java | 25 import android.bluetooth.BluetoothLeAudio; 780 BluetoothLeAudio.CONTEXT_TYPE_MEDIA in init() 781 | BluetoothLeAudio.CONTEXT_TYPE_LIVE); in init()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallAudioRouteController.java | 25 import android.bluetooth.BluetoothLeAudio; 963 if (groupId != BluetoothLeAudio.GROUP_ID_INVALID) { in onAvailableRoutesChanged() 1246 if (groupId != BluetoothLeAudio.GROUP_ID_INVALID) { in isLeAudioNonLeadDeviceOrServiceUnavailable() 1254 private BluetoothLeAudio getLeAudioService() { in getLeAudioService()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | AdapterProperties.java | 37 import android.bluetooth.BluetoothLeAudio; 205 case BluetoothLeAudio.ACTION_LE_AUDIO_CONNECTION_STATE_CHANGED: 277 filter.addAction(BluetoothLeAudio.ACTION_LE_AUDIO_CONNECTION_STATE_CHANGED); in init()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/ |
D | TbsGeneric.java | 21 import android.bluetooth.BluetoothLeAudio; 171 BluetoothLeAudio.CONTEXT_TYPE_CONVERSATIONAL); in init() 356 BluetoothLeAudio.CONTEXT_TYPE_CONVERSATIONAL)); in addBearer()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/ |
D | BassClientService.java | 33 import android.bluetooth.BluetoothLeAudio; 633 BluetoothLeAudio.CONTEXTS_ALL, BluetoothLeAudio.CONTEXTS_ALL); in stop() 906 BluetoothLeAudio.CONTEXTS_ALL in localNotifyReceiveStateChanged() 907 & ~BluetoothLeAudio.CONTEXT_TYPE_SOUND_EFFECTS, in localNotifyReceiveStateChanged() 908 BluetoothLeAudio.CONTEXTS_ALL); in localNotifyReceiveStateChanged() 925 BluetoothLeAudio.CONTEXTS_ALL, BluetoothLeAudio.CONTEXTS_ALL); in localNotifyReceiveStateChanged()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/ |
D | HapClientService.java | 29 import android.bluetooth.BluetoothLeAudio; 1058 if (groupId != BluetoothLeAudio.GROUP_ID_INVALID) { in getGroupDevices()
|