/cts/tests/tests/media/src/android/media/cts/ |
D | AudioNativeTest.java | 226 for (int mask = 0; mask <= MAX_INDEX_MASK; ++mask) { in testOutputChannelMasks() 227 int channelCount = Long.bitCount(mask); in testOutputChannelMasks() 229 && ((mask & validIndexMask) != 0); in testOutputChannelMasks() 235 mask | CHANNEL_INDEX_MASK_MAGIC, 48000, false, 2); in testOutputChannelMasks() 269 for (int mask = 0; mask <= MAX_INDEX_MASK; ++mask) { in testInputChannelMasksPreQ() 270 int channelCount = Long.bitCount(mask); in testInputChannelMasksPreQ() 272 && ((mask & validIndexMask) != 0); in testInputChannelMasksPreQ() 278 mask | CHANNEL_INDEX_MASK_MAGIC, 48000, false, 2); in testInputChannelMasksPreQ() 306 for (int mask : posChannelMasks) { in testInputChannelMasksPostQ() 307 int channelCount = AudioFormat.channelCountFromInChannelMask(mask); in testInputChannelMasksPostQ() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | Float16Utils.java | 167 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/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | ScanFilterTest.java | 112 ParcelUuid mask = ParcelUuid.fromString("FFFFFFF0-FFFF-FFFF-FFFF-FFFFFFFFFFFF"); in testsetServiceUuidFilter() local 115 mask) in testsetServiceUuidFilter() 117 assertEquals(mask.toString(), filter.getServiceUuidMask().toString()); in testsetServiceUuidFilter() 135 ParcelUuid mask = ParcelUuid.fromString("FFFFFFF0-FFFF-FFFF-FFFF-FFFFFFFFFFFF"); in testsetServiceSolicitationUuidFilter() local 137 .setServiceSolicitationUuid(ParcelUuid.fromString(UUID3), mask) in testsetServiceSolicitationUuidFilter() 139 assertEquals(mask.toString(), filter.getServiceSolicitationUuidMask().toString()); in testsetServiceSolicitationUuidFilter() 165 byte[] mask = new byte[] { in testsetServiceDataFilter() 167 filter = mFilterBuilder.setServiceData(serviceDataUuid, nonMatchData, mask).build(); in testsetServiceDataFilter() 169 assertEquals(mask, filter.getServiceDataMask()); in testsetServiceDataFilter() 203 byte[] mask = new byte[] { in testManufacturerSpecificData() [all …]
|
/cts/apps/CtsVerifier/jni/audio_loopback/audio_utils/ |
D | fifo.c | 51 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/keystore/src/android/keystore/cts/ |
D | ImportWrappedKeyTest.java | 92 byte[] mask = new byte[32]; // Zero mask in testKeyStore_ImportWrappedKey() 105 mask, in testKeyStore_ImportWrappedKey() local 155 byte[] mask = new byte[24]; // Zero mask in testKeyStore_ImportWrappedKey_3DES() 168 mask, in testKeyStore_ImportWrappedKey_3DES() local 203 byte[] mask = new byte[24]; // Zero mask in testKeyStore_ImportWrappedKey_3DES_StrongBox() 208 mask, in testKeyStore_ImportWrappedKey_3DES_StrongBox() local 243 byte[] mask = new byte[32]; // Zero mask in testKeyStore_ImportWrappedKey_AES_StrongBox() 248 mask, in testKeyStore_ImportWrappedKey_AES_StrongBox() local 275 byte[] mask = new byte[32]; // Zero mask in testKeyStore_ImportWrappedKey_AES_StrongBox() 280 mask, in testKeyStore_ImportWrappedKey_AES_StrongBox() local [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8425/ |
D | poc.c | 53 cpu_set_t mask; in set_affinity() local 54 CPU_ZERO(&mask); in set_affinity() 55 CPU_SET(num, &mask); in set_affinity() 56 ret = sched_setaffinity(0, sizeof(cpu_set_t), &mask); in set_affinity()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8426/ |
D | poc.c | 53 cpu_set_t mask; in set_affinity() local 54 CPU_ZERO(&mask); in set_affinity() 55 CPU_SET(num, &mask); in set_affinity() 56 ret = sched_setaffinity(0, sizeof(cpu_set_t), &mask); in set_affinity()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6732/ |
D | poc.c | 87 cpu_set_t mask; in set_affinity() local 88 CPU_ZERO(&mask); in set_affinity() 89 CPU_SET(num, &mask); in set_affinity() 90 ret = sched_setaffinity(0, sizeof(cpu_set_t), &mask); in set_affinity()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6734/ |
D | poc.c | 92 cpu_set_t mask; in set_affinity() local 93 CPU_ZERO(&mask); in set_affinity() 94 CPU_SET(num, &mask); in set_affinity() 95 ret = sched_setaffinity(0, sizeof(cpu_set_t), &mask); in set_affinity()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6735/ |
D | poc.c | 93 cpu_set_t mask; in set_affinity() local 94 CPU_ZERO(&mask); in set_affinity() 95 CPU_SET(num, &mask); in set_affinity() 96 ret = sched_setaffinity(0, sizeof(cpu_set_t), &mask); in set_affinity()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6733/ |
D | poc.c | 86 cpu_set_t mask; in set_affinity() local 87 CPU_ZERO(&mask); in set_affinity() 88 CPU_SET(num, &mask); in set_affinity() 89 ret = sched_setaffinity(0, sizeof(cpu_set_t), &mask); in set_affinity()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6731/ |
D | poc.c | 95 cpu_set_t mask; in set_affinity() local 96 CPU_ZERO(&mask); in set_affinity() 97 CPU_SET(num, &mask); in set_affinity() 98 ret = sched_setaffinity(0, sizeof(cpu_set_t), &mask); in set_affinity()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6730/ |
D | poc.c | 95 cpu_set_t mask; in set_affinity() local 96 CPU_ZERO(&mask); in set_affinity() 97 CPU_SET(num, &mask); in set_affinity() 98 ret = sched_setaffinity(0, sizeof(cpu_set_t), &mask); in set_affinity()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6736/ |
D | poc.c | 107 cpu_set_t mask; in set_affinity() local 108 CPU_ZERO(&mask); in set_affinity() 109 CPU_SET(num, &mask); in set_affinity() 110 ret = sched_setaffinity(0, sizeof(cpu_set_t), &mask); in set_affinity()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8432/ |
D | poc.c | 49 cpu_set_t mask; in set_affinity() local 50 CPU_ZERO(&mask); in set_affinity() 51 CPU_SET(num, &mask); in set_affinity() 52 ret = sched_setaffinity(0, sizeof(cpu_set_t), &mask); in set_affinity()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8479/ |
D | poc.c | 119 cpu_set_t mask; in set_affinity() local 120 CPU_ZERO(&mask); in set_affinity() 121 CPU_SET(num, &mask); in set_affinity() 122 ret = sched_setaffinity(0, sizeof(cpu_set_t), &mask); in set_affinity()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8482/ |
D | poc.c | 72 cpu_set_t mask; in set_affinity() local 73 CPU_ZERO(&mask); in set_affinity() 74 CPU_SET(num, &mask); in set_affinity() 75 ret = sched_setaffinity(0, sizeof(cpu_set_t), &mask); in set_affinity()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | KeyEventTest.java | 313 int mask = KeyEvent.getModifierMetaStateMask(); in testGetModifierMetaStateMask() local 314 assertTrue((mask & KeyEvent.META_SHIFT_ON) != 0); in testGetModifierMetaStateMask() 315 assertTrue((mask & KeyEvent.META_SHIFT_LEFT_ON) != 0); in testGetModifierMetaStateMask() 316 assertTrue((mask & KeyEvent.META_SHIFT_RIGHT_ON) != 0); in testGetModifierMetaStateMask() 317 assertTrue((mask & KeyEvent.META_ALT_ON) != 0); in testGetModifierMetaStateMask() 318 assertTrue((mask & KeyEvent.META_ALT_LEFT_ON) != 0); in testGetModifierMetaStateMask() 319 assertTrue((mask & KeyEvent.META_ALT_RIGHT_ON) != 0); in testGetModifierMetaStateMask() 320 assertTrue((mask & KeyEvent.META_CTRL_ON) != 0); in testGetModifierMetaStateMask() 321 assertTrue((mask & KeyEvent.META_CTRL_LEFT_ON) != 0); in testGetModifierMetaStateMask() 322 assertTrue((mask & KeyEvent.META_CTRL_RIGHT_ON) != 0); in testGetModifierMetaStateMask() [all …]
|
/cts/tests/tests/location/src/android/location/cts/asn1/base/ |
D | BitStreamReader.java | 70 int mask = (1 << (8 - bitsRead)) - 1; in readByte() local 71 byte result = (byte) ((buffer[position] & mask) << bitsRead); in readByte()
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_MediaVulkanGpuTest.cpp | 41 uint32_t mask = 0x000000FF << shift; in fuzzyMatch() local 43 int32_t value1Masked = static_cast<int32_t>((value1 & mask) >> shift); in fuzzyMatch() 44 int32_t value2Masked = static_cast<int32_t>((value2 & mask) >> shift); in fuzzyMatch()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | SweepTests.java | 102 protected void sweepModifiersForMask(int mask, final DisplayModifier drawOp, in sweepModifiersForMask() argument 104 if ((mask & DisplayModifier.Accessor.ALL_OPTIONS_MASK) == 0) { in sweepModifiersForMask() 108 final DisplayModifier.Accessor modifierAccessor = new DisplayModifier.Accessor(mask); in sweepModifiersForMask()
|
D | Rgba16fTests.java | 98 Bitmap mask = Bitmap.createBitmap(res.getWidth(), res.getHeight(), in testMasked() 100 Canvas c = new Canvas(mask); in testMasked() 111 canvas.drawBitmap(mask, 0, 0, p); in testMasked()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapRGBAF16Test.java | 147 Bitmap mask = Bitmap.createBitmap(res.getWidth(), res.getHeight(), in testCopyFromA8() local 149 Canvas c = new Canvas(mask); in testCopyFromA8() 152 Bitmap b = mask.copy(Config.RGBA_F16, false); in testCopyFromA8()
|
/cts/tests/tests/libcoreapievolution/src/android/apievolution/cts/ |
D | ApiEvolutionTest.java | 199 int mask = syntheticMask | bridgeMask; in assertSyntheticMethodOverloadExists() local 204 originalModifiers | mask, in assertSyntheticMethodOverloadExists() 205 syntheticModifiers | mask); in assertSyntheticMethodOverloadExists()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | FileObserverTest.java | 366 public MockFileObserver(File file, int mask) { in MockFileObserver() argument 367 super(file, mask); in MockFileObserver() 374 public MockFileObserver(List<File> files, int mask) { in MockFileObserver() argument 375 super(files, mask); in MockFileObserver()
|