/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 | 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 | 50 * queried by email or by phone number. 97 query = Queries.PHONE; 324 mQuery = Queries.PHONE; 342 Queries.PHONE.getContentUri(), 343 Queries.PHONE.getProjection(), 344 Queries.PHONE.getProjection()[Queries.Query.CONTACT_ID] + " =?", new String[] {
|
RecipientEntry.java | 53 /** Destination for this contact entry. Would be an email address or a phone number. */ 121 * Construct a RecipientEntry from just a phone number. 132 * {@link DisplayNameSources#PHONE} we use the contact's display name, but if not, 133 * i.e. the display name came from an email address or a phone number, we don't use it 138 return (displayNameSource > DisplayNameSources.PHONE) ? displayName : destination;
|
BaseRecipientAdapter.java | 443 * First, each destination (an email address or a phone number) with a valid contactId is 532 mQuery = Queries.PHONE; [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
NonPhoneActivity.java | 35 * Activity that intercepts DIAL and VIEW intents for phone numbers for devices that can not 36 * be used as a phone. This allows the user to see the phone number 88 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; 174 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimetype)) { 208 if (info.phone == null || cursor.getInt(SplitQuery.IS_PRIMARY) != 0) { 209 info.phone = cursor.getString(SplitQuery.PHONE) [all...] |
/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/activities/ |
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 | 63 * Displays a list of contacts (or phone numbers or postal addresses) for the 457 * Returns true if is a single email or single phone number provided in the {@link Intent} 480 boolean hasPhone = intentExtraKeys.contains(Insert.PHONE) && 486 return intentExtraKeys.contains(Insert.PHONE) ||
|
ConfirmAddDetailActivity.java | 42 import android.provider.ContactsContract.CommonDataKinds.Phone; 85 * must have an extra with max 1 phone or email specified, using 86 * {@link android.provider.ContactsContract.Intents.Insert#PHONE} with type 134 private String mMimetype = Phone.CONTENT_ITEM_TYPE; 193 StructuredPostal.CONTENT_ITEM_TYPE, Phone.CONTENT_ITEM_TYPE }; 243 if (extras.containsKey(ContactsContract.Intents.Insert.PHONE)) { 244 mMimetype = Phone.CONTENT_ITEM_TYPE; 537 // As a special case, phone numbers 539 if (Phone.CONTENT_ITEM_TYPE.equals(mimeType)) { [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 | 276 case BluetoothClass.Device.Major.PHONE:
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
AllIntentsActivity.java | 35 import android.provider.ContactsContract.CommonDataKinds.Phone; 193 new Intent(Intent.ACTION_PICK, Phone.CONTENT_URI)); 248 intent.setType(Phone.CONTENT_ITEM_TYPE); 280 intent.putExtra(Insert.PHONE, "5123456789"); 313 intent.putExtra(Insert.PHONE, "800"); 454 // This is the legacy URI (there is no >2.0 way to call a phone data item) 599 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/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...] |
ContactsContract.java | 66 * as a phone number or email addresses. The set of data kinds that can be 166 * return only phone-related results. For example, frequently contacted person list should 167 * include persons contacted via phone (not email, sms, etc.) 190 * A boolean parameter for {@link CommonDataKinds.Phone#CONTENT_URI}, 317 * in email and phone lookup functionalities, it should also implement 320 * {@link CommonDataKinds.Phone#CONTENT_FILTER_URI CommonDataKinds.Phone.CONTENT_FILTER_URI}. 564 * allow creation of shortcuts for data items like email, phone or postal address, [all...] |
/external/qemu/android/ |
hw-events.h | 222 KEY_CODE(PHONE ,169) \
|
/frameworks/opt/telephony/src/java/android/provider/ |
Telephony.java | 40 * The Telephony provider contains data related to phone operation. [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
PowerUsageDetail.java | 64 PHONE,
|