Home | History | Annotate | Download | only in phone

Lines Matching refs:PhoneConstants

61 import com.android.internal.telephony.PhoneConstants;
219 final boolean phoneIsCdma = (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA);
597 final boolean initiallyIdle = app.mCM.getState() == PhoneConstants.State.IDLE;
624 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
692 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
741 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
1290 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
1292 } else if ((phoneType == PhoneConstants.PHONE_TYPE_GSM)
1293 || (phoneType == PhoneConstants.PHONE_TYPE_SIP)
1294 || (phoneType == PhoneConstants.PHONE_TYPE_IMS)
1295 || (phoneType == PhoneConstants.PHONE_TYPE_THIRD_PARTY)) {
1395 case PhoneConstants.PHONE_TYPE_NONE: log(" ==> PHONE_TYPE_NONE"); break;
1396 case PhoneConstants.PHONE_TYPE_GSM: log(" ==> PHONE_TYPE_GSM"); break;
1397 case PhoneConstants.PHONE_TYPE_IMS: log(" ==> PHONE_TYPE_IMS"); break;
1398 case PhoneConstants.PHONE_TYPE_CDMA: log(" ==> PHONE_TYPE_CDMA"); break;
1399 case PhoneConstants.PHONE_TYPE_SIP: log(" ==> PHONE_TYPE_SIP"); break;
1400 case PhoneConstants.PHONE_TYPE_THIRD_PARTY:
1436 if (cit.currentInfo.numberPresentation != PhoneConstants.PRESENTATION_ALLOWED) {
1513 if (cit.currentInfo.numberPresentation != PhoneConstants.PRESENTATION_ALLOWED) {
1647 if (ci != null && ci.numberPresentation == PhoneConstants.PRESENTATION_RESTRICTED) {
1649 } else if (ci != null && ci.numberPresentation == PhoneConstants.PRESENTATION_PAYPHONE) {
1683 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
1970 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
1976 } else if ((phoneType == PhoneConstants.PHONE_TYPE_GSM)
1977 || (phoneType == PhoneConstants.PHONE_TYPE_SIP)
1978 || (phoneType == PhoneConstants.PHONE_TYPE_IMS)
1979 || (phoneType == PhoneConstants.PHONE_TYPE_THIRD_PARTY)) {
1999 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
2030 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
2037 } else if ((phoneType == PhoneConstants.PHONE_TYPE_GSM)
2038 || (phoneType == PhoneConstants.PHONE_TYPE_SIP)
2039 || (phoneType == PhoneConstants.PHONE_TYPE_IMS)
2040 || (phoneType == PhoneConstants.PHONE_TYPE_THIRD_PARTY)) {
2071 return PhoneConstants.PRESENTATION_RESTRICTED;
2077 return PhoneConstants.PRESENTATION_UNKNOWN;
2111 && presentation == PhoneConstants.PRESENTATION_ALLOWED) {
2113 ci.numberPresentation = PhoneConstants.PRESENTATION_UNKNOWN;
2121 if (ci.numberPresentation == PhoneConstants.PRESENTATION_ALLOWED
2123 && presentation == PhoneConstants.PRESENTATION_ALLOWED)) {
2127 if (cnapSpecialCase == PhoneConstants.PRESENTATION_RESTRICTED) {
2129 } else if (cnapSpecialCase == PhoneConstants.PRESENTATION_UNKNOWN) {
2220 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_SIP) {
2243 if (presentation == PhoneConstants.PRESENTATION_RESTRICTED) {
2245 } else if (presentation == PhoneConstants.PRESENTATION_PAYPHONE) {
2314 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {