Searched refs:mOptRecord (Results 1 – 15 of 15) sorted by relevance
/frameworks/base/services/core/java/com/android/server/am/ |
D | CachedAppOptimizer.java | 834 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 …]
|
D | ProcessRecord.java | 414 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()
|
D | OomAdjuster.java | 1014 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 …]
|
D | OomAdjusterModernImpl.java | 1114 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()
|
D | UidRecord.java | 396 final ProcessCachedOptimizerRecord opt = app.mOptRecord; in areAllProcessesFrozen()
|
D | AppProfiler.java | 514 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()
|
D | ProcessErrorStateRecord.java | 370 mApp.mOptRecord.isFrozen(), timestamp); in appNotResponding() 462 info.append("Frozen: ").append(mApp.mOptRecord.isFrozen()).append("\n"); in appNotResponding()
|
D | BroadcastQueueModernImpl.java | 2029 return app.mOptRecord.isPendingFreeze() || app.mOptRecord.isFrozen(); in isProcessFreezable()
|
D | ActivityManagerShellCommand.java | 1233 proc.mOptRecord.setFreezeSticky(isSticky);
|
D | ActiveServices.java | 5152 && (r.app.mOptRecord.isPendingFreeze() || r.app.mOptRecord.isFrozen()); in bumpServiceExecutingLocked()
|
D | ProcessList.java | 1898 app.mOptRecord.setFreezeExempt(true);
|
D | ActivityManagerService.java | 9754 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/ |
D | BaseBroadcastQueueTest.java | 295 app.mOptRecord.setPendingFreeze(pendingFreeze); in setProcessFreezable() 296 app.mOptRecord.setFrozen(frozen); in setProcessFreezable()
|
D | CachedAppOptimizerTest.java | 798 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()
|
D | MockingOomAdjusterTests.java | 2885 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 …]
|