/cts/tests/tests/hardware/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 | 343 assertFalse(mRegion.op(rect1, Region.Op.DIFFERENCE)); in assertNullRegionOp1() 344 assertFalse(mRegion.op(rect1, Region.Op.INTERSECT)); in assertNullRegionOp1() 345 assertFalse(mRegion.op(rect1, Region.Op.UNION)); in assertNullRegionOp1() 346 assertFalse(mRegion.op(rect1, Region.Op.XOR)); in assertNullRegionOp1() 347 assertFalse(mRegion.op(rect1, Region.Op.REVERSE_DIFFERENCE)); in assertNullRegionOp1() 348 assertFalse(mRegion.op(rect1, Region.Op.REPLACE)); in assertNullRegionOp1() 359 assertTrue(mRegion.op(rect1, Region.Op.DIFFERENCE)); in assertDifferenceOp1() 364 assertTrue(mRegion.op(rect3, Region.Op.DIFFERENCE)); in assertDifferenceOp1() 371 assertTrue(mRegion.op(rect4, Region.Op.DIFFERENCE)); in assertDifferenceOp1() 377 assertTrue(mRegion.op(rect5, Region.Op.DIFFERENCE)); in assertDifferenceOp1() [all …]
|
D | RegionIteratorTest.java | 55 region.op(rect, Region.Op.UNION); in testNext() 82 region.op(rect, Region.Op.DIFFERENCE); in testNext() 104 region.op(rect, Region.Op.INTERSECT); in testNext() 121 region.op(rect, Region.Op.REVERSE_DIFFERENCE); in testNext() 143 region.op(rect, Region.Op.XOR); in testNext()
|
/cts/tests/tests/hardware/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 | 552 TestSensorOperation op = in runSensorTest() local 554 op.addDefaultVerifications(); in runSensorTest() 557 op.execute(getCurrentTestNode()); in runSensorTest() 559 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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | DeviceSuspendTestActivity.java | 286 TestSensorOperation op = TestSensorOperation.createOperation(environment, in runAPWakeUpWhenReportLatencyExpires() local 293 op.addVerification(BatchArrivalVerification.getDefault(environment)); in runAPWakeUpWhenReportLatencyExpires() 299 op.execute(getCurrentTestNode()); in runAPWakeUpWhenReportLatencyExpires() 337 TestSensorOperation op = TestSensorOperation.createOperation(environment, in runAPWakeUpWhenFIFOFull() local 343 op.addDefaultVerifications(); in runAPWakeUpWhenFIFOFull() 346 op.execute(getCurrentTestNode()); in runAPWakeUpWhenFIFOFull() 400 …TestSensorOperation op = TestSensorOperation.createOperation(environment, MIN_TIMESTAMP_BASE_SAMPL… in runVerifySensorTimestampClockbase() local 401 op.addVerification(TimestampClockSourceVerification.getDefault(environment)); in runVerifySensorTimestampClockbase() 403 op.execute(getCurrentTestNode()); in runVerifySensorTimestampClockbase() 432 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/os/src/android/os/cts/ |
D | WorkSourceTest.java | 119 private void failWorkSource(String op, WorkSource ws, int[] uids) { in failWorkSource() argument 121 sb.append(op); in failWorkSource() 129 private void failWorkSource(String op, WorkSource ws, int[] uids, String[] names) { in failWorkSource() argument 131 sb.append(op); in failWorkSource() 139 private void checkWorkSource(String op, WorkSource ws, int[] uids) { in checkWorkSource() argument 142 fail(op + ": WorkSource is not null " + ws +", but expected null"); in checkWorkSource() 145 fail(op + "WorkSource is null, but expected non-null: " + uids); in checkWorkSource() 150 failWorkSource(op, ws, uids); in checkWorkSource() 154 failWorkSource(op, ws, uids); in checkWorkSource() 159 private void checkWorkSource(String op, WorkSource ws, int[] uids, String[] names) { in checkWorkSource() argument [all …]
|
/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/tests/openglperf2/src/android/opengl2/cts/reference/ |
D | GLGameActivity.java | 153 BitmapFactory.Options op = new BitmapFactory.Options(); in loadTexture() local 154 op.inPreferredConfig = Bitmap.Config.ARGB_8888; in loadTexture() 155 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()
|
D | PlanetsRenderer.java | 382 private void checkGlError(String op) { in checkGlError() argument 385 Log.e(TAG, op + ": glError " + error); in checkGlError() 386 throw new IllegalStateException(op + ": glError " + error); in checkGlError()
|
/cts/tests/tests/graphics/src/android/opengl/cts/ |
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 | 413 private void checkGlError(String op) { in checkGlError() argument 416 Log.e(TAG, op + ": glError " + error); in checkGlError() 417 throw new RuntimeException(op + ": glError " + error); in checkGlError()
|
/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()
|
D | EncodeVirtualDisplayWithCompositionTest.java | 1053 static void checkGlError(String op) throws GlException { in checkGlError() argument 1056 Log.e(TAG, op + ": glError " + error); in checkGlError() 1057 throw new GlException(op + ": glError " + error); in checkGlError()
|
D | DecodeAccuracyTestBase.java | 1064 public void checkGlError(String op) { in checkGlError() argument 1067 Log.e(TAG, op + ": glError " + error); in checkGlError() 1068 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/opengl/src/android/opengl/cts/ |
D | WrapperTest.java | 216 public void checkGlError(String op) { in checkGlError() argument 219 Log.e(TAG, op + ": glError " + error); in checkGlError() 220 throw new RuntimeException(op + ": glError " + error); in checkGlError()
|
D | FramebufferTest.java | 132 private static void checkGlError(String op) { in checkGlError() argument 135 String msg = op + ": glError 0x" + Integer.toHexString(error); in checkGlError()
|
/cts/tests/tests/security/jni/ |
D | android_security_cts_NativeCodeTest.cpp | 179 static inline int futex_syscall(volatile int* uaddr, int op, int val, const struct timespec* ts, in futex_syscall() argument 181 return syscall(__NR_futex, uaddr, op, val, ts, uaddr2, val3); in futex_syscall()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraGLTest.java | 837 private void checkGlError(String op) { in checkGlError() argument 840 Log.e(TAG, op + ": glError " + error); in checkGlError() 841 throw new RuntimeException(op + ": glError " + error); in checkGlError()
|
/cts/tests/tests/os/jni/seccomp-tests/tests/ |
D | seccomp_bpf_tests.c | 1300 int seccomp(unsigned int op, unsigned int flags, struct sock_fprog *filter) in seccomp() argument 1303 return syscall(__NR_seccomp, op, flags, filter); in seccomp()
|