/frameworks/av/media/libmediametrics/ |
D | MediaAnalyticsItem.cpp | 48 const MediaAnalyticsItem::Key MediaAnalyticsItem::kKeyAny = "any"; 49 const MediaAnalyticsItem::Key MediaAnalyticsItem::kKeyNone = "none"; 51 const char * const MediaAnalyticsItem::EnabledProperty = "media.metrics.enabled"; 52 const char * const MediaAnalyticsItem::EnabledPropertyPersist = "persist.media.metrics.enabled"; 53 const int MediaAnalyticsItem::EnabledProperty_default = 1; 56 MediaAnalyticsItem *MediaAnalyticsItem::create() in create() 58 return MediaAnalyticsItem::create(kKeyNone); in create() 61 MediaAnalyticsItem *MediaAnalyticsItem::create(MediaAnalyticsItem::Key key) in create() 63 MediaAnalyticsItem *item = new MediaAnalyticsItem(key); in create() 67 MediaAnalyticsItem* MediaAnalyticsItem::convert(mediametrics_handle_t handle) { in convert() [all …]
|
D | MediaMetrics.cpp | 37 android::MediaAnalyticsItem *item = android::MediaAnalyticsItem::create(key); in mediametrics_create() 42 android::MediaAnalyticsItem *item = (android::MediaAnalyticsItem *) handle; in mediametrics_delete() 48 android::MediaAnalyticsItem *item = (android::MediaAnalyticsItem *) handle; in mediametrics_getKey() 55 android::MediaAnalyticsItem *item = (android::MediaAnalyticsItem *) handle; in mediametrics_setUid() 64 android::MediaAnalyticsItem *item = (android::MediaAnalyticsItem *) handle; in mediametrics_setInt32() 70 android::MediaAnalyticsItem *item = (android::MediaAnalyticsItem *) handle; in mediametrics_setInt64() 76 android::MediaAnalyticsItem *item = (android::MediaAnalyticsItem *) handle; in mediametrics_setDouble() 82 android::MediaAnalyticsItem *item = (android::MediaAnalyticsItem *) handle; in mediametrics_setRate() 88 android::MediaAnalyticsItem *item = (android::MediaAnalyticsItem *) handle; in mediametrics_setCString() 97 android::MediaAnalyticsItem *item = (android::MediaAnalyticsItem *) handle; in mediametrics_addInt32() [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() 98 return MediaAnalyticsItem::SessionIDInvalid; in submit() 135 MediaAnalyticsItem::SessionID_t sessionid = generateUniqueSessionID(); in onTransact() 145 MediaAnalyticsItem *item = MediaAnalyticsItem::create(); in onTransact() 153 MediaAnalyticsItem::SessionID_t sessionid = submit(item, forcenew); in onTransact()
|
D | Android.bp | 6 "MediaAnalyticsItem.cpp",
|
/frameworks/av/media/libmediametrics/include/ |
D | MediaAnalyticsItem.h | 40 class MediaAnalyticsItem { 89 MediaAnalyticsItem(); 90 MediaAnalyticsItem(Key); 91 MediaAnalyticsItem(const MediaAnalyticsItem&); 92 MediaAnalyticsItem &operator=(const MediaAnalyticsItem&); 96 static MediaAnalyticsItem* create(Key key); 97 static MediaAnalyticsItem* create(); 99 static MediaAnalyticsItem* convert(mediametrics_handle_t); 100 static mediametrics_handle_t convert(MediaAnalyticsItem *); 103 ~MediaAnalyticsItem(); [all …]
|
D | IMediaAnalyticsService.h | 44 virtual MediaAnalyticsItem::SessionID_t generateUniqueSessionID() = 0; 53 virtual MediaAnalyticsItem::SessionID_t submit(MediaAnalyticsItem *item, bool forcenew) = 0;
|
/frameworks/av/include/media/ |
D | MediaAnalyticsItem.h | 40 class MediaAnalyticsItem { 89 MediaAnalyticsItem(); 90 MediaAnalyticsItem(Key); 91 MediaAnalyticsItem(const MediaAnalyticsItem&); 92 MediaAnalyticsItem &operator=(const MediaAnalyticsItem&); 96 static MediaAnalyticsItem* create(Key key); 97 static MediaAnalyticsItem* create(); 99 static MediaAnalyticsItem* convert(mediametrics_handle_t); 100 static mediametrics_handle_t convert(MediaAnalyticsItem *); 103 ~MediaAnalyticsItem(); [all …]
|
D | IMediaAnalyticsService.h | 44 virtual MediaAnalyticsItem::SessionID_t generateUniqueSessionID() = 0; 53 virtual MediaAnalyticsItem::SessionID_t submit(MediaAnalyticsItem *item, bool forcenew) = 0;
|
/frameworks/av/services/mediaanalytics/ |
D | iface_statsd.h | 22 extern bool statsd_audiopolicy(MediaAnalyticsItem *); 23 extern bool statsd_audiorecord(MediaAnalyticsItem *); 24 extern bool statsd_audiothread(MediaAnalyticsItem *); 25 extern bool statsd_audiotrack(MediaAnalyticsItem *); 26 extern bool statsd_codec(MediaAnalyticsItem *); 27 extern bool statsd_extractor(MediaAnalyticsItem *); 28 extern bool statsd_nuplayer(MediaAnalyticsItem *); 29 extern bool statsd_recorder(MediaAnalyticsItem *); 31 extern bool statsd_mediadrm(MediaAnalyticsItem *); 32 extern bool statsd_widevineCDM(MediaAnalyticsItem *);
|
D | MediaAnalyticsService.h | 41 virtual int64_t submit(MediaAnalyticsItem *item, bool forcenew); 52 MediaAnalyticsItem::SessionID_t generateUniqueSessionID(); 60 MediaAnalyticsItem::SessionID_t mLastSessionID; 81 bool contentValid(MediaAnalyticsItem *item, bool isTrusted); 82 bool rateLimited(MediaAnalyticsItem *); 85 List<MediaAnalyticsItem *> mItems; 86 void saveItem(MediaAnalyticsItem *); 88 bool expirations_l(MediaAnalyticsItem *); 111 void setPkgInfo(MediaAnalyticsItem *item, uid_t uid, bool setName, bool setVersion); 116 extern bool dump2Statsd(MediaAnalyticsItem *item);
|
D | MediaAnalyticsService.cpp | 109 mDumpProto(MediaAnalyticsItem::PROTO_V1), in MediaAnalyticsService() 110 mDumpProtoDefault(MediaAnalyticsItem::PROTO_V1) { in MediaAnalyticsService() 129 MediaAnalyticsItem * oitem = *(mItems.begin()); in ~MediaAnalyticsService() 138 MediaAnalyticsItem::SessionID_t MediaAnalyticsService::generateUniqueSessionID() { in generateUniqueSessionID() 146 MediaAnalyticsItem::SessionID_t MediaAnalyticsService::submit(MediaAnalyticsItem *item, bool forcen… in submit() 151 if (item->getSessionID() <= MediaAnalyticsItem::SessionIDNone) { in submit() 213 return MediaAnalyticsItem::SessionIDInvalid; in submit() 223 return MediaAnalyticsItem::SessionIDInvalid; in submit() 232 MediaAnalyticsItem::SessionID_t id = item->getSessionID(); in submit() 276 int proto = MediaAnalyticsItem::PROTO_V0; in dump() [all …]
|
D | iface_statsd.cpp | 51 bool (*handler)(MediaAnalyticsItem *); 72 bool dump2Statsd(MediaAnalyticsItem *item) { in dump2Statsd()
|
D | statsd_drm.cpp | 41 bool statsd_mediadrm(MediaAnalyticsItem *item) in statsd_mediadrm() 78 bool statsd_widevineCDM(MediaAnalyticsItem *item) in statsd_widevineCDM()
|
D | statsd_extractor.cpp | 40 bool statsd_extractor(MediaAnalyticsItem *item) in statsd_extractor()
|
D | statsd_audiopolicy.cpp | 40 bool statsd_audiopolicy(MediaAnalyticsItem *item) in statsd_audiopolicy()
|
D | statsd_audiotrack.cpp | 40 bool statsd_audiotrack(MediaAnalyticsItem *item) in statsd_audiotrack()
|
/frameworks/base/core/jni/ |
D | android_media_MediaMetricsJNI.cpp | 32 jobject MediaMetricsJNI::writeMetricsToBundle(JNIEnv* env, MediaAnalyticsItem *item, jobject mybund… in writeMetricsToBundle() 62 MediaAnalyticsItem::Prop *prop = &item->mProps[i]; in writeMetricsToBundle() 67 case MediaAnalyticsItem::kTypeInt32: in writeMetricsToBundle() 71 case MediaAnalyticsItem::kTypeInt64: in writeMetricsToBundle() 75 case MediaAnalyticsItem::kTypeDouble: in writeMetricsToBundle() 79 case MediaAnalyticsItem::kTypeCString: in writeMetricsToBundle()
|
D | android_media_MediaMetricsJNI.h | 29 static jobject writeMetricsToBundle(JNIEnv* env, MediaAnalyticsItem *item, jobject mybundle);
|
/frameworks/base/media/jni/ |
D | android_media_MediaMetricsJNI.cpp | 32 jobject MediaMetricsJNI::writeMetricsToBundle(JNIEnv* env, MediaAnalyticsItem *item, jobject mybund… in writeMetricsToBundle() 62 MediaAnalyticsItem::Prop *prop = &item->mProps[i]; in writeMetricsToBundle() 67 case MediaAnalyticsItem::kTypeInt32: in writeMetricsToBundle() 71 case MediaAnalyticsItem::kTypeInt64: in writeMetricsToBundle() 75 case MediaAnalyticsItem::kTypeDouble: in writeMetricsToBundle() 79 case MediaAnalyticsItem::kTypeCString: in writeMetricsToBundle()
|
D | android_media_MediaMetricsJNI.h | 29 static jobject writeMetricsToBundle(JNIEnv* env, MediaAnalyticsItem *item, jobject mybundle);
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | RemoteMediaExtractor.h | 26 class MediaAnalyticsItem; variable 51 MediaAnalyticsItem *mAnalyticsItem;
|
/frameworks/av/drm/libmediadrm/ |
D | PluginMetricsReporting.cpp | 37 std::unique_ptr<MediaAnalyticsItem> analyticsItem(MediaAnalyticsItem::create(name.c_str())); in reportVendorMetrics()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioRecord.h | 278 status_t getMetrics(MediaAnalyticsItem * &item); 748 MediaMetrics() : mAnalyticsItem(MediaAnalyticsItem::create("audiorecord")), in MediaMetrics() 761 MediaAnalyticsItem *dup() { return mAnalyticsItem->dup(); } in dup() 768 std::unique_ptr<MediaAnalyticsItem> mAnalyticsItem;
|
D | AudioTrack.h | 408 status_t getMetrics(MediaAnalyticsItem * &item); 1241 MediaMetrics() : mAnalyticsItem(MediaAnalyticsItem::create("audiotrack")) { in MediaMetrics() 1251 MediaAnalyticsItem *dup() { return mAnalyticsItem->dup(); } in dup() 1253 std::unique_ptr<MediaAnalyticsItem> mAnalyticsItem;
|
/frameworks/av/media/libnblog/ |
D | ReportPerformance.cpp | 171 std::unique_ptr<MediaAnalyticsItem> item(MediaAnalyticsItem::create("audiothread")); in sendToMediaMetrics()
|