Home
last modified time | relevance | path

Searched refs:numListeners (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/usb/src/android/usb/cts/
DUsbManagerApiTest.java273 final int numListeners = 2; in test_UsbApiForDisplayPortAltModeRegisterMultiListenerFunctionality() local
274 final CountDownLatch notifiedForCtsPort = new CountDownLatch(numListeners); in test_UsbApiForDisplayPortAltModeRegisterMultiListenerFunctionality()
279 for (int i = 0; i < numListeners; i++) { in test_UsbApiForDisplayPortAltModeRegisterMultiListenerFunctionality()
293 for (int i = 0; i < numListeners; i++) { in test_UsbApiForDisplayPortAltModeRegisterMultiListenerFunctionality()
/cts/hostsidetests/car/src/android/car/cts/
DPowerPolicyHostTest.java339 private void waitUntilNumberPolicyListenersEquals(int numListeners) throws Exception { in waitUntilNumberPolicyListenersEquals() argument
342 () -> (getNumberPolicyListeners() == numListeners)); in waitUntilNumberPolicyListenersEquals()