Lines Matching refs:governor
131 char governor[80];
134 if (get_scaling_governor(governor, sizeof(governor)) == -1) {
135 ALOGE("Can't obtain scaling governor.");
160 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) &&
161 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) {
166 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
167 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) {
174 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) &&
175 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) {
176 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
177 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) {
185 char governor[80];
188 if (get_scaling_governor(governor, sizeof(governor)) == -1) {
189 ALOGE("Can't obtain scaling governor.");
210 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) &&
211 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) {
216 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
217 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) {
225 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) &&
226 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) {
228 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
229 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) {
435 char governor[80];
446 if (get_scaling_governor(governor, sizeof(governor)) == -1) {
447 ALOGE("Can't obtain scaling governor.");
454 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) &&
455 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) {
463 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
464 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) {
472 } else if ((strncmp(governor, MSMDCVS_GOVERNOR, strlen(MSMDCVS_GOVERNOR)) == 0) &&
473 (strlen(governor) == strlen(MSMDCVS_GOVERNOR))) {
570 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) &&
571 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) {
574 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
575 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) {
578 } else if ((strncmp(governor, MSMDCVS_GOVERNOR, strlen(MSMDCVS_GOVERNOR)) == 0) &&
579 (strlen(governor) == strlen(MSMDCVS_GOVERNOR))) {