Home
last modified time | relevance | path

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

/packages/apps/Phone/src/com/android/phone/
DInCallControlState.java101 int phoneType = mPhone.getPhoneType(); in update() local
102 if (phoneType == Phone.PHONE_TYPE_GSM) { in update()
109 } else if (phoneType == Phone.PHONE_TYPE_CDMA) { in update()
114 throw new IllegalStateException("Unexpected phone type: " + phoneType); in update()
141 if (phoneType == Phone.PHONE_TYPE_CDMA) { in update()
153 } else if (phoneType == Phone.PHONE_TYPE_GSM) { in update()
167 if (phoneType == Phone.PHONE_TYPE_GSM) { in update()
177 } else if (phoneType == Phone.PHONE_TYPE_CDMA) { in update()
DCallCard.java279 int phoneType = phone.getPhoneType(); in updateForegroundCall() local
280 if (phoneType == Phone.PHONE_TYPE_CDMA) { in updateForegroundCall()
290 } else if (phoneType == Phone.PHONE_TYPE_GSM) { in updateForegroundCall()
415 int phoneType = phone.getPhoneType(); in displayMainCallStatus() local
416 if (phoneType == Phone.PHONE_TYPE_CDMA) { in displayMainCallStatus()
418 } else if (phoneType == Phone.PHONE_TYPE_GSM) { in displayMainCallStatus()
421 throw new IllegalStateException("Unexpected phone type: " + phoneType); in displayMainCallStatus()
449 if (phoneType == Phone.PHONE_TYPE_CDMA) { in displayMainCallStatus()
598 int phoneType = mApplication.phone.getPhoneType(); in updateCardTitleWidgets() local
599 if (phoneType == Phone.PHONE_TYPE_CDMA) { in updateCardTitleWidgets()
[all …]
DPhoneUtils.java337 int phoneType = phone.getPhoneType(); in hangupRingingCall() local
339 if (phoneType == Phone.PHONE_TYPE_CDMA) { in hangupRingingCall()
359 } else if (phoneType == Phone.PHONE_TYPE_GSM) { in hangupRingingCall()
365 throw new IllegalStateException("Unexpected phone type: " + phoneType); in hangupRingingCall()
506 int phoneType = phone.getPhoneType(); in placeCall() local
510 if (phoneType == Phone.PHONE_TYPE_GSM) { in placeCall()
528 if (phoneType == Phone.PHONE_TYPE_CDMA) { in placeCall()
693 int phoneType = phone.getPhoneType(); in restoreMuteState() local
702 if (phoneType == Phone.PHONE_TYPE_CDMA) { in restoreMuteState()
705 } else if (phoneType == Phone.PHONE_TYPE_GSM) { in restoreMuteState()
[all …]
DInCallMenu.java217 int phoneType = app.phone.getPhoneType(); in initMenu() local
218 if (phoneType == Phone.PHONE_TYPE_GSM) { in initMenu()
233 if (phoneType == Phone.PHONE_TYPE_CDMA) { in initMenu()
236 } else if (phoneType == Phone.PHONE_TYPE_GSM) { in initMenu()
241 throw new IllegalStateException("Unexpected phone type: " + phoneType); in initMenu()
324 int phoneType = phone.getPhoneType(); in updateItems() local
326 if (phoneType == Phone.PHONE_TYPE_CDMA) { in updateItems()
335 } else if (phoneType == Phone.PHONE_TYPE_GSM) { in updateItems()
347 throw new IllegalStateException("Unexpected phone type: " + phoneType); in updateItems()
DSimContacts.java72 final int phoneType; field in SimContacts.NamePhoneTypePair
79 phoneType = Phone.TYPE_WORK; in NamePhoneTypePair()
81 phoneType = Phone.TYPE_MOBILE; in NamePhoneTypePair()
83 phoneType = Phone.TYPE_HOME; in NamePhoneTypePair()
85 phoneType = Phone.TYPE_OTHER; in NamePhoneTypePair()
89 phoneType = Phone.TYPE_OTHER; in NamePhoneTypePair()
142 final int phoneType = namePhoneTypePair.phoneType; in actuallyImportOneSimContact() local
191 builder.withValue(Phone.TYPE, phoneType); in actuallyImportOneSimContact()
DInCallTouchUi.java321 int phoneType = phone.getPhoneType(); in updateInCallControls() local
344 if (phoneType == Phone.PHONE_TYPE_CDMA) { in updateInCallControls()
349 } else if (phoneType == Phone.PHONE_TYPE_GSM) { in updateInCallControls()
354 throw new IllegalStateException("Unexpected phone type: " + phoneType); in updateInCallControls()
369 if (phoneType == Phone.PHONE_TYPE_GSM) { in updateInCallControls()
377 } else if (phoneType == Phone.PHONE_TYPE_CDMA) { in updateInCallControls()
382 throw new IllegalStateException("Unexpected phone type: " + phoneType); in updateInCallControls()
460 if (phoneType == Phone.PHONE_TYPE_CDMA) { in updateInCallControls()
DDTMFTwelveKeyDialer.java933 int phoneType = mPhone.getPhoneType(); in startTone() local
934 if (phoneType == Phone.PHONE_TYPE_GSM) { in startTone()
936 } else if (phoneType == Phone.PHONE_TYPE_CDMA) { in startTone()
939 throw new IllegalStateException("Unexpected phone type: " + phoneType); in startTone()
947 int phoneType = mPhone.getPhoneType(); in stopTone() local
948 if (phoneType == Phone.PHONE_TYPE_GSM) { in stopTone()
950 } else if (phoneType == Phone.PHONE_TYPE_CDMA) { in stopTone()
956 throw new IllegalStateException("Unexpected phone type: " + phoneType); in stopTone()
DSpecialCharSequenceMgr.java176 int phoneType = PhoneApp.getInstance().phone.getPhoneType(); in handleIMEIDisplay() local
177 if (phoneType == Phone.PHONE_TYPE_CDMA) { in handleIMEIDisplay()
180 } else if (phoneType == Phone.PHONE_TYPE_GSM) { in handleIMEIDisplay()
DInCallScreen.java414 int phoneType = mPhone.getPhoneType();
415 if (phoneType == Phone.PHONE_TYPE_CDMA) {
417 } else if (phoneType == Phone.PHONE_TYPE_GSM) {
1059 int phoneType = mPhone.getPhoneType(); in registerForPhoneStates() local
1060 if (phoneType == Phone.PHONE_TYPE_GSM) { in registerForPhoneStates()
1069 } else if (phoneType == Phone.PHONE_TYPE_CDMA) { in registerForPhoneStates()
1073 throw new IllegalStateException("Unexpected phone type: " + phoneType); in registerForPhoneStates()
1078 if (phoneType == Phone.PHONE_TYPE_CDMA) { in registerForPhoneStates()
1356 int phoneType = mPhone.getPhoneType(); in handleCallKey() local
1357 if (phoneType == Phone.PHONE_TYPE_CDMA) { in handleCallKey()
[all …]
DOutgoingCallBroadcaster.java98 int phoneType = app.phone.getPhoneType(); in doReceive() local
99 if (phoneType == Phone.PHONE_TYPE_CDMA) { in doReceive()
127 } else if ((phoneType == Phone.PHONE_TYPE_CDMA) in doReceive()
DSettings.java185 int phoneType = mPhone.getPhoneType(); in onCreate() local
186 if (phoneType == Phone.PHONE_TYPE_CDMA) { in onCreate()
191 } else if (phoneType == Phone.PHONE_TYPE_GSM) { in onCreate()
195 throw new IllegalStateException("Unexpected phone type: " + phoneType); in onCreate()
DBluetoothHandsfree.java1757 int phoneType = mPhone.getPhoneType(); in initializeHandsfreeAtParser()
1758 if (phoneType == Phone.PHONE_TYPE_CDMA) { in initializeHandsfreeAtParser()
1760 } else if (phoneType == Phone.PHONE_TYPE_GSM) { in initializeHandsfreeAtParser()
1763 throw new IllegalStateException("Unexpected phone type: " + phoneType); in initializeHandsfreeAtParser()
1772 int phoneType = mPhone.getPhoneType(); in initializeHandsfreeAtParser()
1787 if (phoneType == Phone.PHONE_TYPE_CDMA) { in initializeHandsfreeAtParser()
1804 } else if (phoneType == Phone.PHONE_TYPE_GSM) { in initializeHandsfreeAtParser()
1812 throw new IllegalStateException("Unexpected phone type: " + phoneType); in initializeHandsfreeAtParser()
1815 if (phoneType == Phone.PHONE_TYPE_CDMA) { in initializeHandsfreeAtParser()
1835 } else if (phoneType == Phone.PHONE_TYPE_GSM) { in initializeHandsfreeAtParser()
[all …]
DPhoneInterfaceManager.java139 int phoneType = mPhone.getPhoneType(); in handleMessage() local
140 if (phoneType == Phone.PHONE_TYPE_CDMA) { in handleMessage()
144 } else if (phoneType == Phone.PHONE_TYPE_GSM) { in handleMessage()
148 throw new IllegalStateException("Unexpected phone type: " + phoneType); in handleMessage()
DCallNotifier.java1199 int phoneType = mPhone.getPhoneType(); in run() local
1200 if (phoneType == Phone.PHONE_TYPE_CDMA) { in run()
1204 } else if (phoneType == Phone.PHONE_TYPE_GSM) { in run()
1209 throw new IllegalStateException("Unexpected phone type: " + phoneType); in run()
1310 int phoneType = mPhone.getPhoneType(); in run() local
1312 if (phoneType == Phone.PHONE_TYPE_CDMA) { in run()
DPhoneApp.java364 int phoneType = phone.getPhoneType(); in onCreate() local
366 if (phoneType == Phone.PHONE_TYPE_CDMA) { in onCreate()
419 if (phoneType == Phone.PHONE_TYPE_GSM) { in onCreate()
DCallFeaturesSetting.java1246 int phoneType = mPhone.getPhoneType(); in onCreate() local
1247 if (phoneType == Phone.PHONE_TYPE_CDMA) { in onCreate()
1250 } else if (phoneType == Phone.PHONE_TYPE_GSM) { in onCreate()
1253 throw new IllegalStateException("Unexpected phone type: " + phoneType); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/
DSpecialCharSequenceMgr.java182 int phoneType = ((TelephonyManager)context.getSystemService( in handleIMEIDisplay() local
185 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) { in handleIMEIDisplay()
188 } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) { in handleIMEIDisplay()