Home
last modified time | relevance | path

Searched refs:Patterns (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppLauncherActivity.java48 import android.util.Patterns;
357 + Patterns.WEB_URL.pattern() in createFileForSharedContent()
359 + Patterns.EMAIL_ADDRESS.pattern() in createFileForSharedContent()
361 + Patterns.PHONE.pattern() in createFileForSharedContent()
370 if (Patterns.WEB_URL.matcher(matchStr).matches()) { in createFileForSharedContent()
385 } else if (Patterns.EMAIL_ADDRESS.matcher(matchStr).matches()) { in createFileForSharedContent()
389 } else if (Patterns.PHONE.matcher(matchStr).matches()) { in createFileForSharedContent()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsSmsUtils.java24 import android.util.Patterns;
99 final Matcher match = Patterns.EMAIL_ADDRESS.matcher(s); in isEmailAddress()
122 Matcher match = Patterns.PHONE.matcher(number); in isPhoneNumber()
/packages/apps/Dialer/java/com/android/dialer/i18n/
DDialerBidiFormatter.java24 import android.util.Patterns;
62 Matcher matcher = Patterns.PHONE.matcher(text.toString()); in format()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
DAccountUtils.java22 import android.util.Patterns;
41 if (Patterns.EMAIL_ADDRESS.matcher(name).matches()) { in getDeviceAccountsEmailAddresses()
/packages/apps/Car/DebuggingRestrictionController/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/
DLoginViewModel.java19 import android.util.Patterns;
87 return Patterns.EMAIL_ADDRESS.matcher(username).matches(); in isUserNameValid()
/packages/apps/Traceur/src_common/com/android/traceur/
DFileSender.java28 import android.util.Patterns;
102 if (Patterns.EMAIL_ADDRESS.matcher(account.name).matches()) { in findSendToAccount()
/packages/apps/Contacts/src/com/android/contacts/compat/
DTelephonyThreadsCompat.java28 import android.util.Patterns;
153 Matcher match = Patterns.EMAIL_ADDRESS.matcher(s); in isEmailAddress()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/
DPreprocessor.java22 import android.util.Patterns;
42 private static final Pattern URL_REGEX = Patterns.WEB_URL;
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DDnsPacketUtils.java27 import android.util.Patterns;
127 && Patterns.DOMAIN_NAME.matcher(hostName).matches() in isHostName()
/packages/apps/Dialer/java/com/android/contacts/common/util/
DContactDisplayUtils.java29 import android.util.Patterns;
205 return text != null && Patterns.PHONE.matcher(text.toString()).matches(); in isPossiblePhoneNumber()
/packages/apps/Contacts/src/com/android/contacts/util/
DContactDisplayUtils.java26 import android.util.Patterns;
165 return text == null ? false : Patterns.PHONE.matcher(text.toString()).matches(); in isPossiblePhoneNumber()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConferenceController.java24 import android.util.Patterns;
329 return Patterns.PHONE.matcher(number).matches(); in isPhoneNumber()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DWebAddress.java19 import static android.util.Patterns.GOOD_IRI_CHAR;
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Diface_bluetooth_gatt.rs442 return Ok(ScanFilterCondition::Patterns(patterns)); in from_dbus()
450 ScanFilterCondition::Patterns(patterns) => { in to_dbus()
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Ddbus_iface.rs516 return Ok(ScanFilterCondition::Patterns(patterns)); in from_dbus()
524 ScanFilterCondition::Patterns(patterns) => { in to_dbus()
Dcommand_handler.rs1579 condition: btstack::bluetooth_gatt::ScanFilterCondition::Patterns(vec![]), in cmd_le_scan()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_gatt.rs1288 Patterns(Vec<ScanFilterPattern>), enumerator
2072 ScanFilterCondition::Patterns(patterns) => { in into()
2098 ScanFilterCondition::Patterns(_) => { in into()