Home
last modified time | relevance | path

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

/cts/tests/app/src/android/app/cts/
DCloseSystemDialogsTest.java320 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(REASON); in testCloseSystemDialogsViaWindowManager_whenTestInstrumentedViaShell_isSent()
331 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(REASON); in testCloseSystemDialogsViaWindowManager_whenRunningAsShell_isSent()
343 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(null); in testCloseSystemDialogsViaWindowManager_whenTargetSdkCurrent_isBlockedAndThrows()
354 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(null); in testCloseSystemDialogsViaWindowManager_whenTargetSdk30_isBlockedButDoesNotThrow()
366 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(REASON); in testCloseSystemDialogsViaActivityManager_whenTestInstrumentedViaShell_isSent()
378 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(REASON); in testCloseSystemDialogsViaActivityManager_whenRunningAsShell_isSent()
391 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(null); in testCloseSystemDialogsViaActivityManager_whenTargetSdkCurrent_isBlockedAndThrows()
402 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(null); in testCloseSystemDialogsViaActivityManager_whenTargetSdk30_isBlockedButDoesNotThrow()
/cts/tests/app/shared/src/android/app/stubs/shared/
DFakeView.java40 public String getNextCloseSystemDialogsCallReason(long timeoutMs) throws InterruptedException { in getNextCloseSystemDialogsCallReason() method in FakeView