Home
last modified time | relevance | path

Searched refs:RILConstants (Results 1 – 17 of 17) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCommandException.java19 import com.android.internal.telephony.RILConstants;
67 case RILConstants.SUCCESS: return null; in fromRilErrno()
68 case RILConstants.RIL_ERRNO_INVALID_RESPONSE: in fromRilErrno()
70 case RILConstants.RADIO_NOT_AVAILABLE: in fromRilErrno()
72 case RILConstants.GENERIC_FAILURE: in fromRilErrno()
74 case RILConstants.PASSWORD_INCORRECT: in fromRilErrno()
76 case RILConstants.SIM_PIN2: in fromRilErrno()
78 case RILConstants.SIM_PUK2: in fromRilErrno()
80 case RILConstants.REQUEST_NOT_SUPPORTED: in fromRilErrno()
82 case RILConstants.OP_NOT_ALLOWED_DURING_VOICE_CALL: in fromRilErrno()
[all …]
DPhone.java124 int NT_MODE_WCDMA_PREF = RILConstants.NETWORK_MODE_WCDMA_PREF;
125 int NT_MODE_GSM_ONLY = RILConstants.NETWORK_MODE_GSM_ONLY;
126 int NT_MODE_WCDMA_ONLY = RILConstants.NETWORK_MODE_WCDMA_ONLY;
127 int NT_MODE_GSM_UMTS = RILConstants.NETWORK_MODE_GSM_UMTS;
129 int NT_MODE_CDMA = RILConstants.NETWORK_MODE_CDMA;
131 int NT_MODE_CDMA_NO_EVDO = RILConstants.NETWORK_MODE_CDMA_NO_EVDO;
132 int NT_MODE_EVDO_NO_CDMA = RILConstants.NETWORK_MODE_EVDO_NO_CDMA;
133 int NT_MODE_GLOBAL = RILConstants.NETWORK_MODE_GLOBAL;
135 int NT_MODE_LTE_CDMA_AND_EVDO = RILConstants.NETWORK_MODE_LTE_CDMA_EVDO;
136 int NT_MODE_LTE_GSM_WCDMA = RILConstants.NETWORK_MODE_LTE_GSM_WCDMA;
[all …]
DPhoneFactory.java135 networkModes[i] = RILConstants.PREFERRED_NETWORK_MODE; in makeDefaultPhone()
301 RILConstants.PREFERRED_NETWORK_MODE); in calculatePreferredNetworkType()
DRIL.java19 import static com.android.internal.telephony.RILConstants.*;
614 mPhoneType = RILConstants.NO_PHONE; in RIL()
1356 rr.mParcel.writeInt(RILConstants.GSM_PHONE); in sendImsGsmSms()
1371 rr.mParcel.writeInt(RILConstants.CDMA_PHONE); in sendImsCdmaSms()
1982 RILConstants.RIL_REQUEST_STK_SEND_TERMINAL_RESPONSE, response); in sendTerminalResponse()
1996 RILConstants.RIL_REQUEST_STK_SEND_ENVELOPE_COMMAND, response); in sendEnvelope()
2010 RILConstants.RIL_REQUEST_STK_SEND_ENVELOPE_WITH_STATUS, response); in sendEnvelopeWithStatus()
2027 RILConstants.RIL_REQUEST_STK_HANDLE_CALL_SETUP_REQUESTED_FROM_SIM, in handleCallSetupRequestFromSim()
2044 RILConstants.RIL_REQUEST_SET_PREFERRED_NETWORK_TYPE, response); in setPreferredNetworkType()
2063 RILConstants.RIL_REQUEST_GET_PREFERRED_NETWORK_TYPE, response); in getPreferredNetworkType()
[all …]
DSubscriptionInfoUpdater.java361 int networkType = RILConstants.PREFERRED_NETWORK_MODE; in handleSimLoaded()
/frameworks/base/telephony/java/android/telephony/
DRadioAccessFamily.java22 import com.android.internal.telephony.RILConstants;
148 case RILConstants.NETWORK_MODE_WCDMA_PREF: in getRafFromNetworkType()
151 case RILConstants.NETWORK_MODE_GSM_ONLY: in getRafFromNetworkType()
154 case RILConstants.NETWORK_MODE_WCDMA_ONLY: in getRafFromNetworkType()
157 case RILConstants.NETWORK_MODE_GSM_UMTS: in getRafFromNetworkType()
160 case RILConstants.NETWORK_MODE_CDMA: in getRafFromNetworkType()
163 case RILConstants.NETWORK_MODE_LTE_CDMA_EVDO: in getRafFromNetworkType()
166 case RILConstants.NETWORK_MODE_LTE_GSM_WCDMA: in getRafFromNetworkType()
169 case RILConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA: in getRafFromNetworkType()
172 case RILConstants.NETWORK_MODE_LTE_ONLY: in getRafFromNetworkType()
[all …]
DTelephonyManager.java39 import com.android.internal.telephony.RILConstants;
933 case RILConstants.NETWORK_MODE_CDMA: in getPhoneType()
934 case RILConstants.NETWORK_MODE_CDMA_NO_EVDO: in getPhoneType()
935 case RILConstants.NETWORK_MODE_EVDO_NO_CDMA: in getPhoneType()
938 case RILConstants.NETWORK_MODE_WCDMA_PREF: in getPhoneType()
939 case RILConstants.NETWORK_MODE_GSM_ONLY: in getPhoneType()
940 case RILConstants.NETWORK_MODE_WCDMA_ONLY: in getPhoneType()
941 case RILConstants.NETWORK_MODE_GSM_UMTS: in getPhoneType()
942 case RILConstants.NETWORK_MODE_LTE_GSM_WCDMA: in getPhoneType()
943 case RILConstants.NETWORK_MODE_LTE_WCDMA: in getPhoneType()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DPhoneConstants.java56 public static final int PHONE_TYPE_NONE = RILConstants.NO_PHONE;
57 public static final int PHONE_TYPE_GSM = RILConstants.GSM_PHONE;
58 public static final int PHONE_TYPE_CDMA = RILConstants.CDMA_PHONE;
59 public static final int PHONE_TYPE_SIP = RILConstants.SIP_PHONE;
60 public static final int PHONE_TYPE_THIRD_PARTY = RILConstants.THIRD_PARTY_PHONE;
61 public static final int PHONE_TYPE_IMS = RILConstants.IMS_PHONE;
64 public static final int LTE_ON_CDMA_UNKNOWN = RILConstants.LTE_ON_CDMA_UNKNOWN;
65 public static final int LTE_ON_CDMA_FALSE = RILConstants.LTE_ON_CDMA_FALSE;
66 public static final int LTE_ON_CDMA_TRUE = RILConstants.LTE_ON_CDMA_TRUE;
DRILConstants.java32 public interface RILConstants { interface
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnSetting.java22 import com.android.internal.telephony.RILConstants;
196 protocol = RILConstants.SETUP_DATA_PROTOCOL_IP; in fromString()
197 roamingProtocol = RILConstants.SETUP_DATA_PROTOCOL_IP; in fromString()
DDcRetryAlarmController.java30 import com.android.internal.telephony.RILConstants;
117 if (retryDelay == RILConstants.MAX_INT) { in getSuggestedRetryTime()
DDataConnection.java25 import com.android.internal.telephony.RILConstants;
547 authType = TextUtils.isEmpty(mApnSetting.user) ? RILConstants.SETUP_DATA_AUTH_NONE in onConnect()
548 : RILConstants.SETUP_DATA_AUTH_PAP_CHAP; in onConnect()
574 int discReason = RILConstants.DEACTIVATE_REASON_NONE; in tearDownData()
579 discReason = RILConstants.DEACTIVATE_REASON_RADIO_OFF; in tearDownData()
581 discReason = RILConstants.DEACTIVATE_REASON_PDP_RESET; in tearDownData()
DDcTracker.java74 import com.android.internal.telephony.RILConstants;
2721 return RILConstants.DATA_PROFILE_IMS; in getApnProfileID()
2723 return RILConstants.DATA_PROFILE_FOTA; in getApnProfileID()
2725 return RILConstants.DATA_PROFILE_CBS; in getApnProfileID()
2727 return RILConstants.DATA_PROFILE_DEFAULT; // DEFAULT for now in getApnProfileID()
2729 return RILConstants.DATA_PROFILE_TETHERED; in getApnProfileID()
2731 return RILConstants.DATA_PROFILE_DEFAULT; in getApnProfileID()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmServiceStateTracker.java66 import com.android.internal.telephony.RILConstants;
452 mPreferredNetworkType = RILConstants.NETWORK_MODE_GLOBAL; in handleMessage()
456 int toggledNetworkType = RILConstants.NETWORK_MODE_GLOBAL; in handleMessage()
1373 ((state & RILConstants.RIL_RESTRICTED_STATE_CS_EMERGENCY) != 0) || in onRestrictedStateChanged()
1374 ((state & RILConstants.RIL_RESTRICTED_STATE_CS_ALL) != 0) ); in onRestrictedStateChanged()
1378 ((state & RILConstants.RIL_RESTRICTED_STATE_CS_NORMAL) != 0) || in onRestrictedStateChanged()
1379 ((state & RILConstants.RIL_RESTRICTED_STATE_CS_ALL) != 0) ); in onRestrictedStateChanged()
1381 (state & RILConstants.RIL_RESTRICTED_STATE_PS_ALL)!= 0); in onRestrictedStateChanged()
2172 networkMode = RILConstants.NETWORK_MODE_LTE_GSM_WCDMA; in onSetPhoneRCDone()
2175 networkMode = RILConstants.NETWORK_MODE_WCDMA_PREF; in onSetPhoneRCDone()
[all …]
DGsmMmiCode.java297 if ((ssData.result == RILConstants.SUCCESS) && in parseSsData()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java48 import com.android.internal.telephony.RILConstants;
2538 RILConstants.CDMA_CELL_BROADCAST_SMS_DISABLED); in loadGlobalSettings()
2623 type = RILConstants.PREFERRED_NETWORK_MODE; in loadGlobalSettings()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccCardProxy.java41 import com.android.internal.telephony.RILConstants;