HomeSort by relevance Sort by last modified time
    Searched defs:phoneType (Results 1 - 25 of 52) sorted by null

1 2 3

  /packages/apps/Contacts/src/com/android/contacts/compat/
TelephonyManagerCompat.java 51 final int phoneType = telephonyManager.getPhoneType();
52 return phoneType == TelephonyManager.PHONE_TYPE_CDMA ||
53 phoneType == TelephonyManager.PHONE_TYPE_GSM;
  /packages/apps/Settings/src/com/android/settings/deviceinfo/imei/
ImeiInfoPreferenceController.java 97 final int phoneType = mTelephonyManager.getPhoneType();
98 if (phoneType == PHONE_TYPE_CDMA) {
  /tools/tradefederation/core/prod-tests/src/com/android/wireless/tests/
RadioHelper.java 71 String phoneType = null;
73 for (int i = 0; i < RETRY_ATTEMPTS && (phoneType == null || simState == null); i++) {
74 phoneType = getPhoneType();
76 CLog.d("phonetype: %s", phoneType);
81 if (phoneType == null || simState == null) {
82 CLog.d("Error: phoneType or simState is null.");
86 if ((phoneType.compareToIgnoreCase("2") == 0) &&
88 // GSM device as phoneType "1"
  /external/robolectric/v1/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/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
Cp2Contact.java 30 public abstract int phoneType();
116 row[Projections.PHONE_TYPE] = phoneType();
  /packages/apps/Dialer/java/com/android/dialer/speeddial/
FavoritesViewHolder.java 45 private final TextView phoneType;
57 phoneType = view.findViewById(R.id.phone_type);
85 phoneType.setText(getLabel(context.getResources(), cursor));
  /packages/apps/EmergencyInfo/src/com/android/emergency/
EmergencyContactManager.java 43 String phoneType = null;
61 phoneType = ContactsContract.CommonDataKinds.Phone.getTypeLabel(
92 return new Contact(contactLookupUri, phoneUri, name, phoneNumber, phoneType, photo);
144 String phoneType,
150 mPhoneType = phoneType;
  /packages/services/Telephony/src/com/android/phone/
MMIDialogActivity.java 122 int phoneType = mPhone.getPhoneType();
123 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
125 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) {
SimContacts.java 77 final int phoneType;
84 phoneType = Phone.TYPE_WORK;
86 phoneType = Phone.TYPE_MOBILE;
88 phoneType = Phone.TYPE_HOME;
90 phoneType = Phone.TYPE_OTHER;
94 phoneType = Phone.TYPE_OTHER;
143 final int phoneType = namePhoneTypePair.phoneType;
175 builder.withValue(Phone.TYPE, phoneType);
CallFeaturesSetting.java 272 int phoneType = mPhone.getPhoneType();
276 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
283 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) {
291 throw new IllegalStateException("Unexpected phone type: " + phoneType);
CallNotifier.java 339 int phoneType = mCM.getFgPhone().getPhoneType();
349 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
353 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM
354 || phoneType == PhoneConstants.PHONE_TYPE_SIP
355 || phoneType == PhoneConstants.PHONE_TYPE_IMS
356 || phoneType == PhoneConstants.PHONE_TYPE_THIRD_PARTY) {
361 throw new IllegalStateException("Unexpected phone type: " + phoneType);
448 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
    [all...]
PhoneUtils.java 336 int phoneType = ringing.getPhone().getPhoneType();
606 int phoneType = phone.getPhoneType();
617 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
733 int phoneType = cm.getFgPhone().getPhoneType();
734 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
    [all...]
  /cts/tests/app/src/android/app/cts/
SystemFeaturesTest.java 458 int phoneType = mTelephonyManager.getPhoneType();
459 switch (phoneType) {
473 throw new IllegalArgumentException("Did you add a new phone type? " + phoneType);
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowTelephonyManager.java 41 private int phoneType = TelephonyManager.PHONE_TYPE_GSM;
199 return phoneType;
202 public void setPhoneType(int phoneType) {
203 this.phoneType = 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;
  /packages/services/Telephony/sip/src/com/android/services/telephony/sip/
SipConnection.java 330 int phoneType = PhoneConstants.PHONE_TYPE_SIP;
333 b.putInt(TelecomManager.EXTRA_CALL_TECHNOLOGY_TYPE, phoneType);
336 getExtras().putInt(TelecomManager.EXTRA_CALL_TECHNOLOGY_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 189 int phoneType = TelephonyManager.getPhoneType(networkModes[i]);
190 if (phoneType == PhoneConstants.PHONE_TYPE_GSM) {
195 } else if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
201 Rlog.i(LOG_TAG, "Creating Phone with type = " + phoneType + " sub = " + i);
SmsNumberUtils.java 569 int phoneType = phone.getPhoneType();
571 if (phoneType == PhoneConstants.PHONE_TYPE_GSM) {
573 } else if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
580 if (DBG) Rlog.w(TAG, "warning! unknown mPhoneType value=" + phoneType);
  /cts/tests/tests/telephony/src/android/telephony/cts/
TelephonyManagerTest.java 254 int phoneType = mTelephonyManager.getPhoneType();
255 switch (phoneType) {
264 throw new IllegalArgumentException("Did you add a new phone type? " + phoneType);
601 int phoneType = mTelephonyManager.getPhoneType();
602 switch (phoneType) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapSmsPdu.java 513 int phoneType;
532 phoneType = (activePhone == PHONE_TYPE_CDMA) ? SMS_TYPE_CDMA : SMS_TYPE_GSM;
545 newPdu = new SmsPdu(data, encoding, phoneType, languageTable);
575 if (phoneType == SMS_TYPE_GSM) {
593 newPdu = new SmsPdu(data, encoding, phoneType, languageTable);
    [all...]
  /packages/apps/Dialer/java/com/android/incallui/incall/impl/
InCallFragment.java 93 private int phoneType;
181 phoneType = getContext().getSystemService(TelephonyManager.class).getPhoneType();
329 voiceNetworkType, primaryCallState.isWifi(), phoneType);
456 buttonControllers, buttonChooser, voiceNetworkType, phoneType);
  /frameworks/opt/vcard/java/com/android/vcard/
VCardBuilder.java     [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
RawContactEditorView.java 684 CharSequence phoneType = null;
686 phoneType = Phone.getTypeLabel(
689 bindData(phoneDrawable, phoneContentDescription, formattedNumber, phoneType,
    [all...]
  /packages/services/Telephony/src/com/android/services/telephony/
TelephonyConnectionService.java 475 // If the PhoneType of the Phone being used is different than the Default Phone, then we
476 // need create a new Connection using that PhoneType and replace it in Telecom.
    [all...]

Completed in 648 milliseconds

1 2 3