Home
last modified time | relevance | path

Searched refs:counterSetNum (Results 1 – 7 of 7) sorted by relevance

/system/core/libcutils/
Dqtaguid.cpp118 int qtaguid_setCounterSet(int counterSetNum, uid_t uid) { in qtaguid_setCounterSet() argument
119 ALOGV("Setting counters to set %d for uid %d", counterSetNum, uid); in qtaguid_setCounterSet()
120 return getHandler().netdSetCounterSet(counterSetNum, uid); in qtaguid_setCounterSet()
/system/core/libqtaguid/
Dqtaguid.c115 int legacy_setCounterSet(int counterSetNum, uid_t uid) { in legacy_setCounterSet() argument
119 ALOGV("Setting counters to set %d for uid %d", counterSetNum, uid); in legacy_setCounterSet()
121 snprintf(lineBuf, sizeof(lineBuf), "s %d %d", counterSetNum, uid); in legacy_setCounterSet()
/system/core/libqtaguid/include/qtaguid/
Dqtaguid.h45 extern int legacy_setCounterSet(int counterSetNum, uid_t uid);
/system/core/libcutils/include/cutils/
Dqtaguid.h41 extern int qtaguid_setCounterSet(int counterSetNum, uid_t uid);
/system/core/libcutils/include_vndk/cutils/
Dqtaguid.h41 extern int qtaguid_setCounterSet(int counterSetNum, uid_t uid);
/system/netd/server/
DTrafficController.cpp434 int TrafficController::setCounterSet(int counterSetNum, uid_t uid, uid_t callingUid) { in setCounterSet() argument
435 if (counterSetNum < 0 || counterSetNum >= OVERFLOW_COUNTERSET) return -EINVAL; in setCounterSet()
441 if (legacy_setCounterSet(counterSetNum, uid)) return -errno; in setCounterSet()
447 if (counterSetNum == 0) { in setCounterSet()
456 uint8_t tmpCounterSetNum = (uint8_t)counterSetNum; in setCounterSet()
DTrafficController.h72 int setCounterSet(int counterSetNum, uid_t uid, uid_t callingUid) EXCLUDES(mMutex);