Searched refs:mConnectionWait (Results 1 - 10 of 10) sorted by relevance

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
H A DCarApiTestBase.java60 private final Semaphore mConnectionWait = new Semaphore(0); field in class:CarApiTestBase.DefaultServiceConnectionListener
63 mConnectionWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS);
69 mConnectionWait.release();
H A DCarPackageManagerTest.java35 private final Semaphore mConnectionWait = new Semaphore(0); field in class:CarPackageManagerTest
45 mConnectionWait.release();
59 mConnectionWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS);
H A DCarDiagnosticManagerTest.java35 private final Semaphore mConnectionWait = new Semaphore(0); field in class:CarDiagnosticManagerTest
51 mConnectionWait.release();
60 mConnectionWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS);
H A DCarSensorManagerTest.java36 private final Semaphore mConnectionWait = new Semaphore(0); field in class:CarSensorManagerTest
51 mConnectionWait.release();
59 mConnectionWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS);
H A DCarTest.java37 private final Semaphore mConnectionWait = new Semaphore(0); field in class:CarTest
52 mConnectionWait.release();
61 mConnectionWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS);
/packages/services/Car/tests/android_support_car_api_test/src/com/android/support/car/apitest/
H A DCarApiTestBase.java58 private final Semaphore mConnectionWait = new Semaphore(0); field in class:CarApiTestBase.DefaultCarConnectionCallback
61 mConnectionWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS);
71 mConnectionWait.release();
H A DCarPackageManagerTest.java33 private final Semaphore mConnectionWait = new Semaphore(0); field in class:CarPackageManagerTest
49 mConnectionWait.release();
58 mConnectionWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS);
H A DCarTest.java33 private final Semaphore mConnectionWait = new Semaphore(0); field in class:CarTest
46 mConnectionWait.release();
55 mConnectionWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS);
H A DCarSensorManagerTest.java39 private final Semaphore mConnectionWait = new Semaphore(0); field in class:CarSensorManagerTest
54 mConnectionWait.release();
62 mConnectionWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS);
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
H A DE2ePerformanceTest.java351 private final Semaphore mConnectionWait = new Semaphore(0); field in class:E2ePerformanceTest.CarConnectionListener
354 mConnectionWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS);
359 mConnectionWait.release();

Completed in 64 milliseconds