Home
last modified time | relevance | path

Searched refs:operation (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/
DSequentialSensorOperation.java38 for (SensorOperation operation : operations) { in add()
39 if (operation == null) { in add()
42 mOperations.add(operation); in add()
54 SensorOperation operation = mOperations.get(i); in execute() local
56 operation.execute(currentNode); in execute()
62 addSensorStats(STATS_TAG, i, operation.getStats()); in execute()
72 SequentialSensorOperation operation = new SequentialSensorOperation(); in clone() local
74 operation.add(subOperation.clone()); in clone()
76 return operation; in clone()
DRepeatingSensorOperation.java39 public RepeatingSensorOperation(SensorOperation operation, int iterations) { in RepeatingSensorOperation() argument
40 if (operation == null) { in RepeatingSensorOperation()
43 mOperation = operation; in RepeatingSensorOperation()
55 SensorOperation operation = mOperation.clone(); in execute() local
57 operation.execute(new TestNode(currentNode, i)); in execute()
63 addSensorStats(STATS_TAG, i, operation.getStats()); in execute()
DWakeLockOperation.java42 public WakeLockOperation(SensorOperation operation, Context context, int wakeLockFlags) { in WakeLockOperation() argument
43 super(operation.getStats()); in WakeLockOperation()
44 mOperation = operation; in WakeLockOperation()
55 public WakeLockOperation(SensorOperation operation, Context context) { in WakeLockOperation() argument
56 this(operation, context, PowerManager.PARTIAL_WAKE_LOCK); in WakeLockOperation()
DParallelSensorOperation.java71 for (SensorOperation operation : operations) { in add()
72 if (operation == null) { in add()
75 mOperations.add(operation); in add()
97 for (final SensorOperation operation : mOperations) { in execute()
101 operation.execute(currentNode); in execute()
102 return operation; in execute()
120 SensorOperation operation = getFutureResult(future, executionTimeNs); in execute() local
121 addSensorStats(STATS_TAG, i, operation.getStats()); in execute()
154 ParallelSensorOperation operation = new ParallelSensorOperation(); in clone() local
156 operation.add(subOperation.clone()); in clone()
[all …]
DDelaySensorOperation.java40 public DelaySensorOperation(SensorOperation operation, long delay, TimeUnit timeUnit) { in DelaySensorOperation() argument
41 super(operation.getStats()); in DelaySensorOperation()
42 mOperation = operation; in DelaySensorOperation()
DAlarmOperation.java64 SensorOperation operation, in AlarmOperation() argument
68 super(operation.getStats()); in AlarmOperation()
69 mOperation = operation; in AlarmOperation()
DSensorOperation.java100 public SensorTestNode(ISensorTestNode parent, SensorOperation operation) { in SensorTestNode() argument
102 mOperation = operation; in SensorTestNode()
DTestSensorOperation.java163 TestSensorOperation operation = new TestSensorOperation(mEnvironment, mExecutor); in clone() local
165 operation.addVerification(verification.clone()); in clone()
167 return operation; in clone()
/cts/tests/tests/media/src/android/media/cts/
DUtils.java28 public static void enableAppOps(String packageName, String operation, in enableAppOps() argument
30 setAppOps(packageName, operation, instrumentation, true); in enableAppOps()
33 public static void disableAppOps(String packageName, String operation, in disableAppOps() argument
35 setAppOps(packageName, operation, instrumentation, false); in disableAppOps()
44 private static void setAppOps(String packageName, String operation, in setAppOps() argument
50 cmd.append(operation); in setAppOps()
58 query.append(operation); in setAppOps()
/cts/tests/tests/hardware/src/android/hardware/cts/
DSensorIntegrationTests.java76 ParallelSensorOperation operation = new ParallelSensorOperation(); in testSensorsWithSeveralClients() local
86 operation.add(new RepeatingSensorOperation(continuousOperation, ITERATIONS)); in testSensorsWithSeveralClients()
98 operation.add(new RepeatingSensorOperation(batchingOperation, ITERATIONS)); in testSensorsWithSeveralClients()
100 operation.execute(getCurrentTestNode()); in testSensorsWithSeveralClients()
101 operation.getStats().log(TAG); in testSensorsWithSeveralClients()
131 ParallelSensorOperation operation = new ParallelSensorOperation(); in testSensorsMovingRates() local
153 operation.add(sequentialOperation); in testSensorsMovingRates()
157 operation.execute(getCurrentTestNode()); in testSensorsMovingRates()
158 operation.getStats().log(TAG); in testSensorsMovingRates()
246 ParallelSensorOperation operation = new ParallelSensorOperation(); in verifySensorStoppingInteraction() local
[all …]
DSensorBatchingTests.java264 TestSensorOperation operation = in runBatchingSensorTest() local
267 executeTest(environment, operation, false /* flushExpected */); in runBatchingSensorTest()
281 TestSensorOperation operation = TestSensorOperation in runFlushSensorTest() local
284 executeTest(environment, operation, true /* flushExpected */); in runFlushSensorTest()
289 TestSensorOperation operation, in executeTest() argument
292 operation.addDefaultVerifications(); in executeTest()
295 operation.execute(getCurrentTestNode()); in executeTest()
297 SensorStats stats = operation.getStats(); in executeTest()
DSensorTest.java492 TestSensorOperation operation = in verifyLongActivation() local
494 operation.addVerification(EventGapVerification.getDefault(environment)); in verifyLongActivation()
495 operation.addVerification(EventOrderingVerification.getDefault(environment)); in verifyLongActivation()
496 operation.addVerification( in verifyLongActivation()
500 operation.execute(getCurrentTestNode()); in verifyLongActivation()
532 TestSensorOperation operation = new TestSensorOperation(environment, executor, handler); in verifyRegisterListenerCallFlush() local
535 operation.execute(getCurrentTestNode()); in verifyRegisterListenerCallFlush()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DBatchingTestActivity.java128 TestSensorOperation operation = in runBatchTest() local
130 return executeTest(operation); in runBatchTest()
146 TestSensorOperation operation = TestSensorOperation in runFlushTest() local
148 return executeTest(operation); in runFlushTest()
151 private String executeTest(TestSensorOperation operation) throws InterruptedException { in executeTest() argument
152 operation.addDefaultVerifications(); in executeTest()
153 operation.execute(getCurrentTestNode()); in executeTest()
/cts/tests/tests/effect/src/android/effect/cts/
DGLEnv.java101 public void checkForEGLErrors(String operation) { in checkForEGLErrors() argument
105 throw new RuntimeException("Operation '" + operation + "' caused EGL error: " + error); in checkForEGLErrors()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dfloat16_gen.c225 void printReferenceOutput(const char *fieldName, operation_t operation, in printReferenceOutput() argument
236 result = operation(input[x].value, input[y].value); in printReferenceOutput()
DFloat16ArithmeticTest.java135 String operation) in checkFloat16Output() argument
164 message.append("Incorrect output for float16 " + operation + ":"); in checkFloat16Output()
/cts/apps/CtsVerifier/libs/
Dopencv-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...