Home
last modified time | relevance | path

Searched refs:timeUnit (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/
DFakeSensorOperation.java40 public FakeSensorOperation(long delay, TimeUnit timeUnit) { in FakeSensorOperation() argument
41 this(false, delay, timeUnit); in FakeSensorOperation()
47 public FakeSensorOperation(boolean fail, long delay, TimeUnit timeUnit) { in FakeSensorOperation() argument
48 if (timeUnit == null) { in FakeSensorOperation()
53 mTimeUnit = timeUnit; in FakeSensorOperation()
DDelaySensorOperation.java40 public DelaySensorOperation(SensorOperation operation, long delay, TimeUnit timeUnit) { in DelaySensorOperation() argument
44 mTimeUnit = timeUnit; in DelaySensorOperation()
DAlarmOperation.java67 TimeUnit timeUnit) { in AlarmOperation() argument
72 mTimeUnit = timeUnit; in AlarmOperation()
DParallelSensorOperation.java59 public ParallelSensorOperation(long timeout, TimeUnit timeUnit) { in ParallelSensorOperation() argument
60 if (timeUnit == null) { in ParallelSensorOperation()
64 mTimeUnit = timeUnit; in ParallelSensorOperation()
DTestSensorOperation.java337 final TimeUnit timeUnit) { in createOperation() argument
344 listener.waitForEvents(duration, timeUnit); in createOperation()
364 final TimeUnit timeUnit) { in createFlushOperation() argument
371 SensorCtsHelper.sleep(duration, timeUnit); in createFlushOperation()
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DSensorCtsHelper.java147 public static void sleep(long duration, TimeUnit timeUnit) throws InterruptedException { in sleep() argument
148 long durationNs = TimeUnit.NANOSECONDS.convert(duration, timeUnit); in sleep()
DTestSensorEventListener.java327 public void waitForEvents(long duration, TimeUnit timeUnit) throws InterruptedException { in waitForEvents() argument
328 SensorCtsHelper.sleep(duration, timeUnit); in waitForEvents()
/cts/tests/tests/netsecpolicy/src/android/security/
DNetworkSecurityPolicyTestBase.java331 public T get(long timeout, TimeUnit timeUnit) in get() argument
337 long timeoutMillis = timeUnit.toMillis(timeout); in get()