/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | MonkeyLogParser.java | 131 Matcher m; in parseLine() local 138 m = MONKEY_LOG_MESSAGE.matcher(line); in parseLine() 139 if (!m.matches()) { in parseLine() 154 m = ABORTED.matcher(line); in parseLine() 155 if (m.matches()) { in parseLine() 164 m = MONKEY_LOG_MESSAGE.matcher(line); in parseLine() 165 if (!m.matches() && line.startsWith("// ") && !line.startsWith("// ** ")) { in parseLine() 174 m = TRACES_STOP.matcher(line); in parseLine() 175 if (m.matches()) { in parseLine() 188 m = MONKEY_LOG_MESSAGE.matcher(line); in parseLine() [all …]
|
D | SmartMonkeyLogParser.java | 118 Matcher m = THROTTLE.matcher(line); in parseLine() local 119 if (m.matches()) { in parseLine() 120 mSmartMonkeyLog.setThrottle(Integer.parseInt(m.group(2))); in parseLine() 122 m = TARGET_INVOCATIONS.matcher(line); in parseLine() 123 if (m.matches()) { in parseLine() 124 mSmartMonkeyLog.setTargetInvocations(Integer.parseInt(m.group(2))); in parseLine() 126 m = APPS_PACKAGES.matcher(line); in parseLine() 127 if (m.matches()) { in parseLine() 128 String apps = m.group(2); in parseLine() 129 String packages = m.group(3); in parseLine() [all …]
|
D | AnrParser.java | 69 Matcher m = START.matcher(line); in parse() local 71 if (m.matches()) { in parse() 73 anr.setApp(m.group(1)); in parse() 77 m = PID.matcher(line); in parse() 78 if (m.matches()) { in parse() 79 anr.setPid(Integer.valueOf(m.group(1))); in parse() 81 m = REASON.matcher(line); in parse() 82 if (m.matches()) { in parse() 83 anr.setReason(m.group(1)); in parse() 86 m = LOAD.matcher(line); in parse() [all …]
|
D | WakelockParser.java | 57 Matcher m = null; in parse() local 65 m = KERNEL_WAKE_LOCK_PAT.matcher(line); in parse() 66 if (m.matches() && !line.contains("PowerManagerService.WakeLocks")) { in parse() 72 m = PARTIAL_WAKE_LOCK_PAT.matcher(line); in parse() 73 if (m.matches()) { in parse() 89 Matcher m = KERNEL_WAKE_LOCK_PAT.matcher(line); in parseKernelWakeLock() local 90 if (!m.matches()) { in parseKernelWakeLock() 93 final String name = m.group(1); in parseKernelWakeLock() 95 NumberFormattingUtil.parseIntOrZero(m.group(2)), in parseKernelWakeLock() 96 NumberFormattingUtil.parseIntOrZero(m.group(3)), in parseKernelWakeLock() [all …]
|
D | CompactMemInfoParser.java | 55 Matcher m = PROC_PATTERN.matcher(line); in parse() local 56 if (m.matches()) { in parse() 57 String type = m.group(1); in parse() 58 String name = m.group(2); in parse() 60 int pid = Integer.parseInt(m.group(3)); in parse() 61 long pss = Long.parseLong(m.group(4)); in parse() 63 if (m.group(6) != null && !"N/A".equals(m.group(6))) { in parse() 64 swap = Long.parseLong(m.group(6)); in parse() 66 boolean activities = "a".equals(m.group(7)); in parse() 74 m = LOST_RAM_PATTERN.matcher(line); in parse() [all …]
|
D | GfxInfoParser.java | 74 Matcher m = PID_PREFIX.matcher(line); in parse() local 75 if (m.matches() && m.groupCount() == 2) { in parse() 77 pid = Integer.parseInt(m.group(1)); in parse() 78 name = m.group(2); in parse() 87 m = TOTAL_FRAMES_PREFIX.matcher(line); in parse() 88 if (totalFrames == null && m.matches()) { in parse() 89 totalFrames = Long.parseLong(m.group(1)); in parse() 92 m = JANKY_FRAMES_PREFIX.matcher(line); in parse() 93 if (jankyFrames == null && m.matches()) { in parse() 94 jankyFrames = Long.parseLong(m.group(1)); in parse() [all …]
|
D | ProcrankParser.java | 66 Matcher m = SHORT_LINE_PAT.matcher(line); in parse() local 67 if (m.matches()) { in parse() 68 item.addProcrankLine(Integer.parseInt(m.group(1)), m.group(6), in parse() 69 Integer.parseInt(m.group(2)), Integer.parseInt(m.group(3)), in parse() 70 Integer.parseInt(m.group(4)), Integer.parseInt(m.group(5))); in parse() 74 m = LONG_LINE_PAT.matcher(line); in parse() 75 if (m.matches()) { in parse() 76 item.addProcrankLine(Integer.parseInt(m.group(1)), m.group(10), in parse() 77 Integer.parseInt(m.group(2)), Integer.parseInt(m.group(3)), in parse() 78 Integer.parseInt(m.group(4)), Integer.parseInt(m.group(5))); in parse()
|
D | ProcessUsageParser.java | 61 Matcher m = UID_PATTERN.matcher(line); in parse() local 62 if (m.matches()) { in parse() 67 processUid = m.group(1); in parse() 71 m = SENSOR_PATTERN.matcher(line); in parse() 72 if (m.matches()) { in parse() 74 NumberFormattingUtil.parseIntOrZero(m.group(2)), in parse() 75 NumberFormattingUtil.parseIntOrZero(m.group(3)), in parse() 76 NumberFormattingUtil.parseIntOrZero(m.group(4)), in parse() 77 NumberFormattingUtil.parseIntOrZero(m.group(5)), in parse() 78 NumberFormattingUtil.parseIntOrZero(m.group(6))); in parse() [all …]
|
D | BatteryStatsDetailedInfoParser.java | 65 Matcher m = null; 70 m = TIME_ON_BATTERY_PATTERN.matcher(line); 71 if (m.matches()) { 73 NumberFormattingUtil.parseIntOrZero(m.group(1)), 74 NumberFormattingUtil.parseIntOrZero(m.group(2)), 75 NumberFormattingUtil.parseIntOrZero(m.group(3)), 76 NumberFormattingUtil.parseIntOrZero(m.group(4)), 77 NumberFormattingUtil.parseIntOrZero(m.group(5))); 80 m = SCREEN_OFF_TIME_PATTERN.matcher(line); 81 if (m.matches()) { [all …]
|
D | DvmLockSampleParser.java | 91 Matcher m = LOG_CONTENTION_EVENT_PATTERN.matcher(line); in parse() local 93 if(m.matches()) { in parse() 95 m.group(1)); in parse() 98 1 == Integer.parseInt(m.group(2))); in parse() 101 m.group(3)); in parse() 104 Integer.parseInt(m.group(4))); in parse() 107 m.group(5)); in parse() 110 Integer.parseInt(m.group(6))); in parse() 115 m.group(7).equals("-") ? m.group(5) : m.group(7)); in parse() 118 Integer.parseInt(m.group(8))); in parse() [all …]
|
D | KernelLogParser.java | 134 Matcher m = LOG_LINE.matcher(line); in parseLine() local 135 if (m.matches()) { in parseLine() 136 Double time = Double.parseDouble(m.group(2)); in parseLine() 137 String msg = m.group(3); in parseLine() 172 Matcher m = SELINUX_DENIAL_PATTERN.matcher(message); in checkAndAddKernelEvent() local 173 if (m.matches()) { in checkAndAddKernelEvent() 174 selinuxItem.setSContext(m.group(1)); in checkAndAddKernelEvent() 179 Matcher m = PAGE_ALLOC_FAILURE_PATTERN.matcher(message); in checkAndAddKernelEvent() local 180 if (m.matches()) { in checkAndAddKernelEvent() 181 allocItem.setOrder(Integer.parseInt(m.group(1))); in checkAndAddKernelEvent() [all …]
|
D | TopParser.java | 56 Matcher m = TICKS_PAT.matcher(line); in parse() local 57 if (m.matches()) { in parse() 58 item.setUser(Integer.parseInt(m.group(1))); in parse() 59 item.setNice(Integer.parseInt(m.group(2))); in parse() 60 item.setSystem(Integer.parseInt(m.group(3))); in parse() 61 item.setIdle(Integer.parseInt(m.group(4))); in parse() 62 item.setIow(Integer.parseInt(m.group(5))); in parse() 63 item.setIrq(Integer.parseInt(m.group(6))); in parse() 64 item.setSirq(Integer.parseInt(m.group(7))); in parse() 65 item.setTotal(Integer.parseInt(m.group(8))); in parse()
|
D | LocationServiceParser.java | 45 Matcher m = null; in parse() local 47 m = LOCATION_PAT.matcher(line); in parse() 48 if (m.matches()) { in parse() 49 mItem.addLocationClient(m.group(5), NumberFormattingUtil.parseIntOrZero(m.group(1)), in parse() 50 NumberFormattingUtil.parseIntOrZero(m.group(2)), in parse() 51 NumberFormattingUtil.parseIntOrZero(m.group(3)), m.group(6), in parse() 52 NumberFormattingUtil.parseIntOrZero(m.group(4))); in parse()
|
D | DumpsysPackageStatsParser.java | 50 Matcher m = PACKAGE_NAME.matcher(line); in parse() local 51 if (m.matches()) { in parse() 52 packageName = m.group(1); in parse() 57 m = VERSION_CODE.matcher(line); in parse() 58 if (m.matches()) { in parse() 59 versionCode = m.group(1); in parse() 62 m = VERSION_NAME.matcher(line); in parse() 63 if (m.matches()) { in parse() 64 versionName = m.group(1).trim(); in parse()
|
D | NativeCrashParser.java | 46 Matcher m = FINGERPRINT.matcher(line); in parse() local 47 if (m.matches()) { in parse() 49 nc.setFingerprint(m.group(1)); in parse() 53 m = APP.matcher(line); in parse() 54 if (m.matches()) { in parse() 55 nc.setPid(Integer.valueOf(m.group(1))); in parse() 56 nc.setTid(Integer.valueOf(m.group(2))); in parse() 57 nc.setApp(m.group(4)); in parse()
|
D | DumpsysProcessMeminfoParser.java | 46 Matcher m = MEMINFO_OUTPUT.matcher(line); in parse() local 47 if (!m.matches()) continue; in parse() 49 item.setPid(Integer.parseInt(m.group(2))); in parse() 53 item.setProcessName(m.group(3)); in parse() 55 String mainValues = m.group(4); in parse() 68 String additionalData = m.group(5); in parse() 90 private void parseNextValue(Matcher m, Map<String, Long> output, String key) { in parseNextValue() argument 91 if (!m.find()) return; in parseNextValue() 92 String value = m.group(1); in parseNextValue()
|
D | TracesParser.java | 61 Matcher m = PID.matcher(line); in parse() local 62 if (m.matches()) { in parse() 63 traces.setPid(Integer.parseInt(m.group(1))); in parse() 65 m = APP.matcher(line); in parse() 66 if (m.matches()) { in parse() 67 traces.setApp(m.group(1)); in parse() 69 m = STACK.matcher(line); in parse() 70 if (m.matches()) { in parse()
|
D | LogcatParser.java | 233 Matcher m = THREADTIME_LINE.matcher(line); in parseLine() local 235 if (m.matches()) { in parseLine() 236 time = parseTime(m.group(1)); in parseLine() 237 pid = Integer.parseInt(m.group(2)); in parseLine() 238 tid = Integer.parseInt(m.group(3)); in parseLine() 239 level = m.group(4); in parseLine() 240 tag = m.group(5); in parseLine() 241 msg = m.group(6); in parseLine() 266 if (!mIsParsing || !(m.matches() || tm.matches())) { in parseLine() 357 Matcher m = JAVA_CRASH_PROCESS_PID.matcher(line); in commit() local [all …]
|
D | BatteryUsageParser.java | 46 Matcher m = Capacity.matcher(line); in parse() local 47 if(m.matches()) { in parse() 48 mItem.setBatteryCapacity(Integer.parseInt(m.group(1))); in parse() 50 m = Usage.matcher(line); in parse() 51 if (m.matches()) { in parse() 52 mItem.addBatteryUsage(m.group(1), Double.parseDouble(m.group(2))); in parse()
|
D | BatteryDischargeStatsInfoParser.java | 50 Matcher m = DISCHARGE_STEP_PATTERN.matcher(line); in parse() local 52 if (m.matches()) { in parse() 53 int percent = Integer.parseInt(m.group(8)); in parse() 64 NumberFormattingUtil.parseIntOrZero(m.group(2)), in parse() 65 NumberFormattingUtil.parseIntOrZero(m.group(4)), in parse() 66 NumberFormattingUtil.parseIntOrZero(m.group(6)), in parse() 67 NumberFormattingUtil.parseIntOrZero(m.group(7))); in parse()
|
/tools/loganalysis/javatests/com/android/loganalysis/parser/ |
D | TraceFormatParserTest.java | 69 Matcher m = parsedItem.getRegex().matcher(shouldMatch); in testParseFormatLine() local 70 Assert.assertTrue(m.matches()); in testParseFormatLine() 71 Assert.assertEquals(m.group("foo"), "123"); in testParseFormatLine() 72 Assert.assertEquals(m.group("bar"), "enabled"); in testParseFormatLine() 85 Matcher m = parsedItem.getRegex().matcher(shouldMatch); in testNoParameters() local 86 Assert.assertTrue(m.matches()); in testNoParameters() 141 Matcher m = parsedItem.getRegex().matcher(shouldMatch); in testQuoteInParams() local 142 Assert.assertTrue(m.matches()); in testQuoteInParams() 143 Assert.assertEquals(m.group("foo"), "online"); in testQuoteInParams() 169 Matcher m = parsedItem.getRegex().matcher(shouldMatch); in testCaseConvertParameterName() local [all …]
|
/tools/test/graphicsbenchmark/ |
D | Android.mk | 37 gamecore_dist_copy_pairs := $(foreach m, $(gamecore_dist_host_jar) $(tradefed_jars), \ 38 $(call intermediates-dir-for,JAVA_LIBRARIES,$(m),HOST,COMMON)/javalib.jar:gamecore/bin/$(m).jar) 39 gamecore_dist_copy_pairs += $(foreach m, $(gamecore_dist_test_exe), \ 40 …$(call intermediates-dir-for,NATIVE_TESTS,$(m))/$(m)$(bit_suffix):gamecore/testcases/$(TARGET_ARCH… 41 gamecore_dist_copy_pairs += $(foreach m, $(gamecore_dist_test_apk), \ 42 $(call intermediates-dir-for,APPS,$(m))/package.apk:gamecore/testcases/$(m).apk)
|
/tools/tradefederation/prebuilts/test_harness/ |
D | Android.mk | 28 …py_pairs := $(foreach m, $(tradefed_dist_host_jars), $(call intermediates-dir-for,JAVA_LIBRARIES,$… 29 tradefed_dist_copy_pairs += $(foreach m, $(tradefed_dist_artifacts), $(LOCAL_PATH)/../filegroups/tr… 30 …radefed_dist_copy_pairs += $(foreach m, $(tradefed_dist_suite_artifacts), $(LOCAL_PATH)/../filegro…
|
/tools/treble/hacksaw/workspace/ |
D | compose.go | 53 func (m Composer) Compose(codebasePath string, workspacePath string) ([]string, error) { 89 if err = m.pathBinder.BindReadOnly(source, destination); err != nil { 104 func (m Composer) Dismantle(dismantlePath string) ([]string, error) { 105 bindList, err := m.List(dismantlePath) 118 if err = m.pathBinder.Unbind(bindPath); err != nil { 130 func (m Composer) Unbind(unbindPath string) error { 131 return m.pathBinder.Unbind(unbindPath) 135 func (m Composer) List(listPath string) ([]string, error) { 140 fullBindList, err := m.pathBinder.List()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | ApiAnalyzer.kt | 973 for (m in cl.methods()) { in <lambda>() method 974 if (!m.checkLevel()) { in <lambda>() 977 publiclyConstructable && m.modifiers.isAbstract() in <lambda>() 980 Issues.HIDDEN_ABSTRACT_METHOD, m, in <lambda>() 988 if (m.isHiddenOrRemoved()) { in <lambda>() 990 Issues.UNAVAILABLE_SYMBOL, m, in <lambda>() 991 "Reference to unavailable method " + m.name() in <lambda>() 993 } else if (m.deprecated) { in <lambda>() 997 Issues.DEPRECATED, m, in <lambda>() 999 m.name() + " is deprecated" in <lambda>() [all …]
|