Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityStartInterceptorTest.java98 private ActivityStartInterceptor mInterceptor; field in ActivityStartInterceptorTest
104 mInterceptor = new ActivityStartInterceptor(mService, mSupervisor, mContext, in setUp()
106 mInterceptor.setStates(TEST_USER_ID, TEST_REAL_CALLING_PID, TEST_REAL_CALLING_UID, in setUp()
147 assertTrue(mInterceptor.intercept(null, null, mAInfo, null, null, 0, 0, null)); in testSuspendedByAdminPackage()
150 assertEquals(ADMIN_SUPPORT_INTENT, mInterceptor.mIntent); in testSuspendedByAdminPackage()
163 assertTrue(mInterceptor.intercept(null, null, mAInfo, null, null, 0, 0, null)); in testSuspendedPackage()
167 mInterceptor.mIntent.getStringExtra(SuspendedAppActivity.EXTRA_DIALOG_MESSAGE)); in testSuspendedPackage()
169 mInterceptor.mIntent.getStringExtra(SuspendedAppActivity.EXTRA_SUSPENDING_PACKAGE)); in testSuspendedPackage()
171 mInterceptor.mIntent.getStringExtra(SuspendedAppActivity.EXTRA_SUSPENDED_PACKAGE)); in testSuspendedPackage()
172 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.java57 private KeyboardInterceptor mInterceptor; field in KeyboardInterceptorTest
59 msg -> mInterceptor.handleMessage(msg));
73 mInterceptor = new KeyboardInterceptor(mMockAms, mMockPolicy, mHandler); in setUp()
79 mInterceptor.onKeyEvent(event, 0); in whenNonspecialKeyArrives_withNothingInQueue_eventGoesToAms()
88 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysUseIt_eventGoesToAms()
97 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDropIt_eventDropped()
107 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDelayThenUse_eventQueuedThenSentToAms()
124 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDelayThenDrop_eventQueuedThenDropped()
150 mInterceptor.onKeyEvent(event, 0); in whenSomeEventsGetDelayed_allEventsStillInOrder()
180 mInterceptor.onKeyEvent(event, 0); in whenSomeEventsGetDropped_otherEventsStillInOrder()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStarter.java137 private final ActivityStartInterceptor mInterceptor; field in ActivityStarter
238 private ActivityStartInterceptor mInterceptor; field in ActivityStarter.DefaultFactory
247 mInterceptor = interceptor; in DefaultFactory()
260 starter = new ActivityStarter(mController, mService, mSupervisor, mInterceptor); in obtain()
418 mInterceptor = interceptor; in ActivityStarter()
744 mInterceptor.setStates(userId, realCallingPid, realCallingUid, startFlags, callingPackage); in startActivity()
745 if (mInterceptor.intercept(intent, rInfo, aInfo, resolvedType, inTask, callingPid, in startActivity()
749 intent = mInterceptor.mIntent; in startActivity()
750 rInfo = mInterceptor.mRInfo; in startActivity()
751 aInfo = mInterceptor.mAInfo; in startActivity()
[all …]
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp423 mInterceptor->saveDisplayCreation(info); in createDisplay()
441 mInterceptor->saveDisplayDeletion(info.displayId); in destroyDisplay()
661 mInterceptor->saveVSyncEvent(timestamp); in init()
2245 mInterceptor->saveDisplayCreation(info); in processDisplayHotplugEventsLocked()
2253 mInterceptor->saveDisplayDeletion(info.displayId); in processDisplayHotplugEventsLocked()
3249 if (mInterceptor->isEnabled()) { in setTransactionState()
3250 mInterceptor->saveTransaction(states, mCurrentState.displays, displays, flags); in setTransactionState()
3563 mInterceptor->saveSurfaceCreation(layer); in createLayer()
3635 mInterceptor->saveSurfaceDeletion(l); in onLayerRemoved()
3717 if (mInterceptor->isEnabled()) { in setPowerModeInternal()
[all …]
DSurfaceFlinger.h834 std::unique_ptr<SurfaceInterceptor> mInterceptor = variable
DBufferLayer.cpp731 mFlinger->mInterceptor->saveBufferUpdate(this, item.mGraphicBuffer->getWidth(), in onFrameAvailable()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h123 auto& mutableInterceptor() { return mFlinger->mInterceptor; } in mutableInterceptor()