D2D communication improvements.
- Add logging of accepted RTP header extension types to ImsCallProfile - Add toString for various Rtp classes to enable logging. - Add method backing new transport override command line option. Bug: 163085177 Test: Manual Change-Id: I39eb77a2f9095a944f9a5b57f8c02255657c13de
This commit is contained in:
@@ -791,7 +791,9 @@ public final class ImsCallProfile implements Parcelable {
|
||||
+ ", emergencyCallTesting=" + mEmergencyCallTesting
|
||||
+ ", hasKnownUserIntentEmergency=" + mHasKnownUserIntentEmergency
|
||||
+ ", mRestrictCause=" + mRestrictCause
|
||||
+ ", mCallerNumberVerstat= " + mCallerNumberVerificationStatus + " }";
|
||||
+ ", mCallerNumberVerstat= " + mCallerNumberVerificationStatus
|
||||
+ ", mAcceptedRtpHeaderExtensions= " + mAcceptedRtpHeaderExtensionTypes
|
||||
+ " }";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -134,4 +134,19 @@ public final class RtpHeaderExtension implements Parcelable {
|
||||
result = 31 * result + Arrays.hashCode(mExtensionData);
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("RtpHeaderExtension{mLocalIdentifier=");
|
||||
sb.append(mLocalIdentifier);
|
||||
sb.append(", mData=");
|
||||
for (byte b : mExtensionData) {
|
||||
sb.append(Integer.toBinaryString(b));
|
||||
sb.append("b_");
|
||||
}
|
||||
sb.append("}");
|
||||
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -133,4 +133,16 @@ public final class RtpHeaderExtensionType implements Parcelable {
|
||||
public int hashCode() {
|
||||
return Objects.hash(mLocalIdentifier, mUri);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("RtpHeaderExtensionType{mLocalIdentifier=");
|
||||
sb.append(mLocalIdentifier);
|
||||
sb.append(", mUri=");
|
||||
sb.append(mUri);
|
||||
sb.append("}");
|
||||
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2339,6 +2339,11 @@ interface ITelephony {
|
||||
*/
|
||||
void sendDeviceToDeviceMessage(int message, int value);
|
||||
|
||||
/**
|
||||
* Sets the specified transport active; only for use through shell.
|
||||
*/
|
||||
void setActiveDeviceToDeviceTransport(String transport);
|
||||
|
||||
/**
|
||||
* Gets the config of RCS VoLTE single registration enabled for the carrier/subscription.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user