HomeSort by relevance Sort by last modified time
    Searched refs:SensorOperation (Results 1 - 13 of 13) sorted by null

  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/
SensorOperation.java 27 * Certain restrictions exist for {@link SensorOperation}s:
39 public abstract class SensorOperation {
42 protected SensorOperation() {
46 protected SensorOperation(SensorStats stats) {
68 * @return The cloned {@link SensorOperation}.
73 public abstract SensorOperation clone();
84 * to be added. This is useful for {@link SensorOperation}s that have many iterations or child
98 private final SensorOperation mOperation;
100 public SensorTestNode(ISensorTestNode parent, SensorOperation operation) {
SequentialSensorOperation.java 25 * A {@link SensorOperation} that executes a set of children {@link SensorOperation}s in a
27 * compose complex {@link SensorOperation}s.
29 public class SequentialSensorOperation extends SensorOperation {
32 private final ArrayList<SensorOperation> mOperations = new ArrayList<>();
35 * Add a set of {@link SensorOperation}s.
37 public void add(SensorOperation ... operations) {
38 for (SensorOperation operation : operations) {
47 * Executes the {@link SensorOperation}s in the order they were added. If an exception occurs
54 SensorOperation operation = mOperations.get(i)
    [all...]
ParallelSensorOperation.java 36 * A {@link SensorOperation} that executes a set of children {@link SensorOperation}s in parallel.
38 * class can be combined to compose complex {@link SensorOperation}s.
40 public class ParallelSensorOperation extends SensorOperation {
43 private final ArrayList<SensorOperation> mOperations = new ArrayList<>();
68 * Add a set of {@link SensorOperation}s.
70 public void add(SensorOperation ... operations) {
71 for (SensorOperation operation : operations) {
80 * Executes the {@link SensorOperation}s in parallel. If an exception occurs one or more
96 ArrayList<Future<SensorOperation>> futures = new ArrayList<>()
    [all...]
WakeLockOperation.java 25 * An {@link SensorOperation} which holds a wake-lock while performing another
26 * {@link SensorOperation}.
28 public class WakeLockOperation extends SensorOperation {
31 private final SensorOperation mOperation;
38 * @param operation the child {@link SensorOperation} to perform after the delay
42 public WakeLockOperation(SensorOperation operation, Context context, int wakeLockFlags) {
52 * @param operation the child {@link SensorOperation} to perform after the delay
55 public WakeLockOperation(SensorOperation operation, Context context) {
78 public SensorOperation clone() {
DelaySensorOperation.java 25 * An {@link SensorOperation} which delays for a specified period of time before performing another
26 * {@link SensorOperation}.
28 public class DelaySensorOperation extends SensorOperation {
29 private final SensorOperation mOperation;
36 * @param operation the child {@link SensorOperation} to perform after the delay
40 public DelaySensorOperation(SensorOperation operation, long delay, TimeUnit timeUnit) {
RepeatingSensorOperation.java 24 * A {@link SensorOperation} that executes a single {@link SensorOperation} a given number of
25 * times. This class can be combined to compose complex {@link SensorOperation}s.
27 public class RepeatingSensorOperation extends SensorOperation {
30 private final SensorOperation mOperation;
36 * @param operation the {@link SensorOperation} to run.
39 public RepeatingSensorOperation(SensorOperation operation, int iterations) {
48 * Executes the {@link SensorOperation}s the given number of times. If an exception occurs in
55 SensorOperation operation = mOperation.clone();
AlarmOperation.java 32 * An {@link SensorOperation} which performs another {@link SensorOperation} and then wakes up
43 public class AlarmOperation extends SensorOperation {
47 private final SensorOperation mOperation;
58 * @param operation the child {@link SensorOperation} to perform after the delay
64 SensorOperation operation,
SensorOperationTest.java 29 * Tests for the primitive {@link SensorOperation}s including {@link DelaySensorOperation},
50 SensorOperation op = new FakeSensorOperation(opDurationMs, TimeUnit.MILLISECONDS);
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)
    [all...]
FakeSensorOperation.java 27 * A fake {@link SensorOperation} that will run for a specified time and then pass or fail. Useful
30 public class FakeSensorOperation extends SensorOperation {
TestSensorOperation.java 52 * A {@link SensorOperation} used to verify that sensor events and sensor values are correct.
59 public class TestSensorOperation extends SensorOperation {
  /cts/tests/tests/hardware/src/android/hardware/cts/
SensorTestCase.java 23 import android.hardware.cts.helpers.sensoroperations.SensorOperation;
  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/
SensorStats.java 20 import android.hardware.cts.helpers.sensoroperations.SensorOperation;
37 * Class used to store stats related to {@link SensorOperation}s. Sensor stats may be linked
86 * {@link SensorOperation} tree.
TestSensorEnvironment.java 22 import android.hardware.cts.helpers.sensoroperations.SensorOperation;
29 * A class that encapsulates base environment information for the {@link SensorOperation}.

Completed in 124 milliseconds