Searched refs:mMetricsItem (Results 1 – 10 of 10) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | RemoteMediaExtractor.cpp | 68 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/ |
D | NuPlayerDriver.cpp | 90 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/ |
D | StagefrightRecorder.cpp | 146 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 …]
|
D | StagefrightRecorder.h | 110 mediametrics::Item *mMetricsItem; member
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioRecord.h | 821 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;
|
D | AudioTrack.h | 1510 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/ |
D | AudioRecord.cpp | 89 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 …]
|
D | AudioTrack.cpp | 207 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/ |
D | RemoteMediaExtractor.h | 53 mediametrics::Item *mMetricsItem; variable
|
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/ |
D | NuPlayerDriver.h | 149 mediametrics::Item *mMetricsItem; member
|