Searched refs:mFakeView (Results 1 – 1 of 1) sorted by relevance
105 private volatile FakeView mFakeView; field in CloseSystemDialogsTest146 mFakeView = new FakeView(mSawContext); in setUp()147 mSawWindowManager.addView(mFakeView, new LayoutParams(TYPE_APPLICATION_OVERLAY)); in setUp()159 mMainHandler.post(() -> mSawWindowManager.removeViewImmediate(mFakeView)); in tearDown()290 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(REASON); in testCloseSystemDialogsViaWindowManager_whenTestInstrumentedViaShell_isSent()301 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(REASON); in testCloseSystemDialogsViaWindowManager_whenRunningAsShell_isSent()313 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(null); in testCloseSystemDialogsViaWindowManager_whenTargetSdkCurrent_isBlockedAndThrows()324 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(null); in testCloseSystemDialogsViaWindowManager_whenTargetSdk30_isBlockedButDoesNotThrow()336 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(REASON); in testCloseSystemDialogsViaActivityManager_whenTestInstrumentedViaShell_isSent()348 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(REASON); in testCloseSystemDialogsViaActivityManager_whenRunningAsShell_isSent()[all …]