Home
last modified time | relevance | path

Searched refs:op (Results 1 – 25 of 32) sorted by relevance

12

/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/
DSensorOperationTest.java50 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/
DRegionTest.java343 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 …]
DRegionIteratorTest.java55 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/
DSensorBatchingFifoTest.java102 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()
DSingleSensorTests.java552 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/
DAtomicTest.rs38 #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/
DDeviceSuspendTestActivity.java286 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 …]
DCtsMediaTextureRender.java245 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/
DWorkSourceTest.java119 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/
Dcolor_one.h30 static void checkGlError(const char* op);
Dcolor_one.cpp125 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/
DGLGameActivity.java153 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/
DTextureTestRenderer.java177 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()
DPlanetsRenderer.java382 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/
DEglConfigGLSurfaceView.java208 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()
DCompressedTextureSurfaceView.java413 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/
DTextureRender.java241 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()
DEncodeVirtualDisplayWithCompositionTest.java1053 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()
DDecodeAccuracyTestBase.java1064 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/
DSurfaceTextureRenderer.java290 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/
DWrapperTest.java216 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()
DFramebufferTest.java132 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/
Dandroid_security_cts_NativeCodeTest.cpp179 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/
DCameraGLTest.java837 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/
Dseccomp_bpf_tests.c1300 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()

12