Home | History | Annotate | Download | only in server

Lines Matching refs:uid

67     public static void setThreadSocketStatsUid(int uid) {
68 threadSocketTags.get().statsUid = uid;
82 private void tagSocketFd(FileDescriptor fd, int tag, int uid) {
84 if (tag == -1 && uid == -1) return;
86 errno = native_tagSocketFd(fd, tag, uid);
90 + uid + ") failed with errno" + errno);
118 public static void setKernelCounterSet(int uid, int counterSet) {
119 int errno = native_setCounterSet(counterSet, uid);
121 Log.w(TAG, "setKernelCountSet(" + uid + ", " + counterSet + ") failed with errno " + errno);
125 public static void resetKernelUidStats(int uid) {
126 int errno = native_deleteTagData(0, uid);
128 Slog.w(TAG, "problem clearing counters for uid " + uid + " : errno " + errno);
141 private static native int native_tagSocketFd(FileDescriptor fd, int tag, int uid);
143 private static native int native_setCounterSet(int uid, int counterSetNum);
144 private static native int native_deleteTagData(int tag, int uid);