Home
last modified time | relevance | path

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

/packages/services/Telephony/src/com/android/phone/
DPhoneUtils.java356 int phoneType = ringing.getPhone().getPhoneType(); in hangupRingingCall() local
626 int phoneType = phone.getPhoneType(); in placeCall() local
637 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in placeCall()
767 int phoneType = cm.getFgPhone().getPhoneType(); in mergeCalls() local
768 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in mergeCalls()
1316 int phoneType = call.getPhone().getPhoneType(); in startGetCallerInfo() local
1317 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in startGetCallerInfo()
1319 } else if ((phoneType == PhoneConstants.PHONE_TYPE_GSM) in startGetCallerInfo()
1320 || (phoneType == PhoneConstants.PHONE_TYPE_SIP) in startGetCallerInfo()
1321 || (phoneType == PhoneConstants.PHONE_TYPE_IMS) in startGetCallerInfo()
[all …]
DSimContacts.java74 final int phoneType; field in SimContacts.NamePhoneTypePair
81 phoneType = Phone.TYPE_WORK; in NamePhoneTypePair()
83 phoneType = Phone.TYPE_MOBILE; in NamePhoneTypePair()
85 phoneType = Phone.TYPE_HOME; in NamePhoneTypePair()
87 phoneType = Phone.TYPE_OTHER; in NamePhoneTypePair()
91 phoneType = Phone.TYPE_OTHER; in NamePhoneTypePair()
140 final int phoneType = namePhoneTypePair.phoneType; in actuallyImportOneSimContact() local
172 builder.withValue(Phone.TYPE, phoneType); in actuallyImportOneSimContact()
DCallNotifier.java687 int phoneType = mCM.getFgPhone().getPhoneType(); in run() local
697 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in run()
701 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM in run()
702 || phoneType == PhoneConstants.PHONE_TYPE_SIP in run()
703 || phoneType == PhoneConstants.PHONE_TYPE_IMS in run()
704 || phoneType == PhoneConstants.PHONE_TYPE_THIRD_PARTY) { in run()
709 throw new IllegalStateException("Unexpected phone type: " + phoneType); in run()
808 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in run()
DMMIDialogActivity.java92 int phoneType = mPhone.getPhoneType(); in onMMIComplete() local
93 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in onMMIComplete()
95 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in onMMIComplete()
DMobileNetworkSettings.java562 final int phoneType = mPhone.getPhoneType(); in updateBody() local
563 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in updateBody()
609 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in updateBody()
642 throw new IllegalStateException("Unexpected phone type: " + phoneType); in updateBody()
DCallFeaturesSetting.java1261 int phoneType = mPhone.getPhoneType(); in onResume() local
1271 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in onResume()
1277 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in onResume()
1293 throw new IllegalStateException("Unexpected phone type: " + phoneType); in onResume()
DPhoneInterfaceManager.java258 int phoneType = getPhone(end_subId).getPhoneType(); in handleMessage() local
259 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in handleMessage()
263 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in handleMessage()
267 throw new IllegalStateException("Unexpected phone type: " + phoneType); in handleMessage()
/packages/apps/VoiceDialer/src/com/android/voicedialer/
DCommandRecognizerEngine.java1024 String phoneType = null; in onRecognitionSuccess() local
1027 phoneType = null; in onRecognitionSuccess()
1030 phoneType = "H"; in onRecognitionSuccess()
1033 phoneType = "M"; in onRecognitionSuccess()
1036 phoneType = "W"; in onRecognitionSuccess()
1039 phoneType = "O"; in onRecognitionSuccess()
1045 literal + phoneIdMsg, phoneType, 0); in onRecognitionSuccess()
1208 String phoneType, int flags) { in addCallIntent() argument
1212 .putExtra(PHONE_TYPE_EXTRA, phoneType); in addCallIntent()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java367 int phoneType = phone.getPhoneType(); in createConnectionFor() local
368 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) { in createConnectionFor()
370 } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) { in createConnectionFor()
500 int phoneType = connection.getCall().getPhone().getPhoneType(); in addConnectionToConferenceController() local
501 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) { in addConnectionToConferenceController()
504 } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA && in addConnectionToConferenceController()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DShortcutIntentBuilder.java302 byte[] bitmapData, String phoneNumber, int phoneType, String phoneLabel, in createPhoneNumberShortcutIntent() argument
311 bitmap = generatePhoneNumberIcon(drawable, phoneType, phoneLabel, in createPhoneNumberShortcutIntent()
315 bitmap = generatePhoneNumberIcon(drawable, phoneType, phoneLabel, in createPhoneNumberShortcutIntent()
359 private Bitmap generatePhoneNumberIcon(Drawable photo, int phoneType, String phoneLabel, in generatePhoneNumberIcon() argument
377 CharSequence overlay = Phone.getTypeLabel(r, phoneType, phoneLabel); in generatePhoneNumberIcon()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSmsPdu.java483 int phoneType; in getSubmitPdus() local
500 phoneType = (activePhone == PHONE_TYPE_CDMA) ? SMS_TYPE_CDMA : SMS_TYPE_GSM; in getSubmitPdus()
511 newPdu = new SmsPdu(data, encoding, phoneType, languageTable); in getSubmitPdus()
543 if(phoneType == SMS_TYPE_GSM){ in getSubmitPdus()
560 newPdu = new SmsPdu(data, encoding, phoneType, languageTable); in getSubmitPdus()
DBluetoothMapContent.java1149 int phoneType = fi.mPhoneType; in smsSelected() local
1159 if (((msgType & 0x01) == 0) && (phoneType == TelephonyManager.PHONE_TYPE_GSM)) in smsSelected()
1162 if (((msgType & 0x02) == 0) && (phoneType == TelephonyManager.PHONE_TYPE_CDMA)) in smsSelected()
/packages/apps/Contacts/src/com/android/contacts/editor/
DRawContactReadOnlyEditorView.java187 CharSequence phoneType = null; in setState() local
189 phoneType = Phone.getTypeLabel( in setState()
192 bindData(phoneDrawable, phoneContentDescription, formattedNumber, phoneType, in setState()
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
DCallLogFragmentTest.java358 private CharSequence getTypeLabel(int phoneType) { in getTypeLabel() argument
359 return Phone.getTypeLabel(getActivity().getResources(), phoneType, ""); in getTypeLabel()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java1063 final String phoneType = String.valueOf(mMimeTypeIdPhone); in buildPhoneMatchingSql() local
1072 " WHERE d1." + DataColumns.MIMETYPE_ID + " = " + phoneType + in buildPhoneMatchingSql()
1073 " AND d2." + DataColumns.MIMETYPE_ID + " = " + phoneType + in buildPhoneMatchingSql()