diff options
author | Chad Brubaker <cbrubaker@google.com> | 2013-07-15 21:17:03 -0700 |
---|---|---|
committer | Chad Brubaker <cbrubaker@google.com> | 2013-07-19 15:15:35 -0700 |
commit | 5908f88a7e45380a9b0d71a3b1ea535d76c420b3 (patch) | |
tree | b7b332e961fd8ecbe485f6811680f5e05f1f4ce5 /media/libstagefright/include/HTTPBase.h | |
parent | ce177bb31493d3cd4450f9d4760fa1fd32ec6bf4 (diff) | |
download | frameworks_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.h | 3 |
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); |