Lines Matching refs:PhoneConstants
57 import com.android.internal.telephony.PhoneConstants;
231 if (cm.getState() != PhoneConstants.State.IDLE) {
278 final boolean phoneIsCdma = (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA);
451 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
711 final boolean initiallyIdle = app.mCM.getState() == PhoneConstants.State.IDLE;
731 if (phoneType == PhoneConstants.PHONE_TYPE_GSM && gatewayUri == null) {
743 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
830 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
855 if (mApp.mCM.getBgPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
909 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
912 } else if ((phoneType == PhoneConstants.PHONE_TYPE_GSM)
913 || (phoneType == PhoneConstants.PHONE_TYPE_SIP)) {
934 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
1476 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
1478 } else if ((phoneType == PhoneConstants.PHONE_TYPE_GSM)
1479 || (phoneType == PhoneConstants.PHONE_TYPE_SIP)) {
1579 case PhoneConstants.PHONE_TYPE_NONE: log(" ==> PHONE_TYPE_NONE"); break;
1580 case PhoneConstants.PHONE_TYPE_GSM: log(" ==> PHONE_TYPE_GSM"); break;
1581 case PhoneConstants.PHONE_TYPE_CDMA: log(" ==> PHONE_TYPE_CDMA"); break;
1582 case PhoneConstants.PHONE_TYPE_SIP: log(" ==> PHONE_TYPE_SIP"); break;
1616 if (cit.currentInfo.numberPresentation != PhoneConstants.PRESENTATION_ALLOWED) {
1693 if (cit.currentInfo.numberPresentation != PhoneConstants.PRESENTATION_ALLOWED) {
1827 if (ci != null && ci.numberPresentation == PhoneConstants.PRESENTATION_RESTRICTED) {
1829 } else if (ci != null && ci.numberPresentation == PhoneConstants.PRESENTATION_PAYPHONE) {
1863 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
2178 if (phone.getState() == PhoneConstants.State.IDLE) {
2200 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
2202 } else if ((phoneType == PhoneConstants.PHONE_TYPE_GSM)
2203 || (phoneType == PhoneConstants.PHONE_TYPE_SIP)) {
2340 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
2346 } else if ((phoneType == PhoneConstants.PHONE_TYPE_GSM)
2347 || (phoneType == PhoneConstants.PHONE_TYPE_SIP)) {
2367 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
2398 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
2405 } else if ((phoneType == PhoneConstants.PHONE_TYPE_GSM)
2406 || (phoneType == PhoneConstants.PHONE_TYPE_SIP)) {
2437 return PhoneConstants.PRESENTATION_RESTRICTED;
2443 return PhoneConstants.PRESENTATION_UNKNOWN;
2477 && presentation == PhoneConstants.PRESENTATION_ALLOWED) {
2479 ci.numberPresentation = PhoneConstants.PRESENTATION_UNKNOWN;
2487 if (ci.numberPresentation == PhoneConstants.PRESENTATION_ALLOWED
2489 && presentation == PhoneConstants.PRESENTATION_ALLOWED)) {
2493 if (cnapSpecialCase == PhoneConstants.PRESENTATION_RESTRICTED) {
2495 } else if (cnapSpecialCase == PhoneConstants.PRESENTATION_UNKNOWN) {
2613 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_SIP) {
2651 if (presentation == PhoneConstants.PRESENTATION_RESTRICTED) {
2653 } else if (presentation == PhoneConstants.PRESENTATION_PAYPHONE) {
2722 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {