Home
last modified time | relevance | path

Searched refs:mask (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DAudioNativeTest.java213 for (int mask = 0; mask <= MAX_INDEX_MASK; ++mask) { in testOutputChannelMasks()
214 int channelCount = Long.bitCount(mask); in testOutputChannelMasks()
216 && ((mask & validIndexMask) != 0); in testOutputChannelMasks()
222 mask | CHANNEL_INDEX_MASK_MAGIC, 48000, false, 2); in testOutputChannelMasks()
241 for (int mask = 0; mask <= MAX_INDEX_MASK; ++mask) { in testInputChannelMasks()
242 int channelCount = Long.bitCount(mask); in testInputChannelMasks()
244 && ((mask & validIndexMask) != 0); in testInputChannelMasks()
250 mask | CHANNEL_INDEX_MASK_MAGIC, 48000, false, 2); in testInputChannelMasks()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DFloat16Utils.java167 long mask; in roundToFloat16() local
179 mask = DOUBLE_MANTISSA_MASK >> maxSigMantissaBits; in roundToFloat16()
182 long lowFloat16Mantissa = mantissa & ~mask; in roundToFloat16()
183 long highFloat16Mantissa = mantissa & ~mask; in roundToFloat16()
188 if ((mantissa & mask) != 0) { in roundToFloat16()
191 highFloat16Mantissa += mask + 1; in roundToFloat16()
265 long mask = DOUBLE_MANTISSA_MASK >> maxSigMantissaBits; in float16Ulp() local
267 if((mask & mantissa) != 0) { in float16Ulp()
275 long mask = DOUBLE_MANTISSA_MASK >> 10; in float16Ulp() local
276 if ((mantissa & mask) != 0) { in float16Ulp()
/cts/apps/CtsVerifier/jni/audio_loopback/audio_utils/
Dfifo.c51 uint32_t mask = fifo->mFrameCountP2 - 1; in audio_utils_fifo_sum() local
52 ALOG_ASSERT((index & mask) < fifo->mFrameCount); in audio_utils_fifo_sum()
54 if ((index & mask) + increment >= fifo->mFrameCount) { in audio_utils_fifo_sum()
58 ALOG_ASSERT((index & mask) < fifo->mFrameCount); in audio_utils_fifo_sum()
71 uint32_t mask = ~(fifo->mFrameCountP2 - 1); in audio_utils_fifo_diff() local
72 int32_t genDiff = (rear & mask) - (front & mask); in audio_utils_fifo_diff()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DScanFilterTest.java111 ParcelUuid mask = ParcelUuid.fromString("FFFFFFF0-FFFF-FFFF-FFFF-FFFFFFFFFFFF"); in testsetServiceUuidFilter() local
114 mask) in testsetServiceUuidFilter()
116 assertEquals(mask.toString(), filter.getServiceUuidMask().toString()); in testsetServiceUuidFilter()
142 byte[] mask = new byte[] { in testsetServiceDataFilter()
144 filter = mFilterBuilder.setServiceData(serviceDataUuid, nonMatchData, mask).build(); in testsetServiceDataFilter()
146 assertEquals(mask, filter.getServiceDataMask()); in testsetServiceDataFilter()
180 byte[] mask = new byte[] { in testManufacturerSpecificData()
183 filter = mFilterBuilder.setManufacturerData(manufacturerId, nonMatchData, mask).build(); in testManufacturerSpecificData()
186 assertEquals(mask, filter.getManufacturerDataMask()); in testManufacturerSpecificData()
/cts/tests/tests/view/src/android/view/cts/
DKeyEventTest.java243 int mask = KeyEvent.getModifierMetaStateMask(); in testGetModifierMetaStateMask() local
244 assertTrue((mask & KeyEvent.META_SHIFT_ON) != 0); in testGetModifierMetaStateMask()
245 assertTrue((mask & KeyEvent.META_SHIFT_LEFT_ON) != 0); in testGetModifierMetaStateMask()
246 assertTrue((mask & KeyEvent.META_SHIFT_RIGHT_ON) != 0); in testGetModifierMetaStateMask()
247 assertTrue((mask & KeyEvent.META_ALT_ON) != 0); in testGetModifierMetaStateMask()
248 assertTrue((mask & KeyEvent.META_ALT_LEFT_ON) != 0); in testGetModifierMetaStateMask()
249 assertTrue((mask & KeyEvent.META_ALT_RIGHT_ON) != 0); in testGetModifierMetaStateMask()
250 assertTrue((mask & KeyEvent.META_CTRL_ON) != 0); in testGetModifierMetaStateMask()
251 assertTrue((mask & KeyEvent.META_CTRL_LEFT_ON) != 0); in testGetModifierMetaStateMask()
252 assertTrue((mask & KeyEvent.META_CTRL_RIGHT_ON) != 0); in testGetModifierMetaStateMask()
[all …]
/cts/tests/tests/os/jni/seccomp-tests/tests/
Dsigsegv.c154 sigset_t mask; in TEST_F_SIGNAL() local
156 sigemptyset(&mask); in TEST_F_SIGNAL()
157 sigaddset(&mask, SIGSYS); in TEST_F_SIGNAL()
165 ret = sigprocmask(SIG_UNBLOCK, &mask, NULL); in TEST_F_SIGNAL()
Dresumption.c182 sigset_t mask; in TEST_F() local
184 sigemptyset(&mask); in TEST_F()
185 sigaddset(&mask, SIGSYS); in TEST_F()
193 ret = sigprocmask(SIG_UNBLOCK, &mask, NULL); in TEST_F()
Dseccomp_bpf_tests.c596 sigset_t mask; in TEST_F() local
598 sigemptyset(&mask); in TEST_F()
599 sigaddset(&mask, SIGSYS); in TEST_F()
607 ret = sigprocmask(SIG_UNBLOCK, &mask, NULL); in TEST_F()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DSweepTests.java100 protected void sweepModifiersForMask(int mask, final DisplayModifier drawOp, in sweepModifiersForMask() argument
102 if ((mask & DisplayModifier.Accessor.ALL_OPTIONS_MASK) == 0) { in sweepModifiersForMask()
106 final DisplayModifier.Accessor modifierAccessor = new DisplayModifier.Accessor(mask); in sweepModifiersForMask()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/tests/tests/widget/src/android/widget/cts/
DProgressBarTest.java245 int mask = 0x0000000C; // View.VISIBILITY_MASK in testSetVisibility() local
246 int expected = (progressBar.getVisibility() & ~mask) | (visibility & mask); in testSetVisibility()
251 expected = (progressBar.getVisibility() & ~mask) | (visibility & mask); in testSetVisibility()
/cts/tests/tests/os/src/android/os/cts/
DFileObserverTest.java224 public MockFileObserver(String path, int mask) { in MockFileObserver() argument
225 super(path, mask); in MockFileObserver()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DDisplayModifier.java443 public Accessor(int mask) { in Accessor() argument
444 int totalModifiers = Integer.bitCount(mask); in Accessor()
446 mMask = mask; in Accessor()
/cts/tests/vr/src/android/vr/cts/
DOpenGLESActivity.java357 int mask = findConfigAttrib(egl, display, config, in chooseConfig() local
361 (mask & EGL_MUTABLE_RENDER_BUFFER_BIT) != 0) in chooseConfig()
/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_sensor_fusion.py269 p0 = cv2.goodFeaturesToTrack(gframe0, mask=None, **FEATURE_PARAMS)
/cts/tools/dex-tools/dex/
Dclasses0.out.dex9009 private int mask
11184 transient int mask
19665 private int mask