Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUSBAudioPeripheralAttributesActivity.java25 import com.android.cts.verifier.audio.peripheralprofile.ListsHelper;
72 … } else if (!ListsHelper.isSubset(deviceInfo.getChannelCounts(), attribs.mChannelCounts)) { in updateConnectStatus()
74 " d" + ListsHelper.textFormatDecimal(deviceInfo.getChannelCounts()) + in updateConnectStatus()
75 " p" + ListsHelper.textFormatDecimal(attribs.mChannelCounts) +"\n"); in updateConnectStatus()
81 } else if (!ListsHelper.isSubset(deviceInfo.getEncodings(), attribs.mEncodings)) { in updateConnectStatus()
83 " d" + ListsHelper.textFormatHex(deviceInfo.getEncodings()) + in updateConnectStatus()
84 " p" + ListsHelper.textFormatHex(attribs.mEncodings) + "\n"); in updateConnectStatus()
90 … } else if (!ListsHelper.isSubset(deviceInfo.getSampleRates(), attribs.mSampleRates)) { in updateConnectStatus()
92 " d" + ListsHelper.textFormatHex(deviceInfo.getSampleRates()) + in updateConnectStatus()
93 " p" + ListsHelper.textFormatHex(attribs.mSampleRates) + "\n"); in updateConnectStatus()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/
DPeripheralProfile.java22 import com.android.cts.verifier.audio.peripheralprofile.ListsHelper;
110 ListsHelper.isMatch(deviceInfo.getChannelCounts(), attribs.mChannelCounts) && in matches()
111 ListsHelper.isMatch(deviceInfo.getChannelIndexMasks(), attribs.mChannelIndexMasks) && in matches()
112 ListsHelper.isMatch(deviceInfo.getChannelMasks(), attribs.mChannelPositionMasks) && in matches()
113 ListsHelper.isMatch(deviceInfo.getEncodings(), attribs.mEncodings) && in matches()
114 ListsHelper.isMatch(deviceInfo.getSampleRates(), attribs.mSampleRates); in matches()
DListsHelper.java19 public class ListsHelper { class