Home
last modified time | relevance | path

Searched refs:SensorOperation (Results 1 – 13 of 13) sorted by relevance

/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DParallelSensorOperation.java40 public class ParallelSensorOperation extends SensorOperation {
43 private final ArrayList<SensorOperation> mOperations = new ArrayList<>();
70 public void add(SensorOperation ... operations) { in add()
71 for (SensorOperation operation : operations) { in add()
96 ArrayList<Future<SensorOperation>> futures = new ArrayList<>(); in execute()
97 for (final SensorOperation operation : mOperations) { in execute()
98 Future<SensorOperation> future = executor.submit(new Callable<SensorOperation>() { in execute()
100 public SensorOperation call() throws Exception { in execute()
118 Future<SensorOperation> future = futures.get(i); in execute()
120 SensorOperation operation = getFutureResult(future, executionTimeNs); in execute()
[all …]
DSensorOperation.java39 public abstract class SensorOperation { class
42 protected SensorOperation() { in SensorOperation() method in SensorOperation
46 protected SensorOperation(SensorStats stats) { in SensorOperation() method in SensorOperation
73 public abstract SensorOperation clone(); in clone()
98 private final SensorOperation mOperation;
100 public SensorTestNode(ISensorTestNode parent, SensorOperation operation) { in SensorTestNode()
DSequentialSensorOperation.java29 public class SequentialSensorOperation extends SensorOperation {
32 private final ArrayList<SensorOperation> mOperations = new ArrayList<>();
37 public void add(SensorOperation ... operations) { in add()
38 for (SensorOperation operation : operations) { in add()
54 SensorOperation operation = mOperations.get(i); in execute()
73 for (SensorOperation subOperation : mOperations) { in clone()
DWakeLockOperation.java28 public class WakeLockOperation extends SensorOperation {
31 private final SensorOperation mOperation;
42 public WakeLockOperation(SensorOperation operation, Context context, int wakeLockFlags) { in WakeLockOperation()
55 public WakeLockOperation(SensorOperation operation, Context context) { in WakeLockOperation()
78 public SensorOperation clone() { in clone()
DRepeatingSensorOperation.java27 public class RepeatingSensorOperation extends SensorOperation {
30 private final SensorOperation mOperation;
39 public RepeatingSensorOperation(SensorOperation operation, int iterations) { in RepeatingSensorOperation()
55 SensorOperation operation = mOperation.clone(); in execute()
DDelaySensorOperation.java28 public class DelaySensorOperation extends SensorOperation {
29 private final SensorOperation mOperation;
40 public DelaySensorOperation(SensorOperation operation, long delay, TimeUnit timeUnit) { in DelaySensorOperation()
DSensorOperationTest.java50 SensorOperation op = new FakeSensorOperation(opDurationMs, TimeUnit.MILLISECONDS); in testFakeSensorOperation()
77 SensorOperation op = new DelaySensorOperation(subOp, opDurationMs, TimeUnit.MILLISECONDS);
95 SensorOperation subOp = new FakeSensorOperation(subOpDurationMs,
136 SensorOperation subOp = new FakeSensorOperation(i % 50 == 5, i, TimeUnit.MILLISECONDS);
176 SensorOperation subOp = new FakeSensorOperation(i % 50 == 5 ? 5 : 0, TimeUnit.SECONDS);
208 SensorOperation subOp = new FakeSensorOperation(subOpDurationMs, TimeUnit.MILLISECONDS);
209 SensorOperation op = new RepeatingSensorOperation(subOp, iterations);
235 SensorOperation subOp = new FakeSensorOperation(0, TimeUnit.MILLISECONDS) {
261 SensorOperation op = new RepeatingSensorOperation(subOp, iterations);
295 SensorOperation subOp = new FakeSensorOperation(subOpDurationMs,
[all …]
DAlarmOperation.java43 public class AlarmOperation extends SensorOperation {
47 private final SensorOperation mOperation;
64 SensorOperation operation, in AlarmOperation()
DFakeSensorOperation.java30 public class FakeSensorOperation extends SensorOperation {
DTestSensorOperation.java60 public class TestSensorOperation extends SensorOperation {
/cts/tests/sensor/src/android/hardware/cts/
DSensorTestCase.java23 import android.hardware.cts.helpers.sensoroperations.SensorOperation;
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorStats.java21 import android.hardware.cts.helpers.sensoroperations.SensorOperation;
DTestSensorEnvironment.java22 import android.hardware.cts.helpers.sensoroperations.SensorOperation;