Home
last modified time | relevance | path

Searched refs:mOptRecord (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DCachedAppOptimizer.java834 pw.println(" " + app.mOptRecord.getFreezeUnfreezeTime() + ": " + app.getPid() in dump()
836 + (app.mOptRecord.isFreezeSticky() ? " (sticky)" : "")); in dump()
845 + ". hasPendingCompact: " + app.mOptRecord.hasPendingCompact()); in dump()
855 app.mOptRecord.setReqCompactSource(source); in compactApp()
856 app.mOptRecord.setReqCompactProfile(compactProfile); in compactApp()
875 if (!app.mOptRecord.hasPendingCompact()) { in compactApp()
879 "compactApp " + app.mOptRecord.getReqCompactSource().name() + " " in compactApp()
880 + app.mOptRecord.getReqCompactProfile().name() + " " + processName); in compactApp()
882 app.mOptRecord.setHasPendingCompact(true); in compactApp()
883 app.mOptRecord.setForceCompact(force); in compactApp()
[all …]
DProcessRecord.java414 final ProcessCachedOptimizerRecord mOptRecord; field in ProcessRecord
562 mOptRecord.dump(pw, prefix, nowUptime); in dump()
622 mOptRecord = new ProcessCachedOptimizerRecord(this); in ProcessRecord()
625 mOptRecord.init(now); in ProcessRecord()
1292 mOptRecord.setPendingFreeze(false); in killLocked()
1293 mOptRecord.setFrozen(false); in killLocked()
1692 && !mOptRecord.isFreezeExempt() in isFreezable()
1693 && !mOptRecord.shouldNotFreeze() in isFreezable()
DOomAdjuster.java1014 app.mOptRecord.setLastOomAdjChangeReason(oomAdjReason); in updateOomAdjInnerLSP()
1132 final ProcessCachedOptimizerRecord opt = app.mOptRecord; in assignCachedAdjIfNecessary()
1835 app.mOptRecord.setShouldNotFreeze(uidRec != null && uidRec.isCurAllowListed()); in computeOomAdjLSP()
2673 if (client.mOptRecord.shouldNotFreeze()) { in computeServiceHostOomAdjLSP()
2675 if (app.mOptRecord.setShouldNotFreeze(true, dryRun)) { in computeServiceHostOomAdjLSP()
2742 if (app.mOptRecord.setShouldNotFreeze(true, dryRun)) { in computeServiceHostOomAdjLSP()
2979 if (app.mOptRecord.setShouldNotFreeze(true, dryRun)) { in computeServiceHostOomAdjLSP()
3118 if (client.mOptRecord.shouldNotFreeze()) {
3120 if (app.mOptRecord.setShouldNotFreeze(true, dryRun)) {
3881 if (app.mOptRecord.isFreezeExempt()) { in updateAppFreezeStateLSP()
[all …]
DOomAdjusterModernImpl.java1114 final boolean prevShouldNotFreeze = target.mOptRecord.shouldNotFreeze(); in initReachableStatesLSP()
1281 if (!app.mOptRecord.shouldNotFreeze() && prevShouldNotFreeze) { in selfImportanceLoweredLSP()
1321 if (!host.mOptRecord.shouldNotFreeze() && client.mOptRecord.shouldNotFreeze()) { in unimportantConnectionLSP()
DUidRecord.java396 final ProcessCachedOptimizerRecord opt = app.mOptRecord; in areAllProcessesFrozen()
DAppProfiler.java514 if (app.mOptRecord.isFrozen()) { in updateCachedAppsSnapshot()
515 final long freezeTime = app.mOptRecord.getFreezeUnfreezeTime(); in updateCachedAppsSnapshot()
719 (profile.mApp.mOptRecord != null in collectPssInBackground()
720 && profile.mApp.mOptRecord.skipPSSCollectionBecauseFrozen()) in collectPssInBackground()
860 (profile.mApp.mOptRecord != null in collectRssInBackground()
861 && profile.mApp.mOptRecord.skipPSSCollectionBecauseFrozen()) in collectRssInBackground()
DProcessErrorStateRecord.java370 mApp.mOptRecord.isFrozen(), timestamp); in appNotResponding()
462 info.append("Frozen: ").append(mApp.mOptRecord.isFrozen()).append("\n"); in appNotResponding()
DBroadcastQueueModernImpl.java2029 return app.mOptRecord.isPendingFreeze() || app.mOptRecord.isFrozen(); in isProcessFreezable()
DActivityManagerShellCommand.java1233 proc.mOptRecord.setFreezeSticky(isSticky);
DActiveServices.java5152 && (r.app.mOptRecord.isPendingFreeze() || r.app.mOptRecord.isFrozen()); in bumpServiceExecutingLocked()
DProcessList.java1898 app.mOptRecord.setFreezeExempt(true);
DActivityManagerService.java9754 if (process.mOptRecord != null) { in appendDropBoxProcessHeaders()
9759 ? volatileStates.isProcessFrozen() : process.mOptRecord.isFrozen() in appendDropBoxProcessHeaders()
18019 if (app.mOptRecord.isFrozen()) { in dumpAllResources()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBaseBroadcastQueueTest.java295 app.mOptRecord.setPendingFreeze(pendingFreeze); in setProcessFreezable()
296 app.mOptRecord.setFrozen(frozen); in setProcessFreezable()
DCachedAppOptimizerTest.java798 processRecord.mOptRecord.setLastCompactTime( in processWithDeltaRSSTooSmall_notFullCompacted()
799 processRecord.mOptRecord.getLastCompactTime() - 10_000); in processWithDeltaRSSTooSmall_notFullCompacted()
816 processRecord.mOptRecord.setLastCompactTime( in processWithDeltaRSSTooSmall_notFullCompacted()
817 processRecord.mOptRecord.getLastCompactTime() - 10_000); in processWithDeltaRSSTooSmall_notFullCompacted()
980 processRecord.mOptRecord.getLastCompactProfile(); in process_forceCompacted()
DMockingOomAdjusterTests.java2885 assertEquals(true, app.mOptRecord.shouldNotFreeze()); in testSetUidTempAllowlistState()
2886 assertEquals(true, app2.mOptRecord.shouldNotFreeze()); in testSetUidTempAllowlistState()
2890 assertEquals(false, app.mOptRecord.shouldNotFreeze()); in testSetUidTempAllowlistState()
2891 assertEquals(false, app2.mOptRecord.shouldNotFreeze()); in testSetUidTempAllowlistState()
2913 assertEquals(true, app.mOptRecord.shouldNotFreeze()); in testSetUidTempAllowlistState_multipleAllowlistClients()
2914 assertEquals(true, app2.mOptRecord.shouldNotFreeze()); in testSetUidTempAllowlistState_multipleAllowlistClients()
2915 assertEquals(true, app3.mOptRecord.shouldNotFreeze()); in testSetUidTempAllowlistState_multipleAllowlistClients()
2921 assertEquals(false, app.mOptRecord.shouldNotFreeze()); in testSetUidTempAllowlistState_multipleAllowlistClients()
2922 assertEquals(true, app2.mOptRecord.shouldNotFreeze()); in testSetUidTempAllowlistState_multipleAllowlistClients()
2923 assertEquals(true, app3.mOptRecord.shouldNotFreeze()); in testSetUidTempAllowlistState_multipleAllowlistClients()
[all …]