Searched refs:a2dpProfile (Results 1 – 5 of 5) sorted by relevance
70 private val a2dpProfile: A2dpProfile = mock { in <lambda>() constant in com.android.systemui.volume.panel.component.spatial.domain.interactor.SpatialAudioComponentInteractorTest90 .thenReturn(listOf(a2dpProfile, leAudioProfile, hearingAidProfile)) in setup()140 whenever(a2dpProfile.isEnabled(bluetoothDevice)).thenReturn(true) in setEnabled_determinedByBluetoothProfile_a2dpProfileEnabled()
290 final A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in findActiveDevice() local291 if (a2dpProfile != null) { in findActiveDevice()292 return a2dpProfile.getActiveDevice(); in findActiveDevice()
664 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in setActive() local665 if (a2dpProfile != null && isConnectedProfile(a2dpProfile)) { in setActive()666 if (a2dpProfile.setActiveDevice(getDevice())) { in setActive()943 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in fetchActiveDevices() local944 if (a2dpProfile != null) { in fetchActiveDevices()945 mIsActiveDeviceA2dp = mDevice.equals(a2dpProfile.getActiveDevice()); in fetchActiveDevices()1825 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in isConnectedA2dpDevice() local1826 return a2dpProfile != null && a2dpProfile.getConnectionStatus(mDevice) == in isConnectedA2dpDevice()
488 final A2dpProfile a2dpProfile = mLocalBluetoothManager.getProfileManager().getA2dpProfile(); in isActiveDevice() local489 if (a2dpProfile != null) { in isActiveDevice()490 isActiveDeviceA2dp = device.getDevice().equals(a2dpProfile.getActiveDevice()); in isActiveDevice()
455 final A2dpProfile a2dpProfile = mock(A2dpProfile.class); in onDeviceListAdded_haveMutingExpectedDevice_addMutingExpectedDevice() local456 profiles.add(a2dpProfile); in onDeviceListAdded_haveMutingExpectedDevice_addMutingExpectedDevice()