Home
last modified time | relevance | path

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

12

/cts/tests/sensor/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.java346 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 …]
DRegionIteratorTest.java67 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/
Dpoc.c127 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/
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.java588 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/
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/tests/tests/os/src/android/os/cts/
DWorkSourceTest.java113 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/
DDeviceSuspendTestActivity.java290 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 …]
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/graphics/src/android/graphics/drawable/cts/
DAdaptiveIconMaskTest.java107 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/
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/hostsidetests/incident/src/com/android/server/cts/
DSettingsIncidentTest.java79 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/
DBitmapFilterTests.java161 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/
DGLGameActivity.java154 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/
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()
/cts/hostsidetests/security/securityPatch/CVE-2016-8428/
Dpoc.c67 __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/
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()
/cts/tests/tests/opengl/src/android/opengl/cts/
DWrapperTest.java221 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()
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.java383 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/
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/graphics/jni/
Dandroid_graphics_cts_CameraGpuCtsActivity.cpp85 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/
Dandroid_security_cts_NativeCodeTest.cpp139 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()

12