Searched refs:cq (Results 1 – 3 of 3) sorted by relevance
104 public void saveCallQuality(CallQuality cq) { in saveCallQuality() argument105 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 …]
2178 TelephonyCallSession.Event.CallQuality cq = new TelephonyCallSession.Event.CallQuality(); in toCallQualityProto() local2180 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 …]
84 CallQuality cq = new CallQuality(); in testAddCallQualityEvent() local85 cq.downlinkLevel = CallQuality.CallQualityLevel.GOOD; in testAddCallQualityEvent()86 cq.uplinkLevel = CallQuality.CallQualityLevel.GOOD; in testAddCallQualityEvent()89 .setCallQuality(cq); in testAddCallQualityEvent()