diff options
4 files changed, 12 insertions, 0 deletions
diff --git a/api/system-current.txt b/api/system-current.txt index 217e187567b3..71305033477f 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -7636,6 +7636,7 @@ package android.telephony { public final class DataSpecificRegistrationInfo implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.telephony.LteVopsSupportInfo getLteVopsSupportInfo(); + method public boolean isUsingCarrierAggregation(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.telephony.DataSpecificRegistrationInfo> CREATOR; } @@ -7748,6 +7749,7 @@ package android.telephony { method @Nullable public android.telephony.CellIdentity getCellIdentity(); method @Nullable public android.telephony.DataSpecificRegistrationInfo getDataSpecificInfo(); method public int getDomain(); + method public int getNrState(); method public int getRegistrationState(); method public int getRejectCause(); method public int getRoamingType(); @@ -7990,6 +7992,7 @@ package android.telephony { method @NonNull public java.util.List<android.telephony.NetworkRegistrationInfo> getNetworkRegistrationInfoList(); method @NonNull public java.util.List<android.telephony.NetworkRegistrationInfo> getNetworkRegistrationInfoListForDomain(int); method @NonNull public java.util.List<android.telephony.NetworkRegistrationInfo> getNetworkRegistrationInfoListForTransportType(int); + method public int getNrFrequencyRange(); method @Nullable public String getOperatorAlphaLongRaw(); method @Nullable public String getOperatorAlphaShortRaw(); field public static final int ROAMING_TYPE_DOMESTIC = 2; // 0x2 diff --git a/telephony/java/android/telephony/DataSpecificRegistrationInfo.java b/telephony/java/android/telephony/DataSpecificRegistrationInfo.java index 407ced71a0e7..270eafe642b7 100644 --- a/telephony/java/android/telephony/DataSpecificRegistrationInfo.java +++ b/telephony/java/android/telephony/DataSpecificRegistrationInfo.java @@ -203,9 +203,12 @@ public final class DataSpecificRegistrationInfo implements Parcelable { } /** + * Get whether network has configured carrier aggregation or not. + * * @return {@code true} if using carrier aggregation. * @hide */ + @SystemApi public boolean isUsingCarrierAggregation() { return mIsUsingCarrierAggregation; } diff --git a/telephony/java/android/telephony/NetworkRegistrationInfo.java b/telephony/java/android/telephony/NetworkRegistrationInfo.java index 3e028715fd6d..bbf746fcf3c4 100644 --- a/telephony/java/android/telephony/NetworkRegistrationInfo.java +++ b/telephony/java/android/telephony/NetworkRegistrationInfo.java @@ -323,9 +323,12 @@ public final class NetworkRegistrationInfo implements Parcelable { public @Domain int getDomain() { return mDomain; } /** + * Get the 5G NR connection state. + * * @return the 5G NR connection state. * @hide */ + @SystemApi public @NRState int getNrState() { return mNrState; } diff --git a/telephony/java/android/telephony/ServiceState.java b/telephony/java/android/telephony/ServiceState.java index 58955c5fbbac..2f45b9d197f2 100644 --- a/telephony/java/android/telephony/ServiceState.java +++ b/telephony/java/android/telephony/ServiceState.java @@ -1406,9 +1406,12 @@ public class ServiceState implements Parcelable { } /** + * Get the 5G NR frequency range the device is currently registered. + * * @return the frequency range of 5G NR. * @hide */ + @SystemApi public @FrequencyRange int getNrFrequencyRange() { return mNrFrequencyRange; } |