Home
last modified time | relevance | path

Searched refs:CachedAppOptimizer (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DCachedAppOptimizerTest.java76 private CachedAppOptimizer mCachedAppOptimizerUnderTest;
111 mCachedAppOptimizerUnderTest = new CachedAppOptimizer(mAms, in setUp()
112 new CachedAppOptimizer.PropertyChangedCallbackForTest() { in setUp()
150 CachedAppOptimizer.DEFAULT_USE_COMPACTION); in init_setsDefaults()
152 CachedAppOptimizer.DEFAULT_COMPACT_THROTTLE_1); in init_setsDefaults()
154 CachedAppOptimizer.DEFAULT_COMPACT_THROTTLE_2); in init_setsDefaults()
156 CachedAppOptimizer.DEFAULT_COMPACT_THROTTLE_3); in init_setsDefaults()
158 CachedAppOptimizer.DEFAULT_COMPACT_THROTTLE_4); in init_setsDefaults()
160 CachedAppOptimizer.DEFAULT_STATSD_SAMPLE_RATE); in init_setsDefaults()
162 CachedAppOptimizer.DEFAULT_STATSD_SAMPLE_RATE); in init_setsDefaults()
[all …]
DBaseBroadcastQueueTest.java167 realAms.mOomAdjuster.mCachedAppOptimizer = Mockito.mock(CachedAppOptimizer.class); in setUp()
/frameworks/base/services/core/java/com/android/server/am/
DProcessCachedOptimizerRecord.java50 @GuardedBy("mProcLock") private CachedAppOptimizer.CompactProfile mReqCompactProfile;
55 @GuardedBy("mProcLock") private CachedAppOptimizer.CompactSource mReqCompactSource;
65 @GuardedBy("mProcLock") private CachedAppOptimizer.CompactProfile mLastCompactProfile;
149 CachedAppOptimizer.CompactProfile getReqCompactProfile() { in getReqCompactProfile()
154 void setReqCompactProfile(CachedAppOptimizer.CompactProfile reqCompactProfile) { in setReqCompactProfile()
159 CachedAppOptimizer.CompactSource getReqCompactSource() { in getReqCompactSource()
164 void setReqCompactSource(CachedAppOptimizer.CompactSource stat) { in setReqCompactSource()
180 CachedAppOptimizer.CompactProfile getLastCompactProfile() { in getLastCompactProfile()
183 mLastCompactProfile = CachedAppOptimizer.CompactProfile.SOME; in getLastCompactProfile()
190 void setLastCompactProfile(CachedAppOptimizer.CompactProfile lastCompactProfile) { in setLastCompactProfile()
DOWNERS41 per-file CachedAppOptimizer.java = file:/PERFORMANCE_OWNERS
DBroadcastQueueModernImpl.java523 CachedAppOptimizer.UNFREEZE_REASON_START_RECEIVER); in updateRunningListLocked()
1172 CachedAppOptimizer.UNFREEZE_REASON_START_RECEIVER, in dispatchReceivers()
1255 app, CachedAppOptimizer.UNFREEZE_REASON_FINISH_RECEIVER); in scheduleResultTo()
2088 CachedAppOptimizer.UNFREEZE_REASON_START_RECEIVER); in notifyStartedRunning()
DActivityManagerShellCommand.java1167 CachedAppOptimizer.CompactProfile.FULL,
1168 CachedAppOptimizer.CompactSource.SHELL, true);
1175 CachedAppOptimizer.CompactProfile.SOME,
1176 CachedAppOptimizer.CompactSource.SHELL, true);
1200 CachedAppOptimizer.CompactProfile.FULL, pid);
1203 CachedAppOptimizer.CompactProfile.SOME, pid);
DOomAdjuster.java327 CachedAppOptimizer mCachedAppOptimizer;
489 mCachedAppOptimizer = new CachedAppOptimizer(mService); in OomAdjuster()
1291 return CachedAppOptimizer.getFreeSwapPercent(); in getFreeSwapPercent()
3889 CachedAppOptimizer.getUnfreezeReasonCodeFromOomAdjReason(oomAdjReason)); in updateAppFreezeStateLSP()
3904 CachedAppOptimizer.getUnfreezeReasonCodeFromOomAdjReason(oomAdjReason)); in updateAppFreezeStateLSP()
DCachedAppOptimizer.java103 public final class CachedAppOptimizer { class
667 public CachedAppOptimizer(ActivityManagerService am) { in CachedAppOptimizer() method in CachedAppOptimizer
672 CachedAppOptimizer(ActivityManagerService am, PropertyChangedCallbackForTest callback, in CachedAppOptimizer() method in CachedAppOptimizer
DAppErrors.java538 CachedAppOptimizer.UNFREEZE_REASON_PROCESS_END); in scheduleAppCrashLocked()
DAppProfiler.java1482 CachedAppOptimizer.UNFREEZE_REASON_TRIM_MEMORY); in scheduleTrimMemoryLSP()
DProcessList.java3020 rc = CachedAppOptimizer.freezeBinder(pid, true, 10 /* timeout_ms */);
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerTest.java379 CachedAppOptimizer.KEY_FREEZER_DEBOUNCE_TIMEOUT, in testAppFreezerWithAllowOomAdj()
380 DeviceConfig::getLong, CachedAppOptimizer.DEFAULT_FREEZER_DEBOUNCE_TIMEOUT); in testAppFreezerWithAllowOomAdj()
491 final Matcher matcher = Pattern.compile("\\b" + CachedAppOptimizer.KEY_USE_FREEZER in isFreezerEnabled()
/frameworks/base/services/
Dart-wear-profile259 Lcom/android/server/am/CachedAppOptimizer$1;
260 Lcom/android/server/am/CachedAppOptimizer$2;
261 Lcom/android/server/am/CachedAppOptimizer$3;
262 Lcom/android/server/am/CachedAppOptimizer$4;
263 Lcom/android/server/am/CachedAppOptimizer$AggregatedCompactionStats;
264 Lcom/android/server/am/CachedAppOptimizer$AggregatedProcessCompactionStats;
265 Lcom/android/server/am/CachedAppOptimizer$AggregatedSourceCompactionStats;
266 Lcom/android/server/am/CachedAppOptimizer$CancelCompactReason;
267 Lcom/android/server/am/CachedAppOptimizer$CompactProfile;
268 Lcom/android/server/am/CachedAppOptimizer$CompactSource;
[all …]
Dart-profile412 …adcastQueueModernImpl;]Lcom/android/server/am/CachedAppOptimizer;Lcom/android/server/am/CachedAppO…
674 …er/am/BroadcastRecord;]Lcom/android/server/am/CachedAppOptimizer;Lcom/android/server/am/CachedAppO…
753CachedAppOptimizer$FreezeHandler;->freezeProcess(Lcom/android/server/am/ProcessRecord;)V+]Landroid…
754CachedAppOptimizer$FreezeHandler;->handleMessage(Landroid/os/Message;)V+]Landroid/os/Handler;Lcom/…
755 HPLcom/android/server/am/CachedAppOptimizer$FreezeHandler;->reportUnfreeze(Lcom/android/server/am/P…
756CachedAppOptimizer$MemCompactionHandler;->handleMessage(Landroid/os/Message;)V+]Lcom/android/serve…
757CachedAppOptimizer$MemCompactionHandler;->shouldRssThrottleCompaction(Lcom/android/server/am/Cache…
758CachedAppOptimizer$MemCompactionHandler;->shouldTimeThrottleCompaction(Lcom/android/server/am/Proc…
759 …id/server/am/CachedAppOptimizer;->cancelCompactionForProcess(Lcom/android/server/am/ProcessRecord;…
760CachedAppOptimizer;->compactApp(Lcom/android/server/am/ProcessRecord;Lcom/android/server/am/Cached…
[all …]
Dart-profile-boot540 Lcom/android/server/am/CachedAppOptimizer;->useCompaction()Z
/frameworks/proto_logging/stats/
Datoms.proto15337 * frameworks/base/services/core/java/com/android/server/am/CachedAppOptimizer.java
15377 // The list of reason should be kept in sync with @UnfreezeReason in CachedAppOptimizer.java.