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
257 private ActivityStartInterceptor mInterceptor; field in ActivityStarter.DefaultFactory
266 mInterceptor = interceptor; in DefaultFactory()
279 starter = new ActivityStarter(mController, mService, mSupervisor, mInterceptor); in obtain()
446 mInterceptor = interceptor; in ActivityStarter()
803 mInterceptor.setStates(userId, realCallingPid, realCallingUid, startFlags, callingPackage); in startActivity()
804 if (mInterceptor.intercept(intent, rInfo, aInfo, resolvedType, inTask, callingPid, in startActivity()
808 intent = mInterceptor.mIntent; in startActivity()
809 rInfo = mInterceptor.mRInfo; in startActivity()
810 aInfo = mInterceptor.mAInfo; in startActivity()
[all …]
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp281 mInterceptor(mFactory.createSurfaceInterceptor(this)), in SurfaceFlinger()
464 mInterceptor->saveDisplayCreation(state); in createDisplay()
482 mInterceptor->saveDisplayDeletion(state.sequenceId); in destroyDisplay()
2575 mInterceptor->saveDisplayCreation(state); in processDisplayHotplugEventsLocked()
2583 mInterceptor->saveDisplayDeletion(state.sequenceId); in processDisplayHotplugEventsLocked()
3045 mInterceptor->saveVSyncEvent(timestamp); in initScheduler()
3869 if (mInterceptor->isEnabled()) { in applyTransactionState()
3870 mInterceptor->saveTransaction(states, mCurrentState.displays, displays, flags); in applyTransactionState()
4330 mInterceptor->saveSurfaceCreation(layer); in createLayer()
4523 if (mInterceptor->isEnabled()) { in setPowerModeInternal()
[all …]
DBufferQueueLayer.cpp473 mFlinger->mInterceptor->saveBufferUpdate(this, item.mGraphicBuffer->getWidth(), in onFrameAvailable()
DSurfaceFlinger.h1026 std::unique_ptr<SurfaceInterceptor> mInterceptor; variable
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h327 auto& mutableInterceptor() { return mFlinger->mInterceptor; } in mutableInterceptor()