Searched refs:newAdj (Results 1 – 2 of 2) sorted by relevance
1032 void onOomAdjustChanged(int oldAdj, int newAdj, ProcessRecord app) { in onOomAdjustChanged() argument1035 if (DefaultProcessDependencies.mPidCompacting == app.mPid && newAdj < oldAdj in onOomAdjustChanged()1036 && newAdj < ProcessList.CACHED_APP_MIN_ADJ) { in onOomAdjustChanged()1043 && (newAdj == ProcessList.PREVIOUS_APP_ADJ || newAdj == ProcessList.HOME_APP_ADJ)) { in onOomAdjustChanged()1045 } else if (newAdj >= ProcessList.CACHED_APP_MIN_ADJ in onOomAdjustChanged()1046 && newAdj <= ProcessList.CACHED_APP_MAX_ADJ) { in onOomAdjustChanged()
2099 int newAdj; in computeOomAdjLSP()2103 newAdj = clientAdj; in computeOomAdjLSP()2106 newAdj = ProcessList.PERSISTENT_SERVICE_ADJ; in computeOomAdjLSP()2115 newAdj = ProcessList.PERCEPTIBLE_LOW_APP_ADJ; in computeOomAdjLSP()2119 newAdj = ProcessList.PERCEPTIBLE_MEDIUM_APP_ADJ; in computeOomAdjLSP()2123 newAdj = ProcessList.PERCEPTIBLE_APP_ADJ; in computeOomAdjLSP()2125 newAdj = clientAdj; in computeOomAdjLSP()2129 newAdj = Math.max(clientAdj, ProcessList.VISIBLE_APP_ADJ); in computeOomAdjLSP()2131 newAdj = adj; in computeOomAdjLSP()2137 if (adj > newAdj) { in computeOomAdjLSP()[all …]