summaryrefslogtreecommitdiffstats
path: root/include/media/MediaPlayerInterface.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-06-30 15:47:02 -0700
committerAndreas Huber <andih@google.com>2011-07-01 13:18:43 -0700
commit9b80c2bdb205bc143104f54d0743b6eedd67b14e (patch)
tree7a035b1bbc67096fa775d41544f420a5eb6e0487 /include/media/MediaPlayerInterface.h
parentcebcdaef5b559f4db2a9d8b305d9d7da03525b62 (diff)
downloadframeworks_av-9b80c2bdb205bc143104f54d0743b6eedd67b14e.zip
frameworks_av-9b80c2bdb205bc143104f54d0743b6eedd67b14e.tar.gz
frameworks_av-9b80c2bdb205bc143104f54d0743b6eedd67b14e.tar.bz2
Charge network traffic to the uid of the process using the MediaPlayer.
Change-Id: I2bcb54b8232afd3fc7ee16289f37c7a7b3f23067 related-to-bug: 4517282
Diffstat (limited to 'include/media/MediaPlayerInterface.h')
-rw-r--r--include/media/MediaPlayerInterface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/MediaPlayerInterface.h b/include/media/MediaPlayerInterface.h
index 18e8a5f..4328d3c 100644
--- a/include/media/MediaPlayerInterface.h
+++ b/include/media/MediaPlayerInterface.h
@@ -103,6 +103,10 @@ public:
virtual status_t initCheck() = 0;
virtual bool hardwareOutput() = 0;
+ virtual status_t setUID(uid_t uid) {
+ return INVALID_OPERATION;
+ }
+
virtual status_t setDataSource(
const char *url,
const KeyedVector<String8, String8> *headers = NULL) = 0;