/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); 183 Matcher m = Patterns.PHONE.matcher(test); 185 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 | 159 * might be phone numbers in arbitrary text, not for validating whether 160 * something is in fact a phone number. It will miss many things that 161 * are legitimate phone numbers. 171 public static final Pattern PHONE
|
/external/chromium/chrome/browser/autofill/ |
autofill_metrics.cc | 23 PHONE, 87 group = PHONE;
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
Queries.java | 22 import android.provider.ContactsContract.CommonDataKinds.Phone; 26 * Phone and Email queries for supporting Chips UI. 30 public static final Query PHONE = new Query(new String[] { 32 Phone.NUMBER, // 1 33 Phone.TYPE, // 2 34 Phone.LABEL, // 3 35 Phone.CONTACT_ID, // 4 36 Phone._ID, // 5 39 }, Phone.CONTENT_FILTER_URI, Phone.CONTENT_URI) [all...] |
RecipientAlternatesAdapter.java | 40 * queried by email or by phone number. 78 query = Queries.PHONE; 149 mQuery = Queries.PHONE; 167 Queries.PHONE.getContentUri(), 168 Queries.PHONE.getProjection(), 169 Queries.PHONE.getProjection()[Queries.Query.CONTACT_ID] + " =?", new String[] {
|
RecipientEntry.java | 51 /** Destination for this contact entry. Would be an email address or a phone number. */ 125 * {@link DisplayNameSources#PHONE} we use the contact's display name, but if not, 126 * i.e. the display name came from an email address or a phone number, we don't use it 131 return (displayNameSource > DisplayNameSources.PHONE) ? displayName : destination;
|
BaseRecipientAdapter.java | 427 * First, each destination (an email address or a phone number) with a valid contactId is 514 mQuery = Queries.PHONE; [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
NonPhoneActivity.java | 37 * Activity that intercepts DIAL and VIEW intents for phone numbers for devices that can not 38 * be used as a phone. This allows the user to see the phone number 85 intent.putExtra(Insert.PHONE, getArgumentPhoneNumber());
|
ShowOrCreateActivity.java | 42 * connected with a specific E-mail address or phone number. Will search based 129 mCreateExtras.putString(Intents.Insert.PHONE, ssp);
|
ContactSelectionActivity.java | 64 * Displays a list of contacts (or phone numbers or postal addresses) for the 447 * Returns true if is a single email or single phone number provided in the {@link Intent} 470 boolean hasPhone = intentExtraKeys.contains(Insert.PHONE) && 476 return intentExtraKeys.contains(Insert.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/Contacts/src/com/android/contacts/ |
SplitAggregateView.java | 31 import android.provider.ContactsContract.CommonDataKinds.Phone; 51 * and additional data such as a nickname, email address or phone number, whichever 62 Phone.NUMBER 73 int PHONE = 8; 123 String phone; field in class:SplitAggregateView.RawContactInfo 140 if (phone != null) { 141 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...] |
/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/Settings/src/com/android/settings/bluetooth/ |
BluetoothDevicePreference.java | 273 case BluetoothClass.Device.Major.PHONE:
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
AllIntentsActivity.java | 38 import android.provider.ContactsContract.CommonDataKinds.Phone; 196 new Intent(Intent.ACTION_PICK, Phone.CONTENT_URI)); 251 intent.setType(Phone.CONTENT_ITEM_TYPE); 283 intent.putExtra(Insert.PHONE, "5123456789"); 316 intent.putExtra(Insert.PHONE, "800"); 480 // This is the legacy URI (there is no >2.0 way to call a phone data item) 625 Data.MIMETYPE + "=" + Phone.MIMETYPE,
|
/external/nist-sip/java/gov/nist/javax/sip/address/ |
NetObject.java | 54 protected static final String PHONE = "phone";
|
SipUri.java | 355 * @return User parameter (user= phone or user=ip). 385 * when user = phone is specified) 449 * The user parameter value "phone" indicates that the user 459 return usrtype.equalsIgnoreCase(PHONE); [all...] |
/frameworks/base/core/java/android/text/util/ |
Linkify.java | 68 * Bit field indicating that phone numbers should be matched in methods that 87 * phone number. 111 * phone number. 130 * Transforms matched phone number text into something suitable 174 * For example: when converting a phone number such as (919) 555-1212 224 gatherLinks(links, text, Patterns.PHONE,
|
/frameworks/opt/mailcommon/java/com/android/mailcommon/ |
WebViewContextMenu.java | 224 addIntent.putExtra(ContactsContract.Intents.Insert.PHONE, decodedPhoneExtra);
|
/frameworks/base/core/java/android/provider/ |
Contacts.java | 87 * Signifies a Phone row that is stored in the Phones table 415 * The ID of the persons preferred phone number. 739 * The ID of the person this phone number is assigned to. 861 * The type of the the phone number. [all...] |
Telephony.java | 41 * The Telephony provider contains data related to phone operation. [all...] |
ContactsContract.java | 67 * as a phone number or email addresses. The set of data kinds that can be 167 * return only phone-related results. For example, frequently contacted person list should 168 * include persons contacted via phone (not email, sms, etc.) 191 * A boolean parameter for {@link CommonDataKinds.Phone#CONTENT_URI}, 318 * in email and phone lookup functionalities, it should also implement 321 * {@link CommonDataKinds.Phone#CONTENT_FILTER_URI CommonDataKinds.Phone.CONTENT_FILTER_URI}. 565 * allow creation of shortcuts for data items like email, phone or postal address, [all...] |
/external/qemu/android/ |
hw-events.h | 211 KEY_CODE(PHONE ,169) \
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
PowerUsageDetail.java | 61 PHONE,
|