/development/tools/bugreport/src/com/android/bugreport/util/ |
D | Utils.java | 49 public static boolean matches(Matcher matcher, String text) { in matches() argument 50 matcher.reset(text); in matches() 51 return matcher.matches(); in matches() 57 public static Matcher match(Matcher matcher, String text) { in match() argument 58 matcher.reset(text); in match() 59 if (matcher.matches()) { in match() 60 return matcher; in match() 70 public static int getInt(Matcher matcher, int group, int def) { in getInt() argument 71 final String str = matcher.group(group); in getInt() 90 public static GregorianCalendar parseCalendar(Matcher matcher, int startGroup, in parseCalendar() argument [all …]
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
D | DictionaryProvider.java | 56 UriMatcher matcher = new UriMatcher(UriMatcher.NO_MATCH); in buildUriMatcher() local 58 matcher.addURI(AUTHORITY, "dictionary", SEARCH_WORDS); in buildUriMatcher() 59 matcher.addURI(AUTHORITY, "dictionary/#", GET_WORD); in buildUriMatcher() 61 matcher.addURI(AUTHORITY, SearchManager.SUGGEST_URI_PATH_QUERY, SEARCH_SUGGEST); in buildUriMatcher() 62 matcher.addURI(AUTHORITY, SearchManager.SUGGEST_URI_PATH_QUERY + "/*", SEARCH_SUGGEST); in buildUriMatcher() 70 matcher.addURI(AUTHORITY, SearchManager.SUGGEST_URI_PATH_SHORTCUT, REFRESH_SHORTCUT); in buildUriMatcher() 71 matcher.addURI(AUTHORITY, SearchManager.SUGGEST_URI_PATH_SHORTCUT + "/*", REFRESH_SHORTCUT); in buildUriMatcher() 72 return matcher; in buildUriMatcher()
|
/development/tools/bugreport/src/com/android/bugreport/stacks/ |
D | ThreadSnapshotParser.java | 96 final Matcher beginUnmanagedThreadRe = BEGIN_UNMANAGED_THREAD_RE.matcher(""); in parse() 97 final Matcher beginManagedThreadRe = BEGIN_MANAGED_THREAD_RE.matcher(""); in parse() 98 final Matcher beginNotAttachedThreadRe = BEGIN_NOT_ATTACHED_THREAD_RE.matcher(""); in parse() 99 final Matcher attrRe = ATTR_RE.matcher(""); in parse() 100 final Matcher heldMutexesRe = HELD_MUTEXES_RE.matcher(""); in parse() 101 final Matcher nativeRe = NATIVE_RE.matcher(""); in parse() 102 final Matcher nativeNoLocRe = NATIVE_NO_LOC_RE.matcher(""); in parse() 103 final Matcher kernelRe = KERNEL_RE.matcher(""); in parse() 104 final Matcher kernelUnknownRe = KERNEL_UNKNOWN_RE.matcher(""); in parse() 105 final Matcher javaRe = JAVA_RE.matcher(""); in parse() [all …]
|
D | ProcessSnapshotParser.java | 56 final Matcher beginProcessRe = BEGIN_PROCESS_RE.matcher(""); in parse() 58 .matcher(""); in parse() 60 .matcher(""); in parse() 62 .matcher(""); in parse() 63 final Matcher endProcessRe = END_PROCESS_RE.matcher(""); in parse() 64 final Matcher cmdLineRe = CMD_LINE_RE.matcher(""); in parse()
|
D | VmTracesParser.java | 41 private final Matcher mBeginProcessRe = ProcessSnapshotParser.BEGIN_PROCESS_RE.matcher("");
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
D | WordWidget.java | 103 Matcher matcher = Pattern.compile(WOTD_PATTERN).matcher(pageContent); in buildUpdate() local 104 if (matcher.find()) { in buildUpdate() 108 String wordTitle = matcher.group(1); in buildUpdate() 110 views.setTextViewText(R.id.word_type, matcher.group(2)); in buildUpdate() 111 views.setTextViewText(R.id.definition, matcher.group(3).trim()); in buildUpdate()
|
D | ExtendedWikiHelper.java | 148 Matcher m = mPattern.matcher(input); in apply() 217 !sInvalidWord.matcher(foundWord).find()) { in getRandomWord() 251 Matcher sectionMatcher = sSectionSplit.matcher(wikiText); in formatWikiText() 255 sValidSections.matcher(title).matches()) { in formatWikiText()
|
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/ |
D | WordWidget.java | 94 Matcher matcher = pattern.matcher(pageContent); in buildUpdate() local 95 if (matcher.find()) { in buildUpdate() 99 String wordTitle = matcher.group(1); in buildUpdate() 101 updateViews.setTextViewText(R.id.word_type, matcher.group(2)); in buildUpdate() 102 updateViews.setTextViewText(R.id.definition, matcher.group(3).trim()); in buildUpdate()
|
/development/tools/bugreport/src/com/android/bugreport/anr/ |
D | AnrParser.java | 62 final Matcher procNameRe = PROC_NAME_RE.matcher(""); in parse() 63 final Matcher pidRe = PID_RE.matcher(""); in parse() 64 final Matcher reasonRe = REASON_RE.matcher(""); in parse() 65 final Matcher cpuUsageRe = CpuUsageParser.CPU_USAGE_RE.matcher(""); in parse() 66 final Matcher beginProcessRe = ProcessSnapshotParser.BEGIN_PROCESS_RE.matcher(""); in parse()
|
/development/tools/bugreport/src/com/android/bugreport/monkey/ |
D | MonkeyLogParser.java | 59 final Matcher anrStart = NOT_RESPONDING_RE.matcher(text); in parse() 80 final Matcher anrStart = NOT_RESPONDING_RE.matcher(""); in extractAnrLines() 81 final Matcher monkeyEnd = ABORTED_RE.matcher(""); in extractAnrLines()
|
/development/tools/bugreport/src/com/android/bugreport/cpuinfo/ |
D | CpuUsageParser.java | 46 final Matcher cpuUsageRe = CPU_USAGE_RE.matcher(""); in parse() 47 final Matcher totalRe = TOTAL_RE.matcher(""); in parse()
|
/development/tools/bugreport/src/com/android/bugreport/bugreport/ |
D | MetadataParser.java | 38 private final Matcher mDumpstateLineRe = DUMPSTATE_LINE_RE.matcher(""); 39 private final Matcher mHeaderLineRe = HEADER_LINE_RE.matcher("");
|
D | BugreportParser.java | 48 private final Matcher mSectionBegin = SECTION_BEGIN.matcher(""); 49 private final Matcher mSectionBeginNoCmd = SECTION_BEGIN_NO_CMD.matcher(""); 50 private final Matcher mSectionEnd = SECTION_END.matcher("");
|
/development/tools/idegen/src/ |
D | Excludes.java | 39 if (pattern.matcher(path).find()) { in exclude()
|
D | Eclipse.java | 185 return pattern.matcher(path).find(); in matches()
|
/development/tools/bugreport/src/com/android/bugreport/logcat/ |
D | LogcatParser.java | 37 private final Matcher mBufferBeginRe = BUFFER_BEGIN_RE.matcher(""); 38 private final Matcher mLogLineRe = LOG_LINE_RE.matcher("");
|
/development/tools/idegen/src/com/android/idegen/ |
D | DirectorySearch.java | 195 Matcher matcher = EXCLUDE_PATTERN.matcher(child.getName()); in findExcludeDirs() local 196 if (matcher.matches()) { in findExcludeDirs()
|
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/utils/ |
D | Utils.java | 38 if (sSafeStringPattern.matcher(s).matches()) { in shellEscape()
|
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
D | XmlDocumentProvider.java | 416 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/ |
D | MonkeyGetFrameRateEvent.java | 102 Matcher m = NO_OF_FRAMES_PATTERN.matcher(input); in getNumberOfFrames()
|
D | MonkeyGetAppFrameRateEvent.java | 113 Matcher m = NO_OF_FRAMES_PATTERN.matcher(line); in getNumberOfFrames()
|
/development/tools/bugreport/src/com/android/bugreport/inspector/ |
D | Inspector.java | 54 private final Matcher mBufferBeginRe = LogcatParser.BUFFER_BEGIN_RE.matcher(""); 710 mMatcher = Pattern.compile(regex).matcher(""); in InterestingLineMatcher() 765 + " (\\d+\\.?\\d*)ms since wait started.*").matcher(""); in markLogcatProcessesAndThreads() 784 + " (\\d+\\.?\\d*)ms since wait started.*").matcher(""); in markAnrLogcatRegions()
|
/development/tools/winscope/adb_proxy/ |
D | winscope_proxy.py | 79 def __init__(self, path, matcher, filetype) -> None: argument 81 self.matcher = matcher
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
D | RssService.java | 209 Matcher m = p.matcher(xml); in parseRssDocPubDate()
|
/development/vndk/tools/sourcedr/ninja/ |
D | ninja.py | 424 def _lex_string_or_path(self, matcher, result_kind): argument 437 match = matcher.match(self._line_buf, self._line_pos)
|