Searched refs:sockfd (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/libstagefright/rtsp/ |
D | NetworkUtils.cpp | 30 void NetworkUtils::RegisterSocketUserTag(int sockfd, uid_t uid, uint32_t kTag) { in RegisterSocketUserTag() argument 31 int res = qtaguid_tagSocket(sockfd, kTag, uid); in RegisterSocketUserTag() 33 ALOGE("Failed tagging socket %d for uid %d (My UID=%d)", sockfd, uid, geteuid()); in RegisterSocketUserTag() 38 void NetworkUtils::UnRegisterSocketUserTag(int sockfd) { in UnRegisterSocketUserTag() argument 39 int res = qtaguid_untagSocket(sockfd); in UnRegisterSocketUserTag() 41 ALOGE("Failed untagging socket %d (My UID=%d)", sockfd, geteuid()); in UnRegisterSocketUserTag() 46 void NetworkUtils::RegisterSocketUserMark(int sockfd, uid_t uid) { in RegisterSocketUserMark() argument 47 setNetworkForUser(uid, sockfd); in RegisterSocketUserMark() 51 void NetworkUtils::UnRegisterSocketUserMark(int sockfd) { in UnRegisterSocketUserMark() argument 52 RegisterSocketUserMark(sockfd, geteuid()); in UnRegisterSocketUserMark()
|
D | NetworkUtils.h | 23 static void RegisterSocketUserTag(int sockfd, uid_t uid, uint32_t kTag); 24 static void UnRegisterSocketUserTag(int sockfd); 26 static void RegisterSocketUserMark(int sockfd, uid_t uid); 27 static void UnRegisterSocketUserMark(int sockfd);
|