Loading core/java/com/android/ims/internal/uce/common/CapInfo.java +126 −0 Original line number Diff line number Diff line Loading @@ -64,6 +64,20 @@ public class CapInfo implements Parcelable { private boolean mRcsIpVideoCallSupported = false; /** RCS IP Video call support . */ private boolean mRcsIpVideoOnlyCallSupported = false; /** IP Geo location Push using SMS. */ private boolean mGeoSmsSupported = false; /** RCS call composer support. */ private boolean mCallComposerSupported = false; /** RCS post-call support. */ private boolean mPostCallSupported = false; /** Shared map support. */ private boolean mSharedMapSupported = false; /** Shared Sketch supported. */ private boolean mSharedSketchSupported = false; /** Chatbot communication support. */ private boolean mChatbotSupported = false; /** Chatbot role support. */ private boolean mChatbotRoleSupported = false; /** List of supported extensions. */ private String[] mExts = new String[10]; /** Time used to compute when to query again. */ Loading Loading @@ -386,6 +400,104 @@ public class CapInfo implements Parcelable { this.mRcsIpVideoOnlyCallSupported = rcsIpVideoOnlyCallSupported; } /** * Checks whether Geo Push via SMS is supported. */ public boolean isGeoSmsSupported() { return mGeoSmsSupported; } /** * Sets Geolocation Push via SMS as supported or not supported. */ public void setGeoSmsSupported(boolean geoSmsSupported) { this.mGeoSmsSupported = geoSmsSupported; } /** * Checks whether RCS call composer is supported. */ public boolean isCallComposerSupported() { return mCallComposerSupported; } /** * Sets call composer as supported or not supported. */ public void setCallComposerSupported(boolean callComposerSupported) { this.mCallComposerSupported = callComposerSupported; } /** * Checks whether post call is supported. */ public boolean isPostCallSupported(){ return mPostCallSupported; } /** * Sets post call as supported or not supported. */ public void setPostCallSupported(boolean postCallSupported) { this.mPostCallSupported = postCallSupported; } /** * Checks whether shared map is supported. */ public boolean isSharedMapSupported() { return mSharedMapSupported; } /** * Sets shared map as supported or not supported. */ public void setSharedMapSupported(boolean sharedMapSupported) { this.mSharedMapSupported = sharedMapSupported; } /** * Checks whether shared sketch is supported. */ public boolean isSharedSketchSupported() { return mSharedSketchSupported; } /** * Sets shared sketch as supported or not supported. */ public void setSharedSketchSupported(boolean sharedSketchSupported) { this.mSharedSketchSupported = sharedSketchSupported; } /** * Checks whether chatbot communication is supported. */ public boolean isChatbotSupported() { return mChatbotSupported; } /** * Sets chatbot communication as supported or not supported. */ public void setChatbotSupported(boolean chatbotSupported) { this.mChatbotSupported = chatbotSupported; } /** * Checks whether chatbot role is supported. */ public boolean isChatbotRoleSupported() { return mChatbotRoleSupported; } /** * Sets chatbot role as supported or not supported. */ public void setChatbotRoleSupported(boolean chatbotRoleSupported) { this.mChatbotRoleSupported = chatbotRoleSupported; } /** Gets the list of supported extensions. */ public String[] getExts() { return mExts; Loading Loading @@ -434,6 +546,13 @@ public class CapInfo implements Parcelable { dest.writeInt(mGeoPushSupported ? 1 : 0); dest.writeInt(mSmSupported ? 1 : 0); dest.writeInt(mFullSnFGroupChatSupported ? 1 : 0); dest.writeInt(mGeoSmsSupported ? 1 : 0); dest.writeInt(mCallComposerSupported ? 1 : 0); dest.writeInt(mPostCallSupported ? 1 : 0); dest.writeInt(mSharedMapSupported ? 1 : 0); dest.writeInt(mSharedSketchSupported ? 1 : 0); dest.writeInt(mChatbotSupported ? 1 : 0); dest.writeInt(mChatbotRoleSupported ? 1 : 0); dest.writeInt(mRcsIpVoiceCallSupported ? 1 : 0); dest.writeInt(mRcsIpVideoCallSupported ? 1 : 0); Loading Loading @@ -476,6 +595,13 @@ public class CapInfo implements Parcelable { mGeoPushSupported = (source.readInt() == 0) ? false : true; mSmSupported = (source.readInt() == 0) ? false : true; mFullSnFGroupChatSupported = (source.readInt() == 0) ? false : true; mGeoSmsSupported = (source.readInt() == 0) ? false : true; mCallComposerSupported = (source.readInt() == 0) ? false : true; mPostCallSupported = (source.readInt() == 0) ? false : true; mSharedMapSupported = (source.readInt() == 0) ? false : true; mSharedSketchSupported = (source.readInt() == 0) ? false : true; mChatbotSupported = (source.readInt() == 0) ? false : true; mChatbotRoleSupported = (source.readInt() == 0) ? false : true; mRcsIpVoiceCallSupported = (source.readInt() == 0) ? false : true; mRcsIpVideoCallSupported = (source.readInt() == 0) ? false : true; Loading core/java/com/android/ims/internal/uce/presence/PresPublishTriggerType.java +5 −1 Original line number Diff line number Diff line Loading @@ -47,6 +47,10 @@ public class PresPublishTriggerType implements Parcelable { public static final int UCE_PRES_PUBLISH_TRIGGER_MOVE_TO_IWLAN = 8; /** Trigger is unknown. */ public static final int UCE_PRES_PUBLISH_TRIGGER_UNKNOWN = 9; /** Move to 5G NR with VoPS disabled. */ public static final int UCE_PRES_PUBLISH_TRIGGER_MOVE_TO_NR5G_VOPS_DISABLED = 10; /** Move to 5G NR with VoPS enabled. */ public static final int UCE_PRES_PUBLISH_TRIGGER_MOVE_TO_NR5G_VOPS_ENABLED = 11; Loading Loading
core/java/com/android/ims/internal/uce/common/CapInfo.java +126 −0 Original line number Diff line number Diff line Loading @@ -64,6 +64,20 @@ public class CapInfo implements Parcelable { private boolean mRcsIpVideoCallSupported = false; /** RCS IP Video call support . */ private boolean mRcsIpVideoOnlyCallSupported = false; /** IP Geo location Push using SMS. */ private boolean mGeoSmsSupported = false; /** RCS call composer support. */ private boolean mCallComposerSupported = false; /** RCS post-call support. */ private boolean mPostCallSupported = false; /** Shared map support. */ private boolean mSharedMapSupported = false; /** Shared Sketch supported. */ private boolean mSharedSketchSupported = false; /** Chatbot communication support. */ private boolean mChatbotSupported = false; /** Chatbot role support. */ private boolean mChatbotRoleSupported = false; /** List of supported extensions. */ private String[] mExts = new String[10]; /** Time used to compute when to query again. */ Loading Loading @@ -386,6 +400,104 @@ public class CapInfo implements Parcelable { this.mRcsIpVideoOnlyCallSupported = rcsIpVideoOnlyCallSupported; } /** * Checks whether Geo Push via SMS is supported. */ public boolean isGeoSmsSupported() { return mGeoSmsSupported; } /** * Sets Geolocation Push via SMS as supported or not supported. */ public void setGeoSmsSupported(boolean geoSmsSupported) { this.mGeoSmsSupported = geoSmsSupported; } /** * Checks whether RCS call composer is supported. */ public boolean isCallComposerSupported() { return mCallComposerSupported; } /** * Sets call composer as supported or not supported. */ public void setCallComposerSupported(boolean callComposerSupported) { this.mCallComposerSupported = callComposerSupported; } /** * Checks whether post call is supported. */ public boolean isPostCallSupported(){ return mPostCallSupported; } /** * Sets post call as supported or not supported. */ public void setPostCallSupported(boolean postCallSupported) { this.mPostCallSupported = postCallSupported; } /** * Checks whether shared map is supported. */ public boolean isSharedMapSupported() { return mSharedMapSupported; } /** * Sets shared map as supported or not supported. */ public void setSharedMapSupported(boolean sharedMapSupported) { this.mSharedMapSupported = sharedMapSupported; } /** * Checks whether shared sketch is supported. */ public boolean isSharedSketchSupported() { return mSharedSketchSupported; } /** * Sets shared sketch as supported or not supported. */ public void setSharedSketchSupported(boolean sharedSketchSupported) { this.mSharedSketchSupported = sharedSketchSupported; } /** * Checks whether chatbot communication is supported. */ public boolean isChatbotSupported() { return mChatbotSupported; } /** * Sets chatbot communication as supported or not supported. */ public void setChatbotSupported(boolean chatbotSupported) { this.mChatbotSupported = chatbotSupported; } /** * Checks whether chatbot role is supported. */ public boolean isChatbotRoleSupported() { return mChatbotRoleSupported; } /** * Sets chatbot role as supported or not supported. */ public void setChatbotRoleSupported(boolean chatbotRoleSupported) { this.mChatbotRoleSupported = chatbotRoleSupported; } /** Gets the list of supported extensions. */ public String[] getExts() { return mExts; Loading Loading @@ -434,6 +546,13 @@ public class CapInfo implements Parcelable { dest.writeInt(mGeoPushSupported ? 1 : 0); dest.writeInt(mSmSupported ? 1 : 0); dest.writeInt(mFullSnFGroupChatSupported ? 1 : 0); dest.writeInt(mGeoSmsSupported ? 1 : 0); dest.writeInt(mCallComposerSupported ? 1 : 0); dest.writeInt(mPostCallSupported ? 1 : 0); dest.writeInt(mSharedMapSupported ? 1 : 0); dest.writeInt(mSharedSketchSupported ? 1 : 0); dest.writeInt(mChatbotSupported ? 1 : 0); dest.writeInt(mChatbotRoleSupported ? 1 : 0); dest.writeInt(mRcsIpVoiceCallSupported ? 1 : 0); dest.writeInt(mRcsIpVideoCallSupported ? 1 : 0); Loading Loading @@ -476,6 +595,13 @@ public class CapInfo implements Parcelable { mGeoPushSupported = (source.readInt() == 0) ? false : true; mSmSupported = (source.readInt() == 0) ? false : true; mFullSnFGroupChatSupported = (source.readInt() == 0) ? false : true; mGeoSmsSupported = (source.readInt() == 0) ? false : true; mCallComposerSupported = (source.readInt() == 0) ? false : true; mPostCallSupported = (source.readInt() == 0) ? false : true; mSharedMapSupported = (source.readInt() == 0) ? false : true; mSharedSketchSupported = (source.readInt() == 0) ? false : true; mChatbotSupported = (source.readInt() == 0) ? false : true; mChatbotRoleSupported = (source.readInt() == 0) ? false : true; mRcsIpVoiceCallSupported = (source.readInt() == 0) ? false : true; mRcsIpVideoCallSupported = (source.readInt() == 0) ? false : true; Loading
core/java/com/android/ims/internal/uce/presence/PresPublishTriggerType.java +5 −1 Original line number Diff line number Diff line Loading @@ -47,6 +47,10 @@ public class PresPublishTriggerType implements Parcelable { public static final int UCE_PRES_PUBLISH_TRIGGER_MOVE_TO_IWLAN = 8; /** Trigger is unknown. */ public static final int UCE_PRES_PUBLISH_TRIGGER_UNKNOWN = 9; /** Move to 5G NR with VoPS disabled. */ public static final int UCE_PRES_PUBLISH_TRIGGER_MOVE_TO_NR5G_VOPS_DISABLED = 10; /** Move to 5G NR with VoPS enabled. */ public static final int UCE_PRES_PUBLISH_TRIGGER_MOVE_TO_NR5G_VOPS_ENABLED = 11; Loading