Home
last modified time | relevance | path

Searched refs:sads (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DAdiDeviceState.java195 final AdiDeviceState sads = (AdiDeviceState) obj; in equals() local
196 return mDeviceType == sads.mDeviceType in equals()
197 && mInternalDeviceType == sads.mInternalDeviceType in equals()
198 && mDeviceAddress.equals(sads.mDeviceAddress) // NonNull in equals()
199 && mSAEnabled == sads.mSAEnabled in equals()
200 && mHasHeadTracker == sads.mHasHeadTracker in equals()
201 && mHeadTrackerEnabled == sads.mHeadTrackerEnabled in equals()
202 && mAudioDeviceCategory == sads.mAudioDeviceCategory; in equals()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystem.java542 ArrayList<byte[]> sads = new ArrayList<>(audioCodecs.length); in getSupportedShortAudioDescriptors() local
548 sads.add(sad); in getSupportedShortAudioDescriptors()
556 return getShortAudioDescriptorBytes(sads); in getSupportedShortAudioDescriptors()
576 ArrayList<byte[]> sads = new ArrayList<>(audioCodecs.length); in getSupportedShortAudioDescriptorsFromConfig() local
584 sads.add(sad); in getSupportedShortAudioDescriptorsFromConfig()
588 return getShortAudioDescriptorBytes(sads); in getSupportedShortAudioDescriptorsFromConfig()
591 private byte[] getShortAudioDescriptorBytes(ArrayList<byte[]> sads) { in getShortAudioDescriptorBytes() argument
593 byte[] bytes = new byte[sads.size() * 3]; in getShortAudioDescriptorBytes()
595 for (byte[] sad : sads) { in getShortAudioDescriptorBytes()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DRequestSadActionTest.java85 private static byte[] concatenateSads(List<byte[]> sads) { in concatenateSads() argument
86 byte[] concatenatedSads = new byte[sads.size() * 3]; in concatenateSads()
87 for (int i = 0; i < sads.size(); i++) { in concatenateSads()
89 concatenatedSads[3 * i + j] = sads.get(i)[j]; in concatenateSads()