Expand use of 'Str' suffix in CellIdentity to 'String'
Expand use of 'Str' suffix in CellIdentity to 'String' to match general usage across Android according to the API Review. Bug: 73751308 Test: Unit test Change-Id: Ib25a06056832be610ff1fb9c025467259eb543ed
This commit is contained in:
@@ -40216,9 +40216,9 @@ package android.telephony {
|
||||
method public int getCid();
|
||||
method public int getLac();
|
||||
method public deprecated int getMcc();
|
||||
method public java.lang.String getMccStr();
|
||||
method public java.lang.String getMccString();
|
||||
method public deprecated int getMnc();
|
||||
method public java.lang.String getMncStr();
|
||||
method public java.lang.String getMncString();
|
||||
method public java.lang.String getMobileNetworkOperator();
|
||||
method public java.lang.CharSequence getOperatorAlphaLong();
|
||||
method public java.lang.CharSequence getOperatorAlphaShort();
|
||||
@@ -40232,9 +40232,9 @@ package android.telephony {
|
||||
method public int getCi();
|
||||
method public int getEarfcn();
|
||||
method public deprecated int getMcc();
|
||||
method public java.lang.String getMccStr();
|
||||
method public java.lang.String getMccString();
|
||||
method public deprecated int getMnc();
|
||||
method public java.lang.String getMncStr();
|
||||
method public java.lang.String getMncString();
|
||||
method public java.lang.String getMobileNetworkOperator();
|
||||
method public java.lang.CharSequence getOperatorAlphaLong();
|
||||
method public java.lang.CharSequence getOperatorAlphaShort();
|
||||
@@ -40248,8 +40248,8 @@ package android.telephony {
|
||||
method public int getCid();
|
||||
method public int getCpid();
|
||||
method public int getLac();
|
||||
method public java.lang.String getMccStr();
|
||||
method public java.lang.String getMncStr();
|
||||
method public java.lang.String getMccString();
|
||||
method public java.lang.String getMncString();
|
||||
method public void writeToParcel(android.os.Parcel, int);
|
||||
field public static final android.os.Parcelable.Creator<android.telephony.CellIdentityTdscdma> CREATOR;
|
||||
}
|
||||
@@ -40258,9 +40258,9 @@ package android.telephony {
|
||||
method public int getCid();
|
||||
method public int getLac();
|
||||
method public deprecated int getMcc();
|
||||
method public java.lang.String getMccStr();
|
||||
method public java.lang.String getMccString();
|
||||
method public deprecated int getMnc();
|
||||
method public java.lang.String getMncStr();
|
||||
method public java.lang.String getMncString();
|
||||
method public java.lang.String getMobileNetworkOperator();
|
||||
method public java.lang.CharSequence getOperatorAlphaLong();
|
||||
method public java.lang.CharSequence getOperatorAlphaShort();
|
||||
|
||||
@@ -120,7 +120,7 @@ public final class CellIdentityGsm extends CellIdentity {
|
||||
|
||||
/**
|
||||
* @return 3-digit Mobile Country Code, 0..999, Integer.MAX_VALUE if unknown
|
||||
* @deprecated Use {@link #getMccStr} instead.
|
||||
* @deprecated Use {@link #getMccString} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public int getMcc() {
|
||||
@@ -129,7 +129,7 @@ public final class CellIdentityGsm extends CellIdentity {
|
||||
|
||||
/**
|
||||
* @return 2 or 3-digit Mobile Network Code, 0..999, Integer.MAX_VALUE if unknown
|
||||
* @deprecated Use {@link #getMncStr} instead.
|
||||
* @deprecated Use {@link #getMncString} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public int getMnc() {
|
||||
@@ -176,14 +176,14 @@ public final class CellIdentityGsm extends CellIdentity {
|
||||
/**
|
||||
* @return Mobile Country Code in string format, null if unknown
|
||||
*/
|
||||
public String getMccStr() {
|
||||
public String getMccString() {
|
||||
return mMccStr;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Mobile Network Code in string format, null if unknown
|
||||
*/
|
||||
public String getMncStr() {
|
||||
public String getMncString() {
|
||||
return mMncStr;
|
||||
}
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@ public final class CellIdentityLte extends CellIdentity {
|
||||
|
||||
/**
|
||||
* @return 3-digit Mobile Country Code, 0..999, Integer.MAX_VALUE if unknown
|
||||
* @deprecated Use {@link #getMccStr} instead.
|
||||
* @deprecated Use {@link #getMccString} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public int getMcc() {
|
||||
@@ -134,7 +134,7 @@ public final class CellIdentityLte extends CellIdentity {
|
||||
|
||||
/**
|
||||
* @return 2 or 3-digit Mobile Network Code, 0..999, Integer.MAX_VALUE if unknown
|
||||
* @deprecated Use {@link #getMncStr} instead.
|
||||
* @deprecated Use {@link #getMncString} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public int getMnc() {
|
||||
@@ -179,14 +179,14 @@ public final class CellIdentityLte extends CellIdentity {
|
||||
/**
|
||||
* @return Mobile Country Code in string format, null if unknown
|
||||
*/
|
||||
public String getMccStr() {
|
||||
public String getMccString() {
|
||||
return mMccStr;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Mobile Network Code in string format, null if unknown
|
||||
*/
|
||||
public String getMncStr() {
|
||||
public String getMncString() {
|
||||
return mMncStr;
|
||||
}
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@ public final class CellIdentityTdscdma extends CellIdentity {
|
||||
* Get Mobile Country Code in string format
|
||||
* @return Mobile Country Code in string format, null if unknown
|
||||
*/
|
||||
public String getMccStr() {
|
||||
public String getMccString() {
|
||||
return mMccStr;
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ public final class CellIdentityTdscdma extends CellIdentity {
|
||||
* Get Mobile Network Code in string format
|
||||
* @return Mobile Network Code in string format, null if unknown
|
||||
*/
|
||||
public String getMncStr() {
|
||||
public String getMncString() {
|
||||
return mMncStr;
|
||||
}
|
||||
|
||||
|
||||
@@ -118,7 +118,7 @@ public final class CellIdentityWcdma extends CellIdentity {
|
||||
|
||||
/**
|
||||
* @return 3-digit Mobile Country Code, 0..999, Integer.MAX_VALUE if unknown
|
||||
* @deprecated Use {@link #getMccStr} instead.
|
||||
* @deprecated Use {@link #getMccString} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public int getMcc() {
|
||||
@@ -127,7 +127,7 @@ public final class CellIdentityWcdma extends CellIdentity {
|
||||
|
||||
/**
|
||||
* @return 2 or 3-digit Mobile Network Code, 0..999, Integer.MAX_VALUE if unknown
|
||||
* @deprecated Use {@link #getMncStr} instead.
|
||||
* @deprecated Use {@link #getMncString} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public int getMnc() {
|
||||
@@ -160,14 +160,14 @@ public final class CellIdentityWcdma extends CellIdentity {
|
||||
/**
|
||||
* @return Mobile Country Code in string version, null if unknown
|
||||
*/
|
||||
public String getMccStr() {
|
||||
public String getMccString() {
|
||||
return mMccStr;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Mobile Network Code in string version, null if unknown
|
||||
*/
|
||||
public String getMncStr() {
|
||||
public String getMncString() {
|
||||
return mMncStr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user