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.java103 public void saveCallQuality(CallQuality cq) { in saveCallQuality() argument
104 if (cq.getUplinkCallQualityLevel() == CallQuality.CALL_QUALITY_NOT_AVAILABLE in saveCallQuality()
105 || cq.getDownlinkCallQualityLevel() == CallQuality.CALL_QUALITY_NOT_AVAILABLE) { in saveCallQuality()
112 if (isGoodQuality(cq.getUplinkCallQualityLevel())) { in saveCallQuality()
115 if (isGoodQuality(cq.getDownlinkCallQualityLevel())) { in saveCallQuality()
121 mUlSnapshots = addSnapshot(cq, mUlSnapshots); in saveCallQuality()
124 mDlSnapshots = addSnapshot(cq, mDlSnapshots); in saveCallQuality()
128 updateTotalDurations(newDlCallQualityState, newUlCallQualityState, cq); in saveCallQuality()
130 updateMinAndMaxSignalStrengthSnapshots(newDlCallQualityState, newUlCallQualityState, cq); in saveCallQuality()
134 mLastCallQuality = cq; in saveCallQuality()
[all …]
DTelephonyMetrics.java2039 TelephonyCallSession.Event.CallQuality cq = new TelephonyCallSession.Event.CallQuality(); in toCallQualityProto() local
2041 cq.downlinkLevel = callQualityLevelToProtoEnum(callQuality in toCallQualityProto()
2043 cq.uplinkLevel = callQualityLevelToProtoEnum(callQuality.getUplinkCallQualityLevel()); in toCallQualityProto()
2045 cq.durationInSeconds = callQuality.getCallDuration() / 1000; in toCallQualityProto()
2046 cq.rtpPacketsTransmitted = callQuality.getNumRtpPacketsTransmitted(); in toCallQualityProto()
2047 cq.rtpPacketsReceived = callQuality.getNumRtpPacketsReceived(); in toCallQualityProto()
2048 cq.rtpPacketsTransmittedLost = callQuality.getNumRtpPacketsTransmittedLost(); in toCallQualityProto()
2049 cq.rtpPacketsNotReceived = callQuality.getNumRtpPacketsNotReceived(); in toCallQualityProto()
2050 cq.averageRelativeJitterMillis = callQuality.getAverageRelativeJitter(); in toCallQualityProto()
2051 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()