/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/ |
D | SensorOperationTest.java | 50 SensorOperation op = new FakeSensorOperation(opDurationMs, TimeUnit.MILLISECONDS); in testFakeSensorOperation() local 52 assertFalse(op.getStats().flatten().containsKey("executed")); in testFakeSensorOperation() 54 op.execute(mTestNode); in testFakeSensorOperation() 57 assertTrue(op.getStats().flatten().containsKey("executed")); in testFakeSensorOperation() 59 op = new FakeSensorOperation(true, 0, TimeUnit.MILLISECONDS); in testFakeSensorOperation() 61 op.execute(mTestNode); in testFakeSensorOperation() 66 assertTrue(op.getStats().flatten().keySet().contains(SensorStats.ERROR)); in testFakeSensorOperation() 77 SensorOperation op = new DelaySensorOperation(subOp, opDurationMs, TimeUnit.MILLISECONDS); 80 op.execute(mTestNode); 93 ParallelSensorOperation op = new ParallelSensorOperation(); [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | RegionTest.java | 346 assertFalse(mRegion.op(rect1, Region.Op.DIFFERENCE)); in verifyNullRegionOp1() 347 assertFalse(mRegion.op(rect1, Region.Op.INTERSECT)); in verifyNullRegionOp1() 348 assertFalse(mRegion.op(rect1, Region.Op.UNION)); in verifyNullRegionOp1() 349 assertFalse(mRegion.op(rect1, Region.Op.XOR)); in verifyNullRegionOp1() 350 assertFalse(mRegion.op(rect1, Region.Op.REVERSE_DIFFERENCE)); in verifyNullRegionOp1() 351 assertFalse(mRegion.op(rect1, Region.Op.REPLACE)); in verifyNullRegionOp1() 361 assertTrue(mRegion.op(rect1, Region.Op.DIFFERENCE)); in verifyDifferenceOp1() 366 assertTrue(mRegion.op(rect3, Region.Op.DIFFERENCE)); in verifyDifferenceOp1() 373 assertTrue(mRegion.op(rect4, Region.Op.DIFFERENCE)); in verifyDifferenceOp1() 379 assertTrue(mRegion.op(rect5, Region.Op.DIFFERENCE)); in verifyDifferenceOp1() [all …]
|
D | RegionIteratorTest.java | 67 region.op(rect, Region.Op.UNION); in testNext() 94 region.op(rect, Region.Op.DIFFERENCE); in testNext() 116 region.op(rect, Region.Op.INTERSECT); in testNext() 133 region.op(rect, Region.Op.REVERSE_DIFFERENCE); in testNext() 155 region.op(rect, Region.Op.XOR); in testNext()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8460/ |
D | poc.c | 127 struct nvmap_create_handle op = {0}; in main() local 128 op.size = 0x1000; in main() 129 ioctl(g_fd, NVMAP_IOC_CREATE, &op); in main() 130 handles[i] = op.handle; in main() 133 alloc.handle = op.handle; in main()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorBatchingFifoTest.java | 102 TestSensorOperation op = TestSensorOperation.createFlushOperation( in runBatchingSensorFifoTest() local 105 op.addVerification(FifoLengthVerification.getDefault(environment)); in runBatchingSensorFifoTest() 106 op.execute(getCurrentTestNode()); in runBatchingSensorFifoTest() 107 op.getStats().log(TAG); in runBatchingSensorFifoTest()
|
D | SingleSensorTests.java | 588 TestSensorOperation op = in runSensorTest() local 590 op.addDefaultVerifications(); in runSensorTest() 593 op.execute(getCurrentTestNode()); in runSensorTest() 595 SensorStats stats = op.getStats(); in runSensorTest()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | AtomicTest.rs | 38 #define TEST_OP(op) \ 39 void __attribute__((kernel)) test_##op(int32_t v) { \ 40 rsAtomic##op(&gISum, v); \ 42 void __attribute__((kernel)) test_u##op(uint32_t v) { \ 43 rsAtomic##op(&gUSum, v); \
|
/cts/tests/tests/os/src/android/os/cts/ |
D | WorkSourceTest.java | 113 private void failWorkSource(String op, WorkSource ws, int[] uids) { in failWorkSource() argument 115 sb.append(op); in failWorkSource() 123 private void failWorkSource(String op, WorkSource ws, int[] uids, String[] names) { in failWorkSource() argument 125 sb.append(op); in failWorkSource() 133 private void checkWorkSource(String op, WorkSource ws, int[] uids) { in checkWorkSource() argument 136 fail(op + ": WorkSource is not null " + ws +", but expected null"); in checkWorkSource() 139 fail(op + "WorkSource is null, but expected non-null: " + Arrays.toString(uids)); in checkWorkSource() 144 failWorkSource(op, ws, uids); in checkWorkSource() 148 failWorkSource(op, ws, uids); in checkWorkSource() 153 private void checkWorkSource(String op, WorkSource ws, int[] uids, String[] names) { in checkWorkSource() argument [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | DeviceSuspendTestActivity.java | 290 TestSensorOperation op = TestSensorOperation.createOperation(environment, in runAPWakeUpWhenReportLatencyExpires() local 297 op.addVerification(BatchArrivalVerification.getDefault(environment)); in runAPWakeUpWhenReportLatencyExpires() 303 op.execute(getCurrentTestNode()); in runAPWakeUpWhenReportLatencyExpires() 341 TestSensorOperation op = TestSensorOperation.createOperation(environment, in runAPWakeUpWhenFIFOFull() local 347 op.addDefaultVerifications(); in runAPWakeUpWhenFIFOFull() 350 op.execute(getCurrentTestNode()); in runAPWakeUpWhenFIFOFull() 404 …TestSensorOperation op = TestSensorOperation.createOperation(environment, MIN_TIMESTAMP_BASE_SAMPL… in runVerifySensorTimestampClockbase() local 405 op.addVerification(TimestampClockSourceVerification.getDefault(environment)); in runVerifySensorTimestampClockbase() 407 op.execute(getCurrentTestNode()); in runVerifySensorTimestampClockbase() 436 TestSensorOperation op = TestSensorOperation.createOperation(environment, in runAPWakeUpByAlarmNonWakeSensor() local [all …]
|
D | CtsMediaTextureRender.java | 245 public void checkGlError(String op) { in checkGlError() argument 248 Log.e(TAG, op + ": glError " + error); in checkGlError() 249 throw new RuntimeException(op + ": glError " + error); in checkGlError()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AdaptiveIconMaskTest.java | 107 boolean result = maskRegion.op(safeZoneRegion, intersectRegion, Region.Op.INTERSECT); in testDeviceConfigMask_largerThanSafezone() 112 result = safeZoneRegion.op(intersectRegion, subtractRegion, Op.DIFFERENCE); in testDeviceConfigMask_largerThanSafezone() 147 circle99.op(maskPath, Path.Op.DIFFERENCE); in isCircle() 149 maskPath.op(circle101, Path.Op.DIFFERENCE); in isCircle()
|
/cts/tests/tests/opengl/libopengltest/ |
D | color_one.h | 30 static void checkGlError(const char* op);
|
D | color_one.cpp | 125 static void checkGlError(const char* op) { in checkGlError() argument 128 LOGI("after %s() glError (0x%x)\n", op, error); in checkGlError()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | SettingsIncidentTest.java | 79 for (SettingsOperationProto op : ops) { in verifySettings() 80 assertTrue(op.getTimestamp() >= 0); in verifySettings() 81 assertNotNull(op.getOperation()); in verifySettings() 85 assertTrue(op.getOperation().isEmpty()); in verifySettings() 86 assertTrue(op.getSetting().isEmpty()); in verifySettings()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BitmapFilterTests.java | 161 whiteArea.op(blackArea, Region.Op.DIFFERENCE); in testDrawSnapped() 183 whiteArea.op(blackArea, Region.Op.DIFFERENCE); in testDrawHalfPixelFiltered() 184 whiteArea.op(greyArea1, Region.Op.DIFFERENCE); in testDrawHalfPixelFiltered() 185 whiteArea.op(greyArea2, Region.Op.DIFFERENCE); in testDrawHalfPixelFiltered()
|
/cts/tests/openglperf2/src/android/opengl2/cts/reference/ |
D | GLGameActivity.java | 154 BitmapFactory.Options op = new BitmapFactory.Options(); in loadTexture() local 155 op.inPreferredConfig = Bitmap.Config.ARGB_8888; in loadTexture() 156 Bitmap bmp = BitmapFactory.decodeStream(in, null, op); in loadTexture()
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | TextureTestRenderer.java | 177 private void checkGlError(GL10 gl, String op) { in checkGlError() argument 180 Log.e(TAG, op + ": glError " + error); in checkGlError() 181 throw new IllegalStateException(op + ": glError " + error); in checkGlError()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8428/ |
D | poc.c | 67 __s32 op; /* wb/wb_inv/inv */ member 171 g_op_list.op = NVMAP_PAGES_RESERVE; in prepare_data()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | TextureRender.java | 241 public void checkGlError(String op) { in checkGlError() argument 244 Log.e(TAG, op + ": glError " + error); in checkGlError() 245 throw new RuntimeException(op + ": glError " + error); in checkGlError()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | WrapperTest.java | 221 public void checkGlError(String op) { in checkGlError() argument 224 Log.e(TAG, op + ": glError " + error); in checkGlError() 225 throw new RuntimeException(op + ": glError " + error); in checkGlError()
|
D | EglConfigGLSurfaceView.java | 208 private void checkGlError(String op) { in checkGlError() argument 211 Log.e(TAG, op + ": glError " + error); in checkGlError() 212 throw new RuntimeException(op + ": glError " + error); in checkGlError()
|
D | CompressedTextureSurfaceView.java | 383 private void checkGlError(String op) { in checkGlError() argument 386 Log.e(TAG, op + ": glError " + error); in checkGlError() 387 throw new RuntimeException(op + ": glError " + error); in checkGlError()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | SurfaceTextureRenderer.java | 290 private void checkGlError(String op) { in checkGlError() argument 293 Log.e(TAG, op + ": glError " + error); in checkGlError() 294 throw new RuntimeException(op + ": glError " + error); in checkGlError()
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_CameraGpuCtsActivity.cpp | 85 static void checkGlError(const char* op) { in checkGlError() argument 88 ALOGW("after %s() glError (0x%x)\n", op, error); in checkGlError()
|
/cts/tests/tests/security/jni/ |
D | android_security_cts_NativeCodeTest.cpp | 139 static inline int futex_syscall(volatile int* uaddr, int op, int val, const struct timespec* ts, in futex_syscall() argument 141 return syscall(__NR_futex, uaddr, op, val, ts, uaddr2, val3); in futex_syscall()
|