Home
last modified time | relevance | path

Searched defs:waitUntil (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SettingsLib/Spa/testutils/src/com/android/settingslib/spa/testutils/
DSpaTest.kt24 fun waitUntil(timeoutMillis: Long = 1000, condition: () -> Boolean) { in waitUntil() method
/frameworks/native/services/inputflinger/tests/
DTestInputListener.cpp93 std::optional<TimePoint> waitUntil) { in assertNotifyMotionWasCalled()
101 const ::testing::Matcher<NotifyMotionArgs>& matcher, std::optional<TimePoint> waitUntil) { in assertNotifyMotionWasCalled()
107 void TestInputListener::assertNotifyMotionWasNotCalled(std::optional<TimePoint> waitUntil) { in assertNotifyMotionWasNotCalled()
145 std::optional<TimePoint> waitUntil) { in assertCalled()
167 void TestInputListener::assertNotCalled(std::string message, std::optional<TimePoint> waitUntil) { in assertNotCalled()
DInputReader_test.cpp2572 auto waitUntil = std::chrono::system_clock::now() + in TEST_F() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsImeTest.java131 private static void waitUntil(String message, BooleanSupplier predicate) in waitUntil() method in GlobalActionsImeTest
138 private static boolean waitUntil(BooleanSupplier predicate) throws Exception { in waitUntil() method in GlobalActionsImeTest
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DTestUtils.java63 public static void waitUntil(Supplier<Boolean> condition) in waitUntil() method in TestUtils
68 public static void waitUntil(Supplier<Boolean> condition, long stepMs, long timeoutMs) in waitUntil() method in TestUtils
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java806 waitUntil(() -> { in waitAndAssertLastNoteEvent() method
814 private void waitUntil(BooleanSupplier resultSupplier) { in waitUntil() method in AppStandbyControllerTests
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java788 public static void waitUntil(String message, BooleanSupplier condition) { in waitUntil() method
792 public static void waitUntil(String message, BooleanSupplier condition, int timeoutSeconds) { in waitUntil() method
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibrationThreadTest.java1797 private boolean waitUntil(BooleanSupplier predicate, long timeout) in waitUntil() method
DVibratorManagerServiceTest.java2679 private boolean waitUntil(Predicate<VibratorManagerService> predicate, in waitUntil() method in VibratorManagerServiceTest