If you think the Android project Pimp_my_Z1 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code
/** Copyright (C) 2013 Louis Teboul (a.k.a Androguide)
*//fromwww.java2s.com
* admin@pimpmyrom.org || louisteboul@gmail.com
* http://pimpmyrom.org || http://androguide.fr
* 71 quai Clmenceau, 69300 Caluire-et-Cuire, FRANCE.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
**/package com.androguide.honamicontrol.kernel.cpucontrol;
publicinterface CPUInterface {
publicstaticfinal String CURRENT_CPU = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq";
publicstaticfinal String CURRENT_CPU_CPUINFO = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq";
publicstaticfinal String MAX_FREQ = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq";
publicstaticfinal String MAX_FREQ_ALL_CORES = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq_all_cpus";
publicstaticfinal String SNAKE_CHARMER_MAX_FREQ = "/sys/kernel/msm_cpufreq_limit/cpufreq_limit";
publicstaticfinal String SNAKE_CHARMER_VERSION = "/sys/kernel/msm_cpufreq_limit/msm_cpufreq_limit_version";
publicstaticfinal String TEGRA_MAX_FREQ = "/sys/module/cpu_tegra/parameters/cpu_user_cap";
publicstaticfinal String MIN_FREQ = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq";
publicstaticfinal String MIN_FREQ_ALL_CORES = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq_all_cpus";
publicstaticfinal String STEPS = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies";
publicstaticfinal String ONLINE_CPUS = "/sys/devices/system/cpu/online";
publicstaticfinal String OFFLINE_CPUS = "/sys/devices/system/cpu/offline";
publicstaticfinal String CPU0_ONLINE = "/sys/devices/system/cpu/cpu0/online";
publicstaticfinal String CPU1_ONLINE = "/sys/devices/system/cpu/cpu1/online";
publicstaticfinal String CPU2_ONLINE = "/sys/devices/system/cpu/cpu2/online";
publicstaticfinal String CPU3_ONLINE = "/sys/devices/system/cpu/cpu3/online";
publicstaticfinal String GOVERNORS_LIST = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors";
publicstaticfinal String GOVERNORS_LIST2 = "/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors";
publicstaticfinal String GOVERNORS_LIST3 = "/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors";
publicstaticfinal String GOVERNORS_LIST4 = "/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors";
publicstaticfinal String FIRST_PART_CPU = "/sys/devices/system/cpu/cpu";
publicstaticfinal String SECOND_PART_GOV = "/cpufreq/scaling_governor";
publicstaticfinal String SECOND_PART_ONLINE = "/online";
publicstaticfinal String GOVERNOR = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor";
publicstaticfinal String GOVERNOR2 = "/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor";
publicstaticfinal String GOVERNOR3 = "/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor";
publicstaticfinal String GOVERNOR4 = "/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor";
publicstaticfinal String GOVERNOR_ALL_CORES = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor_all_cpus";
publicstaticfinal String IO_SCHEDULER = "/sys/block/mmcblk0/queue/scheduler";
publicstaticfinal String NUM_OF_CPUS = "/sys/devices/system/cpu/present";
publicstaticfinal String AVAILABLE_TCP_ALGORITHMS = "/proc/sys/net/ipv4/tcp_available_congestion_control";
publicstaticfinal String CURR_TCP_ALGORITHM = "/proc/sys/net/ipv4/tcp_congestion_control";
publicstaticfinal String SYSCTL_TCP_ALGORITHM = "sysctl -w net.ipv4.tcp_congestion_control=";
publicstaticfinal String MSM_THERMAL = "/sys/module/msm_thermal/parameters/enabled";
publicstaticfinal String KRAIT_BOOST = "/sys/module/clock_krait_8974/parameters/boost";
publicstaticfinal String PVS_BINNING = "/sys/module/clock_krait_8974/parameters/table_name";
publicstaticfinal String GOV_CUSTOMIZATION = "/sys/devices/system/cpu/cpufreq";
}