/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;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
TelephonyCapabilities.java | 181 public static boolean supportsAdn(int phoneType) { 182 return phoneType == PhoneConstants.PHONE_TYPE_GSM; 192 public static boolean canDistinguishDialingAndConnected(int phoneType) { 193 return phoneType == PhoneConstants.PHONE_TYPE_GSM;
|
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/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) {
|
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);
|
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...] |
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);
|
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...] |
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...] |
/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);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ShortcutIntentBuilder.java | 305 byte[] bitmapData, String phoneNumber, int phoneType, String phoneLabel, 314 bitmap = generatePhoneNumberIcon(drawable, phoneType, phoneLabel, 318 bitmap = generatePhoneNumberIcon(drawable, phoneType, phoneLabel, 362 private Bitmap generatePhoneNumberIcon(Drawable photo, int phoneType, String phoneLabel, 380 CharSequence overlay = Phone.getTypeLabel(r, phoneType, phoneLabel);
|
/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 &&
|
/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/apps/Contacts/src/com/android/contacts/editor/ |
RawContactReadOnlyEditorView.java | 176 CharSequence phoneType = null; 178 phoneType = Phone.getTypeLabel( 181 bindData(phoneDrawable, phoneContentDescription, formattedNumber, 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...] |
/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);
|
/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/Dialer/tests/src/com/android/dialer/calllog/ |
CallLogFragmentTest.java | 350 private CharSequence getTypeLabel(int phoneType) { 351 return Phone.getTypeLabel(getActivity().getResources(), phoneType, "");
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
ImsPhoneCommandInterface.java | 474 public void setPhoneType(int phoneType) { //Set by CDMAPhone and GSMPhone constructor
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
SipCommandInterface.java | 475 public void setPhoneType(int phoneType) { //Set by CDMAPhone and GSMPhone constructor
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
AbstractContactAggregator.java | [all...] |