Loading core/res/res/values/config.xml +1 −0 Original line number Diff line number Diff line Loading @@ -2214,6 +2214,7 @@ <!-- Whether cpu boost is enabled for AppLaunch --> <bool name="config_enableCpuBoostForAppLaunch">false</bool> <integer name="disablepacking_timeout_param">0</integer> <integer name="launchboost_timeout_param">0</integer> <integer name="launchboost_schedboost_param">0</integer> <integer name="launchboost_cpuboost_param">0</integer> Loading core/res/res/values/symbols.xml +1 −0 Original line number Diff line number Diff line Loading @@ -2269,6 +2269,7 @@ <!-- cpu boost for AppLaunch --> <java-symbol type="bool" name="config_enableCpuBoostForAppLaunch" /> <java-symbol type="integer" name="disablepacking_timeout_param" /> <java-symbol type="integer" name="launchboost_timeout_param" /> <java-symbol type="integer" name="launchboost_schedboost_param" /> <java-symbol type="integer" name="launchboost_cpuboost_param" /> Loading services/core/java/com/android/server/am/ActivityStackSupervisor.java +6 −3 Original line number Diff line number Diff line Loading @@ -147,6 +147,7 @@ public final class ActivityStackSupervisor implements DisplayListener { public Performance mPerf = null; public boolean mIsPerfBoostEnabled = false; public int lBoostTimeOut = 0; public int lDisPackTimeOut = 0; public int lBoostCpuBoost = 0; public int lBoostSchedBoost = 0; public int lBoostPcDisblBoost = 0; Loading Loading @@ -324,6 +325,8 @@ public final class ActivityStackSupervisor implements DisplayListener { com.android.internal.R.integer.launchboost_schedboost_param); lBoostTimeOut = mService.mContext.getResources().getInteger( com.android.internal.R.integer.launchboost_timeout_param); lDisPackTimeOut = mService.mContext.getResources().getInteger( com.android.internal.R.integer.disablepacking_timeout_param); lBoostCpuBoost = mService.mContext.getResources().getInteger( com.android.internal.R.integer.launchboost_cpuboost_param); lBoostPcDisblBoost = mService.mContext.getResources().getInteger( Loading Loading @@ -2742,10 +2745,10 @@ public final class ActivityStackSupervisor implements DisplayListener { } if (mPerf != null) { if (DEBUG) Slog.d(TAG, "Acquiring perf lock Enter : "); mPerf.perfLockAcquire(lBoostTimeOut, lBoostPcDisblBoost, lBoostSchedBoost, lBoostCpuBoost, lBoostCpuNumBoost, lBoostKsmBoost, lBoostSmTaskBoost, lBoostIdleLoadBoost, mPerf.perfLockAcquire(lDisPackTimeOut,lBoostSmTaskBoost, lBoostIdleLoadBoost, lBoostIdleNrRunBoost, lBoostPreferIdle); mPerf.perfLockAcquire(lBoostTimeOut, lBoostPcDisblBoost, lBoostSchedBoost, lBoostCpuBoost, lBoostCpuNumBoost, lBoostKsmBoost); } } Loading Loading
core/res/res/values/config.xml +1 −0 Original line number Diff line number Diff line Loading @@ -2214,6 +2214,7 @@ <!-- Whether cpu boost is enabled for AppLaunch --> <bool name="config_enableCpuBoostForAppLaunch">false</bool> <integer name="disablepacking_timeout_param">0</integer> <integer name="launchboost_timeout_param">0</integer> <integer name="launchboost_schedboost_param">0</integer> <integer name="launchboost_cpuboost_param">0</integer> Loading
core/res/res/values/symbols.xml +1 −0 Original line number Diff line number Diff line Loading @@ -2269,6 +2269,7 @@ <!-- cpu boost for AppLaunch --> <java-symbol type="bool" name="config_enableCpuBoostForAppLaunch" /> <java-symbol type="integer" name="disablepacking_timeout_param" /> <java-symbol type="integer" name="launchboost_timeout_param" /> <java-symbol type="integer" name="launchboost_schedboost_param" /> <java-symbol type="integer" name="launchboost_cpuboost_param" /> Loading
services/core/java/com/android/server/am/ActivityStackSupervisor.java +6 −3 Original line number Diff line number Diff line Loading @@ -147,6 +147,7 @@ public final class ActivityStackSupervisor implements DisplayListener { public Performance mPerf = null; public boolean mIsPerfBoostEnabled = false; public int lBoostTimeOut = 0; public int lDisPackTimeOut = 0; public int lBoostCpuBoost = 0; public int lBoostSchedBoost = 0; public int lBoostPcDisblBoost = 0; Loading Loading @@ -324,6 +325,8 @@ public final class ActivityStackSupervisor implements DisplayListener { com.android.internal.R.integer.launchboost_schedboost_param); lBoostTimeOut = mService.mContext.getResources().getInteger( com.android.internal.R.integer.launchboost_timeout_param); lDisPackTimeOut = mService.mContext.getResources().getInteger( com.android.internal.R.integer.disablepacking_timeout_param); lBoostCpuBoost = mService.mContext.getResources().getInteger( com.android.internal.R.integer.launchboost_cpuboost_param); lBoostPcDisblBoost = mService.mContext.getResources().getInteger( Loading Loading @@ -2742,10 +2745,10 @@ public final class ActivityStackSupervisor implements DisplayListener { } if (mPerf != null) { if (DEBUG) Slog.d(TAG, "Acquiring perf lock Enter : "); mPerf.perfLockAcquire(lBoostTimeOut, lBoostPcDisblBoost, lBoostSchedBoost, lBoostCpuBoost, lBoostCpuNumBoost, lBoostKsmBoost, lBoostSmTaskBoost, lBoostIdleLoadBoost, mPerf.perfLockAcquire(lDisPackTimeOut,lBoostSmTaskBoost, lBoostIdleLoadBoost, lBoostIdleNrRunBoost, lBoostPreferIdle); mPerf.perfLockAcquire(lBoostTimeOut, lBoostPcDisblBoost, lBoostSchedBoost, lBoostCpuBoost, lBoostCpuNumBoost, lBoostKsmBoost); } } Loading