Home
last modified time | relevance | path

Searched refs:TYPE_BLUETOOTH_A2DP (Results 1 – 16 of 16) sorted by relevance

/aosp14/frameworks/base/media/java/android/media/
H A DAudioDeviceInfo.java73 public static final int TYPE_BLUETOOTH_A2DP = 8; field in AudioDeviceInfo
200 TYPE_BLUETOOTH_A2DP,
234 TYPE_BLUETOOTH_A2DP,
265 TYPE_BLUETOOTH_A2DP,
298 case TYPE_BLUETOOTH_A2DP: in isValidAudioDeviceTypeOut()
330 case TYPE_BLUETOOTH_A2DP: in isValidAudioDeviceTypeIn()
636 INT_TO_EXT_DEVICE_MAPPING.put(AudioSystem.DEVICE_OUT_BLUETOOTH_A2DP, TYPE_BLUETOOTH_A2DP); in INT_TO_EXT_DEVICE_MAPPING.put() argument
638 … INT_TO_EXT_DEVICE_MAPPING.put(AudioSystem.DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER, TYPE_BLUETOOTH_A2DP); in INT_TO_EXT_DEVICE_MAPPING.put() argument
677 INT_TO_EXT_DEVICE_MAPPING.put(AudioSystem.DEVICE_IN_BLUETOOTH_A2DP, TYPE_BLUETOOTH_A2DP); in INT_TO_EXT_DEVICE_MAPPING.put() argument
696 EXT_TO_INT_DEVICE_MAPPING.put(TYPE_BLUETOOTH_A2DP, AudioSystem.DEVICE_OUT_BLUETOOTH_A2DP); in EXT_TO_INT_DEVICE_MAPPING.put() argument
[all …]
H A DMediaRoute2Info.java142 TYPE_BLUETOOTH_A2DP,
199 public static final int TYPE_BLUETOOTH_A2DP = AudioDeviceInfo.TYPE_BLUETOOTH_A2DP; field in MediaRoute2Info
913 case TYPE_BLUETOOTH_A2DP: in getDeviceTypeString()
/aosp14/frameworks/base/services/core/java/com/android/server/media/
H A DAudioAttributesUtils.java54 case AudioDeviceInfo.TYPE_BLUETOOTH_A2DP: in mapToMediaRouteType()
55 return MediaRoute2Info.TYPE_BLUETOOTH_A2DP; in mapToMediaRouteType()
102 case AudioDeviceInfo.TYPE_BLUETOOTH_A2DP: in isBluetoothOutputAttributes()
H A DLegacyBluetoothRouteController.java257 routeType = MediaRoute2Info.TYPE_BLUETOOTH_A2DP; in updateVolumeForDevices()
296 int type = MediaRoute2Info.TYPE_BLUETOOTH_A2DP; in createBluetoothRoute()
426 return MediaRoute2Info.TYPE_BLUETOOTH_A2DP; in getRouteType()
509 clearActiveRoutesWithType(MediaRoute2Info.TYPE_BLUETOOTH_A2DP); in onReceive()
H A DAudioPoliciesBluetoothRouteController.java323 routeType = MediaRoute2Info.TYPE_BLUETOOTH_A2DP; in updateVolumeForDevices()
361 int type = MediaRoute2Info.TYPE_BLUETOOTH_A2DP; in createBluetoothRoute()
438 return MediaRoute2Info.TYPE_BLUETOOTH_A2DP; in getRouteType()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/media/
H A DAudioPoliciesDeviceRouteControllerTest.java172 mController.selectRoute(MediaRoute2Info.TYPE_BLUETOOTH_A2DP); in getDeviceRoute_selectRouteFails_returnsAudioServiceRoute()
186 assertThat(mController.selectRoute(MediaRoute2Info.TYPE_BLUETOOTH_A2DP)).isFalse(); in selectRoute_selectBluetoothRoute_returnsFalse()
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
H A DMediaDeviceTest.java18 import static android.media.MediaRoute2Info.TYPE_BLUETOOTH_A2DP;
159 when(mBluetoothRouteInfo1.getType()).thenReturn(TYPE_BLUETOOTH_A2DP); in setUp()
160 when(mBluetoothRouteInfo2.getType()).thenReturn(TYPE_BLUETOOTH_A2DP); in setUp()
161 when(mBluetoothRouteInfo3.getType()).thenReturn(TYPE_BLUETOOTH_A2DP); in setUp()
H A DInfoMediaManagerTest.java19 import static android.media.MediaRoute2Info.TYPE_BLUETOOTH_A2DP;
1028 when(route2Info.getType()).thenReturn(TYPE_BLUETOOTH_A2DP); in addMediaDevice_verifyDeviceTypeCanCorrespondToMediaDevice()
1051 when(route2Info.getType()).thenReturn(TYPE_BLUETOOTH_A2DP); in addMediaDevice_cachedBluetoothDeviceIsNull_shouldNotAdded()
1076 when(route2Info.getType()).thenReturn(TYPE_BLUETOOTH_A2DP); in addMediaDevice_deviceIncludedInSelectedDevices_shouldSetAsCurrentConnected()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
H A DMediaDevice.java19 import static android.media.MediaRoute2Info.TYPE_BLUETOOTH_A2DP;
163 case TYPE_BLUETOOTH_A2DP: in setType()
H A DInfoMediaManager.java19 import static android.media.MediaRoute2Info.TYPE_BLUETOOTH_A2DP;
577 case TYPE_BLUETOOTH_A2DP: in addMediaDevice()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
H A DAudioDeviceBrokerTest.java210 new AdiDeviceState(AudioDeviceInfo.TYPE_BLUETOOTH_A2DP, in testAdiDeviceStateNullAddressCtor()
/aosp14/frameworks/base/media/java/android/media/audiofx/
H A DVirtualizer.java337 case AudioDeviceInfo.TYPE_BLUETOOTH_A2DP: in deviceToMode()
/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DSpatializerHelper.java91 append(AudioDeviceInfo.TYPE_BLUETOOTH_A2DP, SpatializationMode.SPATIALIZER_BINAURAL);
H A DAudioService.java24 import static android.media.AudioDeviceInfo.TYPE_BLUETOOTH_A2DP;
7363 if (device.getType() == TYPE_BLUETOOTH_A2DP) { in setDeviceVolumeBehavior()
10871 int deviceType = !isBle ? TYPE_BLUETOOTH_A2DP in setBluetoothAudioDeviceCategory()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt21165 field public static final int TYPE_BLUETOOTH_A2DP = 8; // 0x8
24310 field public static final int TYPE_BLUETOOTH_A2DP = 8; // 0x8