Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCommandException.java145 case RILConstants.SUCCESS: return null; in fromRilErrno()
146 case RILConstants.RIL_ERRNO_INVALID_RESPONSE: in fromRilErrno()
148 case RILConstants.RADIO_NOT_AVAILABLE: in fromRilErrno()
150 case RILConstants.GENERIC_FAILURE: in fromRilErrno()
152 case RILConstants.PASSWORD_INCORRECT: in fromRilErrno()
154 case RILConstants.SIM_PIN2: in fromRilErrno()
156 case RILConstants.SIM_PUK2: in fromRilErrno()
158 case RILConstants.REQUEST_NOT_SUPPORTED: in fromRilErrno()
160 case RILConstants.OP_NOT_ALLOWED_DURING_VOICE_CALL: in fromRilErrno()
162 case RILConstants.OP_NOT_ALLOWED_BEFORE_REG_NW: in fromRilErrno()
[all …]
DPhoneInternalInterface.java163 static final int BM_UNSPECIFIED = RILConstants.BAND_MODE_UNSPECIFIED; // automatic
164 static final int BM_EURO_BAND = RILConstants.BAND_MODE_EURO;
165 static final int BM_US_BAND = RILConstants.BAND_MODE_USA;
166 static final int BM_JPN_BAND = RILConstants.BAND_MODE_JPN;
167 static final int BM_AUS_BAND = RILConstants.BAND_MODE_AUS;
168 static final int BM_AUS2_BAND = RILConstants.BAND_MODE_AUS_2;
169 static final int BM_CELL_800 = RILConstants.BAND_MODE_CELL_800;
170 static final int BM_PCS = RILConstants.BAND_MODE_PCS;
171 static final int BM_JTACS = RILConstants.BAND_MODE_JTACS;
172 static final int BM_KOREA_PCS = RILConstants.BAND_MODE_KOREA_PCS;
[all …]
DRadioIndication.java19 import static com.android.internal.telephony.RILConstants.RIL_UNSOL_CALL_RING;
20 import static com.android.internal.telephony.RILConstants.RIL_UNSOL_CARRIER_INFO_IMSI_ENCRYPTION;
21 import static com.android.internal.telephony.RILConstants.RIL_UNSOL_CDMA_CALL_WAITING;
22 import static com.android.internal.telephony.RILConstants.RIL_UNSOL_CDMA_INFO_REC;
23 import static com.android.internal.telephony.RILConstants.RIL_UNSOL_CDMA_OTA_PROVISION_STATUS;
24 import static com.android.internal.telephony.RILConstants.RIL_UNSOL_CDMA_RUIM_SMS_STORAGE_FULL;
25 import static com.android.internal.telephony.RILConstants.RIL_UNSOL_CDMA_SUBSCRIPTION_SOURCE_CHANGE…
26 import static com.android.internal.telephony.RILConstants.RIL_UNSOL_CELL_INFO_LIST;
27 import static com.android.internal.telephony.RILConstants.RIL_UNSOL_DATA_CALL_LIST_CHANGED;
28 import static com.android.internal.telephony.RILConstants.RIL_UNSOL_EMERGENCY_NUMBER_LIST;
[all …]
DRadioConfig.java19 import static com.android.internal.telephony.RILConstants.RADIO_NOT_AVAILABLE;
20 import static com.android.internal.telephony.RILConstants.REQUEST_NOT_SUPPORTED;
21 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_GET_PHONE_CAPABILITY;
22 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_GET_SLOT_STATUS;
23 import static com.android.internal.telephony.RILConstants
25 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_SET_PREFERRED_DATA_MODEM;
26 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_SWITCH_DUAL_SIM_CONFIG;
DOemHookIndication.java24 import static com.android.internal.telephony.RILConstants.RIL_UNSOL_OEM_HOOK_RAW;
DPhoneFactory.java169 networkModes[i] = RILConstants.PREFERRED_NETWORK_MODE; in makeDefaultPhone()
285 sCommandsInterfaces[i] = new RIL(context, RILConstants.PREFERRED_NETWORK_MODE, in onMultiSimConfigChanged()
299 int phoneType = TelephonyManager.getPhoneType(RILConstants.PREFERRED_NETWORK_MODE); in createPhone()
420 networkType = RILConstants.PREFERRED_NETWORK_MODE; in calculatePreferredNetworkType()
DCarrierServiceStateTracker.java213 == RILConstants.NETWORK_MODE_NR_LTE_CDMA_EVDO_GSM_WCDMA); in isGlobalMode()
215 return (preferredNetworkSetting == RILConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA); in isGlobalMode()
DServiceStateTracker.java1404 mPreferredNetworkType = RILConstants.NETWORK_MODE_GLOBAL; in handleMessage()
1408 int toggledNetworkType = RILConstants.NETWORK_MODE_GLOBAL; in handleMessage()
3995 ((state & RILConstants.RIL_RESTRICTED_STATE_CS_EMERGENCY) != 0) || in onRestrictedStateChanged()
3996 ((state & RILConstants.RIL_RESTRICTED_STATE_CS_ALL) != 0) ); in onRestrictedStateChanged()
4000 ((state & RILConstants.RIL_RESTRICTED_STATE_CS_NORMAL) != 0) || in onRestrictedStateChanged()
4001 ((state & RILConstants.RIL_RESTRICTED_STATE_CS_ALL) != 0) ); in onRestrictedStateChanged()
4003 (state & RILConstants.RIL_RESTRICTED_STATE_PS_ALL)!= 0); in onRestrictedStateChanged()
DGsmCdmaPhone.java2143 CommandException.fromRilErrno(RILConstants.REQUEST_NOT_SUPPORTED)); in getCallForwardingOption()
2197 CommandException.fromRilErrno(RILConstants.REQUEST_NOT_SUPPORTED)); in setCallForwardingOption()
2326 CommandException.fromRilErrno(RILConstants.REQUEST_NOT_SUPPORTED)); in setCallWaiting()
4304 lteOnCdmaModeDynamicValue = RILConstants.LTE_ON_CDMA_FALSE; in getLteOnCdmaMode()
4307 if (currentConfig == RILConstants.LTE_ON_CDMA_TRUE) { in getLteOnCdmaMode()
/frameworks/base/telephony/java/android/telephony/
DRadioAccessFamily.java25 import com.android.internal.telephony.RILConstants;
175 case RILConstants.NETWORK_MODE_WCDMA_PREF: in getRafFromNetworkType()
177 case RILConstants.NETWORK_MODE_GSM_ONLY: in getRafFromNetworkType()
179 case RILConstants.NETWORK_MODE_WCDMA_ONLY: in getRafFromNetworkType()
181 case RILConstants.NETWORK_MODE_GSM_UMTS: in getRafFromNetworkType()
183 case RILConstants.NETWORK_MODE_CDMA: in getRafFromNetworkType()
185 case RILConstants.NETWORK_MODE_LTE_CDMA_EVDO: in getRafFromNetworkType()
187 case RILConstants.NETWORK_MODE_LTE_GSM_WCDMA: in getRafFromNetworkType()
189 case RILConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA: in getRafFromNetworkType()
191 case RILConstants.NETWORK_MODE_LTE_ONLY: in getRafFromNetworkType()
[all …]
DTelephonyManager.java112 import com.android.internal.telephony.RILConstants;
2565 case RILConstants.NETWORK_MODE_CDMA: in getPhoneType()
2566 case RILConstants.NETWORK_MODE_CDMA_NO_EVDO: in getPhoneType()
2567 case RILConstants.NETWORK_MODE_EVDO_NO_CDMA: in getPhoneType()
2570 case RILConstants.NETWORK_MODE_WCDMA_PREF: in getPhoneType()
2571 case RILConstants.NETWORK_MODE_GSM_ONLY: in getPhoneType()
2572 case RILConstants.NETWORK_MODE_WCDMA_ONLY: in getPhoneType()
2573 case RILConstants.NETWORK_MODE_GSM_UMTS: in getPhoneType()
2574 case RILConstants.NETWORK_MODE_LTE_GSM_WCDMA: in getPhoneType()
2575 case RILConstants.NETWORK_MODE_LTE_WCDMA: in getPhoneType()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DPhoneConstants.java74 public static final int PHONE_TYPE_NONE = RILConstants.NO_PHONE;
75 public static final int PHONE_TYPE_GSM = RILConstants.GSM_PHONE;
76 public static final int PHONE_TYPE_CDMA = RILConstants.CDMA_PHONE;
77 public static final int PHONE_TYPE_SIP = RILConstants.SIP_PHONE;
78 public static final int PHONE_TYPE_THIRD_PARTY = RILConstants.THIRD_PARTY_PHONE;
79 public static final int PHONE_TYPE_IMS = RILConstants.IMS_PHONE;
82 public static final int PHONE_TYPE_CDMA_LTE = RILConstants.CDMA_LTE_PHONE;
85 public static final int LTE_ON_CDMA_UNKNOWN = RILConstants.LTE_ON_CDMA_UNKNOWN;
86 public static final int LTE_ON_CDMA_FALSE = RILConstants.LTE_ON_CDMA_FALSE;
87 public static final int LTE_ON_CDMA_TRUE = RILConstants.LTE_ON_CDMA_TRUE;
DRILConstants.java27 public interface RILConstants { interface
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java19 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_ACKNOWLEDGE_INCOMING_GSM_SMS_…
20 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_ALLOW_DATA;
21 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_CDMA_GET_SUBSCRIPTION_SOURCE;
22 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_CHANGE_SIM_PIN;
23 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_CHANGE_SIM_PIN2;
24 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_CONFERENCE;
25 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_DATA_REGISTRATION_STATE;
26 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_DELETE_SMS_ON_SIM;
27 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_DEVICE_IDENTITY;
28 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_DTMF;
[all …]
DCarrierServiceStateTrackerTest.java155 RILConstants.NETWORK_MODE_LTE_CDMA_EVDO); in testSendPrefNetworkNotification()
165 RILConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA); in testSendPrefNetworkNotification()
DServiceStateTrackerTest.java1509 final int CS_ALL[] = {RILConstants.RIL_RESTRICTED_STATE_CS_ALL, in testOnRestrictedStateChanged()
1511 final int CS_NOR[] = {RILConstants.RIL_RESTRICTED_STATE_CS_NORMAL, in testOnRestrictedStateChanged()
1513 final int CS_EME[] = {RILConstants.RIL_RESTRICTED_STATE_CS_EMERGENCY, in testOnRestrictedStateChanged()
1515 final int CS_NON[] = {RILConstants.RIL_RESTRICTED_STATE_NONE, in testOnRestrictedStateChanged()
1517 final int PS_ALL[] = {RILConstants.RIL_RESTRICTED_STATE_PS_ALL, in testOnRestrictedStateChanged()
1519 final int PS_NON[] = {RILConstants.RIL_RESTRICTED_STATE_NONE, in testOnRestrictedStateChanged()
DGsmCdmaPhoneTest.java832 eq(RILConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA), nullable(Message.class)); in testHandleInitialMessages()
858 eq(RILConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA), nullable(Message.class)); in testHandleInitialMessages()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataProfileTest.java23 import com.android.internal.telephony.RILConstants;
116 assertEquals(RILConstants.SETUP_DATA_AUTH_PAP_CHAP, dp.getAuthType()); in testCreateFromApnSetting()
132 assertEquals(RILConstants.SETUP_DATA_AUTH_PAP_CHAP, dp.getAuthType()); in testCreateFromApnSettingWithNetworkTypeBitmask()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java21 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_ANSWER;
22 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_CDMA_SEND_SMS;
23 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_DEACTIVATE_DATA_CALL;
24 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_DIAL;
25 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_HANGUP;
26 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_HANGUP_FOREGROUND_RESUME_BACK…
27 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_HANGUP_WAITING_OR_BACKGROUND;
28 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_IMS_SEND_SMS;
29 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_SEND_SMS;
30 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_SEND_SMS_EXPECT_MORE;
[all …]
/frameworks/base/telephony/java/android/telephony/data/
DDataProfile.java32 import com.android.internal.telephony.RILConstants;
118 authType = TextUtils.isEmpty(userName) ? RILConstants.SETUP_DATA_AUTH_NONE in DataProfile()
119 : RILConstants.SETUP_DATA_AUTH_PAP_CHAP; in DataProfile()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcNetworkAgent.java41 import com.android.internal.telephony.RILConstants;
182 if (mPhone.getLceStatus() == RILConstants.LCE_ACTIVE // active LCE service in onBandwidthUpdateRequested()
DDcTracker.java26 import static com.android.internal.telephony.RILConstants.DATA_PROFILE_DEFAULT;
27 import static com.android.internal.telephony.RILConstants.DATA_PROFILE_INVALID;
107 import com.android.internal.telephony.RILConstants;
3903 return RILConstants.DATA_PROFILE_IMS; in getApnProfileID()
3905 return RILConstants.DATA_PROFILE_FOTA; in getApnProfileID()
3907 return RILConstants.DATA_PROFILE_CBS; in getApnProfileID()
3909 return RILConstants.DATA_PROFILE_DEFAULT; // DEFAULT for now in getApnProfileID()
3911 return RILConstants.DATA_PROFILE_TETHERED; in getApnProfileID()
3913 return RILConstants.DATA_PROFILE_DEFAULT; in getApnProfileID()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java24 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_DEACTIVATE_DATA_CALL;
25 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_SEND_SMS;
26 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_SETUP_DATA_CALL;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmMmiCode.java52 import com.android.internal.telephony.RILConstants;
375 if ((ssData.result == RILConstants.SUCCESS) && in parseSsData()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java51 import com.android.internal.telephony.RILConstants;
2470 RILConstants.CDMA_CELL_BROADCAST_SMS_DISABLED); in loadGlobalSettings()

12