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.java26 import com.android.cts.verifier.audio.peripheralprofile.ListsHelper;
197 … } else if (!ListsHelper.isSubset(deviceInfo.getChannelCounts(), attribs.mChannelCounts)) { in updateConnectStatus()
199 " d" + ListsHelper.textFormatDecimal(deviceInfo.getChannelCounts()) + in updateConnectStatus()
200 " p" + ListsHelper.textFormatDecimal(attribs.mChannelCounts) +"\n"); in updateConnectStatus()
206 } else if (!ListsHelper.isSubset(deviceInfo.getEncodings(), attribs.mEncodings)) { in updateConnectStatus()
208 " d" + ListsHelper.textFormatHex(deviceInfo.getEncodings()) + in updateConnectStatus()
209 " p" + ListsHelper.textFormatHex(attribs.mEncodings) + "\n"); in updateConnectStatus()
215 … } else if (!ListsHelper.isSubset(deviceInfo.getSampleRates(), attribs.mSampleRates)) { in updateConnectStatus()
217 " d" + ListsHelper.textFormatHex(deviceInfo.getSampleRates()) + in updateConnectStatus()
218 " 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