/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | PatternsTest.java | 31 t = Patterns.TOP_LEVEL_DOMAIN.matcher("com").matches(); 35 t = Patterns.TOP_LEVEL_DOMAIN.matcher("me").matches(); 39 t = Patterns.TOP_LEVEL_DOMAIN.matcher("xn--0zwm56d").matches(); 43 t = Patterns.TOP_LEVEL_DOMAIN.matcher("\uD55C\uAD6D").matches(); 46 t = Patterns.TOP_LEVEL_DOMAIN.matcher("mem").matches(); 49 t = Patterns.TOP_LEVEL_DOMAIN.matcher("xn").matches(); 52 t = Patterns.TOP_LEVEL_DOMAIN.matcher("xer").matches(); 60 t = Patterns.WEB_URL.matcher("http://www.google.com").matches(); 64 t = Patterns.WEB_URL.matcher("http://www.google.me").matches(); 66 t = Patterns.WEB_URL.matcher("google.me").matches(); [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | DebugTest.java | 42 assertTrue(callDepth0().matches(EXPECTED_GET_CALLER)); 65 assertTrue(callDepth1().matches(EXPECTED_GET_CALLERS));
|
/frameworks/base/core/java/android/util/ |
H A D | DebugUtils.java | 71 if (object.getClass().getSimpleName().matches(selectors[0])) { 91 value.toString() : "null").matches(pair[1]);
|
H A D | EventLog.java | 233 if (comment.matcher(line).matches()) continue; 236 if (!m.matches()) {
|
/frameworks/base/services/java/com/android/server/usb/ |
H A D | UsbSettingsManager.java | 177 private boolean matches(int clasz, int subclass, int protocol) { method in class:UsbSettingsManager.DeviceFilter 183 public boolean matches(UsbDevice device) { method in class:UsbSettingsManager.DeviceFilter 188 if (matches(device.getDeviceClass(), device.getDeviceSubclass(), 195 if (matches(intf.getInterfaceClass(), intf.getInterfaceSubclass(), 202 public boolean matches(DeviceFilter f) { method in class:UsbSettingsManager.DeviceFilter 207 return matches(f.mClass, f.mSubclass, f.mProtocol); 310 public boolean matches(UsbAccessory acc) { method in class:UsbSettingsManager.AccessoryFilter 317 public boolean matches(AccessoryFilter f) { method in class:UsbSettingsManager.AccessoryFilter 536 // Checks to see if a package matches a device or accessory. 555 if (filter.matches(devic 662 resolveActivity(Intent intent, ArrayList<ResolveInfo> matches, String defaultPackage, UsbDevice device, UsbAccessory accessory) argument [all...] |
/frameworks/base/tools/aidl/ |
H A D | options_test.cpp | 241 int matches[count]; local 256 matches[i] = test(g_tests[i]); 258 if (0 == matches[i]) { 263 result |= matches[i]; 277 if (matches[i]) {
|
/frameworks/base/libs/hwui/ |
H A D | Patch.h | 56 bool matches(const int32_t* xDivs, const int32_t* yDivs, const uint32_t colorKey);
|
H A D | PatchCache.cpp | 100 } else if (!mesh->matches(xDivs, yDivs, colorKey)) {
|
/frameworks/base/location/java/android/location/ |
H A D | LocationProvider.java | 60 if (name.matches(BAD_CHARS_REGEX)) { 88 // passive provider never matches
|
/frameworks/base/core/java/android/webkit/ |
H A D | MimeTypeMap.java | 62 Pattern.matches("[a-zA-Z_0-9\\.\\-\\(\\)\\%]+", filename)) {
|
/frameworks/base/core/java/android/net/ |
H A D | WebAddress.java | 78 if (m.matches()) {
|
H A D | EthernetDataTracker.java | 115 if (!iface.matches(sIfaceMatch)) 226 if (iface.matches(sIfaceMatch)) {
|
H A D | RouteInfo.java | 219 private boolean matches(InetAddress destination) { method in class:RouteInfo 234 * Find the route from a Collection of routes that best matches a given address. 252 if (route.matches(dest)) bestRoute = route;
|
H A D | Proxy.java | 253 if (!match.matches()) { 257 if (!listMatch.matches()) {
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceActivity.java | 1177 ArrayList<Header> matches = new ArrayList<Header>(); 1182 matches.clear(); 1183 matches.add(oh); 1188 matches.add(oh); 1192 matches.add(oh); 1196 matches.add(oh); 1200 final int NM = matches.size(); 1202 return matches.get(0); 1205 Header oh = matches.get(j);
|
/frameworks/ex/common/java/com/android/common/ |
H A D | Rfc822Validator.java | 70 matcher(tokens[0].getAddress()).matches();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | AccessibilityManagerTest.java | 212 * matches expectations. 224 * matches expectations which in this case are that any instance is accepted. 243 public boolean matches(Object matched) { method in class:AccessibilityManagerTest.AccessibilityEventMather 263 public boolean matches(Object matched) { method in class:AccessibilityManagerTest.AnyIAccessibilityManagerClientMather
|
/frameworks/base/core/java/android/os/ |
H A D | FileUtils.java | 131 // Note, we check whether it matches what's known to be safe, 134 return SAFE_FILENAME_PATTERN.matcher(file.getPath()).matches();
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
H A D | PduComposer.java | 1162 if (address.matches(REGEXP_IPV4_ADDRESS_TYPE)) { 1165 }else if (address.matches(REGEXP_PHONE_NUMBER_ADDRESS_TYPE)) { 1168 } else if (address.matches(REGEXP_EMAIL_ADDRESS_TYPE)) { 1171 } else if (address.matches(REGEXP_IPV6_ADDRESS_TYPE)) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | ApnSetting.java | 105 // matches() operates on the whole string, so append .* to the regex. 106 if (data.matches(V2_FORMAT_REGEX + ".*")) {
|
H A D | SmsUsageMonitor.java | 210 .matches()) { 214 .matches()) { 218 .matches()) { 221 if (mShortCodePattern != null && mShortCodePattern.matcher(phoneNumber).matches()) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmDataConnection.java | 156 return Patterns.IP_ADDRESS.matcher(address).matches();
|
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
H A D | UiSelector.java | 309 * 2, the {@link #className(String)} matches the image 632 if (s == null || !s.toString().matches(getString(criterion))) { 668 if(s == null || !s.toString().matches(getString(criterion))) { 694 if(s == null || !s.toString().matches(getString(criterion))) { 723 if(s == null || !s.toString().matches(getString(criterion))) {
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
H A D | AccessPointParserHelper.java | 237 passwordStr.matches("[0-9A-Fa-f]*")) { 243 if (passwordStr.matches("[0-9A-Fa-f]{64}")) {
|
/frameworks/base/core/java/com/google/android/util/ |
H A D | AbstractMessageParser.java | 334 if (matches(getResources().getDomainSuffixes(), reverse(domain))) { 381 // prefix matches, we reverse all the strings to get suffix comparisons. 831 if (m.matches()) { 890 if (m.matches()) { 981 if (m.matches()) { 1068 if (m.matches()) { 1073 if (m.matches()) { 1381 private static boolean matches(TrieNode root, String str) { method in class:AbstractMessageParser
|