Home
last modified time | relevance | path

Searched refs:mProcessObserver (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DProcessObserverTest.java106 final IProcessObserver mProcessObserver = mock(IProcessObserver.Stub.class); field in ProcessObserverTest
146 doReturn(mProcessObserver).when(mProcessObserver).asBinder(); in setUp()
147 mProcessList.registerProcessObserver(mProcessObserver); in setUp()
244 verify(mProcessObserver).onProcessStarted( in testNormal()
DBackgroundRestrictionTest.java1636 mAppFGSTracker.mProcessObserver.onForegroundServicesChanged(pid, uid, serviceType); in runExemptionTestOnce()
1640 mAppFGSTracker.mProcessObserver.onForegroundServicesChanged(pid, uid, in runExemptionTestOnce()
/frameworks/base/services/core/java/com/android/server/app/
DGameServiceProviderInstanceImpl.java161 private final IProcessObserver mProcessObserver = new IProcessObserver.Stub() { field in GameServiceProviderInstanceImpl
317 mActivityManager.registerProcessObserver(mProcessObserver); in startLocked()
333 mActivityManager.unregisterProcessObserver(mProcessObserver); in stopLocked()
/frameworks/base/services/core/java/com/android/server/am/
DAppFGSTracker.java90 final IProcessObserver.Stub mProcessObserver = new IProcessObserver.Stub() { field in AppFGSTracker
203 mInjector.getActivityManagerInternal().registerProcessObserver(mProcessObserver); in onSystemReady()
/frameworks/base/services/core/java/com/android/server/devicestate/
DDeviceStateManagerService.java196 final IProcessObserver mProcessObserver = new IProcessObserver.Stub() { field in DeviceStateManagerService
280 mProcessObserver); in onStart()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/
DDeviceStateManagerServiceTest.java587 mService.mProcessObserver.onForegroundActivitiesChanged(pid, uid, in requestState_flagCancelWhenRequesterNotOnTop_onTaskMovedToFront()
599 mService.mProcessObserver.onForegroundActivitiesChanged(pid, uid, in requestState_flagCancelWhenRequesterNotOnTop_onTaskMovedToFront()