Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java1352 int adj; field in OomAdjuster.ComputeOomAdjWindowCallback
1362 void initialize(ProcessRecord app, int adj, boolean foregroundActivities, in initialize() argument
1366 this.adj = adj; in initialize()
1380 if (adj > ProcessList.VISIBLE_APP_ADJ) { in onVisibleActivity()
1381 adj = ProcessList.VISIBLE_APP_ADJ; in onVisibleActivity()
1406 if (adj > ProcessList.PERCEPTIBLE_APP_ADJ) { in onPausedActivity()
1407 adj = ProcessList.PERCEPTIBLE_APP_ADJ; in onPausedActivity()
1432 if (adj > ProcessList.PERCEPTIBLE_APP_ADJ) { in onStoppingActivity()
1433 adj = ProcessList.PERCEPTIBLE_APP_ADJ; in onStoppingActivity()
1582 int adj; in computeOomAdjLSP() local
[all …]
DProcessServiceRecord.java276 int modifyRawOomAdj(int adj) { in modifyRawOomAdj() argument
283 if (adj < ProcessList.FOREGROUND_APP_ADJ) { in modifyRawOomAdj()
285 } else if (adj < ProcessList.VISIBLE_APP_ADJ) { in modifyRawOomAdj()
286 adj = ProcessList.VISIBLE_APP_ADJ; in modifyRawOomAdj()
287 } else if (adj < ProcessList.PERCEPTIBLE_APP_ADJ) { in modifyRawOomAdj()
288 adj = ProcessList.PERCEPTIBLE_APP_ADJ; in modifyRawOomAdj()
289 } else if (adj < ProcessList.PERCEPTIBLE_LOW_APP_ADJ) { in modifyRawOomAdj()
290 adj = ProcessList.PERCEPTIBLE_LOW_APP_ADJ; in modifyRawOomAdj()
291 } else if (adj < ProcessList.CACHED_APP_MIN_ADJ) { in modifyRawOomAdj()
292 adj = ProcessList.CACHED_APP_MIN_ADJ; in modifyRawOomAdj()
[all …]
DProcessStateRecord.java1102 int adj, boolean foregroundActivities, boolean hasVisibleActivities, int procState, in computeOomAdjFromActivitiesIfNecessary() argument
1107 callback.initialize(mApp, adj, foregroundActivities, hasVisibleActivities, procState, in computeOomAdjFromActivitiesIfNecessary()
1112 mCachedAdj = callback.adj; in computeOomAdjFromActivitiesIfNecessary()
DProcessList.java3718 int adj = state.getCurAdj(); in fillInProcMemInfoLOSP() local
3720 outInfo.importance = procStateToImportance(procState, adj, outInfo, in fillInProcMemInfoLOSP()
4164 final int adj = object2.first.mState.getSetAdj() - object1.first.mState.getSetAdj(); in sortProcessOomList()
4165 if (adj != 0) { in sortProcessOomList()
4166 return adj; in sortProcessOomList()
4423 private void printOomLevel(PrintWriter pw, String name, int adj) { in printOomLevel() argument
4425 if (adj >= 0) { in printOomLevel()
4427 if (adj < 10) pw.print(' '); in printOomLevel()
4429 if (adj > -10) pw.print(' '); in printOomLevel()
4431 pw.print(adj); in printOomLevel()
[all …]
DActivityManagerService.java7737 int adj = proc.mState.getSetAdj(); in killPids() local
7738 if (adj >= worstType && !proc.isKilledByAm()) { in killPids()
7826 final int adj = proc.mState.getSetAdj(); in killProcessesBelowAdj() local
7827 if (adj > belowAdj && !proc.isKilledByAm()) { in killProcessesBelowAdj()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowAnimationSpec.java258 float adj = 0.25f; in findInterpolationAdjustedTargetFraction() local
260 while (adj >= epsilon) { in findInterpolationAdjustedTargetFraction()
262 val += adj; in findInterpolationAdjustedTargetFraction()
264 val -= adj; in findInterpolationAdjustedTargetFraction()
266 adj /= 2; in findInterpolationAdjustedTargetFraction()
/frameworks/base/core/proto/android/app/
Dactivitymanager.proto38 // report pid oom adj has changed, original value is 1 << 6
/frameworks/rs/driver/runtime/
Drs_cl.c1274 float adj = 1.f + r + (r2 * 0.5f) + (r2*r * 0.166666f) + (r2*r2 * 0.0416666f); in native_exp2() local
1275 return fo * adj; in native_exp2()
1289 float2 adj = 1.f + r + (r2 * 0.5f) + (r2*r * 0.166666f) + (r2*r2 * 0.0416666f); in native_exp2() local
1290 return fo * adj; in native_exp2()
1304 float4 adj = 1.f + r + (r2 * 0.5f) + (r2*r * 0.166666f) + (r2*r2 * 0.0416666f); in native_exp2() local
1305 return fo * adj; in native_exp2()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java2498 final float adj = Settings.System.getFloatForUser(mContext.getContentResolver(),
2500 return Float.isNaN(adj) ? 0.0f : clampAutoBrightnessAdjustment(adj);
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobConcurrencyManager.java2030 final int adj = add ? 1 : -1; in adjustPendingJobCount() local
2037 mNumPendingJobs.put(workType, mNumPendingJobs.get(workType) + adj); in adjustPendingJobCount()
/frameworks/base/media/java/android/media/
DAudioManager.java489 public static final String adjustToString(int adj) { in adjustToString() argument
490 switch (adj) { in adjustToString()
497 default: return new StringBuilder("unknown adjust mode ").append(adj).toString(); in adjustToString()
/frameworks/proto_logging/stats/
Datoms.proto5154 // The oom adj score of the launching activity prior to the launch.
5617 // oom adj score.
5638 // Min oom adj score considered by lmkd.
11349 // OOM adj score.