Loading telephony/java/android/telephony/ServiceState.java +11 −4 Original line number Diff line number Diff line Loading @@ -2046,11 +2046,18 @@ public class ServiceState implements Parcelable { public boolean isIwlanPreferred() { return mIsIwlanPreferred; } /** * @return {@code true}Returns True whenever the modem is searching for service. * To check both CS and PS domain * This indicates whether the device is searching for service. * * This API reports the modem searching status for * {@link AccessNetworkConstants#TRANSPORT_TYPE_WWAN} (cellular) service in either * {@link NetworkRegistrationInfo#DOMAIN_CS} or {@link NetworkRegistrationInfo#DOMAIN_PS}. * This API will not report searching status for * {@link AccessNetworkConstants#TRANSPORT_TYPE_WLAN}. * * @return {@code true} whenever the modem is searching for service. */ public boolean isSearching() { NetworkRegistrationInfo psRegState = getNetworkRegistrationInfo( NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN); Loading Loading
telephony/java/android/telephony/ServiceState.java +11 −4 Original line number Diff line number Diff line Loading @@ -2046,11 +2046,18 @@ public class ServiceState implements Parcelable { public boolean isIwlanPreferred() { return mIsIwlanPreferred; } /** * @return {@code true}Returns True whenever the modem is searching for service. * To check both CS and PS domain * This indicates whether the device is searching for service. * * This API reports the modem searching status for * {@link AccessNetworkConstants#TRANSPORT_TYPE_WWAN} (cellular) service in either * {@link NetworkRegistrationInfo#DOMAIN_CS} or {@link NetworkRegistrationInfo#DOMAIN_PS}. * This API will not report searching status for * {@link AccessNetworkConstants#TRANSPORT_TYPE_WLAN}. * * @return {@code true} whenever the modem is searching for service. */ public boolean isSearching() { NetworkRegistrationInfo psRegState = getNetworkRegistrationInfo( NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN); Loading