Home
last modified time | relevance | path

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

/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DBaseHdmiCecAbsoluteVolumeBehaviorTest.java94 waitForCondition(() -> !isCecEnabled(getDevice()), "Could not disable CEC"); in setUp()
96 waitForCondition(() -> isCecEnabled(getDevice()), "Could not enable CEC"); in setUp()
143 waitForCondition(() -> isAbsoluteVolumeDevice(getAudioOutputDevice()), in assertAbsoluteVolumeBehavior()
148 waitForCondition(() -> isAdjustOnlyAbsoluteVolumeDevice(getAudioOutputDevice()), in assertAdjustOnlyAbsoluteVolumeBehavior()
153 waitForCondition(() -> isFullVolumeDevice(getAudioOutputDevice()), in assertFullVolumeBehavior()
DBaseHdmiCecCtsTest.java551 public void waitForCondition(Callable<Boolean> condition, String errorMessage) in waitForCondition() method in BaseHdmiCecCtsTest
623 waitForCondition(() -> !isCecAvailable(device), "Could not disable CEC"); in simulateCecSinkConnected()
633 waitForCondition(() -> isCecAvailable(device), in simulateCecSinkConnected()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/tv/
DHdmiCecGeneralProtocolTest.java71 waitForCondition(() -> in cect_hf_ignoreAdditionalParams()
78 waitForCondition(() -> in cect_hf_ignoreAdditionalParams()
111 waitForCondition(() -> in cectIgnoreAdditionalParamsAsMessage()
120 waitForCondition(() -> in cectIgnoreAdditionalParamsAsMessage()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/playback/
DHdmiCecSystemAudioControlTest.java79 waitForCondition(() -> isHdmiCecVolumeControlEnabled(device), in cect_hf4_10_5_RemoteControlCommandsWithSystemAudioControlProperty()
84 waitForCondition(() -> !isSystemAudioActivated(device), in cect_hf4_10_5_RemoteControlCommandsWithSystemAudioControlProperty()
91 waitForCondition(() -> isSystemAudioActivated(device), in cect_hf4_10_5_RemoteControlCommandsWithSystemAudioControlProperty()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyManagerTestOnMockModem.java368 private void waitForCondition(BooleanSupplier condition, Object lock, long maxWaitMillis) in waitForCondition() method in TelephonyManagerTestOnMockModem
451 waitForCondition( in testServiceStateChange()
473 waitForCondition( in testServiceStateChange()
545 waitForCondition( in testRegistrationFailed()
650 waitForCondition(() -> ( in testVoiceCallState()
836 waitForCondition( in testDsdsServiceStateChange()
869 waitForCondition( in testDsdsServiceStateChange()
/cts/tests/tests/virtualdevice/core/src/android/virtualdevice/cts/core/
DVirtualDeviceManagerBasicTest.java374 waitForCondition("display removal", () -> device.getDisplayIds().length == 1); in getVirtualDevice_getDisplayIds()
379 waitForCondition("display removal", () -> device.getDisplayIds().length == 0); in getVirtualDevice_getDisplayIds()
741 private static void waitForCondition(String message, BooleanSupplier waitCondition) { in waitForCondition() method in VirtualDeviceManagerBasicTest
DVirtualDisplayTest.java457 waitForCondition("display removal", () -> virtualDevice.getDisplayIds().length == 0); in getDeviceIdForDisplayId_returnsDefaultIdForReleasedDisplay()
483 private static void waitForCondition(String message, BooleanSupplier waitCondition) { in waitForCondition() method in VirtualDisplayTest
/cts/tests/tests/content/src/android/content/cts/
DContextTest.java2357 private synchronized void waitForCondition(Condition con) throws InterruptedException { in waitForCondition() method in ContextTest
2372 waitForCondition(con); in waitForReceiveBroadCast()