/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothCodecStatusTest.java | 36 private static final BluetoothCodecConfig config_A = 37 new BluetoothCodecConfig(BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC, 38 BluetoothCodecConfig.CODEC_PRIORITY_DEFAULT, 39 BluetoothCodecConfig.SAMPLE_RATE_44100, 40 BluetoothCodecConfig.BITS_PER_SAMPLE_16, 41 BluetoothCodecConfig.CHANNEL_MODE_STEREO, 44 private static final BluetoothCodecConfig config_B = 45 new BluetoothCodecConfig(BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC, 46 BluetoothCodecConfig.CODEC_PRIORITY_DEFAULT, 47 BluetoothCodecConfig.SAMPLE_RATE_44100, [all …]
|
D | BluetoothCodecConfigTest.java | 32 BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC, 33 BluetoothCodecConfig.SOURCE_CODEC_TYPE_AAC, 34 BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX, 35 BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX_HD, 36 BluetoothCodecConfig.SOURCE_CODEC_TYPE_LDAC, 37 BluetoothCodecConfig.SOURCE_CODEC_TYPE_MAX, 38 BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID, 41 BluetoothCodecConfig.CODEC_PRIORITY_DISABLED, 42 BluetoothCodecConfig.CODEC_PRIORITY_DEFAULT, 43 BluetoothCodecConfig.CODEC_PRIORITY_HIGHEST, [all …]
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothCodecStatus.java | 46 private final @Nullable BluetoothCodecConfig mCodecConfig; 47 private final BluetoothCodecConfig[] mCodecsLocalCapabilities; 48 private final BluetoothCodecConfig[] mCodecsSelectableCapabilities; 50 public BluetoothCodecStatus(BluetoothCodecConfig codecConfig, in BluetoothCodecStatus() 51 BluetoothCodecConfig[] codecsLocalCapabilities, in BluetoothCodecStatus() 52 BluetoothCodecConfig[] codecsSelectableCapabilities) { in BluetoothCodecStatus() 78 public static boolean sameCapabilities(BluetoothCodecConfig[] c1, in sameCapabilities() 79 BluetoothCodecConfig[] c2) { in sameCapabilities() 114 final BluetoothCodecConfig codecConfig = in.readTypedObject( 115 BluetoothCodecConfig.CREATOR); [all …]
|
D | BluetoothCodecConfig.java | 32 public final class BluetoothCodecConfig implements Parcelable { class 101 public BluetoothCodecConfig(int codecType, int codecPriority, in BluetoothCodecConfig() method in BluetoothCodecConfig 118 public BluetoothCodecConfig(int codecType) { in BluetoothCodecConfig() method in BluetoothCodecConfig 120 mCodecPriority = BluetoothCodecConfig.CODEC_PRIORITY_DEFAULT; in BluetoothCodecConfig() 121 mSampleRate = BluetoothCodecConfig.SAMPLE_RATE_NONE; in BluetoothCodecConfig() 122 mBitsPerSample = BluetoothCodecConfig.BITS_PER_SAMPLE_NONE; in BluetoothCodecConfig() 123 mChannelMode = BluetoothCodecConfig.CHANNEL_MODE_NONE; in BluetoothCodecConfig() 132 if (o instanceof BluetoothCodecConfig) { in equals() 133 BluetoothCodecConfig other = (BluetoothCodecConfig) o; in equals() 250 … public static final @android.annotation.NonNull Parcelable.Creator<BluetoothCodecConfig> CREATOR = [all …]
|
D | BluetoothA2dp.java | 621 BluetoothCodecConfig codecConfig) { in setCodecConfigPreference()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | A2dpProfile.java | 22 import android.bluetooth.BluetoothCodecConfig; 228 BluetoothCodecConfig codecConfig = null; in isHighQualityAudioEnabled() 262 BluetoothCodecConfig[] selectable = null; in getHighQualityAudioOptionLabel() 272 final BluetoothCodecConfig codecConfig = (selectable == null || selectable.length < 1) in getHighQualityAudioOptionLabel() 275 ? BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID : codecConfig.getCodecType(); in getHighQualityAudioOptionLabel() 279 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC: in getHighQualityAudioOptionLabel() 282 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_AAC: in getHighQualityAudioOptionLabel() 285 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX: in getHighQualityAudioOptionLabel() 288 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX_HD: in getHighQualityAudioOptionLabel() 291 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_LDAC: in getHighQualityAudioOptionLabel()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | A2dpProfileTest.java | 27 import android.bluetooth.BluetoothCodecConfig; 120 BluetoothCodecConfig config = mock(BluetoothCodecConfig.class); in isHighQualityAudioEnabled() 180 BluetoothCodecConfig config = mock(BluetoothCodecConfig.class); in getLabelDeviceConnectedButNotHighQualityCodec() 181 BluetoothCodecConfig[] configs = {config}; in getLabelDeviceConnectedButNotHighQualityCodec() 195 BluetoothCodecConfig config = mock(BluetoothCodecConfig.class); in getLabelDeviceConnectedWithHighQualityCodec() 196 BluetoothCodecConfig[] configs = {config}; in getLabelDeviceConnectedWithHighQualityCodec()
|
/frameworks/base/media/java/android/media/ |
D | AudioSystem.java | 22 import android.bluetooth.BluetoothCodecConfig; 160 case AUDIO_FORMAT_AAC: return BluetoothCodecConfig.SOURCE_CODEC_TYPE_AAC; in audioFormatToBluetoothSourceCodec() 161 case AUDIO_FORMAT_SBC: return BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC; in audioFormatToBluetoothSourceCodec() 162 case AUDIO_FORMAT_APTX: return BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX; in audioFormatToBluetoothSourceCodec() 163 case AUDIO_FORMAT_APTX_HD: return BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX_HD; in audioFormatToBluetoothSourceCodec() 164 case AUDIO_FORMAT_LDAC: return BluetoothCodecConfig.SOURCE_CODEC_TYPE_LDAC; in audioFormatToBluetoothSourceCodec() 165 default: return BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID; in audioFormatToBluetoothSourceCodec()
|
D | AudioManager.java | 33 import android.bluetooth.BluetoothCodecConfig; 5149 public List<BluetoothCodecConfig> getHwOffloadEncodingFormatsSupportedForA2DP() { in getHwOffloadEncodingFormatsSupportedForA2DP() 5151 ArrayList<BluetoothCodecConfig> codecConfigList = new ArrayList<BluetoothCodecConfig>(); in getHwOffloadEncodingFormatsSupportedForA2DP() 5162 != BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID) { in getHwOffloadEncodingFormatsSupportedForA2DP() 5163 codecConfigList.add(new BluetoothCodecConfig(btSourceCodec)); in getHwOffloadEncodingFormatsSupportedForA2DP()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | BtHelper.java | 23 import android.bluetooth.BluetoothCodecConfig; 235 final BluetoothCodecConfig btCodecConfig = btCodecStatus.getCodecConfig(); in getA2dpCodec() 992 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC: in mapBluetoothCodecToAudioFormat() 994 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_AAC: in mapBluetoothCodecToAudioFormat() 996 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX: in mapBluetoothCodecToAudioFormat() 998 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX_HD: in mapBluetoothCodecToAudioFormat() 1000 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_LDAC: in mapBluetoothCodecToAudioFormat()
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 1713 * frameworks/base/core/java/android/bluetooth/BluetoothCodecConfig.java 1724 // Type of codec as defined by various SOURCE_CODEC_TYPE_* constants in BluetoothCodecConfig 1730 // Sample rate in Hz as defined by various SAMPLE_RATE_* constants in BluetoothCodecConfig 1733 // Bits per sample as defined by various BITS_PER_SAMPLE_* constants in BluetoothCodecConfig 1736 // Channel mode as defined by various CHANNEL_MODE_* constants in BluetoothCodecConfig 1752 * frameworks/base/core/java/android/bluetooth/BluetoothCodecConfig.java 1763 // Type of codec as defined by various SOURCE_CODEC_TYPE_* constants in BluetoothCodecConfig 1770 // in BluetoothCodecConfig 1774 // in BluetoothCodecConfig 1778 // BluetoothCodecConfig
|
/frameworks/base/config/ |
D | preloaded-classes | 671 android.bluetooth.BluetoothCodecConfig$1 672 android.bluetooth.BluetoothCodecConfig
|