/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | AudioRoutingManager.java | 390 if (fallbackRoutingDevice.canActivateNow(BluetoothProfile.LE_AUDIO)) { in setFallbackDeviceActive() 391 profileToActivate = BluetoothProfile.LE_AUDIO; in setFallbackDeviceActive() 439 if (mDbManager.getProfileConnectionPolicy(device, BluetoothProfile.LE_AUDIO) in getAudioRoutingDevice() 441 routingDevice.supportedProfiles.add(BluetoothProfile.LE_AUDIO); in getAudioRoutingDevice() 443 routingDevice.supportedProfiles.remove(BluetoothProfile.LE_AUDIO); in getAudioRoutingDevice() 497 BluetoothProfile.LE_AUDIO)) { in activateDeviceProfile() 498 profilesToActivate.add(BluetoothProfile.LE_AUDIO); in activateDeviceProfile() 499 profilesToDeactivate.remove(BluetoothProfile.LE_AUDIO); in activateDeviceProfile() 513 BluetoothProfile.LE_AUDIO)) { in activateDeviceProfile() 514 profilesToActivate.add(BluetoothProfile.LE_AUDIO); in activateDeviceProfile() [all …]
|
D | PhonePolicy.java | 113 case BluetoothProfile.LE_AUDIO: in profileConnectionStateChanged() 230 if (!mAdapterService.isProfileSupported(dev, BluetoothProfile.LE_AUDIO)) { in isLeAudioOnlyGroup() 259 if (!Utils.arrayContains(uuids, BluetoothUuid.LE_AUDIO)) { in isLeAudioOnlyDevice() 326 && Utils.arrayContains(uuids, BluetoothUuid.LE_AUDIO) in processInitProfilePriorities() 504 && Utils.arrayContains(uuids, BluetoothUuid.LE_AUDIO) in processInitProfilePriorities() 517 BluetoothProfile.LE_AUDIO, in processInitProfilePriorities() 526 BluetoothProfile.LE_AUDIO, in processInitProfilePriorities() 642 || !mAdapterService.isProfileSupported(device, BluetoothProfile.LE_AUDIO)) { in handleLeAudioOnlyDeviceAfterCsipConnect() 708 || (profileId == BluetoothProfile.LE_AUDIO) in processProfileStateChanged() 761 if (profileId == BluetoothProfile.LE_AUDIO) { in processActiveDeviceChanged()
|
D | Config.java | 81 BluetoothProfile.LE_AUDIO, 132 new ProfileConfig(LeAudioService.isEnabled(), BluetoothProfile.LE_AUDIO), 164 new ProfileConfig(LeAudioService.isEnabled(), BluetoothProfile.LE_AUDIO), 262 setProfileEnabled(BluetoothProfile.LE_AUDIO, enable); in setLeAudioProfileStatus()
|
D | AdapterService.java | 1528 Map.entry(BluetoothProfile.LE_AUDIO, LeAudioService::new), 1605 if (isProfileSupported(groupDevice, BluetoothProfile.LE_AUDIO) in isDualModeAudioSinkDevice() 1624 || (isProfileSupported(device, BluetoothProfile.LE_AUDIO) in isDuplexAudioSupported() 1643 || (isProfileSupported(device, BluetoothProfile.LE_AUDIO) in isOutputOnlyAudioSupported() 1743 if (profile == BluetoothProfile.LE_AUDIO) { in isProfileSupported() 1744 return Utils.arrayContains(remoteDeviceUuids, BluetoothUuid.LE_AUDIO); in isProfileSupported() 1940 && isProfileSupported(device, BluetoothProfile.LE_AUDIO) in connectEnabledProfiles() 4316 .orElse(BluetoothProfile.LE_AUDIO); in getPreferredAudioProfiles() 4318 && outputOnlyDefault != BluetoothProfile.LE_AUDIO) { in getPreferredAudioProfiles() 4319 outputOnlyDefault = BluetoothProfile.LE_AUDIO; in getPreferredAudioProfiles() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | AvailableMediaBluetoothDeviceUpdaterTest.java | 285 BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_leaConnected_notInCallSharingFlagOff_addsPreference() 303 BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_leaConnected_notInCallNotInSharing_addsPreference() 323 BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_leaConnected_inCallSharingFlagOff_addsPreference() 340 BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_leaConnected_inCallNotInSharing_addsPreference() 362 BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_leaDeviceConnected_notInCallInSharing_removesPref() 383 BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_leaDeviceConnected_inCallInSharing_removesPref() 400 BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_deviceIsNotInList_notInCall_invokesRemovePreference() 416 BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_deviceIsNotInList_inCall_invokesRemovePreference()
|
D | ConnectedBluetoothDeviceUpdaterTest.java | 272 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_leAudioDeviceConnected_inCall_removesPreference() 286 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_leAudioDeviceConnected_notInCall_removesPreference() 300 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_deviceIsNotInList_inCall_invokesRemovesPreference() 315 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_deviceIsNotInList_notInCall_invokesRemovesPreference()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingBluetoothDeviceUpdaterTest.java | 163 BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_leaDeviceConnected_flagOff_removesPref() 182 BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_leaDeviceConnected_noSource_removesPref() 202 BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_deviceIsNotInList_removesPref() 221 BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_leaDeviceDisconnected_removesPref() 239 BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_leaDeviceDisconnecting_removesPref() 286 BluetoothProfile.LE_AUDIO); in setupPreferenceMapWithDevice()
|
D | AudioSharingDeviceVolumeControlUpdaterTest.java | 155 BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_leaDeviceConnected_noSharing_removesPref() 174 BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_leaDeviceConnected_noSource_removesPref() 194 BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_deviceIsNotInList_removesPref() 213 BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_leaDeviceDisconnected_removesPref() 232 BluetoothProfile.LE_AUDIO); in onProfileConnectionStateChanged_leaDeviceDisconnecting_removesPref() 370 BluetoothProfile.LE_AUDIO); in setupPreferenceMapWithDevice()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/ |
D | LeAudioServiceTest.java | 197 doReturn(new ParcelUuid[] {BluetoothUuid.LE_AUDIO}) in setUp() 260 doReturn(new ParcelUuid[] {BluetoothUuid.LE_AUDIO}) in setUp() 400 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.LE_AUDIO)) in testGetSetPriority() 406 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.LE_AUDIO)) in testGetSetPriority() 412 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.LE_AUDIO)) in testGetSetPriority() 430 when(mDatabaseManager.getProfileConnectionPolicy(device, BluetoothProfile.LE_AUDIO)) in testOkToConnectCase() 501 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.LE_AUDIO)) in testOutgoingConnectMissingLeAudioUuid() 503 when(mDatabaseManager.getProfileConnectionPolicy(mRightDevice, BluetoothProfile.LE_AUDIO)) in testOutgoingConnectMissingLeAudioUuid() 505 when(mDatabaseManager.getProfileConnectionPolicy(mSingleDevice, BluetoothProfile.LE_AUDIO)) in testOutgoingConnectMissingLeAudioUuid() 526 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.LE_AUDIO)) in testOutgoingConnectPriorityOff() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | AudioRoutingManagerTest.java | 654 assertThat(mAudioRoutingManager.getActiveDevices(BluetoothProfile.LE_AUDIO)) in leAudioActiveDeviceSelected_setActive() 721 assertThat(mAudioRoutingManager.getActiveDevices(BluetoothProfile.LE_AUDIO)).isEmpty(); in leAudioActive_setA2dpActiveExplicitly() 736 assertThat(mAudioRoutingManager.getActiveDevices(BluetoothProfile.LE_AUDIO)).isEmpty(); in leAudioActive_setHeadsetActiveExplicitly() 959 assertThat(mAudioRoutingManager.getActiveDevices(BluetoothProfile.LE_AUDIO)) in dualModeAudioDeviceConnected_withDualModeFeatureDisabled() 986 assertThat(mAudioRoutingManager.getActiveDevices(BluetoothProfile.LE_AUDIO)).isEmpty(); in dualModeAudioDeviceConnected_withDualModeFeatureEnabled() 1004 assertThat(mAudioRoutingManager.getActiveDevices(BluetoothProfile.LE_AUDIO)) in dualModeAudioDeviceConnected_withDualModeFeatureEnabled() 1010 assertThat(mAudioRoutingManager.getActiveDevices(BluetoothProfile.LE_AUDIO)) in dualModeAudioDeviceConnected_withDualModeFeatureEnabled() 1037 assertThat(mAudioRoutingManager.getActiveDevices(BluetoothProfile.LE_AUDIO)) in setActiveDeviceFailsUponConnection() 1049 assertThat(mAudioRoutingManager.getActiveDevices(BluetoothProfile.LE_AUDIO)) in setActiveDeviceFailsUponConnection() 1058 assertThat(mAudioRoutingManager.getActiveDevices(BluetoothProfile.LE_AUDIO)) in setActiveDeviceFailsUponConnection() [all …]
|
D | PhonePolicyTest.java | 219 uuids[iter++] = BluetoothUuid.LE_AUDIO; in processInitProfilePriorities_LeAudioOnlyHelper() 250 when(mAdapterService.isProfileSupported(dev, BluetoothProfile.LE_AUDIO)) in processInitProfilePriorities_LeAudioOnlyHelper() 366 BluetoothProfile.LE_AUDIO, in testProcessInitProfilePriorities_LeAudioDisabledByDefault() 382 BluetoothProfile.LE_AUDIO, in testProcessInitProfilePriorities_LeAudioDisabledByDefault() 394 BluetoothProfile.LE_AUDIO, in testProcessInitProfilePriorities_LeAudioDisabledByDefault() 425 BluetoothProfile.LE_AUDIO, in testProcessInitProfilePriorities_LeAudioEnabledByDefault() 456 BluetoothProfile.LE_AUDIO, in testProcessInitProfilePriorities_LeAudioEnabledByDefault() 497 uuids[2] = BluetoothUuid.LE_AUDIO; in processInitProfilePriorities_LeAudioHelper() 532 uuids[0] = BluetoothUuid.LE_AUDIO; in testLateConnectOfLeAudioEnabled_DualModeBud() 562 any(BluetoothDevice.class), eq(BluetoothProfile.LE_AUDIO))) in testLateConnectOfLeAudioEnabled_DualModeBud() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/ |
D | BluetoothDeviceManager.java | 77 PROFILE_TO_AUDIO_ROUTE_MAP.put(BluetoothProfile.LE_AUDIO, in PROFILE_TO_AUDIO_ROUTE_MAP.put() argument 135 } else if (profile == BluetoothProfile.LE_AUDIO) { 206 } else if (profile == BluetoothProfile.LE_AUDIO) { 319 BluetoothProfile.LE_AUDIO); in BluetoothDeviceManager() 758 int callProfile = BluetoothProfile.LE_AUDIO; in connectAudio() 768 callProfile = BluetoothProfile.LE_AUDIO; in connectAudio() 800 if (callProfile == BluetoothProfile.LE_AUDIO) { in connectAudio() 859 int callProfile = BluetoothProfile.LE_AUDIO; in connectAudio() 874 if (callProfile == BluetoothProfile.LE_AUDIO in connectAudio()
|
D | BluetoothStateReceiver.java | 289 int preferredDuplexProfile = BluetoothProfile.LE_AUDIO; in handleActiveDeviceChanged() 316 || preferredDuplexProfile == BluetoothProfile.LE_AUDIO) in handleActiveDeviceChanged()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamsActiveDeviceSummaryUpdaterTest.java | 90 mUpdater.onActiveDeviceChanged(mCachedBluetoothDevice, BluetoothProfile.LE_AUDIO); in onActiveDeviceChanged_leProfile_summaryUpdated() 97 mUpdater.onActiveDeviceChanged(mCachedBluetoothDevice, BluetoothProfile.LE_AUDIO); in onActiveDeviceChanged_leProfile_noDevice_summaryUpdated()
|
D | AudioStreamsScanQrCodeControllerTest.java | 152 mController.mBluetoothCallback.onActiveDeviceChanged(mDevice, BluetoothProfile.LE_AUDIO); in updateVisibility_noConnected_invisible() 161 mController.mBluetoothCallback.onActiveDeviceChanged(mDevice, BluetoothProfile.LE_AUDIO); in updateVisibility_hasConnected_visible()
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | LeAudio.kt | 56 getProfileProxy<BluetoothLeAudio>(context, BluetoothProfile.LE_AUDIO) 67 bluetoothAdapter.closeProfileProxy(BluetoothProfile.LE_AUDIO, bluetoothLeAudio) in close()
|
D | Server.kt | 69 BluetoothProfile.LE_AUDIO to ::LeAudio,
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothProfile.java | 191 int LE_AUDIO = 22; field 466 case LE_AUDIO: in getProfileName()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | BluetoothDeviceManagerTest.java | 356 serviceListenerUnderTest.onServiceDisconnected(BluetoothProfile.LE_AUDIO); in testLeAudioServiceDisconnect() 511 when(mAdapter.getActiveDevices(eq(BluetoothProfile.LE_AUDIO))) in testConnectEarbudLeAudio() 640 leAudioPreferred.putInt(BluetoothAdapter.AUDIO_MODE_DUPLEX, BluetoothProfile.LE_AUDIO); in testConnectDualModeEarbud() 652 when(mAdapter.getActiveDevices(eq(BluetoothProfile.LE_AUDIO))) in testConnectDualModeEarbud() 762 serviceListenerUnderTest.onServiceConnected(BluetoothProfile.LE_AUDIO, in testRegisterLeAudioCallbackNoPostpone() 765 serviceListenerUnderTest.onServiceConnected(BluetoothProfile.LE_AUDIO, in testRegisterLeAudioCallbackNoPostpone() 777 serviceListenerUnderTest.onServiceConnected(BluetoothProfile.LE_AUDIO, in testRegisterLeAudioCallbackWithPostpone()
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | uuid.rs | 35 pub const LE_AUDIO: &str = "0000184E-0000-1000-8000-00805F9B34FB"; constant 143 (Uuid::from_string(LE_AUDIO).unwrap(), Profile::LeAudio),
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsSpatialAudioController.java | 76 BluetoothProfile.A2DP, BluetoothProfile.LE_AUDIO, BluetoothProfile.HEARING_AID); 315 case BluetoothProfile.LE_AUDIO: in getAvailableDeviceByProfileState()
|
D | BluetoothDetailsHeaderController.java | 52 .anyMatch(profile -> profile.getProfileId() == BluetoothProfile.LE_AUDIO); in isAvailable()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamsActiveDeviceSummaryUpdater.java | 60 if (bluetoothProfile == BluetoothProfile.LE_AUDIO) { in onActiveDeviceChanged()
|
D | AudioStreamsCategoryController.java | 49 if (bluetoothProfile == BluetoothProfile.LE_AUDIO) {
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/storage/ |
D | Metadata.java | 185 case BluetoothProfile.LE_AUDIO: in setProfileConnectionPolicy() 237 case BluetoothProfile.LE_AUDIO: in getProfileConnectionPolicy()
|