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
106 snprintf(lineBuf, sizeof(lineBuf), "t %d %llu %d", sockfd, kTag, uid); in qtaguid_tagSocket()
110 res = write_ctrl(lineBuf); in qtaguid_tagSocket()
120 char lineBuf[CTRL_MAX_INPUT_LEN]; in qtaguid_untagSocket() local
125 snprintf(lineBuf, sizeof(lineBuf), "u %d", sockfd); in qtaguid_untagSocket()
126 res = write_ctrl(lineBuf); in qtaguid_untagSocket()
135 char lineBuf[CTRL_MAX_INPUT_LEN]; in qtaguid_setCounterSet() local
140 snprintf(lineBuf, sizeof(lineBuf), "s %d %d", counterSetNum, uid); in qtaguid_setCounterSet()
141 res = write_ctrl(lineBuf); in qtaguid_setCounterSet()
146 char lineBuf[CTRL_MAX_INPUT_LEN]; in qtaguid_deleteTagData() local
[all …]
Dsched_policy.c165 char lineBuf[256]; in getSchedulerGroup() local
173 while(fgets(lineBuf, sizeof(lineBuf) -1, fp)) { in getSchedulerGroup()
174 char *next = lineBuf; in getSchedulerGroup()
213 SLOGE("Bad cgroup data {%s}", lineBuf); in getSchedulerGroup()