Home | History | Annotate | Download | only in dataconnection

Lines Matching refs:PhoneConstants

57 import com.android.internal.telephony.PhoneConstants;
244 apnContext = addApnContext(PhoneConstants.APN_TYPE_DEFAULT);
248 apnContext = addApnContext(PhoneConstants.APN_TYPE_MMS);
251 apnContext = addApnContext(PhoneConstants.APN_TYPE_SUPL);
254 apnContext = addApnContext(PhoneConstants.APN_TYPE_DUN);
257 apnContext = addApnContext(PhoneConstants.APN_TYPE_HIPRI);
258 ApnContext defaultContext = mApnContexts.get(PhoneConstants.APN_TYPE_DEFAULT);
267 apnContext = addApnContext(PhoneConstants.APN_TYPE_FOTA);
270 apnContext = addApnContext(PhoneConstants.APN_TYPE_IMS);
273 apnContext = addApnContext(PhoneConstants.APN_TYPE_CBS);
419 * @return Success is indicated by {@code PhoneConstants.APN_ALREADY_ACTIVE} or
420 PhoneConstants.APN_REQUEST_STARTED}. In the latter case, a
429 return PhoneConstants.APN_TYPE_NOT_AVAILABLE;
437 return PhoneConstants.APN_ALREADY_ACTIVE;
444 return PhoneConstants.APN_REQUEST_STARTED;
457 return PhoneConstants.APN_REQUEST_STARTED;
460 return PhoneConstants.APN_ALREADY_INACTIVE;
467 return PhoneConstants.APN_REQUEST_FAILED;
473 if (type.equals(PhoneConstants.APN_TYPE_DUN) && fetchDunApn() != null) {
557 (mPhone.getState() == PhoneConstants.State.IDLE ||
569 if (mPhone.getState() != PhoneConstants.State.IDLE &&
605 type = PhoneConstants.APN_TYPE_DEFAULT;
671 if (!apnContext.getApnType().equals(PhoneConstants.APN_TYPE_DEFAULT)
689 PhoneConstants.DataState.DISCONNECTED);
720 mRequestedApnType = PhoneConstants.APN_TYPE_DEFAULT;
766 if (PhoneConstants.APN_TYPE_DUN.equals(apnContext.getApnType())) {
844 result[0] = PhoneConstants.APN_TYPE_ALL;
1235 && (!apnContext.getApnType().equals(PhoneConstants.APN_TYPE_DEFAULT))) {
1253 if (PhoneConstants.APN_TYPE_HIPRI.equals(apnType)) return;
1262 if (PhoneConstants.APN_TYPE_DEFAULT.equals(apnType)) {
1264 apnContext = mApnContexts.get(PhoneConstants.APN_TYPE_HIPRI);
1328 if (PhoneConstants.APN_TYPE_DUN.equals(apnType)) {
1551 if(TextUtils.equals(apnContext.getApnType(),PhoneConstants.APN_TYPE_DEFAULT)) {
1883 if (requestedApnType.equals(PhoneConstants.APN_TYPE_DUN)) {
2102 trySetupData(Phone.REASON_PS_RESTRICT_ENABLED, PhoneConstants.APN_TYPE_DEFAULT);
2135 if (TextUtils.equals(apnType, PhoneConstants.APN_TYPE_IMS)) {
2137 } else if (TextUtils.equals(apnType, PhoneConstants.APN_TYPE_FOTA)) {
2139 } else if (TextUtils.equals(apnType, PhoneConstants.APN_TYPE_CBS)) {