Loading core/api/current.txt +2 −0 Original line number Diff line number Diff line Loading @@ -47133,6 +47133,8 @@ package android.telephony.ims { method public int describeContents(); method public int getAttributeFlags(); method @NonNull public java.util.Set<java.lang.String> getFeatureTags(); method @FlaggedApi("com.android.internal.telephony.flags.emergency_registration_state") public boolean getFlagRegistrationTypeEmergency(); method @FlaggedApi("com.android.internal.telephony.flags.emergency_registration_state") public boolean getFlagVirtualRegistrationForEmergencyCall(); method @Nullable public android.telephony.ims.SipDetails getSipDetails(); method public int getTransportType(); method public void writeToParcel(@NonNull android.os.Parcel, int); telephony/java/android/telephony/ims/ImsRegistrationAttributes.java +20 −0 Original line number Diff line number Diff line Loading @@ -255,6 +255,26 @@ public final class ImsRegistrationAttributes implements Parcelable { return mImsAttributeFlags; } /** * Get the attribute flag ATTR_REGISTRATION_TYPE_EMERGENCY. * @return {@code true} if the ATTR_REGISTRATION_TYPE_EMERGENCY attribute has been set, or * {@code false} if it has not been set. */ @FlaggedApi(Flags.FLAG_EMERGENCY_REGISTRATION_STATE) public boolean getFlagRegistrationTypeEmergency() { return (mImsAttributeFlags & ATTR_REGISTRATION_TYPE_EMERGENCY) != 0; } /** * Get the attribute flag ATTR_VIRTUAL_FOR_ANONYMOUS_EMERGENCY_CALL. * @return {@code true} if the ATTR_VIRTUAL_FOR_ANONYMOUS_EMERGENCY_CALL attribute has been set, * or {@code false} if it has not been set. */ @FlaggedApi(Flags.FLAG_EMERGENCY_REGISTRATION_STATE) public boolean getFlagVirtualRegistrationForEmergencyCall() { return (mImsAttributeFlags & ATTR_VIRTUAL_FOR_ANONYMOUS_EMERGENCY_CALL) != 0; } /** * Gets the Set of feature tags associated with the current IMS registration, if the IMS * service supports supplying this information. Loading Loading
core/api/current.txt +2 −0 Original line number Diff line number Diff line Loading @@ -47133,6 +47133,8 @@ package android.telephony.ims { method public int describeContents(); method public int getAttributeFlags(); method @NonNull public java.util.Set<java.lang.String> getFeatureTags(); method @FlaggedApi("com.android.internal.telephony.flags.emergency_registration_state") public boolean getFlagRegistrationTypeEmergency(); method @FlaggedApi("com.android.internal.telephony.flags.emergency_registration_state") public boolean getFlagVirtualRegistrationForEmergencyCall(); method @Nullable public android.telephony.ims.SipDetails getSipDetails(); method public int getTransportType(); method public void writeToParcel(@NonNull android.os.Parcel, int);
telephony/java/android/telephony/ims/ImsRegistrationAttributes.java +20 −0 Original line number Diff line number Diff line Loading @@ -255,6 +255,26 @@ public final class ImsRegistrationAttributes implements Parcelable { return mImsAttributeFlags; } /** * Get the attribute flag ATTR_REGISTRATION_TYPE_EMERGENCY. * @return {@code true} if the ATTR_REGISTRATION_TYPE_EMERGENCY attribute has been set, or * {@code false} if it has not been set. */ @FlaggedApi(Flags.FLAG_EMERGENCY_REGISTRATION_STATE) public boolean getFlagRegistrationTypeEmergency() { return (mImsAttributeFlags & ATTR_REGISTRATION_TYPE_EMERGENCY) != 0; } /** * Get the attribute flag ATTR_VIRTUAL_FOR_ANONYMOUS_EMERGENCY_CALL. * @return {@code true} if the ATTR_VIRTUAL_FOR_ANONYMOUS_EMERGENCY_CALL attribute has been set, * or {@code false} if it has not been set. */ @FlaggedApi(Flags.FLAG_EMERGENCY_REGISTRATION_STATE) public boolean getFlagVirtualRegistrationForEmergencyCall() { return (mImsAttributeFlags & ATTR_VIRTUAL_FOR_ANONYMOUS_EMERGENCY_CALL) != 0; } /** * Gets the Set of feature tags associated with the current IMS registration, if the IMS * service supports supplying this information. Loading