Home
last modified time | relevance | path

Searched refs:mInterceptor (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStartInterceptorTest.java109 private ActivityStartInterceptor mInterceptor; field in ActivityStartInterceptorTest
116 mInterceptor = new ActivityStartInterceptor( in setUp()
118 mInterceptor.setStates(TEST_USER_ID, TEST_REAL_CALLING_PID, TEST_REAL_CALLING_UID, in setUp()
162 assertTrue(mInterceptor.intercept(null, null, mAInfo, null, null, 0, 0, null)); in testSuspendedByAdminPackage()
165 assertEquals(ADMIN_SUPPORT_INTENT, mInterceptor.mIntent); in testSuspendedByAdminPackage()
181 assertTrue(mInterceptor.intercept(null, null, mAInfo, null, null, 0, 0, null)); in testSuspendedPackage()
185 mInterceptor.mIntent.getParcelableExtra(SuspendedAppActivity.EXTRA_DIALOG_INFO)); in testSuspendedPackage()
187 mInterceptor.mIntent.getStringExtra(SuspendedAppActivity.EXTRA_SUSPENDING_PACKAGE)); in testSuspendedPackage()
189 mInterceptor.mIntent.getStringExtra(SuspendedAppActivity.EXTRA_SUSPENDED_PACKAGE)); in testSuspendedPackage()
190 assertEquals(TEST_USER_ID, mInterceptor.mIntent.getIntExtra(Intent.EXTRA_USER_ID, -1000)); in testSuspendedPackage()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyboardInterceptorTest.java54 private KeyboardInterceptor mInterceptor; field in KeyboardInterceptorTest
56 msg -> mInterceptor.handleMessage(msg));
63 mInterceptor = new KeyboardInterceptor(mMockAms, mMockPolicy, mHandler); in setUp()
75 mInterceptor.onKeyEvent(event, 0); in whenNonspecialKeyArrives_withNothingInQueue_eventGoesToAms()
84 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysUseIt_eventGoesToAms()
93 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDropIt_eventDropped()
103 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDelayThenUse_eventQueuedThenSentToAms()
120 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDelayThenDrop_eventQueuedThenDropped()
146 mInterceptor.onKeyEvent(event, 0); in whenSomeEventsGetDelayed_allEventsStillInOrder()
176 mInterceptor.onKeyEvent(event, 0); in whenSomeEventsGetDropped_otherEventsStillInOrder()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java151 private final ActivityStartInterceptor mInterceptor; field in ActivityStarter
256 private ActivityStartInterceptor mInterceptor; field in ActivityStarter.DefaultFactory
265 mInterceptor = interceptor; in DefaultFactory()
278 starter = new ActivityStarter(mController, mService, mSupervisor, mInterceptor); in obtain()
445 mInterceptor = interceptor; in ActivityStarter()
801 mInterceptor.setStates(userId, realCallingPid, realCallingUid, startFlags, callingPackage); in startActivity()
802 if (mInterceptor.intercept(intent, rInfo, aInfo, resolvedType, inTask, callingPid, in startActivity()
806 intent = mInterceptor.mIntent; in startActivity()
807 rInfo = mInterceptor.mRInfo; in startActivity()
808 aInfo = mInterceptor.mAInfo; in startActivity()
[all …]
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp278 mInterceptor(mFactory.createSurfaceInterceptor(this)), in SurfaceFlinger()
457 mInterceptor->saveDisplayCreation(state); in createDisplay()
475 mInterceptor->saveDisplayDeletion(state.sequenceId); in destroyDisplay()
629 mInterceptor->saveVSyncEvent(timestamp); in init()
2539 mInterceptor->saveDisplayCreation(state); in processDisplayHotplugEventsLocked()
2547 mInterceptor->saveDisplayDeletion(state.sequenceId); in processDisplayHotplugEventsLocked()
3787 if (mInterceptor->isEnabled()) { in applyTransactionState()
3788 mInterceptor->saveTransaction(states, mCurrentState.displays, displays, flags); in applyTransactionState()
4239 mInterceptor->saveSurfaceCreation(layer); in createLayer()
4425 if (mInterceptor->isEnabled()) { in setPowerModeInternal()
[all …]
DBufferQueueLayer.cpp473 mFlinger->mInterceptor->saveBufferUpdate(this, item.mGraphicBuffer->getWidth(), in onFrameAvailable()
DSurfaceFlinger.h1007 std::unique_ptr<SurfaceInterceptor> mInterceptor; variable
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h327 auto& mutableInterceptor() { return mFlinger->mInterceptor; } in mutableInterceptor()