Loading src/java/com/android/internal/telephony/Connection.java +11 −0 Original line number Diff line number Diff line Loading @@ -217,6 +217,9 @@ public abstract class Connection { protected int mCause = DisconnectCause.NOT_DISCONNECTED; protected PostDialState mPostDialState = PostDialState.NOT_STARTED; // Store the current audio code protected int mAudioCodec; @UnsupportedAppUsage private static String LOG_TAG = "Connection"; Loading Loading @@ -1355,4 +1358,12 @@ public abstract class Connection { .append(" post dial state: " + getPostDialState()); return str.toString(); } /** * Get current audio codec. * @return current audio codec. */ public int getAudioCodec() { return mAudioCodec; } } src/java/com/android/internal/telephony/GsmCdmaConnection.java +0 −3 Original line number Diff line number Diff line Loading @@ -76,9 +76,6 @@ public class GsmCdmaConnection extends Connection { // The cached delay to be used between DTMF tones fetched from carrier config. private int mDtmfToneDelay = 0; // Store the current audio codec private int mAudioCodec = DriverCall.AUDIO_QUALITY_UNSPECIFIED; private TelephonyMetrics mMetrics = TelephonyMetrics.getInstance(); //***** Event Constants Loading src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java +0 −3 Original line number Diff line number Diff line Loading @@ -132,9 +132,6 @@ public class ImsPhoneConnection extends Connection implements */ private boolean mIsLocalVideoCapable = true; // Store the current audio codec private int mAudioCodec = ImsStreamMediaProfile.AUDIO_QUALITY_NONE; //***** Event Constants private static final int EVENT_DTMF_DONE = 1; private static final int EVENT_PAUSE_DONE = 2; Loading Loading
src/java/com/android/internal/telephony/Connection.java +11 −0 Original line number Diff line number Diff line Loading @@ -217,6 +217,9 @@ public abstract class Connection { protected int mCause = DisconnectCause.NOT_DISCONNECTED; protected PostDialState mPostDialState = PostDialState.NOT_STARTED; // Store the current audio code protected int mAudioCodec; @UnsupportedAppUsage private static String LOG_TAG = "Connection"; Loading Loading @@ -1355,4 +1358,12 @@ public abstract class Connection { .append(" post dial state: " + getPostDialState()); return str.toString(); } /** * Get current audio codec. * @return current audio codec. */ public int getAudioCodec() { return mAudioCodec; } }
src/java/com/android/internal/telephony/GsmCdmaConnection.java +0 −3 Original line number Diff line number Diff line Loading @@ -76,9 +76,6 @@ public class GsmCdmaConnection extends Connection { // The cached delay to be used between DTMF tones fetched from carrier config. private int mDtmfToneDelay = 0; // Store the current audio codec private int mAudioCodec = DriverCall.AUDIO_QUALITY_UNSPECIFIED; private TelephonyMetrics mMetrics = TelephonyMetrics.getInstance(); //***** Event Constants Loading
src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java +0 −3 Original line number Diff line number Diff line Loading @@ -132,9 +132,6 @@ public class ImsPhoneConnection extends Connection implements */ private boolean mIsLocalVideoCapable = true; // Store the current audio codec private int mAudioCodec = ImsStreamMediaProfile.AUDIO_QUALITY_NONE; //***** Event Constants private static final int EVENT_DTMF_DONE = 1; private static final int EVENT_PAUSE_DONE = 2; Loading