Searched refs:lineBuf (Results 1 – 2 of 2) sorted by relevance
/system/core/libcutils/ |
D | qtaguid.c | 102 char lineBuf[CTRL_MAX_INPUT_LEN]; in qtaguid_tagSocket() local 108 snprintf(lineBuf, sizeof(lineBuf), "t %d %" PRIu64 " %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 …]
|
D | sched_policy.c | 165 char lineBuf[256]; in getCGroupSubsys() local 173 while(fgets(lineBuf, sizeof(lineBuf) -1, fp)) { in getCGroupSubsys() 174 char *next = lineBuf; in getCGroupSubsys() 213 SLOGE("Bad cgroup data {%s}", lineBuf); in getCGroupSubsys()
|