summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2014-04-03 19:13:01 -0700
committerLajos Molnar <lajos@google.com>2014-04-04 19:05:32 -0700
commita1df816c0677185534babba6ffc29970b048e52e (patch)
treea2bf0a6954b805b7eef330387940067fb132da4f /include
parentbcf08569453dcb42730cda3230d5d375a697005b (diff)
downloadframeworks_av-a1df816c0677185534babba6ffc29970b048e52e.zip
frameworks_av-a1df816c0677185534babba6ffc29970b048e52e.tar.gz
frameworks_av-a1df816c0677185534babba6ffc29970b048e52e.tar.bz2
stagefright: log uri protocols, and opt-in to log full uri
Added property media.stagefright.log-uri. Set it to true or 1 to log uris by AwesomePlayer. Added utility function to get uri debug string based on incognito and log opt-in status. Change-Id: I5ccc23079ddfb120dd9703a3ed651a162ed5acec Related-Bug: 6994761
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/Utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/stagefright/Utils.h b/include/media/stagefright/Utils.h
index bbad271..c85368f 100644
--- a/include/media/stagefright/Utils.h
+++ b/include/media/stagefright/Utils.h
@@ -60,6 +60,8 @@ status_t sendMetaDataToHal(sp<MediaPlayerBase::AudioSink>& sink, const sp<MetaDa
bool canOffloadStream(const sp<MetaData>& meta, bool hasVideo,
bool isStreaming, audio_stream_type_t streamType);
+AString uriDebugString(const AString &uri, bool incognito = false);
+
} // namespace android
#endif // UTILS_H_