/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | PackageFilterTest.kt | 26 assertThat(filter.matches("foo.bar")).isTrue() in testExact() 27 assertThat(filter.matches("bar.baz")).isTrue() in testExact() 28 assertThat(filter.matches("foo.bar.baz")).isFalse() in testExact() 29 assertThat(filter.matches("foo")).isFalse() in testExact() 30 assertThat(filter.matches("foo.barf")).isFalse() in testExact() 36 assertThat(filter.matches("foo.bar")).isTrue() in testWildcard() 37 assertThat(filter.matches("foo.bars")).isTrue() in testWildcard() 38 assertThat(filter.matches("foo.bar.baz")).isTrue() in testWildcard() 39 assertThat(filter.matches("bar.baz")).isTrue() // different from doclava behavior in testWildcard() 40 assertThat(filter.matches("bar.bazz")).isFalse() in testWildcard() [all …]
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | MonkeyLogParser.java | 139 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 …]
|
D | SmartMonkeyLogParser.java | 119 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 …]
|
D | DmesgParser.java | 204 if ((match = matches(START_SERVICE, line)) != null) { in parseServiceInfo() 211 } else if ((match = matches(EXIT_SERVICE, line)) != null) { in parseServiceInfo() 234 if ((match = matches(START_STAGE, line)) != null) { in parseStageInfo() 242 if((match = matches(UEVENTD_STAGE_INFO, line)) != null) { in parseStageInfo() 250 if((match = matches(WAIT_FOR_PROPERTY_INFO, line)) != null) { in parseStageInfo() 258 if ((match = matches(MOUNT_STAGE_INFO, line)) != null) { in parseStageInfo() 287 if ((match = matches(START_PROCESSING_ACTION, line)) != null) { in parseActionInfo() 312 if ((match = matches(MODULES_INFO, line)) != null) { in parseModuleInfo() 321 if ((match = matches(MODULE_LOADING, line)) != null) { in parseModuleInfo() 327 } else if ((match = matches(MODULE_LOADED, line)) != null) { in parseModuleInfo() [all …]
|
D | AnrParser.java | 71 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()
|
D | LogcatParser.java | 235 if (m.matches()) { in parseLine() 242 } else if (tm.matches()) { in parseLine() 259 Pattern.matches("Rebooting, reason: .*", msg)) { in parseLine() 262 if (Pattern.matches(".*--------- beginning of .*", line)) { in parseLine() 266 if (!mIsParsing || !(m.matches() || tm.matches())) { in parseLine() 273 if (pidMatcher.matches()) { in parseLine() 284 if (!mDataMap.containsKey(key) || AnrParser.START.matcher(msg).matches()) { in parseLine() 301 … if (!mDataMap.containsKey(key) || NativeCrashParser.FINGERPRINT.matcher(msg).matches()) { in parseLine() 358 if (m.matches()) { in commit() 365 if (m.matches()) { in commit() [all …]
|
D | GfxInfoParser.java | 75 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()
|
D | JavaCrashParser.java | 77 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()
|
D | CompactMemInfoParser.java | 56 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()
|
D | EventsLogParser.java | 96 if ((match = matches(SYSUI_TRANSITION_INFO_PATTERN, line)) != null) { in parseTransitionDelayInfo() 154 if ((match = matches(ACTION_LATENCY, line)) != null) { in parseLatencyInfo() 176 if ((match = matches(BOOT_DURATION, line)) != null in parseBootEventInfo() 177 || (match = matches(STOPANIM_DURATION, line)) != null) { in parseBootEventInfo() 193 private static Matcher matches(Pattern pattern, String line) { in matches() method in EventsLogParser 195 return ret.matches() ? ret : null; in matches()
|
D | WakelockParser.java | 66 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()
|
D | MemoryHealthParser.java | 77 } 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()
|
D | DumpsysWifiStatsParser.java | 63 if(m.matches()) { in parse() 68 if (m.matches()) { in parse() 73 if (m.matches()) { in parse()
|
D | KernelLogParser.java | 135 if (m.matches()) { in parseLine() 173 if (m.matches()) { in checkAndAddKernelEvent() 180 if (m.matches()) { in checkAndAddKernelEvent() 187 if (m.matches()) { in checkAndAddKernelEvent()
|
D | DumpsysPackageStatsParser.java | 51 if (m.matches()) { in parse() 58 if (m.matches()) { in parse() 63 if (m.matches()) { in parse()
|
D | TracesParser.java | 62 if (m.matches()) { in parse() 66 if (m.matches()) { in parse() 70 if (m.matches()) { in parse()
|
D | ProcrankParser.java | 62 if (endMatcher.matches()) { in parse() 67 if (m.matches()) { in parse() 75 if (m.matches()) { in parse()
|
D | ProcessUsageParser.java | 62 if (m.matches()) { in parse() 72 if (m.matches()) { in parse() 83 if (m.matches()) { in parse()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | AnnotationFilter.kt | 12 fun matches(annotation: AnnotationItem): Boolean in <lambda>() method 14 fun matches(annotationSource: String): Boolean in <lambda>() method 45 override fun matches(annotationSource: String): Boolean { in matches() method in com.android.tools.metalava.MutableAnnotationFilter 48 return matches(wrapper) in matches() 51 override fun matches(annotation: AnnotationItem): Boolean { in matches() method in com.android.tools.metalava.MutableAnnotationFilter 56 return matches(wrapper) in matches() 59 private fun matches(annotation: AnnotationFilterEntry): Boolean { in matches() method
|
D | PackageFilter.kt | 34 fun matches(qualifiedName: String): Boolean { in matches() method 69 fun matches(packageItem: PackageItem): Boolean { in matches() method in com.android.tools.metalava.PackageFilter 70 return matches(packageItem.qualifiedName()) in matches()
|
D | ApiLint.kt | 450 if (!constantNamePattern.matches(name)) { in <lambda>() 522 if (!onCallbackNamePattern.matches(methodName)) { in <lambda>() 783 if (!fieldNamePattern.matches(field.name())) { in <lambda>() 790 if (internalNamePattern.matches(field.name())) { in <lambda>() 796 if (constantNamePattern.matches(field.name()) && field.isJava()) { in <lambda>() 987 if (!onCallbackNamePattern.matches(name)) { in <lambda>() 1886 if (name.startsWith("on") && onCallbackNamePattern.matches(name)) { in <lambda>() 2012 if (!configFieldPattern.matches(name)) { in <lambda>() 2020 if (!resourceFileFieldPattern.matches(name)) { in <lambda>() 2038 if (name.startsWith("config_") && configFieldPattern.matches(name)) { in <lambda>() [all …]
|
/tools/loganalysis/javatests/com/android/loganalysis/parser/ |
D | TraceFormatParserTest.java | 70 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/test/connectivity/acts_tests/tests/google/usb/ |
D | UsbTetheringThroughputTest.py | 102 matches = re.findall('inet (\d+.\d+.42.\d+)', check_usb_tethering) 103 if not matches: 107 return matches[0] 120 matches = re.findall('addr:(\d+.\d+.42.\d+)', check_usb_tethering) 121 if not matches: 125 return matches[0]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | ModifierList.kt | 116 options.showAnnotations.matches(it) in <lambda>() 130 options.showSingleAnnotations.matches(it) in <lambda>() 143 options.showForStubPurposesAnnotations.matches(it) in <lambda>() 145 … options.showAnnotations.matches(it) && !options.showForStubPurposesAnnotations.matches(it) in <lambda>() 161 options.hideAnnotations.matches(annotation) || in <lambda>()
|
/tools/test/connectivity/acts/framework/acts/ |
D | test_runner.py | 208 matches = fnmatch.filter(self.test_classes.keys(), test_cls_name) 209 if not matches: 217 if matches != [test_cls_name]: 219 test_cls_name, matches) 221 for test_cls_name_match in matches:
|