/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
TelephonyCapabilities.java | 177 public static boolean supportsAdn(int phoneType) { 178 return phoneType == PhoneConstants.PHONE_TYPE_GSM; 188 public static boolean canDistinguishDialingAndConnected(int phoneType) { 189 return phoneType == PhoneConstants.PHONE_TYPE_GSM;
|
PhoneFactory.java | 145 int phoneType = TelephonyManager.getPhoneType(networkMode); 146 if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { 150 } else if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
|
CommandsInterface.java | [all...] |
/packages/apps/Phone/src/com/android/phone/ |
CallCard.java | 369 int phoneType = phone.getPhoneType(); 370 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 380 } else if ((phoneType == PhoneConstants.PHONE_TYPE_GSM) 381 || (phoneType == PhoneConstants.PHONE_TYPE_SIP)) { 531 int phoneType = call.getPhone().getPhoneType(); 532 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 534 } else if ((phoneType == PhoneConstants.PHONE_TYPE_GSM) 535 || (phoneType == PhoneConstants.PHONE_TYPE_SIP)) { 538 throw new IllegalStateException("Unexpected phone type: " + phoneType); 567 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) [all...] |
SimContacts.java | 76 final int phoneType; 83 phoneType = Phone.TYPE_WORK; 85 phoneType = Phone.TYPE_MOBILE; 87 phoneType = Phone.TYPE_HOME; 89 phoneType = Phone.TYPE_OTHER; 93 phoneType = Phone.TYPE_OTHER; 142 final int phoneType = namePhoneTypePair.phoneType; 174 builder.withValue(Phone.TYPE, phoneType);
|
PhoneUtils.java | 392 int phoneType = ringing.getPhone().getPhoneType(); 406 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 668 int phoneType = phone.getPhoneType(); 672 if (phoneType == PhoneConstants.PHONE_TYPE_GSM && gatewayUri == null) { 688 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 693 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { [all...] |
BluetoothPhoneService.java | 349 int phoneType = phone.getPhoneType(); 353 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 355 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { 358 Log.e(TAG, "Unexpected phone type: " + phoneType); 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) { [all...] |
InCallTouchUi.java | 454 int phoneType = cm.getActiveFgCall().getPhone().getPhoneType(); 484 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 489 } else if ((phoneType == PhoneConstants.PHONE_TYPE_GSM) 490 || (phoneType == PhoneConstants.PHONE_TYPE_SIP)) { 495 throw new IllegalStateException("Unexpected phone type: " + phoneType); 510 if ((phoneType == PhoneConstants.PHONE_TYPE_GSM) 511 || (phoneType == PhoneConstants.PHONE_TYPE_SIP)) { 519 } else if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 524 throw new IllegalStateException("Unexpected phone type: " + phoneType); 591 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) [all...] |
InCallScreen.java | [all...] |
MobileNetworkSettings.java | 242 int phoneType = mPhone.getPhoneType(); 243 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 259 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { 262 throw new IllegalStateException("Unexpected phone type: " + phoneType);
|
PhoneInterfaceManager.java | 152 int phoneType = mPhone.getPhoneType(); 153 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 157 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { 161 throw new IllegalStateException("Unexpected phone type: " + phoneType);
|
CallNotifier.java | [all...] |
CallFeaturesSetting.java | [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
RawContactReadOnlyEditorView.java | 208 final CharSequence phoneType; 210 phoneType = Phone.getTypeLabel( 213 phoneType = null; 216 phoneNumber, phoneType, i == 0);
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
TelephonyManagerTest.java | 165 int phoneType = mTelephonyManager.getPhoneType(); 166 switch (phoneType) { 192 throw new IllegalArgumentException("Did you add a new phone type? " + phoneType);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ShortcutIntentBuilder.java | 290 String phoneNumber, int phoneType, String phoneLabel, String shortcutAction) { 297 bitmap = generatePhoneNumberIcon(bitmap, phoneType, phoneLabel, 301 bitmap = generatePhoneNumberIcon(bitmap, phoneType, phoneLabel, 357 private Bitmap generatePhoneNumberIcon(Bitmap photo, int phoneType, String phoneLabel, 380 CharSequence overlay = Phone.getTypeLabel(r, phoneType, phoneLabel);
|
/cts/tests/tests/app/src/android/app/cts/ |
SystemFeaturesTest.java | 309 int phoneType = mTelephonyManager.getPhoneType(); 310 switch (phoneType) { 328 throw new IllegalArgumentException("Did you add a new phone type? " + phoneType);
|
/frameworks/base/services/java/com/android/server/location/ |
ComprehensiveCountryDetector.java | 214 final int phoneType = mTelephonyManager.getPhoneType(); 215 if (DEBUG) Slog.v(TAG, " phonetype=" + phoneType); 216 return phoneType == TelephonyManager.PHONE_TYPE_GSM;
|
/packages/apps/Contacts/src/com/android/contacts/ |
SpecialCharSequenceMgr.java | 241 int phoneType = telephonyManager.getCurrentPhoneType(); 242 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) { 245 } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) {
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
CommandRecognizerEngine.java | [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
ContactOperations.java | 175 * @param phoneType the type: cell, home, etc. 178 public ContactOperations addPhone(String phone, int phoneType) { 182 mValues.put(Phone.TYPE, phoneType);
|
/development/samples/ContactManager/src/com/example/android/contactmanager/ |
ContactAdder.java | 175 int phoneType = mContactPhoneTypes.get( 201 .withValue(ContactsContract.CommonDataKinds.Phone.TYPE, phoneType)
|
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/ |
CallLogFragmentTest.java | 349 private CharSequence getTypeLabel(int phoneType) { 350 return Phone.getTypeLabel(getActivity().getResources(), phoneType, "");
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
SipCommandInterface.java | 361 public void setPhoneType(int phoneType) { //Set by CDMAPhone and GSMPhone constructor
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
UsimDataDownloadCommands.java | 552 public void setPhoneType(int phoneType) {
|