Home
last modified time | relevance | path

Searched refs:expectedParams (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiControlServiceTest.java1163 byte[] expectedParams; in onReceived()
1166 expectedParams = new byte[params.length]; in onReceived()
1167 expectedParams[0] = (byte) ((mVendorId >> 16) & 0xFF); in onReceived()
1168 expectedParams[1] = (byte) ((mVendorId >> 8) & 0xFF); in onReceived()
1169 expectedParams[2] = (byte) (mVendorId & 0xFF); in onReceived()
1170 System.arraycopy(mParams, 0, expectedParams, 3, mParams.length); in onReceived()
1172 expectedParams = params.clone(); in onReceived()
1174 if (Arrays.equals(expectedParams, params)) { in onReceived()
/frameworks/av/media/libeffects/dynamicsproc/
DEffectDynamicsProcessing.cpp368 bool DP_checkSizesInt(uint32_t paramSize, uint32_t valueSize, uint32_t expectedParams, in DP_checkSizesInt() argument
370 if (paramSize < expectedParams * sizeof(int32_t)) { in DP_checkSizesInt()
372 (uint32_t)(expectedParams * sizeof(int32_t))); in DP_checkSizesInt()