Searched refs:timeUnit (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/ |
D | FakeSensorOperation.java | 40 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()
|
D | DelaySensorOperation.java | 40 public DelaySensorOperation(SensorOperation operation, long delay, TimeUnit timeUnit) { in DelaySensorOperation() argument 44 mTimeUnit = timeUnit; in DelaySensorOperation()
|
D | AlarmOperation.java | 67 TimeUnit timeUnit) { in AlarmOperation() argument 72 mTimeUnit = timeUnit; in AlarmOperation()
|
D | ParallelSensorOperation.java | 59 public ParallelSensorOperation(long timeout, TimeUnit timeUnit) { in ParallelSensorOperation() argument 60 if (timeUnit == null) { in ParallelSensorOperation() 64 mTimeUnit = timeUnit; in ParallelSensorOperation()
|
D | TestSensorOperation.java | 337 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/ |
D | SensorCtsHelper.java | 147 public static void sleep(long duration, TimeUnit timeUnit) throws InterruptedException { in sleep() argument 148 long durationNs = TimeUnit.NANOSECONDS.convert(duration, timeUnit); in sleep()
|
D | TestSensorEventListener.java | 327 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/ |
D | NetworkSecurityPolicyTestBase.java | 331 public T get(long timeout, TimeUnit timeUnit) in get() argument 337 long timeoutMillis = timeUnit.toMillis(timeout); in get()
|