Lines Matching refs:governor
57 char governor[80];
60 if (get_scaling_governor(governor, sizeof(governor)) == -1) {
61 ALOGE("Can't obtain scaling governor.");
82 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
83 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) {
105 } else if ((strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) &&
106 (strlen(governor) == strlen(SCHED_GOVERNOR))) {
121 if (((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
122 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) ||
123 ((strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) &&
124 (strlen(governor) == strlen(SCHED_GOVERNOR)))) {
136 char governor[80];
147 if (get_scaling_governor(governor, sizeof(governor)) == -1) {
148 ALOGE("Can't obtain scaling governor.");
151 if (strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) {
154 } else if (strncmp(governor, INTERACTIVE_GOVERNOR,
166 char governor[80];
170 if (get_scaling_governor(governor, sizeof(governor)) == -1) {
171 ALOGE("Can't obtain scaling governor.");
195 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
196 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) {
223 } else if ((strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) &&
224 (strlen(governor) == strlen(SCHED_GOVERNOR))) {
243 if (((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
244 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) ||
245 ((strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) &&
246 (strlen(governor) == strlen(SCHED_GOVERNOR)))) {
305 char governor[80];
307 if (get_scaling_governor(governor, sizeof(governor)) == -1) {
308 ALOGE("Can't obtain scaling governor.");
315 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
316 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) {
328 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
329 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) {