/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTelephonyManager.java | 18 private int phoneType = TelephonyManager.PHONE_TYPE_GSM; 104 return phoneType; 107 public void setPhoneType(int phoneType) { 108 this.phoneType = phoneType;
|
/packages/services/Telephony/src/com/android/phone/ |
MMIDialogActivity.java | 106 int phoneType = mPhone.getPhoneType(); 107 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 109 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) {
|
CallFeaturesSetting.java | 240 int phoneType = mPhone.getPhoneType(); 245 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 252 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { 261 throw new IllegalStateException("Unexpected phone type: " + phoneType);
|
SimContacts.java | 74 final int phoneType; 81 phoneType = Phone.TYPE_WORK; 83 phoneType = Phone.TYPE_MOBILE; 85 phoneType = Phone.TYPE_HOME; 87 phoneType = Phone.TYPE_OTHER; 91 phoneType = Phone.TYPE_OTHER; 140 final int phoneType = namePhoneTypePair.phoneType; 172 builder.withValue(Phone.TYPE, phoneType);
|
CallNotifier.java | 687 int phoneType = mCM.getFgPhone().getPhoneType(); 697 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 701 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM 702 || phoneType == PhoneConstants.PHONE_TYPE_SIP 703 || phoneType == PhoneConstants.PHONE_TYPE_IMS 704 || phoneType == PhoneConstants.PHONE_TYPE_THIRD_PARTY) { 709 throw new IllegalStateException("Unexpected phone type: " + phoneType); [all...] |
MobileNetworkSettings.java | 564 final int phoneType = mPhone.getPhoneType(); 565 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 611 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { 644 throw new IllegalStateException("Unexpected phone type: " + phoneType); [all...] |
PhoneUtils.java | 359 int phoneType = ringing.getPhone().getPhoneType(); 629 int phoneType = phone.getPhoneType(); 640 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 770 int phoneType = cm.getFgPhone().getPhoneType(); 771 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { [all...] |
PhoneInterfaceManager.java | 285 int phoneType = phone.getPhoneType(); 286 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 290 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { 294 throw new IllegalStateException("Unexpected phone type: " + phoneType); [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
RawContactReadOnlyEditorView.java | 176 CharSequence phoneType = null; 178 phoneType = Phone.getTypeLabel( 181 bindData(phoneDrawable, phoneContentDescription, formattedNumber, phoneType,
|
/cts/tests/tests/app/src/android/app/cts/ |
SystemFeaturesTest.java | 423 int phoneType = mTelephonyManager.getPhoneType(); 424 switch (phoneType) { 442 throw new IllegalArgumentException("Did you add a new phone type? " + phoneType);
|
/frameworks/base/services/core/java/com/android/server/location/ |
ComprehensiveCountryDetector.java | 213 final int phoneType = mTelephonyManager.getPhoneType(); 214 if (DEBUG) Slog.v(TAG, " phonetype=" + phoneType); 215 return phoneType == TelephonyManager.PHONE_TYPE_GSM;
|
GpsLocationProvider.java | [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
TelephonyConnectionService.java | 414 int phoneType = phone.getPhoneType(); 415 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) { 417 } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) { 542 int phoneType = connection.getCall().getPhone().getPhoneType(); 543 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) { 546 } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA &&
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
TelephonyManagerTest.java | 173 int phoneType = mTelephonyManager.getPhoneType(); 174 switch (phoneType) { 183 throw new IllegalArgumentException("Did you add a new phone type? " + phoneType); 212 int phoneType = mTelephonyManager.getPhoneType(); 213 switch (phoneType) { 240 throw new IllegalArgumentException("Did you add a new 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)
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
PhoneFactory.java | 156 int phoneType = TelephonyManager.getPhoneType(networkModes[i]); 157 if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { 161 } else if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 166 Rlog.i(LOG_TAG, "Creating Phone with type = " + phoneType + " sub = " + i);
|
SmsNumberUtils.java | 566 int phoneType = TelephonyManager.getDefault().getPhoneType(); 568 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) { 570 } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) { 577 if (DBG) Rlog.w(TAG, "warning! unknown mPhoneType value=" + phoneType);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapSmsPdu.java | 483 int phoneType; 500 phoneType = (activePhone == PHONE_TYPE_CDMA) ? SMS_TYPE_CDMA : SMS_TYPE_GSM; 511 newPdu = new SmsPdu(data, encoding, phoneType, languageTable); 543 if(phoneType == SMS_TYPE_GSM){ 560 newPdu = new SmsPdu(data, encoding, phoneType, languageTable); [all...] |
BluetoothMapContent.java | [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardBuilder.java | [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
AbstractContactAggregator.java | [all...] |