/frameworks/av/media/libstagefright/ |
D | RemoteMediaExtractor.cpp | 51 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 …]
|
D | MediaCodec.cpp | 519 mAnalyticsItem(NULL), in MediaCodec() 552 if (mAnalyticsItem == NULL) { in initAnalyticsItem() 553 mAnalyticsItem = MediaAnalyticsItem::create(kCodecKeyName); in initAnalyticsItem() 569 if (mAnalyticsItem == NULL) { in updateAnalyticsItem() 574 mAnalyticsItem->setInt64(kCodecLatencyMax, mLatencyHist.getMax()); in updateAnalyticsItem() 575 mAnalyticsItem->setInt64(kCodecLatencyMin, mLatencyHist.getMin()); in updateAnalyticsItem() 576 mAnalyticsItem->setInt64(kCodecLatencyAvg, mLatencyHist.getAvg()); in updateAnalyticsItem() 577 mAnalyticsItem->setInt64(kCodecLatencyCount, mLatencyHist.getCount()); in updateAnalyticsItem() 582 mAnalyticsItem->setCString(kCodecLatencyHist, hist.c_str()); in updateAnalyticsItem() 586 mAnalyticsItem->setInt64(kCodecLatencyUnknown, mLatencyUnknown); in updateAnalyticsItem() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDriver.cpp | 89 mAnalyticsItem(NULL), in NuPlayerDriver() 100 mAnalyticsItem = MediaAnalyticsItem::create(kKeyPlayer); in NuPlayerDriver() 120 if (mAnalyticsItem != NULL) { in ~NuPlayerDriver() 121 delete mAnalyticsItem; in ~NuPlayerDriver() 122 mAnalyticsItem = NULL; in ~NuPlayerDriver() 133 if (mAnalyticsItem) { in setUID() 134 mAnalyticsItem->setUid(mClientUid); in setUID() 562 mAnalyticsItem->setCString(kPlayerVMime, mime.c_str()); in updateMetrics() 564 mAnalyticsItem->setCString(kPlayerVCodec, name.c_str()); in updateMetrics() 569 mAnalyticsItem->setInt32(kPlayerWidth, width); in updateMetrics() [all …]
|
D | NuPlayerDriver.h | 144 MediaAnalyticsItem *mAnalyticsItem; member
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 149 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 …]
|
D | StagefrightRecorder.h | 98 MediaAnalyticsItem *mAnalyticsItem; member
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioRecord.h | 736 MediaMetrics() : mAnalyticsItem(MediaAnalyticsItem::create("audiorecord")), in MediaMetrics() 744 if (mAnalyticsItem->count() > 0) { in ~MediaMetrics() 745 mAnalyticsItem->selfrecord(); in ~MediaMetrics() 749 MediaAnalyticsItem *dup() { return mAnalyticsItem->dup(); } in dup() 756 std::unique_ptr<MediaAnalyticsItem> mAnalyticsItem;
|
D | AudioTrack.h | 1233 MediaMetrics() : mAnalyticsItem(MediaAnalyticsItem::create("audiotrack")) { in MediaMetrics() 1238 if (mAnalyticsItem->count() > 0) { in ~MediaMetrics() 1239 mAnalyticsItem->selfrecord(); in ~MediaMetrics() 1243 MediaAnalyticsItem *dup() { return mAnalyticsItem->dup(); } in dup() 1245 std::unique_ptr<MediaAnalyticsItem> mAnalyticsItem;
|
/frameworks/av/include/media/ |
D | AudioRecord.h | 736 MediaMetrics() : mAnalyticsItem(MediaAnalyticsItem::create("audiorecord")), in MediaMetrics() 744 if (mAnalyticsItem->count() > 0) { in ~MediaMetrics() 745 mAnalyticsItem->selfrecord(); in ~MediaMetrics() 749 MediaAnalyticsItem *dup() { return mAnalyticsItem->dup(); } in dup() 756 std::unique_ptr<MediaAnalyticsItem> mAnalyticsItem;
|
D | AudioTrack.h | 1233 MediaMetrics() : mAnalyticsItem(MediaAnalyticsItem::create("audiotrack")) { in MediaMetrics() 1238 if (mAnalyticsItem->count() > 0) { in ~MediaMetrics() 1239 mAnalyticsItem->selfrecord(); in ~MediaMetrics() 1243 MediaAnalyticsItem *dup() { return mAnalyticsItem->dup(); } in dup() 1245 std::unique_ptr<MediaAnalyticsItem> mAnalyticsItem;
|
/frameworks/av/media/libaudioclient/ |
D | AudioRecord.cpp | 82 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 …]
|
D | AudioTrack.cpp | 186 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/ |
D | RemoteMediaExtractor.h | 51 MediaAnalyticsItem *mAnalyticsItem; variable
|
D | MediaCodec.h | 324 MediaAnalyticsItem *mAnalyticsItem; member
|