Home
last modified time | relevance | path

Searched refs:MediaAnalyticsItem (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/av/media/libmediametrics/
DMediaAnalyticsItem.cpp48 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 …]
DMediaMetrics.cpp37 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 …]
DIMediaAnalyticsService.cpp54 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()
DAndroid.bp6 "MediaAnalyticsItem.cpp",
/frameworks/av/media/libmediametrics/include/
DMediaAnalyticsItem.h40 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 …]
DIMediaAnalyticsService.h44 virtual MediaAnalyticsItem::SessionID_t generateUniqueSessionID() = 0;
53 virtual MediaAnalyticsItem::SessionID_t submit(MediaAnalyticsItem *item, bool forcenew) = 0;
/frameworks/av/include/media/
DMediaAnalyticsItem.h40 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 …]
DIMediaAnalyticsService.h44 virtual MediaAnalyticsItem::SessionID_t generateUniqueSessionID() = 0;
53 virtual MediaAnalyticsItem::SessionID_t submit(MediaAnalyticsItem *item, bool forcenew) = 0;
/frameworks/av/services/mediaanalytics/
Diface_statsd.h22 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 *);
DMediaAnalyticsService.h41 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);
DMediaAnalyticsService.cpp109 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 …]
Diface_statsd.cpp51 bool (*handler)(MediaAnalyticsItem *);
72 bool dump2Statsd(MediaAnalyticsItem *item) { in dump2Statsd()
Dstatsd_drm.cpp41 bool statsd_mediadrm(MediaAnalyticsItem *item) in statsd_mediadrm()
78 bool statsd_widevineCDM(MediaAnalyticsItem *item) in statsd_widevineCDM()
Dstatsd_extractor.cpp40 bool statsd_extractor(MediaAnalyticsItem *item) in statsd_extractor()
Dstatsd_audiopolicy.cpp40 bool statsd_audiopolicy(MediaAnalyticsItem *item) in statsd_audiopolicy()
Dstatsd_audiotrack.cpp40 bool statsd_audiotrack(MediaAnalyticsItem *item) in statsd_audiotrack()
/frameworks/base/core/jni/
Dandroid_media_MediaMetricsJNI.cpp32 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()
Dandroid_media_MediaMetricsJNI.h29 static jobject writeMetricsToBundle(JNIEnv* env, MediaAnalyticsItem *item, jobject mybundle);
/frameworks/base/media/jni/
Dandroid_media_MediaMetricsJNI.cpp32 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()
Dandroid_media_MediaMetricsJNI.h29 static jobject writeMetricsToBundle(JNIEnv* env, MediaAnalyticsItem *item, jobject mybundle);
/frameworks/av/media/libstagefright/include/media/stagefright/
DRemoteMediaExtractor.h26 class MediaAnalyticsItem; variable
51 MediaAnalyticsItem *mAnalyticsItem;
/frameworks/av/drm/libmediadrm/
DPluginMetricsReporting.cpp37 std::unique_ptr<MediaAnalyticsItem> analyticsItem(MediaAnalyticsItem::create(name.c_str())); in reportVendorMetrics()
/frameworks/av/media/libaudioclient/include/media/
DAudioRecord.h278 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;
DAudioTrack.h408 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/
DReportPerformance.cpp171 std::unique_ptr<MediaAnalyticsItem> item(MediaAnalyticsItem::create("audiothread")); in sendToMediaMetrics()

12