Searched refs:sockfd (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | HTTPBase.cpp | 118 void HTTPBase::RegisterSocketUserTag(int sockfd, uid_t uid, uint32_t kTag) { in RegisterSocketUserTag() argument 119 int res = qtaguid_tagSocket(sockfd, kTag, uid); in RegisterSocketUserTag() 121 ALOGE("Failed tagging socket %d for uid %d (My UID=%d)", sockfd, uid, geteuid()); in RegisterSocketUserTag() 126 void HTTPBase::UnRegisterSocketUserTag(int sockfd) { in UnRegisterSocketUserTag() argument 127 int res = qtaguid_untagSocket(sockfd); in UnRegisterSocketUserTag() 129 ALOGE("Failed untagging socket %d (My UID=%d)", sockfd, geteuid()); in UnRegisterSocketUserTag() 134 void HTTPBase::RegisterSocketUserMark(int sockfd, uid_t uid) { in RegisterSocketUserMark() argument 135 setNetworkForUser(uid, sockfd); in RegisterSocketUserMark() 139 void HTTPBase::UnRegisterSocketUserMark(int sockfd) { in UnRegisterSocketUserMark() argument 140 RegisterSocketUserMark(sockfd, geteuid()); in UnRegisterSocketUserMark()
|
/frameworks/av/media/libstagefright/include/ |
D | HTTPBase.h | 54 static void RegisterSocketUserTag(int sockfd, uid_t uid, uint32_t kTag); 55 static void UnRegisterSocketUserTag(int sockfd); 57 static void RegisterSocketUserMark(int sockfd, uid_t uid); 58 static void UnRegisterSocketUserMark(int sockfd);
|