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

1 2 3

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPatterns.java 120 public static final Pattern PHONE
130 Robolectric.Reflection.setFinalStaticField(Patterns.class, "PHONE", PHONE);
  /frameworks/base/core/tests/coretests/src/android/util/
PatternsTest.java 149 t = Patterns.PHONE.matcher("(919) 555-1212").matches();
150 assertTrue("Valid phone", t);
152 t = Patterns.PHONE.matcher("2334 9323/54321").matches();
153 assertFalse("Invalid phone", t);
185 Matcher m = Patterns.PHONE.matcher(test);
187 assertTrue("Valid phone " + test, m.find());
  /external/qemu/
offset_layout.py 18 Usage: %s --dx offset-x-display --dy offset-y-display --px offset-x-phone-buttons --py offset-y-phone-buttons --kx offset-x-keyboard --ky offset-y-keyboard < layout > layout2.
22 Phone buttons: soft-left/top/righ/bottom, home, dpad, dial, power, etc.
55 PHONE = [ "soft-left", "home", "back", "dpad-up", "dpad-down", "dpad-left", "dpad-right", "dpad-center", "phone-dial", "phone-hangup", "power", "volume-up", "volume-down" ]
73 is_phone = keyword in PHONE
  /frameworks/base/core/java/android/util/
Patterns.java 171 * might be phone numbers in arbitrary text, not for validating whether
172 * something is in fact a phone number. It will miss many things that
173 * are legitimate phone numbers.
183 public static final Pattern PHONE
  /frameworks/base/core/java/com/android/internal/os/
BatterySipper.java 54 PHONE,
  /frameworks/opt/chips/src/com/android/ex/chips/
Queries.java 23 import android.provider.ContactsContract.CommonDataKinds.Phone;
27 * Phone and Email queries for supporting Chips UI.
31 public static final Query PHONE = new Query(new String[] {
33 Phone.NUMBER, // 1
34 Phone.TYPE, // 2
35 Phone.LABEL, // 3
36 Phone.CONTACT_ID, // 4
37 Phone._ID, // 5
42 }, Phone.CONTENT_FILTER_URI, Phone.CONTENT_URI)
    [all...]
RecipientAlternatesAdapter.java 50 * queried by email or by phone number.
100 query = Queries.PHONE;
411 selection.append(Queries.PHONE.getProjection()[Queries.Query.CONTACT_ID]);
415 uri = Queries.PHONE.getContentUri();
423 desiredMimeType = ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE;
427 Queries.PHONE.getProjection(),
RecipientEntry.java 53 /** Destination for this contact entry. Would be an email address or a phone number. */
129 * Construct a RecipientEntry from just a phone number.
140 * {@link DisplayNameSources#PHONE} we use the contact's display name, but if not,
141 * i.e. the display name came from an email address or a phone number, we don't use it
146 return (displayNameSource > DisplayNameSources.PHONE) ? displayName : destination;
  /packages/apps/Contacts/src/com/android/contacts/
NonPhoneActivity.java 34 * Activity that intercepts DIAL and VIEW intents for phone numbers for devices that can not
35 * be used as a phone. This allows the user to see the phone number
87 intent.putExtra(Insert.PHONE, getArgumentPhoneNumber());
SplitAggregateView.java 25 import android.provider.ContactsContract.CommonDataKinds.Phone;
48 * and additional data such as a nickname, email address or phone number, whichever
59 Phone.NUMBER
70 int PHONE = 8;
120 String phone; field in class:SplitAggregateView.RawContactInfo
137 if (phone != null) {
138 return phone;
177 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimetype)) {
211 if (info.phone == null || cursor.getInt(SplitQuery.IS_PRIMARY) != 0) {
212 info.phone = cursor.getString(SplitQuery.PHONE)
    [all...]
  /external/chromium_org/components/autofill/core/browser/
autofill_metrics.cc 29 PHONE,
119 group = PHONE;
  /frameworks/base/core/java/android/bluetooth/
BluetoothClass.java 25 * specify the general device type such as a phone, a computer, or
155 public static final int PHONE = 0x0200;
175 // Devices in the PHONE major class
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppLauncherActivity.java 276 + Patterns.PHONE.pattern() + ")");
301 // Find any embedded phone numbers and linkify
302 } else if (Patterns.PHONE.matcher(matchStr).matches()) {
  /packages/apps/Contacts/src/com/android/contacts/activities/
ShowOrCreateActivity.java 43 * connected with a specific E-mail address or phone number. Will search based
130 mCreateExtras.putString(Intents.Insert.PHONE, ssp);
ContactSelectionActivity.java 67 * Displays a list of contacts (or phone numbers or postal addresses) for the
445 * Returns true if is a single email or single phone number provided in the {@link Intent}
468 boolean hasPhone = intentExtraKeys.contains(Insert.PHONE) &&
474 return intentExtraKeys.contains(Insert.PHONE) ||
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactsIntentResolver.java 31 import android.provider.ContactsContract.CommonDataKinds.Phone;
84 } else if (Phone.CONTENT_TYPE.equals(resolvedType)) {
110 } else if (Phone.CONTENT_ITEM_TYPE.equals(type)) {
128 // If the {@link SearchManager.QUERY} is empty, then check if a phone number
131 query = intent.getStringExtra(Insert.PHONE);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
ContactDisplayUtils.java 19 import static android.provider.ContactsContract.CommonDataKinds.Phone;
49 * @param type Phone data type.
53 return type == Phone.TYPE_CUSTOM || type == Phone.TYPE_ASSISTANT;
57 * Gets a display label for a given phone type.
60 * @param customLabel A custom label to use if the phone is determined to be of custom type
98 case Phone.TYPE_HOME:
100 case Phone.TYPE_MOBILE:
102 case Phone.TYPE_WORK:
104 case Phone.TYPE_FAX_WORK
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/calllog/
ContactInfoHelper.java 21 import android.provider.ContactsContract.CommonDataKinds.Phone;
75 // actually the phone number of a contact.
83 // Look for a contact that has the given phone number.
87 // Check whether the phone number has been saved as an "Internet call" number.
117 * @param number - Unknown phone number
123 final JSONObject contactRows = new JSONObject().put(Phone.CONTENT_ITEM_TYPE,
124 new JSONObject().put(Phone.NUMBER, number).put(Phone.TYPE, Phone.TYPE_CUSTOM));
127 .put(Contacts.DISPLAY_NAME_SOURCE, DisplayNameSources.PHONE)
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothDevicePreference.java 291 case BluetoothClass.Device.Major.PHONE:
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
AllIntentsActivity.java 36 import android.provider.ContactsContract.CommonDataKinds.Phone;
199 new Intent(Intent.ACTION_PICK, Phone.CONTENT_URI));
254 intent.setType(Phone.CONTENT_ITEM_TYPE);
286 intent.putExtra(Insert.PHONE, "5123456789");
319 intent.putExtra(Insert.PHONE, "800");
460 // This is the legacy URI (there is no >2.0 way to call a phone data item)
620 Data.MIMETYPE + "=" + Phone.MIMETYPE,
  /external/nist-sip/java/gov/nist/javax/sip/address/
NetObject.java 54 protected static final String PHONE = "phone";
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDisplayUtils.java 68 if (contactData.getDisplayNameSource() == DisplayNameSources.PHONE) {
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
BatteryEntry.java 143 case PHONE:
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
WebViewContextMenu.java 260 CATEGORY_WEB_CONTEXT_MENU, ACTION_LONG_PRESS, "phone", 0);
307 addIntent.putExtra(ContactsContract.Intents.Insert.PHONE, decodedPhoneExtra);
  /frameworks/base/core/java/android/provider/
Contacts.java 86 * Signifies a Phone row that is stored in the Phones table
414 * The ID of the persons preferred phone number.
738 * The ID of the person this phone number is assigned to.
860 * The type of the the phone number.
    [all...]

Completed in 607 milliseconds

1 2 3