Merge "Expose the following as system APIs"
This commit is contained in:
committed by
Gerrit Code Review
commit
119d0fa9ac
@@ -7663,6 +7663,7 @@ package android.telephony {
|
|||||||
public final class DataSpecificRegistrationInfo implements android.os.Parcelable {
|
public final class DataSpecificRegistrationInfo implements android.os.Parcelable {
|
||||||
method public int describeContents();
|
method public int describeContents();
|
||||||
method @NonNull public android.telephony.LteVopsSupportInfo getLteVopsSupportInfo();
|
method @NonNull public android.telephony.LteVopsSupportInfo getLteVopsSupportInfo();
|
||||||
|
method public boolean isUsingCarrierAggregation();
|
||||||
method public void writeToParcel(android.os.Parcel, int);
|
method public void writeToParcel(android.os.Parcel, int);
|
||||||
field @NonNull public static final android.os.Parcelable.Creator<android.telephony.DataSpecificRegistrationInfo> CREATOR;
|
field @NonNull public static final android.os.Parcelable.Creator<android.telephony.DataSpecificRegistrationInfo> CREATOR;
|
||||||
}
|
}
|
||||||
@@ -7775,6 +7776,7 @@ package android.telephony {
|
|||||||
method @Nullable public android.telephony.CellIdentity getCellIdentity();
|
method @Nullable public android.telephony.CellIdentity getCellIdentity();
|
||||||
method @Nullable public android.telephony.DataSpecificRegistrationInfo getDataSpecificInfo();
|
method @Nullable public android.telephony.DataSpecificRegistrationInfo getDataSpecificInfo();
|
||||||
method public int getDomain();
|
method public int getDomain();
|
||||||
|
method public int getNrState();
|
||||||
method public int getRegistrationState();
|
method public int getRegistrationState();
|
||||||
method public int getRejectCause();
|
method public int getRejectCause();
|
||||||
method public int getRoamingType();
|
method public int getRoamingType();
|
||||||
@@ -8017,6 +8019,7 @@ package android.telephony {
|
|||||||
method @NonNull public java.util.List<android.telephony.NetworkRegistrationInfo> getNetworkRegistrationInfoList();
|
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> getNetworkRegistrationInfoListForDomain(int);
|
||||||
method @NonNull public java.util.List<android.telephony.NetworkRegistrationInfo> getNetworkRegistrationInfoListForTransportType(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 getOperatorAlphaLongRaw();
|
||||||
method @Nullable public String getOperatorAlphaShortRaw();
|
method @Nullable public String getOperatorAlphaShortRaw();
|
||||||
field public static final int ROAMING_TYPE_DOMESTIC = 2; // 0x2
|
field public static final int ROAMING_TYPE_DOMESTIC = 2; // 0x2
|
||||||
|
|||||||
@@ -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.
|
* @return {@code true} if using carrier aggregation.
|
||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
|
@SystemApi
|
||||||
public boolean isUsingCarrierAggregation() {
|
public boolean isUsingCarrierAggregation() {
|
||||||
return mIsUsingCarrierAggregation;
|
return mIsUsingCarrierAggregation;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -323,9 +323,12 @@ public final class NetworkRegistrationInfo implements Parcelable {
|
|||||||
public @Domain int getDomain() { return mDomain; }
|
public @Domain int getDomain() { return mDomain; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Get the 5G NR connection state.
|
||||||
|
*
|
||||||
* @return the 5G NR connection state.
|
* @return the 5G NR connection state.
|
||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
|
@SystemApi
|
||||||
public @NRState int getNrState() {
|
public @NRState int getNrState() {
|
||||||
return mNrState;
|
return mNrState;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1409,9 +1409,12 @@ public class ServiceState implements Parcelable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Get the 5G NR frequency range the device is currently registered.
|
||||||
|
*
|
||||||
* @return the frequency range of 5G NR.
|
* @return the frequency range of 5G NR.
|
||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
|
@SystemApi
|
||||||
public @FrequencyRange int getNrFrequencyRange() {
|
public @FrequencyRange int getNrFrequencyRange() {
|
||||||
return mNrFrequencyRange;
|
return mNrFrequencyRange;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user