Searched refs:lineBuf (Results 1 – 2 of 2) sorted by relevance
/system/core/libcutils/ |
D | qtaguid.c | 101 char lineBuf[CTRL_MAX_INPUT_LEN]; in qtaguid_tagSocket() local 107 snprintf(lineBuf, sizeof(lineBuf), "t %d %" PRIu64 " %d", sockfd, kTag, uid); in qtaguid_tagSocket() 111 res = write_ctrl(lineBuf); in qtaguid_tagSocket() 121 char lineBuf[CTRL_MAX_INPUT_LEN]; in qtaguid_untagSocket() local 126 snprintf(lineBuf, sizeof(lineBuf), "u %d", sockfd); in qtaguid_untagSocket() 127 res = write_ctrl(lineBuf); in qtaguid_untagSocket() 136 char lineBuf[CTRL_MAX_INPUT_LEN]; in qtaguid_setCounterSet() local 141 snprintf(lineBuf, sizeof(lineBuf), "s %d %d", counterSetNum, uid); in qtaguid_setCounterSet() 142 res = write_ctrl(lineBuf); in qtaguid_setCounterSet() 147 char lineBuf[CTRL_MAX_INPUT_LEN]; in qtaguid_deleteTagData() local [all …]
|
D | sched_policy.c | 149 char lineBuf[256]; in getSchedulerGroup() local 157 while(fgets(lineBuf, sizeof(lineBuf) -1, fp)) { in getSchedulerGroup() 158 char *next = lineBuf; in getSchedulerGroup() 197 SLOGE("Bad cgroup data {%s}", lineBuf); in getSchedulerGroup()
|