Loading api/system-current.txt +3 −3 Original line number Diff line number Diff line Loading @@ -8112,19 +8112,19 @@ package android.telephony.data { } public final class DataProfile implements android.os.Parcelable { method public String getApn(); method @NonNull public String getApn(); method public int getAuthType(); method public int getBearerBitmap(); method public int getMaxConns(); method public int getMaxConnsTime(); method public int getMtu(); method public String getPassword(); method @Nullable public String getPassword(); method public int getProfileId(); method public int getProtocol(); method public int getRoamingProtocol(); method public int getSupportedApnTypesBitmap(); method public int getType(); method public String getUserName(); method @Nullable public String getUserName(); method public int getWaitTime(); method public boolean isEnabled(); method public boolean isPersistent(); telephony/java/android/telephony/data/DataProfile.java +5 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,8 @@ package android.telephony.data; import static android.telephony.data.ApnSetting.ProtocolType; import android.annotation.IntDef; import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.SystemApi; import android.os.Build; import android.os.Parcel; Loading Loading @@ -158,6 +160,7 @@ public final class DataProfile implements Parcelable { /** * @return The APN to establish data connection. */ @NonNull public String getApn() { return mApn; } /** Loading @@ -173,11 +176,13 @@ public final class DataProfile implements Parcelable { /** * @return The username for APN. Can be null. */ @Nullable public String getUserName() { return mUserName; } /** * @return The password for APN. Can be null. */ @Nullable public String getPassword() { return mPassword; } /** Loading Loading
api/system-current.txt +3 −3 Original line number Diff line number Diff line Loading @@ -8112,19 +8112,19 @@ package android.telephony.data { } public final class DataProfile implements android.os.Parcelable { method public String getApn(); method @NonNull public String getApn(); method public int getAuthType(); method public int getBearerBitmap(); method public int getMaxConns(); method public int getMaxConnsTime(); method public int getMtu(); method public String getPassword(); method @Nullable public String getPassword(); method public int getProfileId(); method public int getProtocol(); method public int getRoamingProtocol(); method public int getSupportedApnTypesBitmap(); method public int getType(); method public String getUserName(); method @Nullable public String getUserName(); method public int getWaitTime(); method public boolean isEnabled(); method public boolean isPersistent();
telephony/java/android/telephony/data/DataProfile.java +5 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,8 @@ package android.telephony.data; import static android.telephony.data.ApnSetting.ProtocolType; import android.annotation.IntDef; import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.SystemApi; import android.os.Build; import android.os.Parcel; Loading Loading @@ -158,6 +160,7 @@ public final class DataProfile implements Parcelable { /** * @return The APN to establish data connection. */ @NonNull public String getApn() { return mApn; } /** Loading @@ -173,11 +176,13 @@ public final class DataProfile implements Parcelable { /** * @return The username for APN. Can be null. */ @Nullable public String getUserName() { return mUserName; } /** * @return The password for APN. Can be null. */ @Nullable public String getPassword() { return mPassword; } /** Loading