Home
last modified time | relevance | path

Searched refs:cq (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DCallQualityMetrics.java104 public void saveCallQuality(CallQuality cq) { in saveCallQuality() argument
105 if (cq.getUplinkCallQualityLevel() == CallQuality.CALL_QUALITY_NOT_AVAILABLE in saveCallQuality()
106 || cq.getDownlinkCallQualityLevel() == CallQuality.CALL_QUALITY_NOT_AVAILABLE) { in saveCallQuality()
113 if (isGoodQuality(cq.getUplinkCallQualityLevel())) { in saveCallQuality()
116 if (isGoodQuality(cq.getDownlinkCallQualityLevel())) { in saveCallQuality()
122 addSnapshot(cq, mUlSnapshots); in saveCallQuality()
125 addSnapshot(cq, mDlSnapshots); in saveCallQuality()
129 updateTotalDurations(cq); in saveCallQuality()
131 updateMinAndMaxSignalStrengthSnapshots(newDlCallQualityState, newUlCallQualityState, cq); in saveCallQuality()
136 if (cq.getCallDuration() > mLastCallQuality.getCallDuration()) { in saveCallQuality()
[all …]
DTelephonyMetrics.java2178 TelephonyCallSession.Event.CallQuality cq = new TelephonyCallSession.Event.CallQuality(); in toCallQualityProto() local
2180 cq.downlinkLevel = callQualityLevelToProtoEnum(callQuality in toCallQualityProto()
2182 cq.uplinkLevel = callQualityLevelToProtoEnum(callQuality.getUplinkCallQualityLevel()); in toCallQualityProto()
2184 cq.durationInSeconds = callQuality.getCallDuration() / 1000; in toCallQualityProto()
2185 cq.rtpPacketsTransmitted = callQuality.getNumRtpPacketsTransmitted(); in toCallQualityProto()
2186 cq.rtpPacketsReceived = callQuality.getNumRtpPacketsReceived(); in toCallQualityProto()
2187 cq.rtpPacketsTransmittedLost = callQuality.getNumRtpPacketsTransmittedLost(); in toCallQualityProto()
2188 cq.rtpPacketsNotReceived = callQuality.getNumRtpPacketsNotReceived(); in toCallQualityProto()
2189 cq.averageRelativeJitterMillis = callQuality.getAverageRelativeJitter(); in toCallQualityProto()
2190 cq.maxRelativeJitterMillis = callQuality.getMaxRelativeJitter(); in toCallQualityProto()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DInProgressCallSessionTest.java84 CallQuality cq = new CallQuality(); in testAddCallQualityEvent() local
85 cq.downlinkLevel = CallQuality.CallQualityLevel.GOOD; in testAddCallQualityEvent()
86 cq.uplinkLevel = CallQuality.CallQualityLevel.GOOD; in testAddCallQualityEvent()
89 .setCallQuality(cq); in testAddCallQualityEvent()