Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCommandException.java151 case RILConstants.SUCCESS: return null; in fromRilErrno()
152 case RILConstants.RIL_ERRNO_INVALID_RESPONSE: in fromRilErrno()
154 case RILConstants.RADIO_NOT_AVAILABLE: in fromRilErrno()
156 case RILConstants.GENERIC_FAILURE: in fromRilErrno()
158 case RILConstants.PASSWORD_INCORRECT: in fromRilErrno()
160 case RILConstants.SIM_PIN2: in fromRilErrno()
162 case RILConstants.SIM_PUK2: in fromRilErrno()
164 case RILConstants.REQUEST_NOT_SUPPORTED: in fromRilErrno()
166 case RILConstants.OP_NOT_ALLOWED_DURING_VOICE_CALL: in fromRilErrno()
168 case RILConstants.OP_NOT_ALLOWED_BEFORE_REG_NW: in fromRilErrno()
[all …]
DPhoneInternalInterface.java223 static final int BM_UNSPECIFIED = RILConstants.BAND_MODE_UNSPECIFIED; // automatic
224 static final int BM_EURO_BAND = RILConstants.BAND_MODE_EURO;
225 static final int BM_US_BAND = RILConstants.BAND_MODE_USA;
226 static final int BM_JPN_BAND = RILConstants.BAND_MODE_JPN;
227 static final int BM_AUS_BAND = RILConstants.BAND_MODE_AUS;
228 static final int BM_AUS2_BAND = RILConstants.BAND_MODE_AUS_2;
229 static final int BM_CELL_800 = RILConstants.BAND_MODE_CELL_800;
230 static final int BM_PCS = RILConstants.BAND_MODE_PCS;
231 static final int BM_JTACS = RILConstants.BAND_MODE_JTACS;
232 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.java22 import static com.android.internal.telephony.RILConstants.RADIO_NOT_AVAILABLE;
23 import static com.android.internal.telephony.RILConstants.REQUEST_NOT_SUPPORTED;
24 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_GET_HAL_DEVICE_CAPABILITIES;
25 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_GET_PHONE_CAPABILITY;
26 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_GET_SLOT_STATUS;
27 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_SET_LOGICAL_TO_PHYSICAL_SLOT_…
28 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_SET_PREFERRED_DATA_MODEM;
29 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_SWITCH_DUAL_SIM_CONFIG;
DPhoneFactory.java172 networkModes[i] = RILConstants.PREFERRED_NETWORK_MODE; in makeDefaultPhone()
303 RILConstants.PREFERRED_NETWORK_MODE), in onMultiSimConfigChanged()
317 int phoneType = TelephonyManager.getPhoneType(RILConstants.PREFERRED_NETWORK_MODE); in createPhone()
433 return RadioAccessFamily.getRafFromNetworkType(RILConstants.PREFERRED_NETWORK_MODE); in calculatePreferredNetworkType()
DCarrierServiceStateTracker.java237 RILConstants.NETWORK_MODE_NR_LTE_CDMA_EVDO_GSM_WCDMA)); in isGlobalMode()
240 RILConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA)); in isGlobalMode()
DServiceStateTracker.java1499 RILConstants.NETWORK_MODE_GLOBAL); in handleMessage()
1504 RILConstants.NETWORK_MODE_GLOBAL); in handleMessage()
4331 ((state & RILConstants.RIL_RESTRICTED_STATE_CS_EMERGENCY) != 0) || in onRestrictedStateChanged()
4332 ((state & RILConstants.RIL_RESTRICTED_STATE_CS_ALL) != 0) ); in onRestrictedStateChanged()
4336 ((state & RILConstants.RIL_RESTRICTED_STATE_CS_NORMAL) != 0) || in onRestrictedStateChanged()
4337 ((state & RILConstants.RIL_RESTRICTED_STATE_CS_ALL) != 0) ); in onRestrictedStateChanged()
4339 (state & RILConstants.RIL_RESTRICTED_STATE_PS_ALL)!= 0); in onRestrictedStateChanged()
DPhone.java357 private int mLceStatus = RILConstants.LCE_NOT_AVAILABLE;
2292 RILConstants.PREFERRED_NETWORK_MODE); in getAllowedNetworkTypes()
2401 RILConstants.PREFERRED_NETWORK_MODE); in updateAllowedNetworkTypeForCarrierWithCarrierConfig()
2522 return RadioAccessFamily.getRafFromNetworkType(RILConstants.PREFERRED_NETWORK_MODE); in getCachedAllowedNetworkTypesBitmask()
DGsmCdmaPhone.java3530 RILConstants.PREFERRED_NETWORK_MODE); in shouldForceAutoNetworkSelect()
4533 lteOnCdmaModeDynamicValue = RILConstants.LTE_ON_CDMA_FALSE; in getLteOnCdmaMode()
4536 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.java122 import com.android.internal.telephony.RILConstants;
2544 case RILConstants.NETWORK_MODE_CDMA: in getPhoneType()
2545 case RILConstants.NETWORK_MODE_CDMA_NO_EVDO: in getPhoneType()
2546 case RILConstants.NETWORK_MODE_EVDO_NO_CDMA: in getPhoneType()
2549 case RILConstants.NETWORK_MODE_WCDMA_PREF: in getPhoneType()
2550 case RILConstants.NETWORK_MODE_GSM_ONLY: in getPhoneType()
2551 case RILConstants.NETWORK_MODE_WCDMA_ONLY: in getPhoneType()
2552 case RILConstants.NETWORK_MODE_GSM_UMTS: in getPhoneType()
2553 case RILConstants.NETWORK_MODE_LTE_GSM_WCDMA: in getPhoneType()
2554 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_CDMA_SEND_SMS;
23 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_CDMA_SEND_SMS_EXPECT_MORE;
24 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_CHANGE_SIM_PIN;
25 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_CHANGE_SIM_PIN2;
26 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_CONFERENCE;
27 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_DATA_REGISTRATION_STATE;
28 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_DELETE_SMS_ON_SIM;
[all …]
DServiceStateTrackerTest.java1555 final int CS_ALL[] = {RILConstants.RIL_RESTRICTED_STATE_CS_ALL, in testOnRestrictedStateChanged()
1557 final int CS_NOR[] = {RILConstants.RIL_RESTRICTED_STATE_CS_NORMAL, in testOnRestrictedStateChanged()
1559 final int CS_EME[] = {RILConstants.RIL_RESTRICTED_STATE_CS_EMERGENCY, in testOnRestrictedStateChanged()
1561 final int CS_NON[] = {RILConstants.RIL_RESTRICTED_STATE_NONE, in testOnRestrictedStateChanged()
1563 final int PS_ALL[] = {RILConstants.RIL_RESTRICTED_STATE_PS_ALL, in testOnRestrictedStateChanged()
1565 final int PS_NON[] = {RILConstants.RIL_RESTRICTED_STATE_NONE, in testOnRestrictedStateChanged()
DGsmCdmaPhoneTest.java973 eq(RILConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA), nullable(Message.class)); in testHandleInitialMessages()
999 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;
143 assertEquals(RILConstants.SETUP_DATA_AUTH_PAP_CHAP, dp.getAuthType()); in testCreateFromApnSetting()
159 assertEquals(RILConstants.SETUP_DATA_AUTH_PAP_CHAP, dp.getAuthType()); in testCreateFromApnSettingWithNetworkTypeBitmask()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java23 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_ANSWER;
24 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_CDMA_SEND_SMS;
25 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_DEACTIVATE_DATA_CALL;
26 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_DIAL;
27 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_HANGUP;
28 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_HANGUP_FOREGROUND_RESUME_BACK…
29 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_HANGUP_WAITING_OR_BACKGROUND;
30 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_IMS_SEND_SMS;
31 import static com.android.internal.telephony.RILConstants.RIL_REQUEST_SEND_SMS;
32 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.java48 import com.android.internal.telephony.RILConstants;
244 if (mPhone.getLceStatus() == RILConstants.LCE_ACTIVE // active LCE service in onBandwidthUpdateRequested()
DDcTracker.java28 import static com.android.internal.telephony.RILConstants.DATA_PROFILE_DEFAULT;
29 import static com.android.internal.telephony.RILConstants.DATA_PROFILE_INVALID;
116 import com.android.internal.telephony.RILConstants;
4210 return RILConstants.DATA_PROFILE_IMS; in getApnProfileID()
4212 return RILConstants.DATA_PROFILE_FOTA; in getApnProfileID()
4214 return RILConstants.DATA_PROFILE_CBS; in getApnProfileID()
4216 return RILConstants.DATA_PROFILE_DEFAULT; // DEFAULT for now in getApnProfileID()
4218 return RILConstants.DATA_PROFILE_TETHERED; in getApnProfileID()
4220 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/proto_logging/stats/enums/telephony/
Denums.proto233 // frameworks/base/telephony/java/com/android/internal/telephony/RILConstants.java
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmMmiCode.java57 import com.android.internal.telephony.RILConstants;
384 if ((ssData.result == RILConstants.SUCCESS) && in parseSsData()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java51 import com.android.internal.telephony.RILConstants;
2472 RILConstants.CDMA_CELL_BROADCAST_SMS_DISABLED); in loadGlobalSettings()

12