Home
last modified time | relevance | path

Searched refs:mCachedAppOptimizer (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DServiceBindingOomAdjPolicyTest.java173 realAms.mOomAdjuster.mCachedAppOptimizer = spy(realAms.mOomAdjuster.mCachedAppOptimizer); in setUp()
186 doReturn(true).when(mAms.mOomAdjuster.mCachedAppOptimizer).useFreezer(); in setUp()
187 doNothing().when(mAms.mOomAdjuster.mCachedAppOptimizer).freezeAppAsyncAtEarliestLSP( in setUp()
503 verify(mAms.mOomAdjuster.mCachedAppOptimizer, in performTestServiceDistinctBindingOomAdj()
506 clearInvocations(mAms.mOomAdjuster.mCachedAppOptimizer); in performTestServiceDistinctBindingOomAdj()
DServiceTimeoutTest.java114 realAms.mOomAdjuster.mCachedAppOptimizer = spy(realAms.mOomAdjuster.mCachedAppOptimizer); in setUp()
DBaseBroadcastQueueTest.java167 realAms.mOomAdjuster.mCachedAppOptimizer = Mockito.mock(CachedAppOptimizer.class); in setUp()
DBroadcastQueueTest.java2350 verify(mAms.mOomAdjuster.mCachedAppOptimizer).freezeAppAsyncImmediateLSP(callerApp);
2382 verify(mAms.mOomAdjuster.mCachedAppOptimizer, atLeastOnce())
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java327 CachedAppOptimizer mCachedAppOptimizer; field in OomAdjuster
489 mCachedAppOptimizer = new CachedAppOptimizer(mService); in OomAdjuster()
526 mCachedAppOptimizer.init(); in initSettings()
3349 mCachedAppOptimizer.onWakefulnessChanged(wakefulness); in onWakefulnessChanged()
3373 mCachedAppOptimizer.onOomAdjustChanged(state.getSetAdj(), state.getCurAdj(), app); in applyOomAdjLSP()
3866 mCachedAppOptimizer.dump(pw); in dumpCachedAppOptimizerSettings()
3877 if (!mCachedAppOptimizer.useFreezer()) { in updateAppFreezeStateLSP()
3888 mCachedAppOptimizer.unfreezeAppLSP(app, in updateAppFreezeStateLSP()
3898 mCachedAppOptimizer.freezeAppAsyncLSP(app); in updateAppFreezeStateLSP()
3900 mCachedAppOptimizer.freezeAppAsyncAtEarliestLSP(app); in updateAppFreezeStateLSP()
[all …]
DProviderMap.java355 mAm.mOomAdjuster.mCachedAppOptimizer.enableFreezer(false); in dumpProvider()
372 mAm.mOomAdjuster.mCachedAppOptimizer.enableFreezer(true); in dumpProvider()
DActivityManagerShellCommand.java1166 mInternal.mOomAdjuster.mCachedAppOptimizer.compactApp(app,
1174 mInternal.mOomAdjuster.mCachedAppOptimizer.compactApp(app,
1183 mInternal.mOomAdjuster.mCachedAppOptimizer.compactAllSystem();
1199 mInternal.mOomAdjuster.mCachedAppOptimizer.compactNative(
1202 mInternal.mOomAdjuster.mCachedAppOptimizer.compactNative(
1235 mInternal.mOomAdjuster.mCachedAppOptimizer.forceFreezeAppAsyncLSP(proc);
1237 mInternal.mOomAdjuster.mCachedAppOptimizer.unfreezeAppInternalLSP(proc, 0,
DBroadcastQueueModernImpl.java798 mService.mOomAdjuster.mCachedAppOptimizer.freezeAppAsyncImmediateLSP(r.callerApp); in enqueueBroadcastLocked()
1171 mService.mOomAdjuster.mCachedAppOptimizer.unfreezeTemporarily(app, in dispatchReceivers()
DProcessRecord.java1691 return mService.mOomAdjuster.mCachedAppOptimizer.useFreezer() in isFreezable()
DAppErrors.java537 mService.mOomAdjuster.mCachedAppOptimizer.unfreezeProcess(initialPid, in scheduleAppCrashLocked()
DAppProfiler.java1481 mService.mOomAdjuster.mCachedAppOptimizer.unfreezeTemporarily(app, in scheduleTrimMemoryLSP()
DActiveServices.java8152 mAm.mOomAdjuster.mCachedAppOptimizer.enableFreezer(false); in dumpService()
8195 mAm.mOomAdjuster.mCachedAppOptimizer.enableFreezer(true); in dumpService()