Home
last modified time | relevance | path

Searched refs:sad (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiUtils.java673 private static byte[] readSad(String sad) { in readSad() argument
674 if (sad == null || sad.length() == 0) { in readSad()
677 byte[] sadBytes = HexDump.hexStringToByteArray(sad); in readSad()
764 public final byte[] sad; field in HdmiUtils.CodecSad
766 public CodecSad(int audioCodec, byte[] sad) { in CodecSad() argument
768 this.sad = sad; in CodecSad()
771 public CodecSad(int audioCodec, String sad) { in CodecSad() argument
773 this.sad = HexDump.hexStringToByteArray(sad); in CodecSad()
781 && Arrays.equals(that.sad, this.sad); in equals()
790 Arrays.hashCode(sad)); in hashCode()
H A DRequestSadAction.java170 byte[] sad = new byte[]{cmd.getParams()[i], cmd.getParams()[i + 1], in processCommand()
172 updateResult(sad); in processCommand()
213 private void updateResult(byte[] sad) { in updateResult() argument
214 mSupportedSads.add(sad); in updateResult()
H A DHdmiCecLocalDeviceAudioSystem.java529 byte[] sad = getSupportedShortAudioDescriptor(deviceInfo, audioCodec); in getSupportedShortAudioDescriptors()
530 if (sad != null) { in getSupportedShortAudioDescriptors()
531 if (sad.length == 3) { in getSupportedShortAudioDescriptors()
533 sads.add(sad); in getSupportedShortAudioDescriptors()
537 sad.length, audioCodec); in getSupportedShortAudioDescriptors()
563 map.put(codecSad.audioCodec, codecSad.sad); in getSupportedShortAudioDescriptorsFromConfig()
567 byte[] sad = map.get(audioCodecs[i]); in getSupportedShortAudioDescriptorsFromConfig()
568 if (sad != null && sad.length == 3) { in getSupportedShortAudioDescriptorsFromConfig()
569 sads.add(sad); in getSupportedShortAudioDescriptorsFromConfig()
580 for (byte[] sad : sads) { in getShortAudioDescriptorBytes()
[all …]
H A DHdmiCecLocalDeviceTv.java848 .map(sad -> new AudioDescriptor(AudioDescriptor.STANDARD_EDID, in notifyArcStatusToAudioService()
849 AudioProfile.AUDIO_ENCAPSULATION_TYPE_NONE, sad)) in notifyArcStatusToAudioService()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
H A DHdmiUtilsTest.java122 byte[] sad = {0x0a, 0x1b, 0x2c}; in testEqualsCodecSad()
126 new HdmiUtils.CodecSad(Constants.AUDIO_CODEC_LPCM, sad), in testEqualsCodecSad()
H A DHdmiCecLocalDeviceTvTest.java218 for (String sad : SADS_NOT_TO_QUERY) { in setUp()
220 sad, HdmiControlManager.QUERY_SAD_DISABLED); in setUp()
/aosp14/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiControlManager.java2714 for (String sad : settings) {
2715 mService.setCecSettingIntValue(sad, value);