Home
last modified time | relevance | path

Searched refs:MM_PREFIX (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/services/mediametrics/
Dstatsd_audiothread.cpp55 #define MM_PREFIX "android.media.audiothread." in statsd_audiothread() macro
60 if (item->getString(MM_PREFIX "type", &mytype)) { in statsd_audiothread()
64 if (item->getInt32(MM_PREFIX "framecount", &framecount)) { in statsd_audiothread()
68 if (item->getInt32(MM_PREFIX "samplerate", &samplerate)) { in statsd_audiothread()
72 if (item->getString(MM_PREFIX "workMs.hist", &workhist)) { in statsd_audiothread()
76 if (item->getString(MM_PREFIX "latencyMs.hist", &latencyhist)) { in statsd_audiothread()
80 if (item->getString(MM_PREFIX "warmupMs.hist", &warmuphist)) { in statsd_audiothread()
84 if (item->getInt64(MM_PREFIX "underruns", &underruns)) { in statsd_audiothread()
88 if (item->getInt64(MM_PREFIX "overruns", &overruns)) { in statsd_audiothread()
92 if (item->getInt64(MM_PREFIX "activeMs", &activeMs)) { in statsd_audiothread()
[all …]
/frameworks/base/media/java/android/media/
DAudioRecord.java2066 private static final String MM_PREFIX = "android.media.audiorecord."; field in AudioRecord.MetricsConstants
2073 public static final String ENCODING = MM_PREFIX + "encoding";
2080 public static final String SOURCE = MM_PREFIX + "source";
2090 public static final String LATENCY = MM_PREFIX + "latency";
2097 public static final String SAMPLERATE = MM_PREFIX + "samplerate";
2104 public static final String CHANNELS = MM_PREFIX + "channels";
2113 public static final String CHANNEL_MASK = MM_PREFIX + "channelMask";
2123 public static final String PORT_ID = MM_PREFIX + "portId";
2132 public static final String FRAME_COUNT = MM_PREFIX + "frameCount";
2141 public static final String ATTRIBUTES = MM_PREFIX + "attributes";
[all …]
DAudioTrack.java4179 private static final String MM_PREFIX = "android.media.audiotrack."; field in AudioTrack.MetricsConstants
4187 public static final String STREAMTYPE = MM_PREFIX + "streamtype";
4194 public static final String CONTENTTYPE = MM_PREFIX + "type";
4201 public static final String USAGE = MM_PREFIX + "usage";
4230 public static final String SAMPLE_RATE = MM_PREFIX + "sampleRate";
4239 public static final String CHANNEL_MASK = MM_PREFIX + "channelMask";
4248 public static final String ENCODING = MM_PREFIX + "encoding";
4257 public static final String PORT_ID = MM_PREFIX + "portId";
4266 public static final String FRAME_COUNT = MM_PREFIX + "frameCount";
4275 public static final String ATTRIBUTES = MM_PREFIX + "attributes";
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp79 #define MM_PREFIX "android.media.audiorecord." // avoid cut-n-paste errors. in gather() macro
82 mMetricsItem->setCString(MM_PREFIX "encoding", toString(record->mFormat).c_str()); in gather()
83 mMetricsItem->setCString(MM_PREFIX "source", toString(record->mAttributes.source).c_str()); in gather()
84 mMetricsItem->setInt32(MM_PREFIX "latency", (int32_t)record->mLatency); // bad estimate. in gather()
85 mMetricsItem->setInt32(MM_PREFIX "samplerate", (int32_t)record->mSampleRate); in gather()
86 mMetricsItem->setInt32(MM_PREFIX "channels", (int32_t)record->mChannelCount); in gather()
89 mMetricsItem->setInt32(MM_PREFIX "portId", (int32_t)record->mPortId); in gather()
90 mMetricsItem->setInt32(MM_PREFIX "frameCount", (int32_t)record->mFrameCount); in gather()
91 mMetricsItem->setCString(MM_PREFIX "attributes", toString(record->mAttributes).c_str()); in gather()
92 mMetricsItem->setInt64(MM_PREFIX "channelMask", (int64_t)record->mChannelMask); in gather()
[all …]
DAudioTrack.cpp183 #define MM_PREFIX "android.media.audiotrack." // avoid cut-n-paste errors. in gather() macro
186 mMetricsItem->setCString(MM_PREFIX "streamtype", toString(track->streamType()).c_str()); in gather()
187 mMetricsItem->setCString(MM_PREFIX "type", in gather()
189 mMetricsItem->setCString(MM_PREFIX "usage", toString(track->mAttributes.usage).c_str()); in gather()
192 mMetricsItem->setInt32(MM_PREFIX "sampleRate", (int32_t)track->mSampleRate); in gather()
193 mMetricsItem->setInt64(MM_PREFIX "channelMask", (int64_t)track->mChannelMask); in gather()
195 mMetricsItem->setInt32(MM_PREFIX "portId", (int32_t)track->mPortId); in gather()
196 mMetricsItem->setCString(MM_PREFIX "encoding", toString(track->mFormat).c_str()); in gather()
197 mMetricsItem->setInt32(MM_PREFIX "frameCount", (int32_t)track->mFrameCount); in gather()
198 mMetricsItem->setCString(MM_PREFIX "attributes", toString(track->mAttributes).c_str()); in gather()
/frameworks/av/services/audioflinger/
DThreads.cpp1790 #define MM_PREFIX "android.media.audiothread." // avoid cut-n-paste errors. in sendStatistics() macro
1793 item->setInt32(MM_PREFIX "id", (int32_t)mId); // IO handle in sendStatistics()
1795 item->setCString(MM_PREFIX "type", threadTypeToString(mType)); in sendStatistics()
1796 item->setInt32(MM_PREFIX "sampleRate", (int32_t)mSampleRate); in sendStatistics()
1797 item->setInt64(MM_PREFIX "channelMask", (int64_t)mChannelMask); in sendStatistics()
1798 item->setCString(MM_PREFIX "encoding", toString(mFormat).c_str()); in sendStatistics()
1799 item->setInt32(MM_PREFIX "frameCount", (int32_t)mFrameCount); in sendStatistics()
1800 item->setCString(MM_PREFIX "outDevice", toString(outDeviceTypes()).c_str()); in sendStatistics()
1801 item->setCString(MM_PREFIX "inDevice", toString(inDeviceType()).c_str()); in sendStatistics()
1805 item->setDouble(MM_PREFIX "ioJitterMs.mean", mIoJitterMs.getMean()); in sendStatistics()
[all …]