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

1 2

  /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 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 143 int phoneType = TelephonyManager.getPhoneType(networkMode);
144 if (phoneType == PhoneConstants.PHONE_TYPE_GSM) {
148 } else if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
  /packages/apps/Phone/src/com/android/phone/
CallCard.java 368 int phoneType = phone.getPhoneType();
369 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
379 } else if ((phoneType == PhoneConstants.PHONE_TYPE_GSM)
380 || (phoneType == PhoneConstants.PHONE_TYPE_SIP)) {
530 int phoneType = call.getPhone().getPhoneType();
531 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
533 } else if ((phoneType == PhoneConstants.PHONE_TYPE_GSM)
534 || (phoneType == PhoneConstants.PHONE_TYPE_SIP)) {
537 throw new IllegalStateException("Unexpected phone type: " + phoneType);
566 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 364 int phoneType = ringing.getPhone().getPhoneType();
378 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
640 int phoneType = phone.getPhoneType();
644 if (phoneType == PhoneConstants.PHONE_TYPE_GSM && gatewayUri == null) {
651 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
656 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...]
DTMFTwelveKeyDialer.java     [all...]
InCallScreen.java     [all...]
MobileNetworkSettings.java 237 int phoneType = mPhone.getPhoneType();
238 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
250 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) {
253 throw new IllegalStateException("Unexpected phone type: " + phoneType);
PhoneInterfaceManager.java 154 int phoneType = mPhone.getPhoneType();
155 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
159 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) {
163 throw new IllegalStateException("Unexpected phone type: " + phoneType);
CallNotifier.java     [all...]
  /external/smack/src/org/jivesoftware/smackx/packet/
VCard.java 289 * @param phoneType one of VOICE, FAX, PAGER, MSG, CELL, VIDEO, BBS, MODEM, ISDN, PCS, PREF
292 public void setPhoneHome(String phoneType, String phoneNum) {
293 homePhones.put(phoneType, phoneNum);
299 * @param phoneType one of VOICE, FAX, PAGER, MSG, CELL, VIDEO, BBS, MODEM, ISDN, PCS, PREF
301 public String getPhoneHome(String phoneType) {
302 return homePhones.get(phoneType);
308 * @param phoneType one of VOICE, FAX, PAGER, MSG, CELL, VIDEO, BBS, MODEM, ISDN, PCS, PREF
311 public void setPhoneWork(String phoneType, String phoneNum) {
312 workPhones.put(phoneType, phoneNum);
318 * @param phoneType one of VOICE, FAX, PAGER, MSG, CELL, VIDEO, BBS, MODEM, ISDN, PCS, PRE
    [all...]
  /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/ContactsCommon/src/com/android/contacts/common/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/Dialer/src/com/android/dialer/
SpecialCharSequenceMgr.java 246 int phoneType = telephonyManager.getCurrentPhoneType();
247 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) {
250 } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) {
  /packages/apps/Contacts/src/com/android/contacts/editor/
RawContactReadOnlyEditorView.java 208 final CharSequence phoneType;
210 phoneType = Phone.getTypeLabel(
213 phoneType = null;
215 bindData(mContext.getText(R.string.phoneLabelsGroup), phoneNumber, phoneType,
  /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/Dialer/tests/src/com/android/dialer/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 456 public void setPhoneType(int phoneType) { //Set by CDMAPhone and GSMPhone constructor

Completed in 1315 milliseconds

1 2