Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DBroadcastLoopers.java77 waitForCondition(pw, (looper, latch) -> { in waitForIdle()
92 waitForCondition(pw, (looper, latch) -> { in waitForBarrier()
102 private static void waitForCondition(@NonNull PrintWriter pw, in waitForCondition() method in BroadcastLoopers
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
H A DReferenceTestUtilsTest.java40 ReferenceTestUtils.waitForCondition(() -> true); in testConditionWaiter_doesntBlockIndefinitely()
47 ReferenceTestUtils.waitForCondition(() -> { in testConditionWaiter_waitsUntilConditionIsTrue()
H A DReferenceTestUtils.java52 public static void waitForCondition(Condition p) { in waitForCondition() method
H A DWeakIdentityHashMapTest.java76 ReferenceTestUtils.waitForCondition(mMap::isEmpty); in testWeaklyReferences()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/progress/
H A DTestUnfoldProgressListener.kt20 import com.android.systemui.util.leak.ReferenceTestUtils.waitForCondition
61 waitForCondition { recordings.size == 1 }
134 waitForCondition { progress == progressHistory.lastOrNull() }
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
H A DWindowMagnificationControllerTest.java350 ReferenceTestUtils.waitForCondition(this::hasMagnificationOverlapFlag); in deleteWindowMagnification_enableAtTheBottom_overlapFlagIsFalse()
1058 ReferenceTestUtils.waitForCondition(() -> maxScaleX.get() > 1.0); in onSingleTap_enabled_scaleAnimates()
1074 ReferenceTestUtils.waitForCondition(() -> hasMagnificationOverlapFlag()); in moveWindowMagnificationToTheBottom_enabledWithGestureInset_overlapFlagIsTrue()