Home
last modified time | relevance | path

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

12345

/tools/loganalysis/src/com/android/loganalysis/parser/
DMonkeyLogParser.java139 if (!m.matches()) { in parseLine()
155 if (m.matches()) { in parseLine()
165 if (!m.matches() && line.startsWith("// ") && !line.startsWith("// ** ")) { in parseLine()
175 if (m.matches()) { in parseLine()
189 if (!m.matches()) { in parseLine()
197 if (m.matches()) { in parseLine()
201 if (m.matches()) { in parseLine()
206 if (m.matches()) { in parseLine()
210 if (m.matches()) { in parseLine()
214 if (m.matches()) { in parseLine()
[all …]
DSmartMonkeyLogParser.java119 if (m.matches()) { in parseLine()
123 if (m.matches()) { in parseLine()
127 if (m.matches()) { in parseLine()
142 if (m.matches()) { in parseLine()
146 if (m.matches()) { in parseLine()
150 if (m.matches()) { in parseLine()
154 if (m.matches()) { in parseLine()
160 if (m.matches()) { in parseLine()
164 if (m.matches()) { in parseLine()
168 if (m.matches()) { in parseLine()
[all …]
DAnrParser.java71 if (m.matches()) { in parse()
78 if (m.matches()) { in parse()
82 if (m.matches()) { in parse()
87 if (m.matches()) { in parse()
94 if (!matchedTotal && m.matches()) { in parse()
99 Double usage = m.matches() ? Double.parseDouble(m.group(1)) : 0.0; in parse()
103 usage = m.matches() ? Double.parseDouble(m.group(1)) : 0.0; in parse()
107 usage = m.matches() ? Double.parseDouble(m.group(1)) : 0.0; in parse()
DGfxInfoParser.java75 if (m.matches() && m.groupCount() == 2) { in parse()
88 if (totalFrames == null && m.matches()) { in parse()
93 if (jankyFrames == null && m.matches()) { in parse()
98 if (percentile90 == null && m.matches()) { in parse()
103 if (percentile95 == null && m.matches()) { in parse()
108 if (percentile99 == null && m.matches()) { in parse()
DJavaCrashParser.java77 if (exceptionMatch.matches()) { in parse()
90 if (causedByMatch.matches()) { in parse()
97 if (atMatch.matches()) { in parse()
102 if (!causedByMatch.matches() && !atMatch.matches()) { in parse()
DCompactMemInfoParser.java56 if (m.matches()) { in parse()
75 if (m.matches()) { in parse()
86 if (m.matches()) { in parse()
96 if (m.matches()) { in parse()
107 if (m.matches()) { in parse()
DDmesgParser.java168 if ((match = matches(START_SERVICE, line)) != null) { in parseServiceInfo()
175 } else if ((match = matches(EXIT_SERVICE, line)) != null) { in parseServiceInfo()
199 if ((match = matches(START_STAGE, line)) != null) { in parseStageInfo()
207 if((match = matches(UEVENTD_STAGE_INFO, line)) != null) { in parseStageInfo()
228 if ((match = matches(START_PROCESSING_ACTION, line)) != null in parseActionInfo()
229 || (match = matches(START_PROCESSING_ACTION_LEGACY, line)) != null) { in parseActionInfo()
246 private static Matcher matches(Pattern pattern, String line) { in matches() method in DmesgParser
248 return ret.matches() ? ret : null; in matches()
DDumpsysWifiStatsParser.java63 if(m.matches()) { in parse()
68 if (m.matches()) { in parse()
73 if (m.matches()) { in parse()
DTracesParser.java62 if (m.matches()) { in parse()
66 if (m.matches()) { in parse()
70 if (m.matches()) { in parse()
DDumpsysPackageStatsParser.java51 if (m.matches()) { in parse()
58 if (m.matches()) { in parse()
63 if (m.matches()) { in parse()
DWakelockParser.java66 if (m.matches() && !line.contains("PowerManagerService.WakeLocks")) { in parse()
73 if (m.matches()) { in parse()
90 if (!m.matches()) { in parseKernelWakeLock()
114 if (!m.matches()) { in parsePartialWakeLock()
DLogcatParser.java232 if (m.matches()) { in parseLine()
239 } else if (tm.matches()) { in parseLine()
256 Pattern.matches("Rebooting, reason: .*", msg)) { in parseLine()
259 if (Pattern.matches(".*--------- beginning of .*", line)) { in parseLine()
263 if (!mIsParsing || !(m.matches() || tm.matches())) { in parseLine()
270 if (pidMatcher.matches()) { in parseLine()
281 if (!mDataMap.containsKey(key) || AnrParser.START.matcher(msg).matches()) { in parseLine()
298 … if (!mDataMap.containsKey(key) || NativeCrashParser.FINGERPRINT.matcher(msg).matches()) { in parseLine()
355 if (m.matches()) { in commit()
362 if (m.matches()) { in commit()
[all …]
DProcrankParser.java62 if (endMatcher.matches()) { in parse()
67 if (m.matches()) { in parse()
75 if (m.matches()) { in parse()
DProcessUsageParser.java62 if (m.matches()) { in parse()
72 if (m.matches()) { in parse()
83 if (m.matches()) { in parse()
DBatteryUsageParser.java47 if(m.matches()) { in parse()
51 if (m.matches()) { in parse()
DEventsLogParser.java77 if ((match = matches(SYSUI_TRANSITION_INFO_PATTERN, line)) != null) { in parseTransitionDelayInfo()
135 if (((match = matches(ACTION_LATENCY, line))) != null) { in parseLatencyInfo()
151 private static Matcher matches(Pattern pattern, String line) { in matches() method in EventsLogParser
153 return ret.matches() ? ret : null; in matches()
DMemoryHealthParser.java77 } else if (COUNT_PATTERN.matcher(line).matches()) { in parse()
81 } else if (METRIC_PATTERN.matcher(line).matches()) { in parse()
83 m.matches(); in parse()
90 } else if (PROCESS_PATTERN.matcher(line).matches()) { in parse()
DNativeCrashParser.java47 if (m.matches()) { in parse()
54 if (m.matches()) { in parse()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceSelectionOptionsTest.java96 assertTrue(options.matches(device)); in testGetSerials_envVariable_nullDevice()
182 assertFalse(options.matches(mMockDevice));
194 assertTrue(options.matches(mMockDevice));
210 assertTrue(options.matches(mMockDevice));
222 assertTrue(options.matches(mMockDevice));
233 assertFalse(options.matches(mMockDevice));
247 assertTrue(options.matches(mMockDevice));
261 assertFalse(options.matches(mMockDevice));
272 assertTrue(options.matches(emulatorDevice));
280 assertFalse(options.matches(emulatorDevice));
[all …]
/tools/metalava/src/test/java/com/android/tools/metalava/
DPackageFilterTest.kt26 assertThat(filter.matches("foo.bar")).isTrue() in test()
27 assertThat(filter.matches("bar.baz")).isTrue() in test()
28 assertThat(filter.matches("foo.bar.baz")).isTrue() in test()
29 assertThat(filter.matches("foo.barf")).isFalse() in test()
30 assertThat(filter.matches("foo")).isFalse() in test()
/tools/metalava/src/main/java/com/android/tools/metalava/
DPackageFilter.kt9 fun matches(qualifiedName: String): Boolean { in matches() method
23 fun matches(packageItem: PackageItem): Boolean { in matches() method in com.android.tools.metalava.PackageFilter
24 return matches(packageItem.qualifiedName()) in matches()
/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DTraceFormatParserTest.java70 Assert.assertTrue(m.matches()); in testParseFormatLine()
86 Assert.assertTrue(m.matches()); in testNoParameters()
142 Assert.assertTrue(m.matches()); in testQuoteInParams()
170 Assert.assertTrue(m.matches()); in testCaseConvertParameterName()
182 Assert.assertTrue(m.matches()); in testMatchInt()
195 Assert.assertTrue(m.matches()); in testMatchFloat()
209 Assert.assertTrue(m.matches()); in testMatchHex()
223 Assert.assertTrue(m.matches()); in testMatchString()
/tools/tradefederation/core/src/com/android/tradefed/util/
DKeyguardControllerState.java47 if (!matcher.matches()) { in create()
61 if (matcher.matches()) { in extract()
70 if (matcher.matches()) { in extract()
/tools/tradefederation/contrib/src/com/android/media/tests/
DMediaTest.java34 assertTrue(m.matches()); in testVideoEditorPositiveOut()
41 assertTrue(m.matches()); in testVideoEditorNegativeOut()
/tools/tradefederation/core/src/com/android/tradefed/device/
DManagedDeviceList.java56 public boolean matches(IManagedTestDevice element) { in matches() method in ManagedDeviceList.AllocationMatcher
57 if (mDeviceSelectionMatcher.matches(element.getIDevice())) { in matches()
117 public boolean matches(IManagedTestDevice element) { in find()
170 if (m.matches(d)) {
186 if (m.matches(d)) {

12345