/external/protobuf/examples/ |
addressbook.proto | 13 enum PhoneType { 21 optional PhoneType type = 2 [default = HOME];
|
AddPerson.java | 44 phoneNumber.setType(Person.PhoneType.MOBILE); 46 phoneNumber.setType(Person.PhoneType.HOME); 48 phoneNumber.setType(Person.PhoneType.WORK);
|
/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;
|
/external/chromium/chrome/browser/autofill/ |
phone_field.h | 36 enum PhoneType { 89 void SetPhoneType(PhoneType phone_type); 94 PhoneType phone_type_;
|
phone_field.cc | 115 phone_field->SetPhoneType(static_cast<PhoneField::PhoneType>(i)); 326 void PhoneField::SetPhoneType(PhoneType phone_type) {
|
/packages/services/Telephony/src/com/android/phone/ |
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);
|
BluetoothPhoneService.java | 322 int phoneType = phone.getPhoneType(); 326 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 328 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { 331 Log.e(TAG, "Unexpected phone type: " + phoneType); 708 int phoneType = phone.getPhoneType(); 719 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 732 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { 736 Log.e(TAG, "bad phone type: " + phoneType); 740 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { [all...] |
DTMFTonePlayer.java | 367 int phoneType = phone.getPhoneType(); 368 if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { 370 } else if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 380 } else if (phoneType == PhoneConstants.PHONE_TYPE_SIP) { 383 throw new IllegalStateException("Unexpected phone type: " + phoneType);
|
PhoneUtils.java | 392 int phoneType = ringing.getPhone().getPhoneType(); 406 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 687 int phoneType = phone.getPhoneType(); 691 if (phoneType == PhoneConstants.PHONE_TYPE_GSM && gatewayUri == null) { 698 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { [all...] |
MobileNetworkSettings.java | 258 int phoneType = mPhone.getPhoneType(); 259 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 267 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { 300 throw new IllegalStateException("Unexpected phone type: " + phoneType); [all...] |
PhoneInterfaceManager.java | 155 int phoneType = mPhone.getPhoneType(); 156 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 160 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { 164 throw new IllegalStateException("Unexpected phone type: " + 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 | 119 int phoneType = TelephonyManager.getPhoneType(networkMode); 120 if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { 124 } else if (phoneType == PhoneConstants.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,
|
/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...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapCallLogComposer.java | 172 public String composeVCardForPhoneOwnNumber(int phonetype, String phoneName, 187 String label = Integer.toString(phonetype); 188 builder.appendTelLine(phonetype, label, phoneNumber, false);
|
/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 | 313 int phoneType = mTelephonyManager.getPhoneType(); 314 switch (phoneType) { 332 throw new IllegalArgumentException("Did you add a new phone type? " + phoneType);
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
TelephonyManagerTest.java | 171 int phoneType = mTelephonyManager.getPhoneType(); 172 switch (phoneType) { 198 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/VoiceDialer/src/com/android/voicedialer/ |
CommandRecognizerEngine.java | [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapSmsPdu.java | 472 int phoneType; 489 phoneType = (activePhone == PHONE_TYPE_CDMA) ? SMS_TYPE_CDMA : SMS_TYPE_GSM; 500 newPdu = new SmsPdu(data, encoding, phoneType, languageTable); 532 if(phoneType == SMS_TYPE_GSM){ 549 newPdu = new SmsPdu(data, encoding, phoneType, languageTable);
|
BluetoothMapContent.java | 111 int phoneType = 0; 472 if (fi.phoneType == TelephonyManager.PHONE_TYPE_GSM) { 474 } else if (fi.phoneType == TelephonyManager.PHONE_TYPE_CDMA) { 644 if (fi.phoneType == TelephonyManager.PHONE_TYPE_GSM) { 646 } else if (fi.phoneType == TelephonyManager.PHONE_TYPE_CDMA) { [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);
|
/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) {
|