Searched refs:grpBuf (Results 1 – 1 of 1) sorted by relevance
/system/core/libcutils/ |
D | sched_policy.c | 230 char grpBuf[32]; in get_sched_policy() local 232 if (getCGroupSubsys(tid, "cpuset", grpBuf, sizeof(grpBuf)) < 0) in get_sched_policy() 234 if (grpBuf[0] == '\0') { in get_sched_policy() 236 } else if (!strcmp(grpBuf, "foreground")) { in get_sched_policy() 238 } else if (!strcmp(grpBuf, "background")) { in get_sched_policy() 240 } else if (!strcmp(grpBuf, "top-app")) { in get_sched_policy() 247 if (getCGroupSubsys(tid, "cpu", grpBuf, sizeof(grpBuf)) < 0) in get_sched_policy() 249 if (grpBuf[0] == '\0') { in get_sched_policy() 251 } else if (!strcmp(grpBuf, "bg_non_interactive")) { in get_sched_policy()
|