Java Code Examples for com.grarak.kerneladiutor.utils.root.Control#runSetting()

The following examples show how to use com.grarak.kerneladiutor.utils.root.Control#runSetting() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: PathReaderFragment.java    From KernelAdiutor with GNU General Public License v3.0 5 votes vote down vote up
private void run(String path, String value, String id) {
    if (ApplyOnBootFragment.CPU.equals(mCategory) && mPath.contains("%d")) {
        CPUFreq.getInstance(getActivity()).applyCpu(path, value, mMin, mMax, getActivity());
    } else {
        Control.runSetting(Control.write(value, path), mCategory, id, getActivity());
    }
}
 
Example 2
Source File: QcomBcl.java    From KernelAdiutor with GNU General Public License v3.0 4 votes vote down vote up
private static void run(String command, String id, Context context) {
    Control.runSetting(command, ApplyOnBootFragment.CPU_HOTPLUG, id, context);
}
 
Example 3
Source File: Wakelocks.java    From KernelAdiutor with GNU General Public License v3.0 4 votes vote down vote up
private static void run(String command, String id, Context context) {
    Control.runSetting(command, ApplyOnBootFragment.MISC, id, context);
}
 
Example 4
Source File: Vibration.java    From KernelAdiutor with GNU General Public License v3.0 4 votes vote down vote up
private void run(String command, String id, Context context) {
    Control.runSetting(command, ApplyOnBootFragment.MISC, id, context);
}
 
Example 5
Source File: MPDecision.java    From KernelAdiutor with GNU General Public License v3.0 4 votes vote down vote up
private static void run(String command, String id, Context context) {
    Control.runSetting(command, ApplyOnBootFragment.CPU_HOTPLUG, id, context);
}
 
Example 6
Source File: Gestures.java    From KernelAdiutor with GNU General Public License v3.0 4 votes vote down vote up
private static void run(String command, String id, Context context) {
    Control.runSetting(command, ApplyOnBootFragment.WAKE, id, context);
}
 
Example 7
Source File: Misc.java    From KernelAdiutor with GNU General Public License v3.0 4 votes vote down vote up
private void run(String command, String id, Context context) {
    Control.runSetting(command, ApplyOnBootFragment.WAKE, id, context);
}
 
Example 8
Source File: MSMHotplug.java    From KernelAdiutor with GNU General Public License v3.0 4 votes vote down vote up
private void run(String command, String id, Context context) {
    Control.runSetting(command, ApplyOnBootFragment.CPU_HOTPLUG, id, context);
}
 
Example 9
Source File: MSMPerformance.java    From KernelAdiutor with GNU General Public License v3.0 4 votes vote down vote up
private void run(String command, String id, Context context) {
    Control.runSetting(command, ApplyOnBootFragment.CPU, id, context);
}
 
Example 10
Source File: MSMPerformance.java    From KernelAdiutor with GNU General Public License v3.0 4 votes vote down vote up
public void setMaxCpus(int big, int little, String category, Context context) {
    Control.runSetting(Control.write(little + ":" + big, MAX_CPUS), category, MAX_CPUS, context);
}
 
Example 11
Source File: CPUBoost.java    From KernelAdiutor with GNU General Public License v3.0 4 votes vote down vote up
private void run(String command, String id, Context context) {
    Control.runSetting(command, ApplyOnBootFragment.CPU, id, context);
}
 
Example 12
Source File: KSM.java    From KernelAdiutor with GNU General Public License v3.0 4 votes vote down vote up
private void run(String command, String id, Context context) {
    Control.runSetting(command, ApplyOnBootFragment.KSM, id, context);
}
 
Example 13
Source File: ThunderPlug.java    From KernelAdiutor with GNU General Public License v3.0 4 votes vote down vote up
private static void run(String command, String id, Context context) {
    Control.runSetting(command, ApplyOnBootFragment.CPU_HOTPLUG, id, context);
}
 
Example 14
Source File: Dt2s.java    From KernelAdiutor with GNU General Public License v3.0 4 votes vote down vote up
private void run(String command, String id, Context context) {
    Control.runSetting(command, ApplyOnBootFragment.WAKE, id, context);
}
 
Example 15
Source File: T2w.java    From KernelAdiutor with GNU General Public License v3.0 4 votes vote down vote up
private void run(String command, String id, Context context) {
    Control.runSetting(command, ApplyOnBootFragment.WAKE, id, context);
}
 
Example 16
Source File: IO.java    From KernelAdiutor with GNU General Public License v3.0 4 votes vote down vote up
private void run(String command, String id, Context context) {
    Control.runSetting(command, ApplyOnBootFragment.IO, id, context);
}
 
Example 17
Source File: LED.java    From KernelAdiutor with GNU General Public License v3.0 4 votes vote down vote up
private void run(String command, String id, Context context) {
    Control.runSetting(command, ApplyOnBootFragment.LED, id, context);
}
 
Example 18
Source File: Thermald.java    From KernelAdiutor with GNU General Public License v3.0 4 votes vote down vote up
private static void run(String command, String id, Context context) {
    Control.runSetting(command, ApplyOnBootFragment.THERMAL, id, context);
}
 
Example 19
Source File: IntelliPlug.java    From KernelAdiutor with GNU General Public License v3.0 4 votes vote down vote up
private void run(String command, String id, Context context) {
    Control.runSetting(command, ApplyOnBootFragment.CPU_HOTPLUG, id, context);
}
 
Example 20
Source File: AdrenoIdler.java    From KernelAdiutor with GNU General Public License v3.0 4 votes vote down vote up
private static void run(String command, String id, Context context) {
    Control.runSetting(command, ApplyOnBootFragment.GPU, id, context);
}