Home
last modified time | relevance | path

Searched refs:matches (Results 1 – 25 of 32) 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/tools/winscope/src/trace/
Dframe_mapper.ts116 const matches = surfaceFlinger.sliceTime(startSearchTime, endSearchTime); constant
117 if (matches.lengthEntries > 0) {
118 const dstEntry = matches.getEntry(matches.lengthEntries - 1);
189 const matches = transactions.sliceTime( constant
195 matches.getFramesRange(),
207 const matches = transactions.sliceTime(startSearchTime, endSearchTime); constant
210 matches.getFramesRange(),
231 const matches = protoLog.sliceTime(startSearchTime, endSearchTime); constant
232 matches.forEachEntry((dstEntry) => {
246 const matches = protoLog.sliceTime(startSearchTime, endSearchTime); constant
[all …]
/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/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/cargo_embargo/src/
Dcargo.rs60 matches!(self, Self::Lib | Self::RLib | Self::DyLib | Self::CDyLib | Self::StaticLib) in is_library()
65 matches!(self, Self::Test | Self::TestNoHarness) in is_test()
70 matches!(self, Self::CDyLib | Self::StaticLib) in is_c_library()
/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/privapp_permissions/
Dprivapp_permissions.py707 matches = re.search(regex, line)
708 if matches:
709 name = matches.group(1)
712 matches = re.search(regex, line)
713 if matches:
714 package_name = matches.group(1)
737 matches = re.search(ANDROID_NAME_REGEX, line)
738 if matches:
739 name = matches.group(1)
742 matches = re.search(ANDROID_PROTECTION_LEVEL_REGEX, line)
[all …]
/development/tools/findunused/
Dfindunusedtranslations39 @matches = (glob($pattern1), glob($pattern2));
55 for $match (@matches) {
/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/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/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/utils/
DUtils.java38 if (sSafeStringPattern.matcher(s).matches()) { in shellEscape()
/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/tools/bugreport/src/com/android/bugreport/bugreport/
DBugreportParser.java104 if (Utils.matches(mSectionBegin, line.text)) { in parse()
/development/tools/idegen/src/com/android/idegen/
DDirectorySearch.java196 if (matcher.matches()) { in findExcludeDirs()
/development/tools/external_crates/crate_health/src/
Dname_and_version.rs130 .is_ok_and(|req| req.matches(other.version())) in is_upgradable_to()
/development/tools/winscope/src/app/components/
Dapp_component.ts391 storeDarkMode ? storeDarkMode === 'true' : prefersDarkQuery.matches,

12