Merge "Expose DataSpecificRegistrationState as System API"
am: d5386dfe1f
Change-Id: Iacf5ba15d1d31c5d52e40db3f777b6300ed44f47
This commit is contained in:
@@ -5918,6 +5918,13 @@ package android.telephony {
|
|||||||
field public static final int VSNCP_TIMEOUT = 2236; // 0x8bc
|
field public static final int VSNCP_TIMEOUT = 2236; // 0x8bc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public final class DataSpecificRegistrationStates implements android.os.Parcelable {
|
||||||
|
method public int describeContents();
|
||||||
|
method @NonNull public android.telephony.LteVopsSupportInfo getLteVopsSupportInfo();
|
||||||
|
method public void writeToParcel(android.os.Parcel, int);
|
||||||
|
field public static final android.os.Parcelable.Creator<android.telephony.DataSpecificRegistrationStates> CREATOR;
|
||||||
|
}
|
||||||
|
|
||||||
public final class DisconnectCause {
|
public final class DisconnectCause {
|
||||||
field public static final int ALREADY_DIALING = 72; // 0x48
|
field public static final int ALREADY_DIALING = 72; // 0x48
|
||||||
field public static final int ANSWERED_ELSEWHERE = 52; // 0x34
|
field public static final int ANSWERED_ELSEWHERE = 52; // 0x34
|
||||||
@@ -6026,6 +6033,7 @@ package android.telephony {
|
|||||||
method public int getAccessNetworkTechnology();
|
method public int getAccessNetworkTechnology();
|
||||||
method public int[] getAvailableServices();
|
method public int[] getAvailableServices();
|
||||||
method public android.telephony.CellIdentity getCellIdentity();
|
method public android.telephony.CellIdentity getCellIdentity();
|
||||||
|
method @Nullable public android.telephony.DataSpecificRegistrationStates getDataSpecificStates();
|
||||||
method public int getDomain();
|
method public int getDomain();
|
||||||
method public int getRegState();
|
method public int getRegState();
|
||||||
method public int getRejectCause();
|
method public int getRejectCause();
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
package android.telephony;
|
package android.telephony;
|
||||||
|
|
||||||
|
import android.annotation.NonNull;
|
||||||
|
import android.annotation.SystemApi;
|
||||||
import android.os.Parcel;
|
import android.os.Parcel;
|
||||||
import android.os.Parcelable;
|
import android.os.Parcelable;
|
||||||
|
|
||||||
@@ -10,14 +12,17 @@ import java.util.Objects;
|
|||||||
* Class that stores information specific to data network registration.
|
* Class that stores information specific to data network registration.
|
||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
public class DataSpecificRegistrationStates implements Parcelable{
|
@SystemApi
|
||||||
|
public final class DataSpecificRegistrationStates implements Parcelable{
|
||||||
/**
|
/**
|
||||||
|
* @hide
|
||||||
* The maximum number of simultaneous Data Calls that
|
* The maximum number of simultaneous Data Calls that
|
||||||
* must be established using setupDataCall().
|
* must be established using setupDataCall().
|
||||||
*/
|
*/
|
||||||
public final int maxDataCalls;
|
public final int maxDataCalls;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @hide
|
||||||
* Indicates if the use of dual connectivity with NR is restricted.
|
* Indicates if the use of dual connectivity with NR is restricted.
|
||||||
* Reference: 3GPP TS 24.301 v15.03 section 9.3.3.12A.
|
* Reference: 3GPP TS 24.301 v15.03 section 9.3.3.12A.
|
||||||
*/
|
*/
|
||||||
@@ -25,7 +30,7 @@ public class DataSpecificRegistrationStates implements Parcelable{
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicates if NR is supported by the selected PLMN.
|
* Indicates if NR is supported by the selected PLMN.
|
||||||
*
|
* @hide
|
||||||
* {@code true} if the bit N is in the PLMN-InfoList-r15 is true and the selected PLMN is
|
* {@code true} if the bit N is in the PLMN-InfoList-r15 is true and the selected PLMN is
|
||||||
* present in plmn-IdentityList at position N.
|
* present in plmn-IdentityList at position N.
|
||||||
* Reference: 3GPP TS 36.331 v15.2.2 section 6.3.1 PLMN-InfoList-r15.
|
* Reference: 3GPP TS 36.331 v15.2.2 section 6.3.1 PLMN-InfoList-r15.
|
||||||
@@ -34,6 +39,7 @@ public class DataSpecificRegistrationStates implements Parcelable{
|
|||||||
public final boolean isNrAvailable;
|
public final boolean isNrAvailable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @hide
|
||||||
* Indicates that if E-UTRA-NR Dual Connectivity (EN-DC) is supported by the primary serving
|
* Indicates that if E-UTRA-NR Dual Connectivity (EN-DC) is supported by the primary serving
|
||||||
* cell.
|
* cell.
|
||||||
*
|
*
|
||||||
@@ -47,8 +53,11 @@ public class DataSpecificRegistrationStates implements Parcelable{
|
|||||||
/**
|
/**
|
||||||
* Provides network support info for LTE VoPS and LTE Emergency bearer support
|
* Provides network support info for LTE VoPS and LTE Emergency bearer support
|
||||||
*/
|
*/
|
||||||
public final LteVopsSupportInfo lteVopsSupportInfo;
|
private final LteVopsSupportInfo lteVopsSupportInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
DataSpecificRegistrationStates(
|
DataSpecificRegistrationStates(
|
||||||
int maxDataCalls, boolean isDcNrRestricted, boolean isNrAvailable,
|
int maxDataCalls, boolean isDcNrRestricted, boolean isNrAvailable,
|
||||||
boolean isEnDcAvailable, LteVopsSupportInfo lteVops) {
|
boolean isEnDcAvailable, LteVopsSupportInfo lteVops) {
|
||||||
@@ -126,4 +135,12 @@ public class DataSpecificRegistrationStates implements Parcelable{
|
|||||||
return new DataSpecificRegistrationStates[size];
|
return new DataSpecificRegistrationStates[size];
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return LteVopsSupportInfo
|
||||||
|
*/
|
||||||
|
@NonNull
|
||||||
|
public LteVopsSupportInfo getLteVopsSupportInfo() {
|
||||||
|
return lteVopsSupportInfo;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -349,7 +349,7 @@ public class NetworkRegistrationState implements Parcelable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @hide
|
* @return Data registration related info
|
||||||
*/
|
*/
|
||||||
@Nullable
|
@Nullable
|
||||||
public DataSpecificRegistrationStates getDataSpecificStates() {
|
public DataSpecificRegistrationStates getDataSpecificStates() {
|
||||||
|
|||||||
Reference in New Issue
Block a user