Home
last modified time | relevance | path

Searched refs:codecUsage (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallSessionStats.java812 LongSparseArray<Integer> codecUsage = mCodecUsage.get(id); in resetCodecList() local
813 if (codecUsage != null) { in resetCodecList()
814 int lastCodec = codecUsage.valueAt(codecUsage.size() - 1); in resetCodecList()
827 LongSparseArray<Integer> codecUsage = mCodecUsage.get(connectionId); in finalizeMainCodecQuality() local
831 codecUsage.put(getTimeMillis(), AudioCodec.AUDIO_CODEC_UNKNOWN); in finalizeMainCodecQuality()
836 for (int i = 0; i < codecUsage.size() - 1; i++) { in finalizeMainCodecQuality()
837 long time = codecUsage.keyAt(i + 1) - codecUsage.keyAt(i); in finalizeMainCodecQuality()
838 int quality = getCodecQuality(codecUsage.valueAt(i)); in finalizeMainCodecQuality()
/frameworks/av/services/mediaresourcemanager/
DResourceManagerMetrics.cpp799 std::stringstream codecUsage; in getAppsCodecUsageMetrics() local
802 codecUsage << " PID[" << pid << "]: "; in getAppsCodecUsageMetrics()
805 codecUsage << "Current Codec Usage: { " << info << "} "; in getAppsCodecUsageMetrics()
809 codecUsage << "Peak Codec Usage: { " << info << "}"; in getAppsCodecUsageMetrics()
811 codecUsage << "\n"; in getAppsCodecUsageMetrics()
814 return " Applications Codec Usage:\n" + codecUsage.str(); in getAppsCodecUsageMetrics()