Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCommandException.java19 import com.android.internal.telephony.RILConstants;
134 case RILConstants.SUCCESS: return null; in fromRilErrno()
135 case RILConstants.RIL_ERRNO_INVALID_RESPONSE: in fromRilErrno()
137 case RILConstants.RADIO_NOT_AVAILABLE: in fromRilErrno()
139 case RILConstants.GENERIC_FAILURE: in fromRilErrno()
141 case RILConstants.PASSWORD_INCORRECT: in fromRilErrno()
143 case RILConstants.SIM_PIN2: in fromRilErrno()
145 case RILConstants.SIM_PUK2: in fromRilErrno()
147 case RILConstants.REQUEST_NOT_SUPPORTED: in fromRilErrno()
149 case RILConstants.OP_NOT_ALLOWED_DURING_VOICE_CALL: in fromRilErrno()
[all …]
DPhoneInternalInterface.java112 static final int BM_UNSPECIFIED = RILConstants.BAND_MODE_UNSPECIFIED; // automatic
113 static final int BM_EURO_BAND = RILConstants.BAND_MODE_EURO;
114 static final int BM_US_BAND = RILConstants.BAND_MODE_USA;
115 static final int BM_JPN_BAND = RILConstants.BAND_MODE_JPN;
116 static final int BM_AUS_BAND = RILConstants.BAND_MODE_AUS;
117 static final int BM_AUS2_BAND = RILConstants.BAND_MODE_AUS_2;
118 static final int BM_CELL_800 = RILConstants.BAND_MODE_CELL_800;
119 static final int BM_PCS = RILConstants.BAND_MODE_PCS;
120 static final int BM_JTACS = RILConstants.BAND_MODE_JTACS;
121 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_ENTER_EMERGENCY_CALLBACK_MODE;
[all …]
DOemHookIndication.java24 import static com.android.internal.telephony.RILConstants.RIL_UNSOL_OEM_HOOK_RAW;
DPhoneFactory.java165 networkModes[i] = RILConstants.PREFERRED_NETWORK_MODE; in makeDefaultPhone()
324 RILConstants.PREFERRED_NETWORK_MODE); in calculatePreferredNetworkType()
DCarrierServiceStateTracker.java149 return (preferredNetworkSetting == RILConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA); in isGlobalMode()
DServiceStateTracker.java1271 mPreferredNetworkType = RILConstants.NETWORK_MODE_GLOBAL; in handleMessage()
1275 int toggledNetworkType = RILConstants.NETWORK_MODE_GLOBAL; in handleMessage()
3406 ((state & RILConstants.RIL_RESTRICTED_STATE_CS_EMERGENCY) != 0) || in onRestrictedStateChanged()
3407 ((state & RILConstants.RIL_RESTRICTED_STATE_CS_ALL) != 0) ); in onRestrictedStateChanged()
3411 ((state & RILConstants.RIL_RESTRICTED_STATE_CS_NORMAL) != 0) || in onRestrictedStateChanged()
3412 ((state & RILConstants.RIL_RESTRICTED_STATE_CS_ALL) != 0) ); in onRestrictedStateChanged()
3414 (state & RILConstants.RIL_RESTRICTED_STATE_PS_ALL)!= 0); in onRestrictedStateChanged()
DSubscriptionInfoUpdater.java468 int networkType = RILConstants.PREFERRED_NETWORK_MODE; in handleSimLoaded()
/frameworks/base/telephony/java/android/telephony/
DRadioAccessFamily.java22 import com.android.internal.telephony.RILConstants;
157 case RILConstants.NETWORK_MODE_WCDMA_PREF: in getRafFromNetworkType()
160 case RILConstants.NETWORK_MODE_GSM_ONLY: in getRafFromNetworkType()
163 case RILConstants.NETWORK_MODE_WCDMA_ONLY: in getRafFromNetworkType()
166 case RILConstants.NETWORK_MODE_GSM_UMTS: in getRafFromNetworkType()
169 case RILConstants.NETWORK_MODE_CDMA: in getRafFromNetworkType()
172 case RILConstants.NETWORK_MODE_LTE_CDMA_EVDO: in getRafFromNetworkType()
175 case RILConstants.NETWORK_MODE_LTE_GSM_WCDMA: in getRafFromNetworkType()
178 case RILConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA: in getRafFromNetworkType()
181 case RILConstants.NETWORK_MODE_LTE_ONLY: in getRafFromNetworkType()
[all …]
DTelephonyManager.java65 import com.android.internal.telephony.RILConstants;
1378 case RILConstants.NETWORK_MODE_CDMA: in getPhoneType()
1379 case RILConstants.NETWORK_MODE_CDMA_NO_EVDO: in getPhoneType()
1380 case RILConstants.NETWORK_MODE_EVDO_NO_CDMA: in getPhoneType()
1383 case RILConstants.NETWORK_MODE_WCDMA_PREF: in getPhoneType()
1384 case RILConstants.NETWORK_MODE_GSM_ONLY: in getPhoneType()
1385 case RILConstants.NETWORK_MODE_WCDMA_ONLY: in getPhoneType()
1386 case RILConstants.NETWORK_MODE_GSM_UMTS: in getPhoneType()
1387 case RILConstants.NETWORK_MODE_LTE_GSM_WCDMA: in getPhoneType()
1388 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 PHONE_TYPE_CDMA_LTE = RILConstants.CDMA_LTE_PHONE;
67 public static final int LTE_ON_CDMA_UNKNOWN = RILConstants.LTE_ON_CDMA_UNKNOWN;
68 public static final int LTE_ON_CDMA_FALSE = RILConstants.LTE_ON_CDMA_FALSE;
69 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/
DDataProfile.java22 import com.android.internal.telephony.RILConstants;
84 authType = TextUtils.isEmpty(user) ? RILConstants.SETUP_DATA_AUTH_NONE in DataProfile()
85 : RILConstants.SETUP_DATA_AUTH_PAP_CHAP; in DataProfile()
DApnSetting.java30 import com.android.internal.telephony.RILConstants;
240 protocol = RILConstants.SETUP_DATA_PROTOCOL_IP; in fromString()
241 roamingProtocol = RILConstants.SETUP_DATA_PROTOCOL_IP; in fromString()
DDataConnection.java48 import com.android.internal.telephony.RILConstants;
489 int discReason = RILConstants.DEACTIVATE_REASON_NONE; in tearDownData()
495 discReason = RILConstants.DEACTIVATE_REASON_RADIO_OFF; in tearDownData()
497 discReason = RILConstants.DEACTIVATE_REASON_PDP_RESET; in tearDownData()
1705 if (mPhone.getLceStatus() == RILConstants.LCE_ACTIVE) { in processMessage()
1862 if(mPhone.getLceStatus() == RILConstants.LCE_ACTIVE) { // active LCE service in pollLceData()
DDcTracker.java86 import com.android.internal.telephony.RILConstants;
4009 return RILConstants.DATA_PROFILE_IMS; in getApnProfileID()
4011 return RILConstants.DATA_PROFILE_FOTA; in getApnProfileID()
4013 return RILConstants.DATA_PROFILE_CBS; in getApnProfileID()
4015 return RILConstants.DATA_PROFILE_DEFAULT; // DEFAULT for now in getApnProfileID()
4017 return RILConstants.DATA_PROFILE_TETHERED; in getApnProfileID()
4019 return RILConstants.DATA_PROFILE_DEFAULT; in getApnProfileID()
/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
28 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_HANGUP_WAITING_OR_BACKGROUND;
29 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_IMS_SEND_SMS;
30 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_SEND_SMS;
31 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_SEND_SMS_EXPECT_MORE;
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataProfileTest.java21 import com.android.internal.telephony.RILConstants;
89 assertEquals(RILConstants.SETUP_DATA_AUTH_PAP_CHAP, dp.authType); in testCreateFromApnSetting()
DDataConnectionTest.java46 import com.android.internal.telephony.RILConstants;
223 eq(RILConstants.DEACTIVATE_REASON_NONE), any(Message.class)); in testDisconnectEvent()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTrackerTest.java922 final int CS_ALL[] = {RILConstants.RIL_RESTRICTED_STATE_CS_ALL, in testOnRestrictedStateChanged()
924 final int CS_NOR[] = {RILConstants.RIL_RESTRICTED_STATE_CS_NORMAL, in testOnRestrictedStateChanged()
926 final int CS_EME[] = {RILConstants.RIL_RESTRICTED_STATE_CS_EMERGENCY, in testOnRestrictedStateChanged()
928 final int CS_NON[] = {RILConstants.RIL_RESTRICTED_STATE_NONE, in testOnRestrictedStateChanged()
930 final int PS_ALL[] = {RILConstants.RIL_RESTRICTED_STATE_PS_ALL, in testOnRestrictedStateChanged()
932 final int PS_NON[] = {RILConstants.RIL_RESTRICTED_STATE_NONE, in testOnRestrictedStateChanged()
DGsmCdmaPhoneTest.java531 eq(RILConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA), nullable(Message.class)); in testHandleInitialMessages()
557 eq(RILConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA), nullable(Message.class)); in testHandleInitialMessages()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java22 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_DEACTIVATE_DATA_CALL;
23 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_SEND_SMS;
24 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_SETUP_DATA_CALL;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmMmiCode.java50 import com.android.internal.telephony.RILConstants;
348 if ((ssData.result == RILConstants.SUCCESS) && in parseSsData()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java49 import com.android.internal.telephony.RILConstants;
2532 RILConstants.CDMA_CELL_BROADCAST_SMS_DISABLED); in loadGlobalSettings()
2616 type = RILConstants.PREFERRED_NETWORK_MODE; in loadGlobalSettings()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccCardProxy.java43 import com.android.internal.telephony.RILConstants;

12