Searched refs:CodecSad (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiUtilsTest.java | 31 import com.android.server.hdmi.HdmiUtils.CodecSad; 126 new HdmiUtils.CodecSad(Constants.AUDIO_CODEC_LPCM, sad), in testEqualsCodecSad() 127 new HdmiUtils.CodecSad(Constants.AUDIO_CODEC_LPCM, sadString)) in testEqualsCodecSad() 129 new HdmiUtils.CodecSad(Constants.AUDIO_CODEC_LPCM, sadString + "01")) in testEqualsCodecSad() 130 .addEqualityGroup(new HdmiUtils.CodecSad(Constants.AUDIO_CODEC_DD, sadString)) in testEqualsCodecSad() 132 new HdmiUtils.CodecSad(Constants.AUDIO_CODEC_DD, sadString + "01")) in testEqualsCodecSad() 140 CodecSad expectedCodec1 = new CodecSad(Constants.AUDIO_CODEC_LPCM, "011a03"); in testEqualsDeviceConfig() 141 CodecSad expectedCodec2 = new CodecSad(Constants.AUDIO_CODEC_DD, "0d0506"); in testEqualsDeviceConfig() 142 CodecSad expectedCodec3 = new CodecSad(Constants.AUDIO_CODEC_LPCM, "010203"); in testEqualsDeviceConfig() 143 CodecSad expectedCodec4 = new CodecSad(Constants.AUDIO_CODEC_DD, "040506"); in testEqualsDeviceConfig() [all …]
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiUtils.java | 639 List<CodecSad> codecSads = new ArrayList<>(); in readDeviceConfig() 658 codecSads.add(new CodecSad(format, descriptor)); in readDeviceConfig() 732 public final List<CodecSad> supportedCodecs; 734 public DeviceConfig(String name, List<CodecSad> supportedCodecs) { in DeviceConfig() 758 public static class CodecSad { class in HdmiUtils 767 public CodecSad(int audioCodec, byte[] sad) { in CodecSad() method in HdmiUtils.CodecSad 772 public CodecSad(int audioCodec, String sad) { in CodecSad() method in HdmiUtils.CodecSad 779 if (obj instanceof CodecSad) { in equals() 780 CodecSad that = (CodecSad) obj; in equals()
|
D | HdmiCecLocalDeviceAudioSystem.java | 51 import com.android.server.hdmi.HdmiUtils.CodecSad; 577 for (CodecSad codecSad : deviceConfigToUse.supportedCodecs) { in getSupportedShortAudioDescriptorsFromConfig()
|