Home
last modified time | relevance | path

Searched refs:a2dpProfile (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/panel/component/spatial/domain/interactor/
DSpatialAudioComponentInteractorTest.kt70 private val a2dpProfile: A2dpProfile = mock { in <lambda>() constant in com.android.systemui.volume.panel.component.spatial.domain.interactor.SpatialAudioComponentInteractorTest
90 .thenReturn(listOf(a2dpProfile, leAudioProfile, hearingAidProfile)) in setup()
140 whenever(a2dpProfile.isEnabled(bluetoothDevice)).thenReturn(true) in setEnabled_determinedByBluetoothProfile_a2dpProfileEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumePanelDialog.java290 final A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in findActiveDevice() local
291 if (a2dpProfile != null) { in findActiveDevice()
292 return a2dpProfile.getActiveDevice(); in findActiveDevice()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java664 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in setActive() local
665 if (a2dpProfile != null && isConnectedProfile(a2dpProfile)) { in setActive()
666 if (a2dpProfile.setActiveDevice(getDevice())) { in setActive()
943 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in fetchActiveDevices() local
944 if (a2dpProfile != null) { in fetchActiveDevices()
945 mIsActiveDeviceA2dp = mDevice.equals(a2dpProfile.getActiveDevice()); in fetchActiveDevices()
1825 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in isConnectedA2dpDevice() local
1826 return a2dpProfile != null && a2dpProfile.getConnectionStatus(mDevice) == in isConnectedA2dpDevice()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DLocalMediaManager.java488 final A2dpProfile a2dpProfile = mLocalBluetoothManager.getProfileManager().getA2dpProfile(); in isActiveDevice() local
489 if (a2dpProfile != null) { in isActiveDevice()
490 isActiveDeviceA2dp = device.getDevice().equals(a2dpProfile.getActiveDevice()); in isActiveDevice()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DLocalMediaManagerTest.java455 final A2dpProfile a2dpProfile = mock(A2dpProfile.class); in onDeviceListAdded_haveMutingExpectedDevice_addMutingExpectedDevice() local
456 profiles.add(a2dpProfile); in onDeviceListAdded_haveMutingExpectedDevice_addMutingExpectedDevice()