Home
last modified time | relevance | path

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

/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DTrustedPresentationCallbackTest.java86 private boolean mReceivedResults; field in TrustedPresentationCallbackTest
92 mReceivedResults = false; in setup()
103 mReceivedResults = true; in registerTrustedPresentationCallback()
142 mReceivedResults = false; in testTrustedPresentationListener()
162 mReceivedResults = false; in testTrustedPresentationListener_parentVisibilityChanges()
185 mReceivedResults = false; in testTrustedPresentationListener_alphaBelow()
203 mReceivedResults = false; in testTrustedPresentationListener_minFractionDueToCrop()
228 mReceivedResults = false; in testTrustedPresentationListener_minFractionDueToCovered()
250 mReceivedResults = false; in testTrustedPresentationListener_enteredExitEntered()
259 mReceivedResults = false; in testTrustedPresentationListener_enteredExitEntered()
[all …]
DTrustedPresentationListenerTest.java73 private CountDownLatch mReceivedResults = new CountDownLatch(1); field in TrustedPresentationListenerTest
96 mDefaultListener = new Listener(mReceivedResults); in setup()
144 mReceivedResults = new CountDownLatch(1); in testRemoveTrustedPresentationListenerOnWindow()
149 assertFalse("Should never have received a callback", wait(mReceivedResults, WAIT_TIME_MS)); in testRemoveTrustedPresentationListenerOnWindow()
175 assertFalse("Should never have received a callback", wait(mReceivedResults, WAIT_TIME_MS)); in testAddDuplicateListenerUpdatesThresholds()
186 mReceivedResults = new CountDownLatch(2); in testAddDuplicateThresholds()
187 mDefaultListener = new Listener(mReceivedResults); in testAddDuplicateThresholds()
193 Consumer<Boolean> mNewListener = new Listener(mReceivedResults); in testAddDuplicateThresholds()
290 if (!wait(mReceivedResults, WAIT_TIME_MS)) { in assertResults()
297 + mReceivedResults.getCount() + "mReceivedResults=" + mReceivedResults); in assertResults()