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

  /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/
PhoneFactory.java 119 int phoneType = TelephonyManager.getPhoneType(networkMode);
120 if (phoneType == PhoneConstants.PHONE_TYPE_GSM) {
124 } else if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
  /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);
  /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;
GpsLocationProvider.java     [all...]
  /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/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/services/Telephony/src/com/android/phone/
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);
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);
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...]
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...]
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);
CallNotifier.java     [all...]
PhoneGlobals.java 409 int phoneType = phone.getPhoneType();
411 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
    [all...]
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...]
CallFeaturesSetting.java     [all...]
  /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);
  /development/samples/ContactManager/src/com/example/android/contactmanager/
ContactAdder.java 175 int phoneType = mContactPhoneTypes.get(
201 .withValue(ContactsContract.CommonDataKinds.Phone.TYPE, phoneType)
  /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...]
  /packages/apps/VoiceDialer/src/com/android/voicedialer/
CommandRecognizerEngine.java     [all...]
  /frameworks/opt/vcard/java/com/android/vcard/
VCardBuilder.java     [all...]

Completed in 3875 milliseconds