Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java648 int adj; field in OomAdjuster.ComputeOomAdjWindowCallback
656 void initialize(ProcessRecord app, int adj, boolean foregroundActivities, in initialize() argument
659 this.adj = adj; in initialize()
671 if (adj > ProcessList.VISIBLE_APP_ADJ) { in onVisibleActivity()
672 adj = ProcessList.VISIBLE_APP_ADJ; in onVisibleActivity()
696 if (adj > ProcessList.PERCEPTIBLE_APP_ADJ) { in onPausedActivity()
697 adj = ProcessList.PERCEPTIBLE_APP_ADJ; in onPausedActivity()
721 if (adj > ProcessList.PERCEPTIBLE_APP_ADJ) { in onStoppingActivity()
722 adj = ProcessList.PERCEPTIBLE_APP_ADJ; in onStoppingActivity()
854 int adj; in computeOomAdjLocked() local
[all …]
DProcessRecord.java715 int modifyRawOomAdj(int adj) { in modifyRawOomAdj() argument
722 if (adj < ProcessList.FOREGROUND_APP_ADJ) { in modifyRawOomAdj()
724 } else if (adj < ProcessList.VISIBLE_APP_ADJ) { in modifyRawOomAdj()
725 adj = ProcessList.VISIBLE_APP_ADJ; in modifyRawOomAdj()
726 } else if (adj < ProcessList.PERCEPTIBLE_APP_ADJ) { in modifyRawOomAdj()
727 adj = ProcessList.PERCEPTIBLE_APP_ADJ; in modifyRawOomAdj()
728 } else if (adj < ProcessList.PERCEPTIBLE_LOW_APP_ADJ) { in modifyRawOomAdj()
729 adj = ProcessList.PERCEPTIBLE_LOW_APP_ADJ; in modifyRawOomAdj()
730 } else if (adj < ProcessList.CACHED_APP_MIN_ADJ) { in modifyRawOomAdj()
731 adj = ProcessList.CACHED_APP_MIN_ADJ; in modifyRawOomAdj()
[all …]
DProcessList.java3140 int adj = app.curAdj; in fillInProcMemInfoLocked() local
3142 outInfo.importance = procStateToImportance(procState, adj, outInfo, in fillInProcMemInfoLocked()
DActivityManagerService.java8733 int adj = proc.setAdj; in killPids() local
8734 if (adj >= worstType && !proc.killedByAm) { in killPids()
8781 final int adj = proc.setAdj; in killProcessesBelowAdj() local
8782 if (adj > belowAdj && !proc.killedByAm) { in killProcessesBelowAdj()
11262 void printOomLevel(PrintWriter pw, String name, int adj) { in printOomLevel() argument
11264 if (adj >= 0) { in printOomLevel()
11266 if (adj < 10) pw.print(' '); in printOomLevel()
11268 if (adj > -10) pw.print(' '); in printOomLevel()
11270 pw.print(adj); in printOomLevel()
11274 pw.print(stringifySize(mProcessList.getMemLevel(adj), 1024)); in printOomLevel()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowAnimationSpec.java190 float adj = 0.25f; in findAlmostThereFraction() local
191 while (adj >= 0.01f) { in findAlmostThereFraction()
193 val += adj; in findAlmostThereFraction()
195 val -= adj; in findAlmostThereFraction()
197 adj /= 2; in findAlmostThereFraction()
/frameworks/ml/nn/runtime/test/fuzzing/
DRandomVariable.cpp892 auto adj = var->children; in annotateBridgeHelper() local
893 if (var->parent1 != nullptr) adj.push_back(var->parent1); in annotateBridgeHelper()
894 if (var->parent2 != nullptr) adj.push_back(var->parent2); in annotateBridgeHelper()
896 for (const auto& weakChild : adj) { in annotateBridgeHelper()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java1595 final float adj = Settings.System.getFloatForUser(mContext.getContentResolver(),
1597 return Float.isNaN(adj) ? 0.0f : clampAutoBrightnessAdjustment(adj);
/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/media/java/android/media/
DAudioManager.java445 public static final String adjustToString(int adj) { in adjustToString() argument
446 switch (adj) { in adjustToString()
453 default: return new StringBuilder("unknown adjust mode ").append(adj).toString(); in adjustToString()
/frameworks/base/cmds/statsd/src/
Datoms.proto3440 // oom adj score.
3461 // Min oom adj score considered by lmkd.