/frameworks/av/media/libmediametrics/ |
D | MediaAnalyticsItem.cpp | 50 const MediaAnalyticsItem::Key MediaAnalyticsItem::kKeyAny = "any"; 51 const MediaAnalyticsItem::Key MediaAnalyticsItem::kKeyNone = "none"; 53 const char * const MediaAnalyticsItem::EnabledProperty = "media.metrics.enabled"; 54 const char * const MediaAnalyticsItem::EnabledPropertyPersist = "persist.media.metrics.enabled"; 55 const int MediaAnalyticsItem::EnabledProperty_default = 1; 59 MediaAnalyticsItem::MediaAnalyticsItem() in MediaAnalyticsItem() function in android::MediaAnalyticsItem 62 mSessionID(MediaAnalyticsItem::SessionIDNone), in MediaAnalyticsItem() 67 mKey = MediaAnalyticsItem::kKeyNone; in MediaAnalyticsItem() 70 MediaAnalyticsItem::MediaAnalyticsItem(MediaAnalyticsItem::Key key) in MediaAnalyticsItem() function in android::MediaAnalyticsItem 73 mSessionID(MediaAnalyticsItem::SessionIDNone), in MediaAnalyticsItem() [all …]
|
D | IMediaAnalyticsService.cpp | 54 virtual MediaAnalyticsItem::SessionID_t generateUniqueSessionID() { in generateUniqueSessionID() 57 MediaAnalyticsItem::SessionID_t sessionid = in generateUniqueSessionID() 58 MediaAnalyticsItem::SessionIDInvalid; in generateUniqueSessionID() 64 return MediaAnalyticsItem::SessionIDInvalid; in generateUniqueSessionID() 73 virtual MediaAnalyticsItem::SessionID_t submit(MediaAnalyticsItem *item, bool forcenew) in submit() 85 return MediaAnalyticsItem::SessionIDInvalid; in submit() 97 return MediaAnalyticsItem::SessionIDInvalid; in submit() 134 MediaAnalyticsItem::SessionID_t sessionid = generateUniqueSessionID(); in onTransact() 144 MediaAnalyticsItem *item = new MediaAnalyticsItem; in onTransact() 152 MediaAnalyticsItem::SessionID_t sessionid = submit(item, forcenew); in onTransact()
|
D | Android.mk | 7 MediaAnalyticsItem.cpp \
|
/frameworks/av/services/mediaanalytics/ |
D | MediaAnalyticsService.h | 42 virtual int64_t submit(MediaAnalyticsItem *item, bool forcenew); 51 MediaAnalyticsItem::SessionID_t generateUniqueSessionID(); 58 MediaAnalyticsItem::SessionID_t mLastSessionID; 73 bool contentValid(MediaAnalyticsItem *item, bool isTrusted); 74 bool rateLimited(MediaAnalyticsItem *); 78 List<MediaAnalyticsItem *> *mOpen; 81 List<MediaAnalyticsItem *> *mFinalized; 83 MediaAnalyticsItem *findItem(List<MediaAnalyticsItem *> *, 84 MediaAnalyticsItem *, bool removeit); 87 void summarize(MediaAnalyticsItem *item); [all …]
|
D | MetricsSummarizer.cpp | 52 mSummaries = new List<MediaAnalyticsItem *>(); in MetricsSummarizer() 65 MediaAnalyticsItem * oitem = *(mSummaries->begin()); in ~MetricsSummarizer() 86 bool MetricsSummarizer::isMine(MediaAnalyticsItem &item) in isMine() 106 List<MediaAnalyticsItem *>::iterator it = mSummaries->begin(); in dumpSummary() 132 void MetricsSummarizer::handleRecord(MediaAnalyticsItem *item) { in handleRecord() 141 List<MediaAnalyticsItem *>::iterator it = mSummaries->begin(); in handleRecord() 165 void MetricsSummarizer::mergeRecord(MediaAnalyticsItem &/*have*/, MediaAnalyticsItem &/*item*/) { in mergeRecord() argument 181 bool MetricsSummarizer::sameAttributes(MediaAnalyticsItem *summ, MediaAnalyticsItem *single, const … in sameAttributes() 191 MediaAnalyticsItem::Prop *prop1 = &(single->mProps[i]); in sameAttributes() 210 MediaAnalyticsItem::Prop *prop2 = summ->findProp(attrName); in sameAttributes() [all …]
|
D | MetricsSummarizer.h | 44 bool isMine(MediaAnalyticsItem &item); 47 void handleRecord(MediaAnalyticsItem *item); 49 virtual void mergeRecord(MediaAnalyticsItem &have, MediaAnalyticsItem &incoming); 63 …bool sameAttributes(MediaAnalyticsItem *summ, MediaAnalyticsItem *single, const char **ignoreables… 65 …bool sameAttributesId(MediaAnalyticsItem *summ, MediaAnalyticsItem *single, const char **ignoreabl… 68 void sortProps(MediaAnalyticsItem *item); 73 List<MediaAnalyticsItem *> *mSummaries;
|
D | MediaAnalyticsService.cpp | 161 mOpen = new List<MediaAnalyticsItem *>(); in MediaAnalyticsService() 162 mFinalized = new List<MediaAnalyticsItem *>(); in MediaAnalyticsService() 189 MediaAnalyticsItem::SessionID_t MediaAnalyticsService::generateUniqueSessionID() { in generateUniqueSessionID() 197 MediaAnalyticsItem::SessionID_t MediaAnalyticsService::submit(MediaAnalyticsItem *item, bool forcen… in submit() 199 MediaAnalyticsItem::SessionID_t id = MediaAnalyticsItem::SessionIDInvalid; in submit() 242 return MediaAnalyticsItem::SessionIDInvalid; in submit() 261 MediaAnalyticsItem *oitem = findItem(mOpen, item, finalizing | forcenew); in submit() 412 MediaAnalyticsItem * oitem = *(mFinalized->begin()); in dump() 431 int enabled = MediaAnalyticsItem::isEnabled(); in dumpHeaders() 505 String8 MediaAnalyticsService::dumpQueue(List<MediaAnalyticsItem *> *theList) { in dumpQueue() [all …]
|
D | MetricsSummarizerPlayer.h | 41 virtual void mergeRecord(MediaAnalyticsItem &have, MediaAnalyticsItem &incoming);
|
D | MetricsSummarizerPlayer.cpp | 54 void MetricsSummarizerPlayer::mergeRecord(MediaAnalyticsItem &summation, MediaAnalyticsItem &item) { in mergeRecord()
|
/frameworks/av/include/media/ |
D | MediaAnalyticsItem.h | 39 class MediaAnalyticsItem { 81 MediaAnalyticsItem(); 82 MediaAnalyticsItem(Key); 83 ~MediaAnalyticsItem(); 86 MediaAnalyticsItem &setFinalized(bool); 93 MediaAnalyticsItem &setSessionID(SessionID_t); 94 MediaAnalyticsItem &clearSessionID(); 101 MediaAnalyticsItem *dup(); 105 MediaAnalyticsItem &setKey(MediaAnalyticsItem::Key); 106 MediaAnalyticsItem::Key getKey(); [all …]
|
D | IMediaAnalyticsService.h | 44 virtual MediaAnalyticsItem::SessionID_t generateUniqueSessionID() = 0; 53 virtual MediaAnalyticsItem::SessionID_t submit(MediaAnalyticsItem *item, bool forcenew) = 0;
|
/frameworks/av/media/libmediametrics/include/ |
D | MediaAnalyticsItem.h | 39 class MediaAnalyticsItem { 81 MediaAnalyticsItem(); 82 MediaAnalyticsItem(Key); 83 ~MediaAnalyticsItem(); 86 MediaAnalyticsItem &setFinalized(bool); 93 MediaAnalyticsItem &setSessionID(SessionID_t); 94 MediaAnalyticsItem &clearSessionID(); 101 MediaAnalyticsItem *dup(); 105 MediaAnalyticsItem &setKey(MediaAnalyticsItem::Key); 106 MediaAnalyticsItem::Key getKey(); [all …]
|
D | IMediaAnalyticsService.h | 44 virtual MediaAnalyticsItem::SessionID_t generateUniqueSessionID() = 0; 53 virtual MediaAnalyticsItem::SessionID_t submit(MediaAnalyticsItem *item, bool forcenew) = 0;
|
/frameworks/base/media/jni/ |
D | android_media_MediaMetricsJNI.cpp | 28 jobject MediaMetricsJNI::writeMetricsToBundle(JNIEnv* env, MediaAnalyticsItem *item, jobject mybund… in writeMetricsToBundle() 58 MediaAnalyticsItem::Prop *prop = &item->mProps[i]; in writeMetricsToBundle() 63 case MediaAnalyticsItem::kTypeInt32: in writeMetricsToBundle() 67 case MediaAnalyticsItem::kTypeInt64: in writeMetricsToBundle() 71 case MediaAnalyticsItem::kTypeDouble: in writeMetricsToBundle() 75 case MediaAnalyticsItem::kTypeCString: in writeMetricsToBundle()
|
D | android_media_MediaMetricsJNI.h | 29 static jobject writeMetricsToBundle(JNIEnv* env, MediaAnalyticsItem *item, jobject mybundle);
|
D | android_media_MediaCodec.h | 120 status_t getMetrics(JNIEnv *env, MediaAnalyticsItem * &reply) const;
|
D | android_media_MediaRecorder.cpp | 650 MediaAnalyticsItem *item = new MediaAnalyticsItem; in android_media_MediaRecorder_native_getMetrics()
|
D | android_media_MediaExtractor.cpp | 833 MediaAnalyticsItem *item = new MediaAnalyticsItem; in android_media_MediaExtractor_native_getMetrics()
|
D | android_media_MediaPlayer.cpp | 727 MediaAnalyticsItem *item = new MediaAnalyticsItem; in android_media_MediaPlayer_native_getMetrics()
|
/frameworks/av/media/libstagefright/include/ |
D | MediaExtractor.h | 83 MediaAnalyticsItem *mAnalyticsItem;
|
D | MediaCodec.h | 189 status_t getMetrics(MediaAnalyticsItem * &reply); 318 MediaAnalyticsItem *mAnalyticsItem;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDriver.h | 134 MediaAnalyticsItem *mAnalyticsItem;
|
D | NuPlayerDriver.cpp | 79 mAnalyticsItem = new MediaAnalyticsItem(kKeyPlayer); in NuPlayerDriver() 601 mAnalyticsItem = new MediaAnalyticsItem("nuplayer"); in logMetrics()
|
/frameworks/av/media/libstagefright/ |
D | MediaExtractor.cpp | 73 mAnalyticsItem = new MediaAnalyticsItem(kKeyExtractor); in MediaExtractor()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.h | 90 MediaAnalyticsItem *mAnalyticsItem;
|