/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 | 347 assertFalse(mRegion.op(rect1, Region.Op.DIFFERENCE)); in verifyNullRegionOp1() 348 assertFalse(mRegion.op(rect1, Region.Op.INTERSECT)); in verifyNullRegionOp1() 349 assertFalse(mRegion.op(rect1, Region.Op.UNION)); in verifyNullRegionOp1() 350 assertFalse(mRegion.op(rect1, Region.Op.XOR)); in verifyNullRegionOp1() 351 assertFalse(mRegion.op(rect1, Region.Op.REVERSE_DIFFERENCE)); in verifyNullRegionOp1() 352 assertFalse(mRegion.op(rect1, Region.Op.REPLACE)); in verifyNullRegionOp1() 362 assertTrue(mRegion.op(rect1, Region.Op.DIFFERENCE)); in verifyDifferenceOp1() 367 assertTrue(mRegion.op(rect3, Region.Op.DIFFERENCE)); in verifyDifferenceOp1() 374 assertTrue(mRegion.op(rect4, Region.Op.DIFFERENCE)); in verifyDifferenceOp1() 380 assertTrue(mRegion.op(rect5, Region.Op.DIFFERENCE)); in verifyDifferenceOp1() [all …]
|
D | RegionIteratorTest.java | 68 region.op(rect, Region.Op.UNION); in testNext() 95 region.op(rect, Region.Op.DIFFERENCE); in testNext() 117 region.op(rect, Region.Op.INTERSECT); in testNext() 134 region.op(rect, Region.Op.REVERSE_DIFFERENCE); in testNext() 156 region.op(rect, Region.Op.XOR); in testNext()
|
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | HistoricalAppopsTest.kt | 293 val op = packageOps.getOpAt(0) in <lambda>() constant 294 assertThat(op).isNotNull() in <lambda>() 295 assertThat(op.opName).isEqualTo(AppOpsManager.OPSTR_START_FOREGROUND) in <lambda>() 297 assertThat(op.getForegroundAccessCount(AppOpsManager.OP_FLAGS_ALL)) in <lambda>() 299 assertThat(op.getBackgroundAccessCount(AppOpsManager.OP_FLAGS_ALL)).isEqualTo(0) in <lambda>() 300 assertThat(getAccessCount(op, AppOpsManager.UID_STATE_PERSISTENT)).isEqualTo(0) in <lambda>() 301 assertThat(getAccessCount(op, AppOpsManager.UID_STATE_TOP)).isEqualTo(noteCount) in <lambda>() 302 assertThat(getAccessCount(op, AppOpsManager.UID_STATE_FOREGROUND_SERVICE_LOCATION)) in <lambda>() 304 assertThat(getAccessCount(op, AppOpsManager.UID_STATE_FOREGROUND_SERVICE)) in <lambda>() 306 assertThat(getAccessCount(op, AppOpsManager.UID_STATE_FOREGROUND)).isEqualTo(0) in <lambda>() [all …]
|
/cts/tests/tests/os/src/android/os/cts/ |
D | WorkSourceTest.java | 75 private void failWorkSource(String op, WorkSource ws, int[] uids) { in failWorkSource() argument 77 sb.append(op); in failWorkSource() 85 private void failWorkSource(String op, WorkSource ws, int[] uids, String[] names) { in failWorkSource() argument 87 sb.append(op); in failWorkSource() 95 private void checkWorkSource(String op, WorkSource ws, int[] uids) { in checkWorkSource() argument 98 fail(op + ": WorkSource is not null " + ws +", but expected null"); in checkWorkSource() 101 fail(op + "WorkSource is null, but expected non-null: " + Arrays.toString(uids)); in checkWorkSource() 106 failWorkSource(op, ws, uids); in checkWorkSource() 110 failWorkSource(op, ws, uids); in checkWorkSource() 115 private void checkWorkSource(String op, WorkSource ws, int[] uids, String[] names) { in checkWorkSource() argument [all …]
|
/cts/hostsidetests/securitybulletin/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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | DeviceSuspendTestActivity.java | 349 TestSensorOperation op = TestSensorOperation.createOperation(environment, in runAPWakeUpWhenReportLatencyExpires() local 356 op.addVerification(BatchArrivalVerification.getDefault(environment)); in runAPWakeUpWhenReportLatencyExpires() 362 op.execute(getCurrentTestNode()); in runAPWakeUpWhenReportLatencyExpires() 400 TestSensorOperation op = TestSensorOperation.createOperation(environment, in runAPWakeUpWhenFIFOFull() local 406 op.addDefaultVerifications(); in runAPWakeUpWhenFIFOFull() 409 op.execute(getCurrentTestNode()); in runAPWakeUpWhenFIFOFull() 463 …TestSensorOperation op = TestSensorOperation.createOperation(environment, MIN_TIMESTAMP_BASE_SAMPL… in runVerifySensorTimestampClockbase() local 464 op.addVerification(TimestampClockSourceVerification.getDefault(environment)); in runVerifySensorTimestampClockbase() 466 op.execute(getCurrentTestNode()); in runVerifySensorTimestampClockbase() 495 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/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.rscript | 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/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/graphics/src/android/graphics/drawable/cts/ |
D | AdaptiveIconMaskTest.java | 109 boolean result = maskRegion.op(safeZoneRegion, intersectRegion, Region.Op.INTERSECT); in testDeviceConfigMask_largerThanSafezone() 114 result = safeZoneRegion.op(intersectRegion, subtractRegion, Op.DIFFERENCE); in testDeviceConfigMask_largerThanSafezone() 149 circle99.op(maskPath, Path.Op.DIFFERENCE); in isCircle() 151 maskPath.op(circle101, Path.Op.DIFFERENCE); in isCircle()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BitmapFilterTests.java | 162 whiteArea.op(blackArea, Region.Op.DIFFERENCE); in testDrawSnapped() 184 whiteArea.op(blackArea, Region.Op.DIFFERENCE); in testDrawHalfPixelFiltered() 185 whiteArea.op(greyArea1, Region.Op.DIFFERENCE); in testDrawHalfPixelFiltered() 186 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/tests/tests/opengl/libopengltest/ |
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()
|
D | color_one.h | 30 static void checkGlError(const char* op);
|
/cts/tests/tests/opengl/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 | 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 | 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/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/hostsidetests/securitybulletin/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/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()
|