Searched refs:SensorOperation (Results 1 – 13 of 13) sorted by relevance
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/ |
D | ParallelSensorOperation.java | 40 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 …]
|
D | SensorOperation.java | 39 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()
|
D | SequentialSensorOperation.java | 29 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()
|
D | WakeLockOperation.java | 28 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()
|
D | RepeatingSensorOperation.java | 27 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()
|
D | DelaySensorOperation.java | 28 public class DelaySensorOperation extends SensorOperation { 29 private final SensorOperation mOperation; 40 public DelaySensorOperation(SensorOperation operation, long delay, TimeUnit timeUnit) { in DelaySensorOperation()
|
D | SensorOperationTest.java | 50 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 …]
|
D | AlarmOperation.java | 43 public class AlarmOperation extends SensorOperation { 47 private final SensorOperation mOperation; 64 SensorOperation operation, in AlarmOperation()
|
D | FakeSensorOperation.java | 30 public class FakeSensorOperation extends SensorOperation {
|
D | TestSensorOperation.java | 60 public class TestSensorOperation extends SensorOperation {
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorTestCase.java | 23 import android.hardware.cts.helpers.sensoroperations.SensorOperation;
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | SensorStats.java | 21 import android.hardware.cts.helpers.sensoroperations.SensorOperation;
|
D | TestSensorEnvironment.java | 22 import android.hardware.cts.helpers.sensoroperations.SensorOperation;
|