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.java165 static final int BM_UNSPECIFIED = RILConstants.BAND_MODE_UNSPECIFIED; // automatic
166 static final int BM_EURO_BAND = RILConstants.BAND_MODE_EURO;
167 static final int BM_US_BAND = RILConstants.BAND_MODE_USA;
168 static final int BM_JPN_BAND = RILConstants.BAND_MODE_JPN;
169 static final int BM_AUS_BAND = RILConstants.BAND_MODE_AUS;
170 static final int BM_AUS2_BAND = RILConstants.BAND_MODE_AUS_2;
171 static final int BM_CELL_800 = RILConstants.BAND_MODE_CELL_800;
172 static final int BM_PCS = RILConstants.BAND_MODE_PCS;
173 static final int BM_JTACS = RILConstants.BAND_MODE_JTACS;
174 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.java165 networkModes[i] = RILConstants.PREFERRED_NETWORK_MODE; in makeDefaultPhone()
281 sCommandsInterfaces[i] = new RIL(context, RILConstants.PREFERRED_NETWORK_MODE, in onMultiSimConfigChanged()
295 int phoneType = TelephonyManager.getPhoneType(RILConstants.PREFERRED_NETWORK_MODE); in createPhone()
416 networkType = RILConstants.PREFERRED_NETWORK_MODE; in calculatePreferredNetworkType()
DCarrierServiceStateTracker.java208 return (preferredNetworkSetting == RILConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA); in isGlobalMode()
DServiceStateTracker.java1415 mPreferredNetworkType = RILConstants.NETWORK_MODE_GLOBAL; in handleMessage()
1419 int toggledNetworkType = RILConstants.NETWORK_MODE_GLOBAL; in handleMessage()
4008 ((state & RILConstants.RIL_RESTRICTED_STATE_CS_EMERGENCY) != 0) || in onRestrictedStateChanged()
4009 ((state & RILConstants.RIL_RESTRICTED_STATE_CS_ALL) != 0) ); in onRestrictedStateChanged()
4013 ((state & RILConstants.RIL_RESTRICTED_STATE_CS_NORMAL) != 0) || in onRestrictedStateChanged()
4014 ((state & RILConstants.RIL_RESTRICTED_STATE_CS_ALL) != 0) ); in onRestrictedStateChanged()
4016 (state & RILConstants.RIL_RESTRICTED_STATE_PS_ALL)!= 0); in onRestrictedStateChanged()
DPhone.java338 private int mLceStatus = RILConstants.LCE_NOT_AVAILABLE;
2294 return RILConstants.PREFERRED_NETWORK_MODE; in getCachedPreferredNetworkType()
/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.java109 import com.android.internal.telephony.RILConstants;
2357 case RILConstants.NETWORK_MODE_CDMA: in getPhoneType()
2358 case RILConstants.NETWORK_MODE_CDMA_NO_EVDO: in getPhoneType()
2359 case RILConstants.NETWORK_MODE_EVDO_NO_CDMA: in getPhoneType()
2362 case RILConstants.NETWORK_MODE_WCDMA_PREF: in getPhoneType()
2363 case RILConstants.NETWORK_MODE_GSM_ONLY: in getPhoneType()
2364 case RILConstants.NETWORK_MODE_WCDMA_ONLY: in getPhoneType()
2365 case RILConstants.NETWORK_MODE_GSM_UMTS: in getPhoneType()
2366 case RILConstants.NETWORK_MODE_LTE_GSM_WCDMA: in getPhoneType()
2367 case RILConstants.NETWORK_MODE_LTE_WCDMA: in getPhoneType()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DPhoneConstants.java77 public static final int PHONE_TYPE_NONE = RILConstants.NO_PHONE;
78 public static final int PHONE_TYPE_GSM = RILConstants.GSM_PHONE;
79 public static final int PHONE_TYPE_CDMA = RILConstants.CDMA_PHONE;
80 public static final int PHONE_TYPE_SIP = RILConstants.SIP_PHONE;
81 public static final int PHONE_TYPE_THIRD_PARTY = RILConstants.THIRD_PARTY_PHONE;
82 public static final int PHONE_TYPE_IMS = RILConstants.IMS_PHONE;
85 public static final int PHONE_TYPE_CDMA_LTE = RILConstants.CDMA_LTE_PHONE;
88 public static final int LTE_ON_CDMA_UNKNOWN = RILConstants.LTE_ON_CDMA_UNKNOWN;
89 public static final int LTE_ON_CDMA_FALSE = RILConstants.LTE_ON_CDMA_FALSE;
90 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.java836 eq(RILConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA), nullable(Message.class)); in testHandleInitialMessages()
862 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.java42 import com.android.internal.telephony.RILConstants;
189 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;
106 import com.android.internal.telephony.RILConstants;
3870 return RILConstants.DATA_PROFILE_IMS; in getApnProfileID()
3872 return RILConstants.DATA_PROFILE_FOTA; in getApnProfileID()
3874 return RILConstants.DATA_PROFILE_CBS; in getApnProfileID()
3876 return RILConstants.DATA_PROFILE_DEFAULT; // DEFAULT for now in getApnProfileID()
3878 return RILConstants.DATA_PROFILE_TETHERED; in getApnProfileID()
3880 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;
2496 RILConstants.CDMA_CELL_BROADCAST_SMS_DISABLED); in loadGlobalSettings()

12