Loading media/libstagefright/RemoteMediaExtractor.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ #define LOG_TAG "RemoteMediaExtractor" #include <utils/Log.h> #include <binder/IPCThreadState.h> #include <media/stagefright/InterfaceUtils.h> #include <media/MediaAnalyticsItem.h> #include <media/MediaSource.h> Loading Loading @@ -51,6 +52,11 @@ RemoteMediaExtractor::RemoteMediaExtractor( if (MEDIA_LOG) { mAnalyticsItem = MediaAnalyticsItem::create(kKeyExtractor); // we're in the extractor service, we want to attribute to the app // that invoked us. int uid = IPCThreadState::self()->getCallingUid(); mAnalyticsItem->setUid(uid); // track the container format (mpeg, aac, wvm, etc) size_t ntracks = extractor->countTracks(); mAnalyticsItem->setCString(kExtractorFormat, extractor->name()); Loading Loading
media/libstagefright/RemoteMediaExtractor.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ #define LOG_TAG "RemoteMediaExtractor" #include <utils/Log.h> #include <binder/IPCThreadState.h> #include <media/stagefright/InterfaceUtils.h> #include <media/MediaAnalyticsItem.h> #include <media/MediaSource.h> Loading Loading @@ -51,6 +52,11 @@ RemoteMediaExtractor::RemoteMediaExtractor( if (MEDIA_LOG) { mAnalyticsItem = MediaAnalyticsItem::create(kKeyExtractor); // we're in the extractor service, we want to attribute to the app // that invoked us. int uid = IPCThreadState::self()->getCallingUid(); mAnalyticsItem->setUid(uid); // track the container format (mpeg, aac, wvm, etc) size_t ntracks = extractor->countTracks(); mAnalyticsItem->setCString(kExtractorFormat, extractor->name()); Loading