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.java114 private ActivityStartInterceptor mInterceptor; field in ActivityStartInterceptorTest
121 mInterceptor = new ActivityStartInterceptor( in setUp()
123 mInterceptor.setStates(TEST_USER_ID, TEST_REAL_CALLING_PID, TEST_REAL_CALLING_UID, in setUp()
180 assertTrue(mInterceptor.intercept(null, null, mAInfo, null, null, 0, 0, null)); in testSuspendedByAdminPackage()
183 assertEquals(ADMIN_SUPPORT_INTENT, mInterceptor.mIntent); in testSuspendedByAdminPackage()
191 assertTrue(mInterceptor.intercept(null, null, mAInfo, null, null, 0, 0, null)); in testSuspendedPackage()
195 mInterceptor.mIntent.getParcelableExtra(SuspendedAppActivity.EXTRA_DIALOG_INFO)); in testSuspendedPackage()
197 mInterceptor.mIntent.getStringExtra(SuspendedAppActivity.EXTRA_SUSPENDING_PACKAGE)); in testSuspendedPackage()
199 mInterceptor.mIntent.getStringExtra(SuspendedAppActivity.EXTRA_SUSPENDED_PACKAGE)); in testSuspendedPackage()
200 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.java55 private KeyboardInterceptor mInterceptor; field in KeyboardInterceptorTest
57 msg -> mInterceptor.handleMessage(msg));
64 mInterceptor = new KeyboardInterceptor(mMockAms, mMockPolicy, mHandler); in setUp()
76 mInterceptor.onKeyEvent(event, 0); in whenNonspecialKeyArrives_withNothingInQueue_eventGoesToAms()
85 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysUseIt_eventGoesToAms()
94 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDropIt_eventDropped()
104 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDelayThenUse_eventQueuedThenSentToAms()
121 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDelayThenDrop_eventQueuedThenDropped()
147 mInterceptor.onKeyEvent(event, 0); in whenSomeEventsGetDelayed_allEventsStillInOrder()
177 mInterceptor.onKeyEvent(event, 0); in whenSomeEventsGetDropped_otherEventsStillInOrder()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java150 private final ActivityStartInterceptor mInterceptor; field in ActivityStarter
264 private ActivityStartInterceptor mInterceptor; field in ActivityStarter.DefaultFactory
273 mInterceptor = interceptor; in DefaultFactory()
289 starter = new ActivityStarter(mController, mService, mSupervisor, mInterceptor); in obtain()
547 mInterceptor = interceptor; in ActivityStarter()
1018 mInterceptor.setStates(userId, realCallingPid, realCallingUid, startFlags, callingPackage, in executeRequest()
1020 if (mInterceptor.intercept(intent, rInfo, aInfo, resolvedType, inTask, callingPid, in executeRequest()
1024 intent = mInterceptor.mIntent; in executeRequest()
1025 rInfo = mInterceptor.mRInfo; in executeRequest()
1026 aInfo = mInterceptor.mAInfo; in executeRequest()
[all …]
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp340 mInterceptor(mFactory.createSurfaceInterceptor()), in SurfaceFlinger()
559 mInterceptor->saveDisplayCreation(state); in createDisplay()
577 mInterceptor->saveDisplayDeletion(state.sequenceId); in destroyDisplay()
2609 mInterceptor->saveDisplayCreation(state); in processDisplayHotplugEventsLocked()
2628 mInterceptor->saveDisplayDeletion(state.sequenceId); in processDisplayHotplugEventsLocked()
3189 mInterceptor->saveVSyncEvent(timestamp); in initScheduler()
3819 if (mInterceptor->isEnabled()) { in applyTransactionState()
3820 mInterceptor->saveTransaction(states, mCurrentState.displays, displays, flags, in applyTransactionState()
4359 mInterceptor->saveSurfaceCreation(layer); in createLayer()
4554 if (mInterceptor->isEnabled()) { in setPowerModeInternal()
[all …]
DBufferQueueLayer.cpp442 mFlinger->mInterceptor->saveBufferUpdate(layerId, item.mGraphicBuffer->getWidth(), in onFrameAvailable()
DSurfaceFlinger.h1303 sp<SurfaceInterceptor> mInterceptor; variable
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h430 auto& mutableInterceptor() { return mFlinger->mInterceptor; } in mutableInterceptor()