Searched refs:mFakeView (Results 1 – 1 of 1) sorted by relevance
111 private volatile FakeView mFakeView; field in CloseSystemDialogsTest165 mFakeView = new FakeView(mSawContext); in setUp()166 mSawWindowManager.addView(mFakeView, new LayoutParams(TYPE_APPLICATION_OVERLAY)); in setUp()178 mMainHandler.post(() -> mSawWindowManager.removeViewImmediate(mFakeView)); in tearDown()320 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()[all …]