/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStartInterceptorTest.java | 109 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/ |
D | KeyboardInterceptorTest.java | 54 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/ |
D | ActivityStarter.java | 151 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/ |
D | SurfaceFlinger.cpp | 278 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 …]
|
D | BufferQueueLayer.cpp | 473 mFlinger->mInterceptor->saveBufferUpdate(this, item.mGraphicBuffer->getWidth(), in onFrameAvailable()
|
D | SurfaceFlinger.h | 1007 std::unique_ptr<SurfaceInterceptor> mInterceptor; variable
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TestableSurfaceFlinger.h | 327 auto& mutableInterceptor() { return mFlinger->mInterceptor; } in mutableInterceptor()
|