Home
last modified time | relevance | path

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

/cts/tests/sensor/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.java169 TestSensorOperation operation = new TestSensorOperation(mEnvironment, mExecutor); in clone() local
171 operation.addVerification(verification.clone()); in clone()
173 return operation; in clone()
/cts/tests/sensor/src/android/hardware/cts/
DSensorIntegrationTests.java76 ParallelSensorOperation operation = new ParallelSensorOperation(); in testSensorsWithSeveralClients() local
86 operation.add(new RepeatingSensorOperation(continuousOperation, ITERATIONS)); in testSensorsWithSeveralClients()
99 operation.add(new RepeatingSensorOperation(batchingOperation, ITERATIONS)); in testSensorsWithSeveralClients()
101 operation.execute(getCurrentTestNode()); in testSensorsWithSeveralClients()
102 operation.getStats().log(TAG); in testSensorsWithSeveralClients()
132 ParallelSensorOperation operation = new ParallelSensorOperation(); in testSensorsMovingRates() local
155 operation.add(sequentialOperation); in testSensorsMovingRates()
159 operation.execute(getCurrentTestNode()); in testSensorsMovingRates()
160 operation.getStats().log(TAG); in testSensorsMovingRates()
248 ParallelSensorOperation operation = new ParallelSensorOperation(); in verifySensorStoppingInteraction() local
[all …]
DSensorBatchingTests.java289 TestSensorOperation operation = in runBatchingSensorTest() local
292 operation.addVerification( in runBatchingSensorTest()
298 executeTest(environment, operation, false /* flushExpected */); in runBatchingSensorTest()
312 TestSensorOperation operation = TestSensorOperation in runFlushSensorTest() local
315 executeTest(environment, operation, true /* flushExpected */); in runFlushSensorTest()
320 TestSensorOperation operation, in executeTest() argument
323 operation.addDefaultVerifications(); in executeTest()
326 operation.execute(getCurrentTestNode()); in executeTest()
328 SensorStats stats = operation.getStats(); in executeTest()
DSensorTest.java570 TestSensorOperation operation = TestSensorOperation.createOperation( in verifyLongActivation() local
575 operation.addVerification(ContinuousEventSanitizedVerification in verifyLongActivation()
578 operation.addVerification(EventGapVerification.getDefault(environment)); in verifyLongActivation()
579 operation.addVerification(EventOrderingVerification.getDefault(environment)); in verifyLongActivation()
580 operation.addVerification(EventTimestampSynchronizationVerification in verifyLongActivation()
584 operation.execute(getCurrentTestNode()); in verifyLongActivation()
618 TestSensorOperation operation = new TestSensorOperation(environment, executor, handler); in verifyRegisterListenerCallFlush() local
621 operation.execute(getCurrentTestNode()); in verifyRegisterListenerCallFlush()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DBatchingTestActivity.java135 TestSensorOperation operation = in runBatchTest() local
137 return executeTest(operation); in runBatchTest()
153 TestSensorOperation operation = TestSensorOperation in runFlushTest() local
155 return executeTest(operation); in runFlushTest()
158 private String executeTest(TestSensorOperation operation) throws Exception { in executeTest() argument
159 operation.addDefaultVerifications(); in executeTest()
160 operation.execute(getCurrentTestNode()); in executeTest()
/cts/tests/tests/media/src/android/media/cts/
DUtils.java44 public static void enableAppOps(String packageName, String operation, in enableAppOps() argument
46 setAppOps(packageName, operation, instrumentation, true); in enableAppOps()
49 public static void disableAppOps(String packageName, String operation, in disableAppOps() argument
51 setAppOps(packageName, operation, instrumentation, false); in disableAppOps()
60 private static void setAppOps(String packageName, String operation, in setAppOps() argument
66 cmd.append(operation); in setAppOps()
74 query.append(operation); in setAppOps()
DVolumeShaperTest.java531 for (VolumeShaper.Operation operation : ALL_STANDARD_OPERATIONS) { in testVolumeShaperOperationParcelable()
533 0 /* expected */, operation.describeContents()); in testVolumeShaperOperationParcelable()
536 operation.writeToParcel(srcParcel, 0 /* flags */); in testVolumeShaperOperationParcelable()
548 operation, restoredOperation); in testVolumeShaperOperationParcelable()
/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.java84 String operation) in checkFloat16Output() argument
115 message.append("Incorrect output for float16 " + operation + ":"); in checkFloat16Output()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsContract_AllUriTest.java607 private void checkExecutable(String operation, Uri uri, boolean shouldWork, Runnable r) { in checkExecutable() argument
612 addFailure(operation + " for '" + uri + "' failed: " + e.getMessage(), e); in checkExecutable()
617 addFailure(operation + " for '" + uri + "' NOT failed.", null); in checkExecutable()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...