From 7ffb57a92d8ec6429c528551db3711daa13b3815 Mon Sep 17 00:00:00 2001 From: radhika Date: Wed, 18 Mar 2020 14:46:41 -0700 Subject: [PATCH] API review changes Test: make Bug: b/143307441 Change-Id: I53ebc76da939a5046e3ac2abac65dd391d8b1d1b --- api/system-current.txt | 4 ++-- api/test-current.txt | 4 ++-- telephony/java/android/telephony/CallQuality.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api/system-current.txt b/api/system-current.txt index ab3bcc129d4c4..fcb8b5a8a9206 100755 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -10754,8 +10754,8 @@ package android.telephony { method public int getNumRtpPacketsTransmitted(); method public int getNumRtpPacketsTransmittedLost(); method public int getUplinkCallQualityLevel(); - method public boolean isIncomingSilenceDetected(); - method public boolean isOutgoingSilenceDetected(); + method public boolean isIncomingSilenceDetectedAtCallSetup(); + method public boolean isOutgoingSilenceDetectedAtCallSetup(); method public boolean isRtpInactivityDetected(); method public void writeToParcel(android.os.Parcel, int); field public static final int CALL_QUALITY_BAD = 4; // 0x4 diff --git a/api/test-current.txt b/api/test-current.txt index a1a652fcea9fa..5d342f706bbdf 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -3628,8 +3628,8 @@ package android.telephony { method public int getNumRtpPacketsTransmitted(); method public int getNumRtpPacketsTransmittedLost(); method public int getUplinkCallQualityLevel(); - method public boolean isIncomingSilenceDetected(); - method public boolean isOutgoingSilenceDetected(); + method public boolean isIncomingSilenceDetectedAtCallSetup(); + method public boolean isOutgoingSilenceDetectedAtCallSetup(); method public boolean isRtpInactivityDetected(); method public void writeToParcel(android.os.Parcel, int); field public static final int CALL_QUALITY_BAD = 4; // 0x4 diff --git a/telephony/java/android/telephony/CallQuality.java b/telephony/java/android/telephony/CallQuality.java index 428a515844e66..1c82e96a01839 100644 --- a/telephony/java/android/telephony/CallQuality.java +++ b/telephony/java/android/telephony/CallQuality.java @@ -287,7 +287,7 @@ public final class CallQuality implements Parcelable { * Returns true if only silence rtp packets are received for a duration of 20 seconds starting * at call setup */ - public boolean isIncomingSilenceDetected() { + public boolean isIncomingSilenceDetectedAtCallSetup() { return mRxSilenceDetected; } @@ -295,7 +295,7 @@ public final class CallQuality implements Parcelable { * Returns true if only silence rtp packets are sent for a duration of 20 seconds starting at * call setup */ - public boolean isOutgoingSilenceDetected() { + public boolean isOutgoingSilenceDetectedAtCallSetup() { return mTxSilenceDetected; }