/device/huawei/angler/power/ |
D | power-8992.c | 54 char governor[80]; in process_video_encode_hint() local 57 if (get_scaling_governor(governor, sizeof(governor)) == -1) { in process_video_encode_hint() 79 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint() 80 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_encode_hint() 92 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint() 93 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_encode_hint() 117 char governor[80]; in set_interactive_override() local 119 if (get_scaling_governor(governor, sizeof(governor)) == -1) { in set_interactive_override() 127 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in set_interactive_override() 128 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in set_interactive_override() [all …]
|
D | power-8994.c | 100 char governor[80]; in process_video_encode_hint() local 103 if (get_scaling_governor(governor, sizeof(governor)) == -1) { in process_video_encode_hint() 125 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint() 126 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_encode_hint() 149 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint() 150 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_encode_hint() 179 char governor[80]; in set_interactive_override() local 181 if (get_scaling_governor(governor, sizeof(governor)) == -1) { in set_interactive_override() 189 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in set_interactive_override() 190 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in set_interactive_override() [all …]
|
D | power.c | 131 char governor[80]; in process_video_decode_hint() local 134 if (get_scaling_governor(governor, sizeof(governor)) == -1) { in process_video_decode_hint() 160 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in process_video_decode_hint() 161 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) { in process_video_decode_hint() 166 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_decode_hint() 167 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_decode_hint() 174 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in process_video_decode_hint() 175 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) { in process_video_decode_hint() 176 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_decode_hint() 177 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_decode_hint() [all …]
|
D | utils.c | 156 int get_scaling_governor(char governor[], int size) in get_scaling_governor() argument 158 if (sysfs_read(SCALING_GOVERNOR_PATH, governor, in get_scaling_governor() 164 int len = strlen(governor); in get_scaling_governor() 168 while (len >= 0 && (governor[len] == '\n' || governor[len] == '\r')) in get_scaling_governor() 169 governor[len--] = '\0'; in get_scaling_governor()
|
D | utils.h | 34 int get_scaling_governor(char governor[], int size);
|
/device/lge/bullhead/power/ |
D | power-8994.c | 54 char governor[80]; in process_video_encode_hint() local 57 if (get_scaling_governor(governor, sizeof(governor)) == -1) { in process_video_encode_hint() 79 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint() 80 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_encode_hint() 92 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint() 93 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_encode_hint() 117 char governor[80]; in set_interactive_override() local 119 if (get_scaling_governor(governor, sizeof(governor)) == -1) { in set_interactive_override() 127 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in set_interactive_override() 128 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in set_interactive_override() [all …]
|
D | power-8992.c | 100 char governor[80]; in process_video_encode_hint() local 103 if (get_scaling_governor(governor, sizeof(governor)) == -1) { in process_video_encode_hint() 125 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint() 126 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_encode_hint() 149 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint() 150 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_encode_hint() 179 char governor[80]; in set_interactive_override() local 181 if (get_scaling_governor(governor, sizeof(governor)) == -1) { in set_interactive_override() 189 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in set_interactive_override() 190 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in set_interactive_override() [all …]
|
D | power.c | 124 char governor[80]; in process_video_decode_hint() local 127 if (get_scaling_governor(governor, sizeof(governor)) == -1) { in process_video_decode_hint() 153 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in process_video_decode_hint() 154 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) { in process_video_decode_hint() 159 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_decode_hint() 160 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_decode_hint() 167 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in process_video_decode_hint() 168 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) { in process_video_decode_hint() 169 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_decode_hint() 170 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_decode_hint() [all …]
|
D | utils.c | 156 int get_scaling_governor(char governor[], int size) in get_scaling_governor() argument 158 if (sysfs_read(SCALING_GOVERNOR_PATH, governor, in get_scaling_governor() 164 int len = strlen(governor); in get_scaling_governor() 168 while (len >= 0 && (governor[len] == '\n' || governor[len] == '\r')) in get_scaling_governor() 169 governor[len--] = '\0'; in get_scaling_governor()
|
D | utils.h | 34 int get_scaling_governor(char governor[], int size);
|
/device/moto/shamu/sepolicy/ |
D | mpdecision.te | 1 # CPU governor (root process)
|
/device/asus/fugu/ |
D | init.fugu.rc | 83 # Performance tweaks for interactive governor 101 # Tune interactive governor parameters for Android TV UI animations
|
/device/huawei/angler/ |
D | init.angler.power.sh | 104 get-set-forall /sys/class/devfreq/qcom,cpubw*/governor bw_hwmon
|
/device/lge/bullhead/ |
D | init.bullhead.power.sh | 116 get-set-forall /sys/class/devfreq/qcom,cpubw*/governor bw_hwmon
|
/device/moto/shamu/ |
D | init.shamu.power.rc | 16 # Shamu boots with performance governor.
|
/device/google/dragon/ |
D | init.dragon.rc | 201 # tune thermal governor
|