Home
last modified time | relevance | path

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

/packages/services/Telephony/src/com/android/phone/
DSimContacts.java76 final int phoneType; field in SimContacts.NamePhoneTypePair
83 phoneType = Phone.TYPE_WORK; in NamePhoneTypePair()
85 phoneType = Phone.TYPE_MOBILE; in NamePhoneTypePair()
87 phoneType = Phone.TYPE_HOME; in NamePhoneTypePair()
89 phoneType = Phone.TYPE_OTHER; in NamePhoneTypePair()
93 phoneType = Phone.TYPE_OTHER; in NamePhoneTypePair()
142 final int phoneType = namePhoneTypePair.phoneType; in actuallyImportOneSimContact() local
174 builder.withValue(Phone.TYPE, phoneType); in actuallyImportOneSimContact()
DCallNotifier.java320 int phoneType = mCM.getFgPhone().getPhoneType(); in run() local
330 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in run()
334 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM in run()
335 || phoneType == PhoneConstants.PHONE_TYPE_SIP in run()
336 || phoneType == PhoneConstants.PHONE_TYPE_IMS in run()
337 || phoneType == PhoneConstants.PHONE_TYPE_THIRD_PARTY) { in run()
342 throw new IllegalStateException("Unexpected phone type: " + phoneType); in run()
429 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in run()
DMMIDialogActivity.java122 int phoneType = mPhone.getPhoneType(); in onMMIComplete() local
123 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in onMMIComplete()
125 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in onMMIComplete()
DCallFeaturesSetting.java405 int phoneType = mPhone.getPhoneType(); in onResume() local
409 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in onResume()
418 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in onResume()
429 throw new IllegalStateException("Unexpected phone type: " + phoneType); in onResume()
DPhoneUtils.java184 int phoneType = phone.getPhoneType(); in placeOtaspCall() local
190 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in placeOtaspCall()
/packages/apps/Dialer/java/com/android/dialer/speeddial/
DFavoritesViewHolder.java46 private final TextView phoneType; field in FavoritesViewHolder
57 phoneType = view.findViewById(R.id.phone_type); in FavoritesViewHolder()
81 phoneType.setText(channel.label()); in bind()
84 phoneType.setText(""); in bind()
129 phoneType.setVisibility(selected ? View.GONE : View.VISIBLE); in onSelectedChanged()
/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/Settings/src/com/android/settings/deviceinfo/imei/
DImeiInfoPreferenceController.java103 final int phoneType = getPhoneType(simSlot); in getSummary() local
104 return phoneType == PHONE_TYPE_CDMA ? mTelephonyManager.getMeid(simSlot) in getSummary()
151 final int phoneType = getPhoneType(simSlot); in getTitle() local
152 return phoneType == PHONE_TYPE_CDMA ? getTitleForCdmaPhone(simSlot) in getTitle()
/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/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.java95 private int phoneType; field in InCallFragment
183 phoneType = getContext().getSystemService(TelephonyManager.class).getPhoneType(); in onCreateView()
347 voiceNetworkType, primaryCallState.isWifi(), phoneType); in setCallState()
479 buttonControllers, buttonChooser, voiceNetworkType, phoneType); in updateButtonStates()
DInCallButtonGridFragment.java94 int phoneType) { in updateButtonStates() argument
112 ButtonChooserFactory.newButtonChooser(voiceNetworkType, false /* isWiFi */, phoneType); in updateButtonStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSmsPdu.java524 int phoneType; in getSubmitPdus() local
540 phoneType = (activePhone == PHONE_TYPE_CDMA) ? SMS_TYPE_CDMA : SMS_TYPE_GSM; in getSubmitPdus()
553 newPdu = new SmsPdu(data, encoding, phoneType, languageTable); in getSubmitPdus()
559 data = SmsMessage.getSubmitPduEncodedMessage(phoneType == SMS_TYPE_GSM, in getSubmitPdus()
562 newPdu = new SmsPdu(data, encoding, phoneType, languageTable); in getSubmitPdus()
DBluetoothMapContent.java2084 int phoneType = fi.mPhoneType; in smsSelected() local
2099 if (((msgType & BluetoothMapAppParams.FILTER_NO_SMS_GSM) == 0) && (phoneType in smsSelected()
2104 if (((msgType & BluetoothMapAppParams.FILTER_NO_SMS_CDMA) == 0) && (phoneType in smsSelected()
/packages/apps/Contacts/src/com/android/contacts/
DShortcutIntentBuilder.java314 byte[] bitmapData, String phoneNumber, int phoneType, String phoneLabel, in createPhoneNumberShortcutIntent() argument
327 icon = generatePhoneNumberIcon(drawable, phoneType, phoneLabel, in createPhoneNumberShortcutIntent()
333 icon = generatePhoneNumberIcon(drawable, phoneType, phoneLabel, in createPhoneNumberShortcutIntent()
402 private Bitmap generatePhoneNumberIcon(Drawable photo, int phoneType, String phoneLabel, in generatePhoneNumberIcon() argument
423 CharSequence overlay = Phone.getTypeLabel(r, phoneType, phoneLabel); in generatePhoneNumberIcon()
/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/apps/Dialer/java/com/android/dialer/speeddial/database/
DSpeedDialEntry.java106 public abstract int phoneType(); in phoneType() method in SpeedDialEntry.Channel
125 public abstract Builder setPhoneType(int phoneType); in setPhoneType() argument
DSpeedDialEntryDatabaseHelper.java251 values.put(PHONE_TYPE, entry.defaultChannel().phoneType()); in buildContentValues()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DCp2Contact.java30 public abstract int phoneType(); in phoneType() method in Cp2Contact
116 row[Projections.PHONE_TYPE] = phoneType(); in toCursorRow()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DEnabledNetworkModePreferenceController.java399 final int phoneType = mTelephonyManager.getPhoneType(); in getEnabledNetworkType() local
402 if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) { in getEnabledNetworkType()
432 } else if (phoneType == TelephonyManager.PHONE_TYPE_GSM) { in getEnabledNetworkType()
/packages/apps/Contacts/src/com/android/contacts/editor/
DRawContactEditorView.java684 CharSequence phoneType = null; in addReadOnlyRawContactEditorViews() local
686 phoneType = Phone.getTypeLabel( in addReadOnlyRawContactEditorViews()
689 bindData(phoneDrawable, phoneContentDescription, formattedNumber, phoneType, in addReadOnlyRawContactEditorViews()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java1860 int phoneType = phone.getPhoneType(); in createConnectionFor() local
1863 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) { in createConnectionFor()
1865 } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) { in createConnectionFor()
2322 int phoneType = connection.getCall().getPhone().getPhoneType(); in addConnectionToConferenceController() local
2323 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) { in addConnectionToConferenceController()
2329 } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA && in addConnectionToConferenceController()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DEnabledNetworkModePreferenceControllerTest.java477 private void mockPhoneType(int phoneType) { in mockPhoneType() argument
478 doReturn(phoneType).when(mTelephonyManager).getPhoneType(); in mockPhoneType()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java784 final String phoneType = String.valueOf(mMimeTypeIdPhone); in buildPhoneMatchingSql() local
793 " WHERE d1." + DataColumns.MIMETYPE_ID + " = " + phoneType + in buildPhoneMatchingSql()
794 " AND d2." + DataColumns.MIMETYPE_ID + " = " + phoneType + in buildPhoneMatchingSql()