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.java978 int adj; field in OomAdjuster.ComputeOomAdjWindowCallback
986 void initialize(ProcessRecord app, int adj, boolean foregroundActivities, in initialize() argument
989 this.adj = adj; in initialize()
1001 if (adj > ProcessList.VISIBLE_APP_ADJ) { in onVisibleActivity()
1002 adj = ProcessList.VISIBLE_APP_ADJ; in onVisibleActivity()
1026 if (adj > ProcessList.PERCEPTIBLE_APP_ADJ) { in onPausedActivity()
1027 adj = ProcessList.PERCEPTIBLE_APP_ADJ; in onPausedActivity()
1051 if (adj > ProcessList.PERCEPTIBLE_APP_ADJ) { in onStoppingActivity()
1052 adj = ProcessList.PERCEPTIBLE_APP_ADJ; in onStoppingActivity()
1188 int adj; in computeOomAdjLocked() local
[all …]
DProcessRecord.java857 int modifyRawOomAdj(int adj) { in modifyRawOomAdj() argument
864 if (adj < ProcessList.FOREGROUND_APP_ADJ) { in modifyRawOomAdj()
866 } else if (adj < ProcessList.VISIBLE_APP_ADJ) { in modifyRawOomAdj()
867 adj = ProcessList.VISIBLE_APP_ADJ; in modifyRawOomAdj()
868 } else if (adj < ProcessList.PERCEPTIBLE_APP_ADJ) { in modifyRawOomAdj()
869 adj = ProcessList.PERCEPTIBLE_APP_ADJ; in modifyRawOomAdj()
870 } else if (adj < ProcessList.PERCEPTIBLE_LOW_APP_ADJ) { in modifyRawOomAdj()
871 adj = ProcessList.PERCEPTIBLE_LOW_APP_ADJ; in modifyRawOomAdj()
872 } else if (adj < ProcessList.CACHED_APP_MIN_ADJ) { in modifyRawOomAdj()
873 adj = ProcessList.CACHED_APP_MIN_ADJ; in modifyRawOomAdj()
[all …]
DProcessList.java3541 int adj = app.curAdj; in fillInProcMemInfoLocked() local
3543 outInfo.importance = procStateToImportance(procState, adj, outInfo, in fillInProcMemInfoLocked()
DActivityManagerService.java9211 int adj = proc.setAdj; in killPids() local
9212 if (adj >= worstType && !proc.killedByAm) { in killPids()
9282 final int adj = proc.setAdj; in killProcessesBelowAdj() local
9283 if (adj > belowAdj && !proc.killedByAm) { in killProcessesBelowAdj()
12044 void printOomLevel(PrintWriter pw, String name, int adj) { in printOomLevel() argument
12046 if (adj >= 0) { in printOomLevel()
12048 if (adj < 10) pw.print(' '); in printOomLevel()
12050 if (adj > -10) pw.print(' '); in printOomLevel()
12052 pw.print(adj); in printOomLevel()
12056 pw.print(stringifySize(mProcessList.getMemLevel(adj), 1024)); in printOomLevel()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowAnimationSpec.java184 float adj = 0.25f; in findAlmostThereFraction() local
185 while (adj >= 0.01f) { in findAlmostThereFraction()
187 val += adj; in findAlmostThereFraction()
189 val -= adj; in findAlmostThereFraction()
191 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.java1640 final float adj = Settings.System.getFloatForUser(mContext.getContentResolver(), in getAutoBrightnessAdjustmentSetting() local
1642 return Float.isNaN(adj) ? 0.0f : clampAutoBrightnessAdjustment(adj); in getAutoBrightnessAdjustmentSetting()
/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.java453 public static final String adjustToString(int adj) { in adjustToString() argument
454 switch (adj) { in adjustToString()
461 default: return new StringBuilder("unknown adjust mode ").append(adj).toString(); in adjustToString()
/frameworks/base/cmds/statsd/src/
Datoms.proto3872 // oom adj score.
3893 // Min oom adj score considered by lmkd.