Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DRemoteMediaExtractor.cpp61 mMetricsItem = nullptr; in RemoteMediaExtractor()
63 mMetricsItem = mediametrics::Item::create(kKeyExtractor); in RemoteMediaExtractor()
68 mMetricsItem->setUid(uid); in RemoteMediaExtractor()
72 mMetricsItem->setCString(kExtractorFormat, extractor->name()); in RemoteMediaExtractor()
74 mMetricsItem->setInt32(kExtractorTracks, ntracks); in RemoteMediaExtractor()
83 mMetricsItem->setCString(kExtractorMime, mime); in RemoteMediaExtractor()
89 mMetricsItem->setCString(kExtractorEntryPoint, kEntryPointOther); in RemoteMediaExtractor()
100 if (mMetricsItem != nullptr) { in ~RemoteMediaExtractor()
101 if (mMetricsItem->count() > 0) { in ~RemoteMediaExtractor()
102 mMetricsItem->selfrecord(); in ~RemoteMediaExtractor()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp88 mMetricsItem(NULL), in NuPlayerDriver()
99 mMetricsItem = mediametrics::Item::create(kKeyPlayer); in NuPlayerDriver()
120 if (mMetricsItem != NULL) { in ~NuPlayerDriver()
121 delete mMetricsItem; in ~NuPlayerDriver()
122 mMetricsItem = NULL; in ~NuPlayerDriver()
135 if (mMetricsItem) { in setUID()
136 mMetricsItem->setUid(mClientUid); in setUID()
597 if (mMetricsItem == NULL) { in updateMetrics()
601 mMetricsItem->setInt64(kPlayerDuration, duration_ms); in updateMetrics()
602 mMetricsItem->setInt64(kPlayerPlaying, (playingTimeUs+500)/1000 ); in updateMetrics()
[all …]
DNuPlayerDriver.h146 mediametrics::Item *mMetricsItem; member
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp139 mMetricsItem = NULL; in StagefrightRecorder()
162 mMetricsItem->setUid(VALUE_OR_FATAL(aidl2legacy_int32_t_uid_t(mAttributionSource.uid))); in updateMetrics()
164 mMetricsItem->setCString(kRecorderLogSessionId, mLogSessionId.c_str()); in updateMetrics()
171 mMetricsItem->setInt32(kRecorderHeight, mVideoHeight); in updateMetrics()
172 mMetricsItem->setInt32(kRecorderWidth, mVideoWidth); in updateMetrics()
173 mMetricsItem->setInt32(kRecorderFrameRate, mFrameRate); in updateMetrics()
174 mMetricsItem->setInt32(kRecorderVideoBitrate, mVideoBitRate); in updateMetrics()
175 mMetricsItem->setInt32(kRecorderAudioSampleRate, mSampleRate); in updateMetrics()
176 mMetricsItem->setInt32(kRecorderAudioChannels, mAudioChannels); in updateMetrics()
177 mMetricsItem->setInt32(kRecorderAudioBitrate, mAudioBitRate); in updateMetrics()
[all …]
DStagefrightRecorder.h109 mediametrics::Item *mMetricsItem; member
/frameworks/av/media/libaudioclient/include/media/
DAudioRecord.h794 MediaMetrics() : mMetricsItem(mediametrics::Item::create("audiorecord")), in MediaMetrics()
802 if (mMetricsItem->count() > 0) { in ~MediaMetrics()
803 mMetricsItem->selfrecord(); in ~MediaMetrics()
807 mediametrics::Item *dup() { return mMetricsItem->dup(); } in dup()
814 std::unique_ptr<mediametrics::Item> mMetricsItem;
DAudioTrack.h1365 MediaMetrics() : mMetricsItem(mediametrics::Item::create("audiotrack")) { in MediaMetrics()
1370 if (mMetricsItem->count() > 0) { in ~MediaMetrics()
1371 mMetricsItem->selfrecord(); in ~MediaMetrics()
1375 mediametrics::Item *dup() { return mMetricsItem->dup(); } in dup()
1377 std::unique_ptr<mediametrics::Item> mMetricsItem;
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp86 mMetricsItem->setCString(MM_PREFIX "encoding", toString(record->mFormat).c_str()); in gather()
87 mMetricsItem->setCString(MM_PREFIX "source", toString(record->mAttributes.source).c_str()); in gather()
88 mMetricsItem->setInt32(MM_PREFIX "latency", (int32_t)record->mLatency); // bad estimate. in gather()
89 mMetricsItem->setInt32(MM_PREFIX "samplerate", (int32_t)record->mSampleRate); in gather()
90 mMetricsItem->setInt32(MM_PREFIX "channels", (int32_t)record->mChannelCount); in gather()
93 mMetricsItem->setInt32(MM_PREFIX "portId", (int32_t)record->mPortId); in gather()
94 mMetricsItem->setInt32(MM_PREFIX "frameCount", (int32_t)record->mFrameCount); in gather()
95 mMetricsItem->setCString(MM_PREFIX "attributes", toString(record->mAttributes).c_str()); in gather()
96 mMetricsItem->setInt64(MM_PREFIX "channelMask", (int64_t)record->mChannelMask); in gather()
103 mMetricsItem->setDouble(MM_PREFIX "durationMs", (mDurationNs + activeNs) * 1e-6); in gather()
[all …]
DAudioTrack.cpp200 mMetricsItem->setCString(MM_PREFIX "streamtype", toString(track->streamType()).c_str()); in gather()
201 mMetricsItem->setCString(MM_PREFIX "type", in gather()
203 mMetricsItem->setCString(MM_PREFIX "usage", toString(track->mAttributes.usage).c_str()); in gather()
206 mMetricsItem->setInt32(MM_PREFIX "sampleRate", (int32_t)track->mSampleRate); in gather()
207 mMetricsItem->setInt64(MM_PREFIX "channelMask", (int64_t)track->mChannelMask); in gather()
209 mMetricsItem->setInt32(MM_PREFIX "portId", (int32_t)track->mPortId); in gather()
210 mMetricsItem->setCString(MM_PREFIX "encoding", toString(track->mFormat).c_str()); in gather()
211 mMetricsItem->setInt32(MM_PREFIX "frameCount", (int32_t)track->mFrameCount); in gather()
212 mMetricsItem->setCString(MM_PREFIX "attributes", toString(track->mAttributes).c_str()); in gather()
213 mMetricsItem->setCString(MM_PREFIX "logSessionId", track->mLogSessionId.c_str()); in gather()
/frameworks/av/media/libstagefright/include/media/stagefright/
DRemoteMediaExtractor.h53 mediametrics::Item *mMetricsItem; variable