Loading telephony/java/android/telephony/PhoneStateListener.java +4 −3 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import android.annotation.RequiresPermission; import android.annotation.SystemApi; import android.annotation.UnsupportedAppUsage; import android.os.Binder; import android.os.Build; import android.os.Bundle; import android.os.Handler; import android.os.HandlerExecutor; Loading Loading @@ -343,7 +344,7 @@ public class PhoneStateListener { * using a particular non-null Looper. * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public PhoneStateListener(Looper looper) { this(null, looper); } Loading @@ -354,7 +355,7 @@ public class PhoneStateListener { * own non-null Looper use PhoneStateListener(int subId, Looper looper) below. * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public PhoneStateListener(Integer subId) { this(subId, Looper.myLooper()); } Loading @@ -364,7 +365,7 @@ public class PhoneStateListener { * and non-null Looper. * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public PhoneStateListener(Integer subId, Looper looper) { this(subId, new HandlerExecutor(new Handler(looper))); } Loading telephony/java/android/telephony/ServiceState.java +4 −4 Original line number Diff line number Diff line Loading @@ -213,7 +213,7 @@ public class ServiceState implements Parcelable { * IWLAN * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public static final int RIL_RADIO_TECHNOLOGY_IWLAN = 18; /** Loading Loading @@ -595,7 +595,7 @@ public class ServiceState implements Parcelable { * @return roaming type * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public @RoamingType int getVoiceRoamingType() { final NetworkRegistrationState regState = getNetworkRegistrationState( NetworkRegistrationState.DOMAIN_CS, AccessNetworkConstants.TransportType.WWAN); Loading Loading @@ -634,7 +634,7 @@ public class ServiceState implements Parcelable { * @return roaming type * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public @RoamingType int getDataRoamingType() { final NetworkRegistrationState regState = getNetworkRegistrationState( NetworkRegistrationState.DOMAIN_PS, AccessNetworkConstants.TransportType.WWAN); Loading Loading @@ -785,7 +785,7 @@ public class ServiceState implements Parcelable { * @return numeric format of operator, null if unregistered or unknown * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public String getVoiceOperatorNumeric() { return mVoiceOperatorNumeric; } Loading telephony/java/android/telephony/TelephonyManager.java +4 −4 Original line number Diff line number Diff line Loading @@ -7455,7 +7455,7 @@ public class TelephonyManager { * @see SubscriptionManager#getDefaultSubscriptionId() * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public boolean isImsRegistered() { try { return getITelephony().isImsRegistered(getSubId()); Loading @@ -7472,7 +7472,7 @@ public class TelephonyManager { * @see SubscriptionManager#getDefaultSubscriptionId() * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public boolean isVolteAvailable() { try { return getITelephony().isAvailable(getSubId(), Loading @@ -7491,7 +7491,7 @@ public class TelephonyManager { * @return true if VT is available, or false if it is unavailable or unknown. * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public boolean isVideoTelephonyAvailable() { try { return getITelephony().isVideoTelephonyAvailable(getSubId()); Loading @@ -7506,7 +7506,7 @@ public class TelephonyManager { * @return true if VoWiFi is available, or false if it is unavailable or unknown. * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public boolean isWifiCallingAvailable() { try { return getITelephony().isWifiCallingAvailable(getSubId()); Loading Loading
telephony/java/android/telephony/PhoneStateListener.java +4 −3 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import android.annotation.RequiresPermission; import android.annotation.SystemApi; import android.annotation.UnsupportedAppUsage; import android.os.Binder; import android.os.Build; import android.os.Bundle; import android.os.Handler; import android.os.HandlerExecutor; Loading Loading @@ -343,7 +344,7 @@ public class PhoneStateListener { * using a particular non-null Looper. * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public PhoneStateListener(Looper looper) { this(null, looper); } Loading @@ -354,7 +355,7 @@ public class PhoneStateListener { * own non-null Looper use PhoneStateListener(int subId, Looper looper) below. * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public PhoneStateListener(Integer subId) { this(subId, Looper.myLooper()); } Loading @@ -364,7 +365,7 @@ public class PhoneStateListener { * and non-null Looper. * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public PhoneStateListener(Integer subId, Looper looper) { this(subId, new HandlerExecutor(new Handler(looper))); } Loading
telephony/java/android/telephony/ServiceState.java +4 −4 Original line number Diff line number Diff line Loading @@ -213,7 +213,7 @@ public class ServiceState implements Parcelable { * IWLAN * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public static final int RIL_RADIO_TECHNOLOGY_IWLAN = 18; /** Loading Loading @@ -595,7 +595,7 @@ public class ServiceState implements Parcelable { * @return roaming type * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public @RoamingType int getVoiceRoamingType() { final NetworkRegistrationState regState = getNetworkRegistrationState( NetworkRegistrationState.DOMAIN_CS, AccessNetworkConstants.TransportType.WWAN); Loading Loading @@ -634,7 +634,7 @@ public class ServiceState implements Parcelable { * @return roaming type * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public @RoamingType int getDataRoamingType() { final NetworkRegistrationState regState = getNetworkRegistrationState( NetworkRegistrationState.DOMAIN_PS, AccessNetworkConstants.TransportType.WWAN); Loading Loading @@ -785,7 +785,7 @@ public class ServiceState implements Parcelable { * @return numeric format of operator, null if unregistered or unknown * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public String getVoiceOperatorNumeric() { return mVoiceOperatorNumeric; } Loading
telephony/java/android/telephony/TelephonyManager.java +4 −4 Original line number Diff line number Diff line Loading @@ -7455,7 +7455,7 @@ public class TelephonyManager { * @see SubscriptionManager#getDefaultSubscriptionId() * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public boolean isImsRegistered() { try { return getITelephony().isImsRegistered(getSubId()); Loading @@ -7472,7 +7472,7 @@ public class TelephonyManager { * @see SubscriptionManager#getDefaultSubscriptionId() * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public boolean isVolteAvailable() { try { return getITelephony().isAvailable(getSubId(), Loading @@ -7491,7 +7491,7 @@ public class TelephonyManager { * @return true if VT is available, or false if it is unavailable or unknown. * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public boolean isVideoTelephonyAvailable() { try { return getITelephony().isVideoTelephonyAvailable(getSubId()); Loading @@ -7506,7 +7506,7 @@ public class TelephonyManager { * @return true if VoWiFi is available, or false if it is unavailable or unknown. * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public boolean isWifiCallingAvailable() { try { return getITelephony().isWifiCallingAvailable(getSubId()); Loading