/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 | 44 private final @Nullable BluetoothCodecConfig mCodecConfig; 45 private final BluetoothCodecConfig[] mCodecsLocalCapabilities; 46 private final BluetoothCodecConfig[] mCodecsSelectableCapabilities; 48 public BluetoothCodecStatus(@Nullable BluetoothCodecConfig codecConfig, in BluetoothCodecStatus() 49 @Nullable BluetoothCodecConfig[] codecsLocalCapabilities, in BluetoothCodecStatus() 50 @Nullable BluetoothCodecConfig[] codecsSelectableCapabilities) { in BluetoothCodecStatus() 77 public static boolean sameCapabilities(BluetoothCodecConfig[] c1, in sameCapabilities() 78 BluetoothCodecConfig[] c2) { in sameCapabilities() 99 public boolean isCodecConfigSelectable(BluetoothCodecConfig codecConfig) { in isCodecConfigSelectable() 104 for (BluetoothCodecConfig selectableConfig : mCodecsSelectableCapabilities) { in isCodecConfigSelectable() [all …]
|
D | BluetoothCodecConfig.java | 36 public final class BluetoothCodecConfig implements Parcelable { class 157 public BluetoothCodecConfig(@SourceCodecType int codecType, @CodecPriority int codecPriority, in BluetoothCodecConfig() method in BluetoothCodecConfig 173 public BluetoothCodecConfig(@SourceCodecType int codecType) { in BluetoothCodecConfig() method in BluetoothCodecConfig 175 mCodecPriority = BluetoothCodecConfig.CODEC_PRIORITY_DEFAULT; in BluetoothCodecConfig() 176 mSampleRate = BluetoothCodecConfig.SAMPLE_RATE_NONE; in BluetoothCodecConfig() 177 mBitsPerSample = BluetoothCodecConfig.BITS_PER_SAMPLE_NONE; in BluetoothCodecConfig() 178 mChannelMode = BluetoothCodecConfig.CHANNEL_MODE_NONE; in BluetoothCodecConfig() 187 if (o instanceof BluetoothCodecConfig) { in equals() 188 BluetoothCodecConfig other = (BluetoothCodecConfig) o; in equals() 318 … public static final @android.annotation.NonNull Parcelable.Creator<BluetoothCodecConfig> CREATOR = [all …]
|
D | BluetoothA2dp.java | 686 @NonNull BluetoothCodecConfig codecConfig) { in setCodecConfigPreference()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | A2dpProfile.java | 26 import android.bluetooth.BluetoothCodecConfig; 244 BluetoothCodecConfig codecConfig = null; in isHighQualityAudioEnabled() 283 BluetoothCodecConfig[] selectable = null; in getHighQualityAudioOptionLabel() 293 final BluetoothCodecConfig codecConfig = (selectable == null || selectable.length < 1) in getHighQualityAudioOptionLabel() 296 ? BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID : codecConfig.getCodecType(); in getHighQualityAudioOptionLabel() 300 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC: in getHighQualityAudioOptionLabel() 303 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_AAC: in getHighQualityAudioOptionLabel() 306 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX: in getHighQualityAudioOptionLabel() 309 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX_HD: in getHighQualityAudioOptionLabel() 312 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; 121 BluetoothCodecConfig config = mock(BluetoothCodecConfig.class); in isHighQualityAudioEnabled() 181 BluetoothCodecConfig config = mock(BluetoothCodecConfig.class); in getLabelDeviceConnectedButNotHighQualityCodec() 182 BluetoothCodecConfig[] configs = {config}; in getLabelDeviceConnectedButNotHighQualityCodec() 196 BluetoothCodecConfig config = mock(BluetoothCodecConfig.class); in getLabelDeviceConnectedWithHighQualityCodec() 197 BluetoothCodecConfig[] configs = {config}; in getLabelDeviceConnectedWithHighQualityCodec()
|
/frameworks/base/media/java/android/media/ |
D | AudioSystem.java | 22 import android.bluetooth.BluetoothCodecConfig; 222 case AUDIO_FORMAT_AAC: return BluetoothCodecConfig.SOURCE_CODEC_TYPE_AAC; in audioFormatToBluetoothSourceCodec() 223 case AUDIO_FORMAT_SBC: return BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC; in audioFormatToBluetoothSourceCodec() 224 case AUDIO_FORMAT_APTX: return BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX; in audioFormatToBluetoothSourceCodec() 225 case AUDIO_FORMAT_APTX_HD: return BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX_HD; in audioFormatToBluetoothSourceCodec() 226 case AUDIO_FORMAT_LDAC: return BluetoothCodecConfig.SOURCE_CODEC_TYPE_LDAC; in audioFormatToBluetoothSourceCodec() 230 return BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID; in audioFormatToBluetoothSourceCodec() 242 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC: in bluetoothCodecToAudioFormat() 244 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_AAC: in bluetoothCodecToAudioFormat() 246 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX: in bluetoothCodecToAudioFormat() [all …]
|
D | AudioManager.java | 34 import android.bluetooth.BluetoothCodecConfig; 5802 public List<BluetoothCodecConfig> getHwOffloadEncodingFormatsSupportedForA2DP() { in getHwOffloadEncodingFormatsSupportedForA2DP() 5804 ArrayList<BluetoothCodecConfig> codecConfigList = new ArrayList<BluetoothCodecConfig>(); in getHwOffloadEncodingFormatsSupportedForA2DP() 5815 != BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID) { in getHwOffloadEncodingFormatsSupportedForA2DP() 5816 codecConfigList.add(new BluetoothCodecConfig(btSourceCodec)); in getHwOffloadEncodingFormatsSupportedForA2DP()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | BtHelper.java | 23 import android.bluetooth.BluetoothCodecConfig; 293 final BluetoothCodecConfig btCodecConfig = btCodecStatus.getCodecConfig(); in getA2dpCodec() 1017 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC: in bluetoothCodecToEncodingString() 1019 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_AAC: in bluetoothCodecToEncodingString() 1021 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX: in bluetoothCodecToEncodingString() 1023 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX_HD: in bluetoothCodecToEncodingString() 1025 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_LDAC: in bluetoothCodecToEncodingString()
|
/frameworks/base/api/ |
D | system-lint-baseline.txt | 21 …Status(android.bluetooth.BluetoothCodecConfig, android.bluetooth.BluetoothCodecConfig[], android.b… 22 …eter should be Collection<BluetoothCodecConfig> (or subclass) instead of raw array; was `android.b… 23 …Status(android.bluetooth.BluetoothCodecConfig, android.bluetooth.BluetoothCodecConfig[], android.b… 24 …eter should be Collection<BluetoothCodecConfig> (or subclass) instead of raw array; was `android.b… 26 … should return Collection<BluetoothCodecConfig> (or subclass) instead of raw array; was `android.b… 28 … should return Collection<BluetoothCodecConfig> (or subclass) instead of raw array; was `android.b…
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 2101 * frameworks/base/core/java/android/bluetooth/BluetoothCodecConfig.java 2112 // Type of codec as defined by various SOURCE_CODEC_TYPE_* constants in BluetoothCodecConfig 2118 // Sample rate in Hz as defined by various SAMPLE_RATE_* constants in BluetoothCodecConfig 2121 // Bits per sample as defined by various BITS_PER_SAMPLE_* constants in BluetoothCodecConfig 2124 // Channel mode as defined by various CHANNEL_MODE_* constants in BluetoothCodecConfig 2149 * frameworks/base/core/java/android/bluetooth/BluetoothCodecConfig.java 2160 // Type of codec as defined by various SOURCE_CODEC_TYPE_* constants in BluetoothCodecConfig 2167 // in BluetoothCodecConfig 2171 // in BluetoothCodecConfig 2175 // BluetoothCodecConfig
|
/frameworks/base/config/ |
D | preloaded-classes | 1086 android.bluetooth.BluetoothCodecConfig$1 1087 android.bluetooth.BluetoothCodecConfig
|
D | boot-image-profile.txt | 4400 HSPLandroid/bluetooth/BluetoothCodecConfig;-><init>(IIIIIJJJJ)V 4401 HSPLandroid/bluetooth/BluetoothCodecConfig;->getCodecType()I 41182 Landroid/bluetooth/BluetoothCodecConfig$1; 41183 Landroid/bluetooth/BluetoothCodecConfig;
|