Searched refs:mCachedAppOptimizer (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | ServiceBindingOomAdjPolicyTest.java | 173 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()
|
D | ServiceTimeoutTest.java | 114 realAms.mOomAdjuster.mCachedAppOptimizer = spy(realAms.mOomAdjuster.mCachedAppOptimizer); in setUp()
|
D | BaseBroadcastQueueTest.java | 167 realAms.mOomAdjuster.mCachedAppOptimizer = Mockito.mock(CachedAppOptimizer.class); in setUp()
|
D | BroadcastQueueTest.java | 2350 verify(mAms.mOomAdjuster.mCachedAppOptimizer).freezeAppAsyncImmediateLSP(callerApp); 2382 verify(mAms.mOomAdjuster.mCachedAppOptimizer, atLeastOnce())
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | OomAdjuster.java | 327 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 …]
|
D | ProviderMap.java | 355 mAm.mOomAdjuster.mCachedAppOptimizer.enableFreezer(false); in dumpProvider() 372 mAm.mOomAdjuster.mCachedAppOptimizer.enableFreezer(true); in dumpProvider()
|
D | ActivityManagerShellCommand.java | 1166 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,
|
D | BroadcastQueueModernImpl.java | 798 mService.mOomAdjuster.mCachedAppOptimizer.freezeAppAsyncImmediateLSP(r.callerApp); in enqueueBroadcastLocked() 1171 mService.mOomAdjuster.mCachedAppOptimizer.unfreezeTemporarily(app, in dispatchReceivers()
|
D | ProcessRecord.java | 1691 return mService.mOomAdjuster.mCachedAppOptimizer.useFreezer() in isFreezable()
|
D | AppErrors.java | 537 mService.mOomAdjuster.mCachedAppOptimizer.unfreezeProcess(initialPid, in scheduleAppCrashLocked()
|
D | AppProfiler.java | 1481 mService.mOomAdjuster.mCachedAppOptimizer.unfreezeTemporarily(app, in scheduleTrimMemoryLSP()
|
D | ActiveServices.java | 8152 mAm.mOomAdjuster.mCachedAppOptimizer.enableFreezer(false); in dumpService() 8195 mAm.mOomAdjuster.mCachedAppOptimizer.enableFreezer(true); in dumpService()
|