Searched refs:cq (Results 1 – 3 of 3) sorted by relevance
103 public void saveCallQuality(CallQuality cq) { in saveCallQuality() argument104 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 …]
2039 TelephonyCallSession.Event.CallQuality cq = new TelephonyCallSession.Event.CallQuality(); in toCallQualityProto() local2041 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 …]
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()