/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/services/core/java/com/android/server/audio/ |
D | BtHelper.java | 23 import android.bluetooth.BluetoothCodecConfig; 241 final BluetoothCodecConfig btCodecConfig = btCodecStatus.getCodecConfig(); in getA2dpCodec() 999 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC: in mapBluetoothCodecToAudioFormat() 1001 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_AAC: in mapBluetoothCodecToAudioFormat() 1003 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX: in mapBluetoothCodecToAudioFormat() 1005 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX_HD: in mapBluetoothCodecToAudioFormat() 1007 case BluetoothCodecConfig.SOURCE_CODEC_TYPE_LDAC: in mapBluetoothCodecToAudioFormat()
|
/frameworks/base/media/java/android/media/ |
D | AudioSystem.java | 22 import android.bluetooth.BluetoothCodecConfig; 201 case AUDIO_FORMAT_AAC: return BluetoothCodecConfig.SOURCE_CODEC_TYPE_AAC; in audioFormatToBluetoothSourceCodec() 202 case AUDIO_FORMAT_SBC: return BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC; in audioFormatToBluetoothSourceCodec() 203 case AUDIO_FORMAT_APTX: return BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX; in audioFormatToBluetoothSourceCodec() 204 case AUDIO_FORMAT_APTX_HD: return BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX_HD; in audioFormatToBluetoothSourceCodec() 205 case AUDIO_FORMAT_LDAC: return BluetoothCodecConfig.SOURCE_CODEC_TYPE_LDAC; in audioFormatToBluetoothSourceCodec() 206 default: return BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID; in audioFormatToBluetoothSourceCodec()
|
D | AudioManager.java | 32 import android.bluetooth.BluetoothCodecConfig; 5181 public List<BluetoothCodecConfig> getHwOffloadEncodingFormatsSupportedForA2DP() { in getHwOffloadEncodingFormatsSupportedForA2DP() 5183 ArrayList<BluetoothCodecConfig> codecConfigList = new ArrayList<BluetoothCodecConfig>(); in getHwOffloadEncodingFormatsSupportedForA2DP() 5194 != BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID) { in getHwOffloadEncodingFormatsSupportedForA2DP() 5195 codecConfigList.add(new BluetoothCodecConfig(btSourceCodec)); in getHwOffloadEncodingFormatsSupportedForA2DP()
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 1834 * frameworks/base/core/java/android/bluetooth/BluetoothCodecConfig.java 1845 // Type of codec as defined by various SOURCE_CODEC_TYPE_* constants in BluetoothCodecConfig 1851 // Sample rate in Hz as defined by various SAMPLE_RATE_* constants in BluetoothCodecConfig 1854 // Bits per sample as defined by various BITS_PER_SAMPLE_* constants in BluetoothCodecConfig 1857 // Channel mode as defined by various CHANNEL_MODE_* constants in BluetoothCodecConfig 1882 * frameworks/base/core/java/android/bluetooth/BluetoothCodecConfig.java 1893 // Type of codec as defined by various SOURCE_CODEC_TYPE_* constants in BluetoothCodecConfig 1900 // in BluetoothCodecConfig 1904 // in BluetoothCodecConfig 1908 // BluetoothCodecConfig
|
/frameworks/base/config/ |
D | preloaded-classes | 671 android.bluetooth.BluetoothCodecConfig$1 672 android.bluetooth.BluetoothCodecConfig
|
D | boot-image-profile.txt | 3172 HSPLandroid/bluetooth/BluetoothCodecConfig$1;-><init>()V 3173 HPLandroid/bluetooth/BluetoothCodecConfig$1;->createFromParcel(Landroid/os/Parcel;)Landroid/bluetoo… 3174 HPLandroid/bluetooth/BluetoothCodecConfig$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Objec… 3175 HPLandroid/bluetooth/BluetoothCodecConfig$1;->newArray(I)[Landroid/bluetooth/BluetoothCodecConfig; 3176 HPLandroid/bluetooth/BluetoothCodecConfig$1;->newArray(I)[Ljava/lang/Object; 32760 Landroid/bluetooth/BluetoothCodecConfig$1; 32761 Landroid/bluetooth/BluetoothCodecConfig; 41140 HSPLandroid/bluetooth/BluetoothCodecConfig;->getBitsPerSample()I 41141 HSPLandroid/bluetooth/BluetoothCodecConfig;->getChannelMode()I 41142 HSPLandroid/bluetooth/BluetoothCodecConfig;->getCodecPriority()I [all …]
|
D | hiddenapi-greylist-max-o.txt | 10070 Landroid/bluetooth/BluetoothCodecConfig;->appendCapabilityToString(Ljava/lang/String;Ljava/lang/Str… 10071 Landroid/bluetooth/BluetoothCodecConfig;->CREATOR:Landroid/os/Parcelable$Creator; 10072 Landroid/bluetooth/BluetoothCodecConfig;->getCodecName()Ljava/lang/String; 10073 Landroid/bluetooth/BluetoothCodecConfig;->isMandatoryCodec()Z 10074 Landroid/bluetooth/BluetoothCodecConfig;->isValid()Z 10075 Landroid/bluetooth/BluetoothCodecConfig;->mBitsPerSample:I 10076 Landroid/bluetooth/BluetoothCodecConfig;->mChannelMode:I 10077 Landroid/bluetooth/BluetoothCodecConfig;->mCodecPriority:I 10078 Landroid/bluetooth/BluetoothCodecConfig;->mCodecSpecific1:J 10079 Landroid/bluetooth/BluetoothCodecConfig;->mCodecSpecific2:J [all …]
|