/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. 98 query = Queries.PHONE; 345 mQuery = Queries.PHONE; 363 Queries.PHONE.getContentUri(), 364 Queries.PHONE.getProjection(), 365 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. */ 124 * Construct a RecipientEntry from just a phone number. 135 * {@link DisplayNameSources#PHONE} we use the contact's display name, but if not, 136 * i.e. the display name came from an email address or a phone number, we don't use it 141 return (displayNameSource > DisplayNameSources.PHONE) ? displayName : destination;
|
/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
|
/external/chromium_org/components/autofill/core/browser/ |
autofill_metrics.cc | 51 PHONE, 132 group = PHONE;
|
/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) ||
|
/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/Dialer/src/com/android/dialer/calllog/ |
ContactInfoHelper.java | 23 import android.provider.ContactsContract.CommonDataKinds.Phone; 74 // actually the phone number of a contact. 82 // Look for a contact that has the given phone number. 86 // Check whether the phone number has been saved as an "Internet call" number. 114 * @param number - Unknown phone number 121 .put(Phone.CONTENT_ITEM_TYPE, new JSONObject() 122 .put(Phone.NUMBER, number) 123 .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 | 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);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
WebViewContextMenu.java | 245 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...] |
/external/qemu/android/ |
hw-events.h | 222 KEY_CODE(PHONE ,169) \
|
/frameworks/opt/telephony/src/java/android/provider/ |
Telephony.java | 43 * The Telephony provider contains data related to phone operation, specifically SMS and MMS 88 * <p>This allows users to respond to incoming phone calls with an immediate text message 97 * read special incoming messages such as to perform phone number verification.</p> [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
PowerUsageDetail.java | 65 PHONE,
|