Searched refs:sads (Results 1 – 3 of 3) sorted by relevance
195 final AdiDeviceState sads = (AdiDeviceState) obj; in equals() local196 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()
542 ArrayList<byte[]> sads = new ArrayList<>(audioCodecs.length); in getSupportedShortAudioDescriptors() local548 sads.add(sad); in getSupportedShortAudioDescriptors()556 return getShortAudioDescriptorBytes(sads); in getSupportedShortAudioDescriptors()576 ArrayList<byte[]> sads = new ArrayList<>(audioCodecs.length); in getSupportedShortAudioDescriptorsFromConfig() local584 sads.add(sad); in getSupportedShortAudioDescriptorsFromConfig()588 return getShortAudioDescriptorBytes(sads); in getSupportedShortAudioDescriptorsFromConfig()591 private byte[] getShortAudioDescriptorBytes(ArrayList<byte[]> sads) { in getShortAudioDescriptorBytes() argument593 byte[] bytes = new byte[sads.size() * 3]; in getShortAudioDescriptorBytes()595 for (byte[] sad : sads) { in getShortAudioDescriptorBytes()
85 private static byte[] concatenateSads(List<byte[]> sads) { in concatenateSads() argument86 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()