Home
last modified time | relevance | path

Searched refs:lineBuf (Results 1 – 2 of 2) sorted by relevance

/system/core/libcutils/
Dqtaguid.c100 char lineBuf[CTRL_MAX_INPUT_LEN]; in qtaguid_tagSocket() local
108 snprintf(lineBuf, sizeof(lineBuf), "t %d %llu %d", sockfd, kTag, uid); in qtaguid_tagSocket()
112 res = write_ctrl(lineBuf); in qtaguid_tagSocket()
122 char lineBuf[CTRL_MAX_INPUT_LEN]; in qtaguid_untagSocket() local
127 snprintf(lineBuf, sizeof(lineBuf), "u %d", sockfd); in qtaguid_untagSocket()
128 res = write_ctrl(lineBuf); in qtaguid_untagSocket()
137 char lineBuf[CTRL_MAX_INPUT_LEN]; in qtaguid_setCounterSet() local
142 snprintf(lineBuf, sizeof(lineBuf), "s %d %d", counterSetNum, uid); in qtaguid_setCounterSet()
143 res = write_ctrl(lineBuf); in qtaguid_setCounterSet()
148 char lineBuf[CTRL_MAX_INPUT_LEN]; in qtaguid_deleteTagData() local
[all …]
Dsched_policy.c133 char lineBuf[256]; in getSchedulerGroup() local
141 while(fgets(lineBuf, sizeof(lineBuf) -1, fp)) { in getSchedulerGroup()
142 char *next = lineBuf; in getSchedulerGroup()
181 SLOGE("Bad cgroup data {%s}", lineBuf); in getSchedulerGroup()