Home
last modified time | relevance | path

Searched refs:matches (Results 1 – 25 of 27) sorted by relevance

12

/development/tools/bugreport/src/com/android/bugreport/stacks/
DProcessSnapshotParser.java74 if (Utils.matches(beginProcessRe, text)) { in parse()
77 } else if (Utils.matches(beginUnmanagedThreadRe, text)) { in parse()
81 } else if (Utils.matches(beginManagedThreadRe, text)) { in parse()
85 } else if (Utils.matches(beginNotAttachedThreadRe, text)) { in parse()
89 } else if (Utils.matches(endProcessRe, text)) { in parse()
91 } else if (Utils.matches(cmdLineRe, text)) { in parse()
105 if (Utils.matches(beginUnmanagedThreadRe, text) in parse()
106 || Utils.matches(beginManagedThreadRe, text) in parse()
107 || Utils.matches(beginNotAttachedThreadRe, text)) { in parse()
116 } else if (Utils.matches(endProcessRe, text)) { in parse()
DThreadSnapshotParser.java129 if (Utils.matches(beginUnmanagedThreadRe, line.text)) { in parse()
135 } else if (Utils.matches(beginManagedThreadRe, line.text)) { in parse()
142 } else if (Utils.matches(beginNotAttachedThreadRe, line.text)) { in parse()
155 if (Utils.matches(heldMutexesRe, text)) { in parse()
158 } else if (Utils.matches(attrRe, text)) { in parse()
160 if (Utils.matches(sysTidAttrRe, text)) { in parse()
163 if (Utils.matches(stateAttrRe, text)) { in parse()
176 if (Utils.matches(nativeRe, text)) { in parse()
184 } else if (Utils.matches(nativeNoLocRe, text)) { in parse()
192 } else if (Utils.matches(kernelRe, text)) { in parse()
[all …]
DVmTracesParser.java59 if (Utils.matches(mBeginProcessRe, text)) { in parse()
69 if (Utils.matches(mBeginProcessRe, text)) { in parse()
/development/gsi/gsi_util/
Drun_test.py25 matches = []
28 matches.extend(os.path.join(dirpath, f)
30 return matches
/development/tools/bugreport/src/com/android/bugreport/anr/
DAnrParser.java71 if (Utils.matches(procNameRe, text)) { in parse()
78 } else if (Utils.matches(pidRe, text)) { in parse()
82 } else if (Utils.matches(reasonRe, text)) { in parse()
86 } else if (Utils.matches(cpuUsageRe, text)) { in parse()
97 } else if (Utils.matches(beginProcessRe, text)) { in parse()
/development/tools/privapp_permissions/
Dprivapp_permissions.py487 matches = re.search(regex, line)
488 if matches:
489 name = matches.group(1)
492 matches = re.search(regex, line)
493 if matches:
494 package_name = matches.group(1)
517 matches = re.search(ANDROID_NAME_REGEX, line)
518 if matches:
519 name = matches.group(1)
522 matches = re.search(ANDROID_PROTECTION_LEVEL_REGEX, line)
[all …]
/development/tools/bugreport/src/com/android/bugreport/util/
DUtils.java49 public static boolean matches(Matcher matcher, String text) { in matches() method in Utils
51 return matcher.matches(); in matches()
59 if (matcher.matches()) { in match()
/development/tools/findunused/
Dfindunusedtranslations39 @matches = (glob($pattern1), glob($pattern2));
55 for $match (@matches) {
/development/tools/bugreport/src/com/android/bugreport/monkey/
DMonkeyLogParser.java60 if (Utils.matches(anrStart, text)) { in parse()
91 if (anrStart.matches()) { in extractAnrLines()
98 if (monkeyEnd.matches()) { in extractAnrLines()
/development/tools/bugreport/src/com/android/bugreport/cpuinfo/
DCpuUsageParser.java52 if (Utils.matches(cpuUsageRe, text)) { in parse()
54 } else if (Utils.matches(totalRe, text)) { in parse()
/development/tools/idegen/
DREADME59 has one regular expression per line that matches paths (relative to the
72 Each line in the file is a regular expression that matches a source root
74 path matches a regular expression that comes earlier in the file, that
82 add "^(?!out/)" (which matches all paths that don't start with "out/").
/development/tools/idegen/src/
DEclipse.java72 if (bucket.matches(path)) { in generateFrom()
184 private boolean matches(String path) { in matches() method in Eclipse.Bucket
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/utils/
DUtils.java38 if (sSafeStringPattern.matcher(s).matches()) { in shellEscape()
/development/tools/checkcolor/src/main/java/com/google/checkcolor/lint/
DHardcodedColorDetector.java210 return color.matches("#[0-9a-fA-F]{3}") in isHardcodedColor()
211 || color.matches("#[0-9a-fA-F]{6}") in isHardcodedColor()
212 || color.matches("#[0-9a-fA-F]{8}"); in isHardcodedColor()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DVoiceRecognition.java141 ArrayList<String> matches = data.getStringArrayListExtra( in onActivityResult() local
144 matches)); in onActivityResult()
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/
DPduComposer.java1169 if (address.matches(REGEXP_IPV4_ADDRESS_TYPE)) { in checkAddressType()
1172 }else if (address.matches(REGEXP_PHONE_NUMBER_ADDRESS_TYPE)) { in checkAddressType()
1175 } else if (address.matches(REGEXP_EMAIL_ADDRESS_TYPE)) { in checkAddressType()
1178 } else if (address.matches(REGEXP_IPV6_ADDRESS_TYPE)) { in checkAddressType()
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DXmlDocumentProvider.java416 if (mSelectionPattern.matcher(path.toString()).matches()) { in parseWith()
433 if (mProjectionPatterns[i].matcher(localNodePath).matches()) { in parseWith()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyGetFrameRateEvent.java103 if (m.matches()){ in getNumberOfFrames()
DMonkeyGetAppFrameRateEvent.java114 if (m.matches()) { in getNumberOfFrames()
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DExtendedWikiHelper.java255 sValidSections.matcher(title).matches()) { in formatWikiText()
/development/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/
DMultiClientInputMethod.java159 if (display.getUniqueId().matches(regexp)) { in findDisplayId()
/development/tools/idegen/src/com/android/idegen/
DDirectorySearch.java196 if (matcher.matches()) { in findExcludeDirs()
DModule.java239 if (relative.matches(".*/tests?/.*")) { in buildImlFile()
/development/tools/bugreport/src/com/android/bugreport/bugreport/
DBugreportParser.java104 if (Utils.matches(mSectionBegin, line.text)) { in parse()
/development/tools/bugreport/src/com/android/bugreport/inspector/
DInspector.java719 && Utils.matches(mMatcher, line.text); in match()
788 && Utils.matches(inputDispatcherRe, line.text)) { in markAnrLogcatRegions()

12