Searched refs:MM_PREFIX (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/services/mediametrics/ |
D | statsd_audiothread.cpp | 55 #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", &work_millis_hist)) { in statsd_audiothread() 76 if (item->getString(MM_PREFIX "latencyMs.hist", &latency_millis_hist)) { in statsd_audiothread() 80 if (item->getString(MM_PREFIX "warmupMs.hist", &warmup_millis_hist)) { 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", &active_millis)) { in statsd_audiothread() [all …]
|
/frameworks/av/media/libaudioclient/ |
D | AudioRecord.cpp | 86 #define MM_PREFIX "android.media.audiorecord." // avoid cut-n-paste errors. in gather() macro 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() [all …]
|
D | AudioTrack.cpp | 203 #define MM_PREFIX "android.media.audiotrack." // avoid cut-n-paste errors. in gather() macro 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() [all …]
|
/frameworks/base/media/java/android/media/ |
D | AudioRecord.java | 2536 private static final String MM_PREFIX = "android.media.audiorecord."; field in AudioRecord.MetricsConstants 2543 public static final String ENCODING = MM_PREFIX + "encoding"; 2550 public static final String SOURCE = MM_PREFIX + "source"; 2560 public static final String LATENCY = MM_PREFIX + "latency"; 2567 public static final String SAMPLERATE = MM_PREFIX + "samplerate"; 2574 public static final String CHANNELS = MM_PREFIX + "channels"; 2583 public static final String CHANNEL_MASK = MM_PREFIX + "channelMask"; 2593 public static final String PORT_ID = MM_PREFIX + "portId"; 2602 public static final String FRAME_COUNT = MM_PREFIX + "frameCount"; 2611 public static final String ATTRIBUTES = MM_PREFIX + "attributes"; [all …]
|
D | AudioTrack.java | 4563 private static final String MM_PREFIX = "android.media.audiotrack."; field in AudioTrack.MetricsConstants 4571 public static final String STREAMTYPE = MM_PREFIX + "streamtype"; 4578 public static final String CONTENTTYPE = MM_PREFIX + "type"; 4585 public static final String USAGE = MM_PREFIX + "usage"; 4614 public static final String SAMPLE_RATE = MM_PREFIX + "sampleRate"; 4623 public static final String CHANNEL_MASK = MM_PREFIX + "channelMask"; 4632 public static final String ENCODING = MM_PREFIX + "encoding"; 4641 public static final String PORT_ID = MM_PREFIX + "portId"; 4650 public static final String FRAME_COUNT = MM_PREFIX + "frameCount"; 4659 public static final String ATTRIBUTES = MM_PREFIX + "attributes";
|
/frameworks/av/services/audioflinger/ |
D | Threads.cpp | 2057 #define MM_PREFIX "android.media.audiothread." // avoid cut-n-paste errors. in sendStatistics() macro 2060 item->setInt32(MM_PREFIX "id", (int32_t)mId); // IO handle in sendStatistics() 2062 item->setCString(MM_PREFIX "type", threadTypeToString(mType)); in sendStatistics() 2063 item->setInt32(MM_PREFIX "sampleRate", (int32_t)mSampleRate); in sendStatistics() 2064 item->setInt64(MM_PREFIX "channelMask", (int64_t)mChannelMask); in sendStatistics() 2065 item->setCString(MM_PREFIX "encoding", toString(mFormat).c_str()); in sendStatistics() 2066 item->setInt32(MM_PREFIX "frameCount", (int32_t)mFrameCount); in sendStatistics() 2067 item->setCString(MM_PREFIX "outDevice", toString(outDeviceTypes_l()).c_str()); in sendStatistics() 2068 item->setCString(MM_PREFIX "inDevice", toString(inDeviceType_l()).c_str()); in sendStatistics() 2072 item->setDouble(MM_PREFIX "ioJitterMs.mean", mIoJitterMs.getMean()); in sendStatistics() [all …]
|