Home
last modified time | relevance | path

Searched refs:mAnalyticsItem (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libstagefright/
DRemoteMediaExtractor.cpp51 mAnalyticsItem = nullptr; in RemoteMediaExtractor()
53 mAnalyticsItem = MediaAnalyticsItem::create(kKeyExtractor); in RemoteMediaExtractor()
58 mAnalyticsItem->setUid(uid); in RemoteMediaExtractor()
62 mAnalyticsItem->setCString(kExtractorFormat, extractor->name()); in RemoteMediaExtractor()
64 mAnalyticsItem->setInt32(kExtractorTracks, ntracks); in RemoteMediaExtractor()
73 mAnalyticsItem->setCString(kExtractorMime, mime); in RemoteMediaExtractor()
87 if (mAnalyticsItem != nullptr) { in ~RemoteMediaExtractor()
88 if (mAnalyticsItem->count() > 0) { in ~RemoteMediaExtractor()
89 mAnalyticsItem->selfrecord(); in ~RemoteMediaExtractor()
93 if (mAnalyticsItem != nullptr) { in ~RemoteMediaExtractor()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp90 mAnalyticsItem(NULL), in NuPlayerDriver()
101 mAnalyticsItem = MediaAnalyticsItem::create(kKeyPlayer); in NuPlayerDriver()
121 if (mAnalyticsItem != NULL) { in ~NuPlayerDriver()
122 delete mAnalyticsItem; in ~NuPlayerDriver()
123 mAnalyticsItem = NULL; in ~NuPlayerDriver()
134 if (mAnalyticsItem) { in setUID()
135 mAnalyticsItem->setUid(mClientUid); in setUID()
563 mAnalyticsItem->setCString(kPlayerVMime, mime.c_str()); in updateMetrics()
565 mAnalyticsItem->setCString(kPlayerVCodec, name.c_str()); in updateMetrics()
570 mAnalyticsItem->setInt32(kPlayerWidth, width); in updateMetrics()
[all …]
DNuPlayerDriver.h144 MediaAnalyticsItem *mAnalyticsItem; member
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp149 mAnalyticsItem->setUid(mClientUid); in updateMetrics()
156 mAnalyticsItem->setInt32(kRecorderHeight, mVideoHeight); in updateMetrics()
157 mAnalyticsItem->setInt32(kRecorderWidth, mVideoWidth); in updateMetrics()
158 mAnalyticsItem->setInt32(kRecorderFrameRate, mFrameRate); in updateMetrics()
159 mAnalyticsItem->setInt32(kRecorderVideoBitrate, mVideoBitRate); in updateMetrics()
160 mAnalyticsItem->setInt32(kRecorderAudioSampleRate, mSampleRate); in updateMetrics()
161 mAnalyticsItem->setInt32(kRecorderAudioChannels, mAudioChannels); in updateMetrics()
162 mAnalyticsItem->setInt32(kRecorderAudioBitrate, mAudioBitRate); in updateMetrics()
164 mAnalyticsItem->setInt32(kRecorderVideoIframeInterval, mIFramesIntervalSec); in updateMetrics()
168 mAnalyticsItem->setInt32(kRecorderMovieTimescale, mMovieTimeScale); in updateMetrics()
[all …]
DStagefrightRecorder.h98 MediaAnalyticsItem *mAnalyticsItem; member
/frameworks/av/media/libaudioclient/include/media/
DAudioRecord.h748 MediaMetrics() : mAnalyticsItem(MediaAnalyticsItem::create("audiorecord")), in MediaMetrics()
756 if (mAnalyticsItem->count() > 0) { in ~MediaMetrics()
757 mAnalyticsItem->selfrecord(); in ~MediaMetrics()
761 MediaAnalyticsItem *dup() { return mAnalyticsItem->dup(); } in dup()
768 std::unique_ptr<MediaAnalyticsItem> mAnalyticsItem;
DAudioTrack.h1241 MediaMetrics() : mAnalyticsItem(MediaAnalyticsItem::create("audiotrack")) { in MediaMetrics()
1246 if (mAnalyticsItem->count() > 0) { in ~MediaMetrics()
1247 mAnalyticsItem->selfrecord(); in ~MediaMetrics()
1251 MediaAnalyticsItem *dup() { return mAnalyticsItem->dup(); } in dup()
1253 std::unique_ptr<MediaAnalyticsItem> mAnalyticsItem;
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp82 mAnalyticsItem->setCString(MM_PREFIX "encoding", toString(record->mFormat).c_str()); in gather()
83 mAnalyticsItem->setCString(MM_PREFIX "source", toString(record->mAttributes.source).c_str()); in gather()
84 mAnalyticsItem->setInt32(MM_PREFIX "latency", (int32_t)record->mLatency); // bad estimate. in gather()
85 mAnalyticsItem->setInt32(MM_PREFIX "samplerate", (int32_t)record->mSampleRate); in gather()
86 mAnalyticsItem->setInt32(MM_PREFIX "channels", (int32_t)record->mChannelCount); in gather()
89 mAnalyticsItem->setInt32(MM_PREFIX "portId", (int32_t)record->mPortId); in gather()
90 mAnalyticsItem->setInt32(MM_PREFIX "frameCount", (int32_t)record->mFrameCount); in gather()
91 mAnalyticsItem->setCString(MM_PREFIX "attributes", toString(record->mAttributes).c_str()); in gather()
92 mAnalyticsItem->setInt64(MM_PREFIX "channelMask", (int64_t)record->mChannelMask); in gather()
99 mAnalyticsItem->setDouble(MM_PREFIX "durationMs", (mDurationNs + activeNs) * 1e-6); in gather()
[all …]
DAudioTrack.cpp186 mAnalyticsItem->setCString(MM_PREFIX "streamtype", toString(track->streamType()).c_str()); in gather()
187 mAnalyticsItem->setCString(MM_PREFIX "type", in gather()
189 mAnalyticsItem->setCString(MM_PREFIX "usage", toString(track->mAttributes.usage).c_str()); in gather()
192 mAnalyticsItem->setInt32(MM_PREFIX "sampleRate", (int32_t)track->mSampleRate); in gather()
193 mAnalyticsItem->setInt64(MM_PREFIX "channelMask", (int64_t)track->mChannelMask); in gather()
195 mAnalyticsItem->setInt32(MM_PREFIX "portId", (int32_t)track->mPortId); in gather()
196 mAnalyticsItem->setCString(MM_PREFIX "encoding", toString(track->mFormat).c_str()); in gather()
197 mAnalyticsItem->setInt32(MM_PREFIX "frameCount", (int32_t)track->mFrameCount); in gather()
198 mAnalyticsItem->setCString(MM_PREFIX "attributes", toString(track->mAttributes).c_str()); in gather()
/frameworks/av/media/libstagefright/include/media/stagefright/
DRemoteMediaExtractor.h51 MediaAnalyticsItem *mAnalyticsItem; variable