summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include/HTTPBase.h
diff options
context:
space:
mode:
authorChad Brubaker <cbrubaker@google.com>2013-07-15 21:17:03 -0700
committerChad Brubaker <cbrubaker@google.com>2013-07-19 15:15:35 -0700
commit5908f88a7e45380a9b0d71a3b1ea535d76c420b3 (patch)
treeb7b332e961fd8ecbe485f6811680f5e05f1f4ce5 /media/libstagefright/include/HTTPBase.h
parentce177bb31493d3cd4450f9d4760fa1fd32ec6bf4 (diff)
downloadframeworks_av-5908f88a7e45380a9b0d71a3b1ea535d76c420b3.zip
frameworks_av-5908f88a7e45380a9b0d71a3b1ea535d76c420b3.tar.gz
frameworks_av-5908f88a7e45380a9b0d71a3b1ea535d76c420b3.tar.bz2
Add routing sockets for the requesting user
Mediaserver sockets are now routed as if the connection was in the requesting app in per user routing. Change-Id: I60f4649c3c4145a65264b54c1aa2c6c7741efaba
Diffstat (limited to 'media/libstagefright/include/HTTPBase.h')
-rw-r--r--media/libstagefright/include/HTTPBase.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libstagefright/include/HTTPBase.h b/media/libstagefright/include/HTTPBase.h
index c2dc351..d4b7f9f 100644
--- a/media/libstagefright/include/HTTPBase.h
+++ b/media/libstagefright/include/HTTPBase.h
@@ -59,6 +59,9 @@ struct HTTPBase : public DataSource {
static void RegisterSocketUserTag(int sockfd, uid_t uid, uint32_t kTag);
static void UnRegisterSocketUserTag(int sockfd);
+ static void RegisterSocketUserMark(int sockfd, uid_t uid);
+ static void UnRegisterSocketUserMark(int sockfd);
+
protected:
void addBandwidthMeasurement(size_t numBytes, int64_t delayUs);