Home
last modified time | relevance | path

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

/packages/apps/Phone/src/com/android/phone/
DPhoneUtils.java364 int phoneType = ringing.getPhone().getPhoneType(); in hangupRingingCall() local
378 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in hangupRingingCall()
640 int phoneType = phone.getPhoneType(); in placeCall() local
644 if (phoneType == PhoneConstants.PHONE_TYPE_GSM && gatewayUri == null) { in placeCall()
651 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in placeCall()
656 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in placeCall()
792 int phoneType = phone.getPhoneType(); in restoreMuteState() local
801 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in restoreMuteState()
804 } else if ((phoneType == PhoneConstants.PHONE_TYPE_GSM) in restoreMuteState()
805 || (phoneType == PhoneConstants.PHONE_TYPE_SIP)) { in restoreMuteState()
[all …]
DCallCard.java369 int phoneType = phone.getPhoneType(); in updateForegroundCall() local
370 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in updateForegroundCall()
380 } else if ((phoneType == PhoneConstants.PHONE_TYPE_GSM) in updateForegroundCall()
381 || (phoneType == PhoneConstants.PHONE_TYPE_SIP)) { in updateForegroundCall()
531 int phoneType = call.getPhone().getPhoneType(); in displayMainCallStatus() local
532 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in displayMainCallStatus()
534 } else if ((phoneType == PhoneConstants.PHONE_TYPE_GSM) in displayMainCallStatus()
535 || (phoneType == PhoneConstants.PHONE_TYPE_SIP)) { in displayMainCallStatus()
538 throw new IllegalStateException("Unexpected phone type: " + phoneType); in displayMainCallStatus()
567 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in displayMainCallStatus()
[all …]
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()
DBluetoothPhoneService.java349 int phoneType = phone.getPhoneType(); in handleListCurrentCalls() local
353 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in handleListCurrentCalls()
355 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in handleListCurrentCalls()
358 Log.e(TAG, "Unexpected phone type: " + phoneType); in handleListCurrentCalls()
735 int phoneType = phone.getPhoneType();
746 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
759 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) {
763 Log.e(TAG, "bad phone type: " + phoneType);
767 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
791 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) {
[all …]
DInCallTouchUi.java454 int phoneType = cm.getActiveFgCall().getPhone().getPhoneType(); in updateInCallControls() local
484 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in updateInCallControls()
489 } else if ((phoneType == PhoneConstants.PHONE_TYPE_GSM) in updateInCallControls()
490 || (phoneType == PhoneConstants.PHONE_TYPE_SIP)) { in updateInCallControls()
495 throw new IllegalStateException("Unexpected phone type: " + phoneType); in updateInCallControls()
510 if ((phoneType == PhoneConstants.PHONE_TYPE_GSM) in updateInCallControls()
511 || (phoneType == PhoneConstants.PHONE_TYPE_SIP)) { in updateInCallControls()
519 } else if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in updateInCallControls()
524 throw new IllegalStateException("Unexpected phone type: " + phoneType); in updateInCallControls()
591 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in updateInCallControls()
[all …]
DInCallScreen.java1341 int phoneType = mPhone.getPhoneType(); in handleCallKey() local
1342 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in handleCallKey()
1365 } else if ((phoneType == PhoneConstants.PHONE_TYPE_GSM) in handleCallKey()
1366 || (phoneType == PhoneConstants.PHONE_TYPE_SIP)) { in handleCallKey()
1407 throw new IllegalStateException("Unexpected phone type: " + phoneType); in handleCallKey()
2045 int phoneType = mPhone.getPhoneType(); in onMMIComplete() local
2046 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in onMMIComplete()
2048 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in onMMIComplete()
2398 int phoneType = mCM.getFgPhone().getPhoneType(); in updateScreen() local
2399 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in updateScreen()
[all …]
DPhoneInterfaceManager.java152 int phoneType = mPhone.getPhoneType(); in handleMessage() local
153 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in handleMessage()
157 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in handleMessage()
161 throw new IllegalStateException("Unexpected phone type: " + phoneType); in handleMessage()
DMobileNetworkSettings.java242 int phoneType = mPhone.getPhoneType(); in onCreate() local
243 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in onCreate()
259 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in onCreate()
262 throw new IllegalStateException("Unexpected phone type: " + phoneType); in onCreate()
DCallNotifier.java1410 int phoneType = mCM.getFgPhone().getPhoneType(); in run() local
1420 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in run()
1424 } else if ((phoneType == PhoneConstants.PHONE_TYPE_GSM) in run()
1425 || (phoneType == PhoneConstants.PHONE_TYPE_SIP)) { in run()
1430 throw new IllegalStateException("Unexpected phone type: " + phoneType); in run()
1535 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in run()
DCallFeaturesSetting.java1590 int phoneType = mPhone.getPhoneType(); in onCreate() local
1591 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in onCreate()
1598 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in onCreate()
1601 throw new IllegalStateException("Unexpected phone type: " + phoneType); in onCreate()
DPhoneGlobals.java465 int phoneType = phone.getPhoneType(); in onCreate() local
467 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in onCreate()
/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/apps/Contacts/src/com/android/contacts/editor/
DRawContactReadOnlyEditorView.java208 final CharSequence phoneType; in setState() local
210 phoneType = Phone.getTypeLabel( in setState()
213 phoneType = null; in setState()
216 phoneNumber, phoneType, i == 0); in setState() local
/packages/apps/Contacts/src/com/android/contacts/list/
DShortcutIntentBuilder.java290 String phoneNumber, int phoneType, String phoneLabel, String shortcutAction) { in createPhoneNumberShortcutIntent() argument
297 bitmap = generatePhoneNumberIcon(bitmap, phoneType, phoneLabel, in createPhoneNumberShortcutIntent()
301 bitmap = generatePhoneNumberIcon(bitmap, phoneType, phoneLabel, in createPhoneNumberShortcutIntent()
357 private Bitmap generatePhoneNumberIcon(Bitmap photo, int phoneType, String phoneLabel, in generatePhoneNumberIcon() argument
380 CharSequence overlay = Phone.getTypeLabel(r, phoneType, phoneLabel); in generatePhoneNumberIcon()
/packages/apps/Contacts/src/com/android/contacts/
DSpecialCharSequenceMgr.java241 int phoneType = telephonyManager.getCurrentPhoneType(); in handleIMEIDisplay() local
242 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) { in handleIMEIDisplay()
245 } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) { in handleIMEIDisplay()
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/
DCallLogFragmentTest.java349 private CharSequence getTypeLabel(int phoneType) { in getTypeLabel() argument
350 return Phone.getTypeLabel(getActivity().getResources(), phoneType, ""); in getTypeLabel()