Searched defs:waitUntil (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/packages/SettingsLib/Spa/testutils/src/com/android/settingslib/spa/testutils/ |
D | SpaTest.kt | 24 fun waitUntil(timeoutMillis: Long = 1000, condition: () -> Boolean) { in waitUntil() method
|
/frameworks/native/services/inputflinger/tests/ |
D | TestInputListener.cpp | 93 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()
|
D | InputReader_test.cpp | 2572 auto waitUntil = std::chrono::system_clock::now() + in TEST_F() local
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/ |
D | GlobalActionsImeTest.java | 131 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/ |
D | TestUtils.java | 63 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/ |
D | AppStandbyControllerTests.java | 806 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/ |
D | ShortcutManagerTestUtils.java | 788 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/ |
D | VibrationThreadTest.java | 1797 private boolean waitUntil(BooleanSupplier predicate, long timeout) in waitUntil() method
|
D | VibratorManagerServiceTest.java | 2679 private boolean waitUntil(Predicate<VibratorManagerService> predicate, in waitUntil() method in VibratorManagerServiceTest
|