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 …]
2098 TelephonyCallSession.Event.CallQuality cq = new TelephonyCallSession.Event.CallQuality(); in toCallQualityProto() local2100 cq.downlinkLevel = callQualityLevelToProtoEnum(callQuality in toCallQualityProto()2102 cq.uplinkLevel = callQualityLevelToProtoEnum(callQuality.getUplinkCallQualityLevel()); in toCallQualityProto()2104 cq.durationInSeconds = callQuality.getCallDuration() / 1000; in toCallQualityProto()2105 cq.rtpPacketsTransmitted = callQuality.getNumRtpPacketsTransmitted(); in toCallQualityProto()2106 cq.rtpPacketsReceived = callQuality.getNumRtpPacketsReceived(); in toCallQualityProto()2107 cq.rtpPacketsTransmittedLost = callQuality.getNumRtpPacketsTransmittedLost(); in toCallQualityProto()2108 cq.rtpPacketsNotReceived = callQuality.getNumRtpPacketsNotReceived(); in toCallQualityProto()2109 cq.averageRelativeJitterMillis = callQuality.getAverageRelativeJitter(); in toCallQualityProto()2110 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()