Home
last modified time | relevance | path

Searched refs:phoneType (Results 1 – 20 of 20) sorted by relevance

/packages/services/Telephony/src/com/android/phone/
DPhoneUtils.java343 int phoneType = ringing.getPhone().getPhoneType(); in hangupRingingCall() local
613 int phoneType = phone.getPhoneType(); in placeCall() local
624 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in placeCall()
740 int phoneType = cm.getFgPhone().getPhoneType(); in mergeCalls() local
741 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in mergeCalls()
1290 int phoneType = call.getPhone().getPhoneType(); in startGetCallerInfo() local
1291 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in startGetCallerInfo()
1293 } else if ((phoneType == PhoneConstants.PHONE_TYPE_GSM) in startGetCallerInfo()
1294 || (phoneType == PhoneConstants.PHONE_TYPE_SIP) in startGetCallerInfo()
1295 || (phoneType == PhoneConstants.PHONE_TYPE_IMS) in startGetCallerInfo()
[all …]
DSimContacts.java77 final int phoneType; field in SimContacts.NamePhoneTypePair
84 phoneType = Phone.TYPE_WORK; in NamePhoneTypePair()
86 phoneType = Phone.TYPE_MOBILE; in NamePhoneTypePair()
88 phoneType = Phone.TYPE_HOME; in NamePhoneTypePair()
90 phoneType = Phone.TYPE_OTHER; in NamePhoneTypePair()
94 phoneType = Phone.TYPE_OTHER; in NamePhoneTypePair()
143 final int phoneType = namePhoneTypePair.phoneType; in actuallyImportOneSimContact() local
175 builder.withValue(Phone.TYPE, phoneType); in actuallyImportOneSimContact()
DCallNotifier.java329 int phoneType = mCM.getFgPhone().getPhoneType(); in run() local
339 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in run()
343 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM in run()
344 || phoneType == PhoneConstants.PHONE_TYPE_SIP in run()
345 || phoneType == PhoneConstants.PHONE_TYPE_IMS in run()
346 || phoneType == PhoneConstants.PHONE_TYPE_THIRD_PARTY) { in run()
351 throw new IllegalStateException("Unexpected phone type: " + phoneType); in run()
438 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in run()
DMMIDialogActivity.java118 int phoneType = mPhone.getPhoneType(); in onMMIComplete() local
119 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in onMMIComplete()
121 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in onMMIComplete()
DMobileNetworkSettings.java599 final int phoneType = mPhone.getPhoneType(); in updateBody() local
600 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in updateBody()
606 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in updateBody()
609 throw new IllegalStateException("Unexpected phone type: " + phoneType); in updateBody()
626 final int phoneType = mPhone.getPhoneType(); in updateBody() local
627 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in updateBody()
673 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in updateBody()
711 throw new IllegalStateException("Unexpected phone type: " + phoneType); in updateBody()
DCallFeaturesSetting.java265 int phoneType = mPhone.getPhoneType(); in onResume() local
269 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in onResume()
276 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in onResume()
284 throw new IllegalStateException("Unexpected phone type: " + phoneType); in onResume()
DPhoneInterfaceManager.java368 int phoneType = phone.getPhoneType(); in handleMessage() local
369 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in handleMessage()
373 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in handleMessage()
377 throw new IllegalStateException("Unexpected phone type: " + phoneType); in handleMessage()
/packages/apps/EmergencyInfo/src/com/android/emergency/
DEmergencyContactManager.java43 String phoneType = null; in getContact() local
61 phoneType = ContactsContract.CommonDataKinds.Phone.getTypeLabel( in getContact()
92 return new Contact(contactLookupUri, phoneUri, name, phoneNumber, phoneType, photo); in getContact()
144 String phoneType, in Contact() argument
150 mPhoneType = phoneType; in Contact()
/packages/apps/Contacts/src/com/android/contacts/compat/
DTelephonyManagerCompat.java51 final int phoneType = telephonyManager.getPhoneType(); in isVoiceCapable() local
52 return phoneType == TelephonyManager.PHONE_TYPE_CDMA || in isVoiceCapable()
53 phoneType == TelephonyManager.PHONE_TYPE_GSM; in isVoiceCapable()
/packages/apps/Contacts/src/com/android/contacts/
DShortcutIntentBuilder.java300 byte[] bitmapData, String phoneNumber, int phoneType, String phoneLabel, in createPhoneNumberShortcutIntent() argument
313 icon = generatePhoneNumberIcon(drawable, phoneType, phoneLabel, in createPhoneNumberShortcutIntent()
319 icon = generatePhoneNumberIcon(drawable, phoneType, phoneLabel, in createPhoneNumberShortcutIntent()
375 private Bitmap generatePhoneNumberIcon(Drawable photo, int phoneType, String phoneLabel, in generatePhoneNumberIcon() argument
396 CharSequence overlay = Phone.getTypeLabel(r, phoneType, phoneLabel); in generatePhoneNumberIcon()
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DButtonChooserFactory.java39 int voiceNetworkType, boolean isWiFi, int phoneType) { in newButtonChooser() argument
44 if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) { in newButtonChooser()
48 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) { in newButtonChooser()
DInCallFragment.java85 private int phoneType; field in InCallFragment
167 phoneType = getContext().getSystemService(TelephonyManager.class).getPhoneType(); in onCreateView()
316 ButtonChooserFactory.newButtonChooser(voiceNetworkType, primaryCallState.isWifi, phoneType); in setCallState()
439 buttonControllers, buttonChooser, voiceNetworkType, phoneType); in updateButtonStates()
DInCallButtonGridFragment.java93 int phoneType) { in updateButtonStates() argument
111 ButtonChooserFactory.newButtonChooser(voiceNetworkType, false /* isWiFi */, phoneType); in updateButtonStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSmsPdu.java478 int phoneType; in getSubmitPdus() local
495 phoneType = (activePhone == PHONE_TYPE_CDMA) ? SMS_TYPE_CDMA : SMS_TYPE_GSM; in getSubmitPdus()
506 newPdu = new SmsPdu(data, encoding, phoneType, languageTable); in getSubmitPdus()
538 if(phoneType == SMS_TYPE_GSM){ in getSubmitPdus()
555 newPdu = new SmsPdu(data, encoding, phoneType, languageTable); in getSubmitPdus()
DBluetoothMapContent.java1946 int phoneType = fi.mPhoneType; in smsSelected() local
1958 && (phoneType == TelephonyManager.PHONE_TYPE_GSM)) in smsSelected()
1962 && (phoneType == TelephonyManager.PHONE_TYPE_CDMA)) in smsSelected()
/packages/apps/Dialer/java/com/android/contacts/common/compat/
DTelephonyManagerCompat.java71 final int phoneType = telephonyManager.getPhoneType(); in isVoiceCapable() local
72 return phoneType == TelephonyManager.PHONE_TYPE_CDMA in isVoiceCapable()
73 || phoneType == TelephonyManager.PHONE_TYPE_GSM; in isVoiceCapable()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipConnection.java330 int phoneType = PhoneConstants.PHONE_TYPE_SIP; in setTechnologyTypeExtra() local
333 b.putInt(TelecomManager.EXTRA_CALL_TECHNOLOGY_TYPE, phoneType); in setTechnologyTypeExtra()
336 getExtras().putInt(TelecomManager.EXTRA_CALL_TECHNOLOGY_TYPE, phoneType); in setTechnologyTypeExtra()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java964 int phoneType = phone.getPhoneType(); in createConnectionFor() local
965 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) { in createConnectionFor()
967 } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) { in createConnectionFor()
1196 int phoneType = connection.getCall().getPhone().getPhoneType(); in addConnectionToConferenceController() local
1197 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) { in addConnectionToConferenceController()
1203 } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA && in addConnectionToConferenceController()
/packages/apps/Contacts/src/com/android/contacts/editor/
DRawContactEditorView.java677 CharSequence phoneType = null; in addReadOnlyRawContactEditorViews() local
679 phoneType = Phone.getTypeLabel( in addReadOnlyRawContactEditorViews()
682 bindData(phoneDrawable, phoneContentDescription, formattedNumber, phoneType, in addReadOnlyRawContactEditorViews()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java783 final String phoneType = String.valueOf(mMimeTypeIdPhone); in buildPhoneMatchingSql() local
792 " WHERE d1." + DataColumns.MIMETYPE_ID + " = " + phoneType + in buildPhoneMatchingSql()
793 " AND d2." + DataColumns.MIMETYPE_ID + " = " + phoneType + in buildPhoneMatchingSql()