Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DRemoteMediaExtractor.cpp68 mMetricsItem = nullptr; in RemoteMediaExtractor()
70 mMetricsItem = mediametrics::Item::create(kKeyExtractor); in RemoteMediaExtractor()
75 mMetricsItem->setUid(uid); in RemoteMediaExtractor()
79 mMetricsItem->setCString(kExtractorFormat, extractor->name()); in RemoteMediaExtractor()
81 mMetricsItem->setInt32(kExtractorTracks, ntracks); in RemoteMediaExtractor()
90 mMetricsItem->setCString(kExtractorMime, mime); in RemoteMediaExtractor()
96 mMetricsItem->setCString(kExtractorEntryPoint, kEntryPointOther); in RemoteMediaExtractor()
167 if (mMetricsItem != nullptr) { in ~RemoteMediaExtractor()
168 if (mMetricsItem->count() > 0) { in ~RemoteMediaExtractor()
169 mMetricsItem->selfrecord(); in ~RemoteMediaExtractor()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp90 mMetricsItem(NULL), in NuPlayerDriver()
101 mMetricsItem = mediametrics::Item::create(kKeyPlayer); in NuPlayerDriver()
122 if (mMetricsItem != NULL) { in ~NuPlayerDriver()
123 delete mMetricsItem; in ~NuPlayerDriver()
124 mMetricsItem = NULL; in ~NuPlayerDriver()
137 if (mMetricsItem) { in setUID()
138 mMetricsItem->setUid(mClientUid); in setUID()
599 if (mMetricsItem == NULL) { in updateMetrics()
603 mMetricsItem->setInt64(kPlayerDuration, duration_ms); in updateMetrics()
604 mMetricsItem->setInt64(kPlayerPlaying, (playingTimeUs+500)/1000 ); in updateMetrics()
[all …]
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp146 mMetricsItem = NULL; in StagefrightRecorder()
169 mMetricsItem->setUid(VALUE_OR_FATAL(aidl2legacy_int32_t_uid_t(mAttributionSource.uid))); in updateMetrics()
171 mMetricsItem->setCString(kRecorderLogSessionId, mLogSessionId.c_str()); in updateMetrics()
178 mMetricsItem->setInt32(kRecorderHeight, mVideoHeight); in updateMetrics()
179 mMetricsItem->setInt32(kRecorderWidth, mVideoWidth); in updateMetrics()
180 mMetricsItem->setInt32(kRecorderFrameRate, mFrameRate); in updateMetrics()
181 mMetricsItem->setInt32(kRecorderVideoBitrate, mVideoBitRate); in updateMetrics()
182 mMetricsItem->setInt32(kRecorderAudioSampleRate, mSampleRate); in updateMetrics()
183 mMetricsItem->setInt32(kRecorderAudioChannels, mAudioChannels); in updateMetrics()
184 mMetricsItem->setInt32(kRecorderAudioBitrate, mAudioBitRate); in updateMetrics()
[all …]
DStagefrightRecorder.h110 mediametrics::Item *mMetricsItem; member
/frameworks/av/media/libaudioclient/include/media/
DAudioRecord.h821 MediaMetrics() : mMetricsItem(mediametrics::Item::create("audiorecord")), in MediaMetrics()
829 if (mMetricsItem->count() > 0) { in ~MediaMetrics()
830 mMetricsItem->selfrecord(); in ~MediaMetrics()
834 mediametrics::Item *dup() { return mMetricsItem->dup(); } in dup()
841 std::unique_ptr<mediametrics::Item> mMetricsItem;
DAudioTrack.h1510 MediaMetrics() : mMetricsItem(mediametrics::Item::create("audiotrack")) { in MediaMetrics()
1515 if (mMetricsItem->count() > 0) { in ~MediaMetrics()
1516 mMetricsItem->selfrecord(); in ~MediaMetrics()
1520 mediametrics::Item *dup() { return mMetricsItem->dup(); } in dup()
1522 std::unique_ptr<mediametrics::Item> mMetricsItem;
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp89 mMetricsItem->setCString(MM_PREFIX "encoding", toString(record->mFormat).c_str()); in gather()
90 mMetricsItem->setCString(MM_PREFIX "source", toString(record->mAttributes.source).c_str()); in gather()
91 mMetricsItem->setInt32(MM_PREFIX "latency", (int32_t)record->mLatency); // bad estimate. in gather()
92 mMetricsItem->setInt32(MM_PREFIX "samplerate", (int32_t)record->mSampleRate); in gather()
93 mMetricsItem->setInt32(MM_PREFIX "channels", (int32_t)record->mChannelCount); in gather()
96 mMetricsItem->setInt32(MM_PREFIX "portId", (int32_t)record->mPortId); in gather()
97 mMetricsItem->setInt32(MM_PREFIX "frameCount", (int32_t)record->mFrameCount); in gather()
98 mMetricsItem->setCString(MM_PREFIX "attributes", toString(record->mAttributes).c_str()); in gather()
99 mMetricsItem->setInt64(MM_PREFIX "channelMask", (int64_t)record->mChannelMask); in gather()
106 mMetricsItem->setDouble(MM_PREFIX "durationMs", (mDurationNs + activeNs) * 1e-6); in gather()
[all …]
DAudioTrack.cpp207 mMetricsItem->setCString(MM_PREFIX "streamtype", toString(track->streamType()).c_str()); in gather()
208 mMetricsItem->setCString(MM_PREFIX "type", in gather()
210 mMetricsItem->setCString(MM_PREFIX "usage", toString(track->mAttributes.usage).c_str()); in gather()
213 mMetricsItem->setInt32(MM_PREFIX "sampleRate", (int32_t)track->mSampleRate); in gather()
214 mMetricsItem->setInt64(MM_PREFIX "channelMask", (int64_t)track->mChannelMask); in gather()
216 mMetricsItem->setInt32(MM_PREFIX "portId", (int32_t)track->mPortId); in gather()
217 mMetricsItem->setCString(MM_PREFIX "encoding", toString(track->mFormat).c_str()); in gather()
218 mMetricsItem->setInt32(MM_PREFIX "frameCount", (int32_t)track->mFrameCount); in gather()
219 mMetricsItem->setCString(MM_PREFIX "attributes", toString(track->mAttributes).c_str()); in gather()
220 mMetricsItem->setCString(MM_PREFIX "logSessionId", track->mLogSessionId.c_str()); in gather()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DRemoteMediaExtractor.h53 mediametrics::Item *mMetricsItem; variable
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/
DNuPlayerDriver.h149 mediametrics::Item *mMetricsItem; member