Home
last modified time | relevance | path

Searched refs:category (Results 1 – 15 of 15) sorted by relevance

/tools/loganalysis/src/com/android/loganalysis/item/
DWakelockItem.java72 … public WakelockInfoItem(String name, long heldTime, int lockedCount, WakeLockCategory category) { in WakelockInfoItem() argument
73 this(name, null, heldTime, lockedCount, category); in WakelockInfoItem()
86 WakeLockCategory category) { in WakelockInfoItem() argument
93 setAttribute(CATEGORY, category); in WakelockInfoItem()
149 WakeLockCategory category) { in addWakeLock() argument
150 mWakeLocks.add(new WakelockInfoItem(name, processUID, heldTime, timesCalled, category)); in addWakeLock()
162 WakeLockCategory category) { in addWakeLock() argument
163 addWakeLock(name, null, heldTime, timesCalled, category); in addWakeLock()
169 public List<WakelockInfoItem> getWakeLocks(WakeLockCategory category) { in getWakeLocks() argument
171 if (category == null) { in getWakeLocks()
[all …]
DMonkeyLogItem.java152 public void addCategory(String category) { in addCategory() argument
153 ((StringSet) getAttribute(CATEGORIES)).add(category); in addCategory()
322 public Integer getDroppedCount(DroppedCategory category) { in getDroppedCount() argument
323 return (Integer) getAttribute(category.toString()); in getDroppedCount()
329 public void setDroppedCount(DroppedCategory category, int count) { in setDroppedCount() argument
330 setAttribute(category.toString(), count); in setDroppedCount()
DMiscKernelLogItem.java94 public void setCategory(String category) { in setCategory() argument
95 setAttribute(CATEGORY, category); in setCategory()
DMiscLogcatItem.java182 public void setCategory(String category) { in setCategory() argument
183 setAttribute(CATEGORY, category); in setCategory()
DKernelLogItem.java109 public List<MiscKernelLogItem> getMiscEvents(String category) { in getMiscEvents() argument
112 if (item.getCategory().equals(category)) { in getMiscEvents()
DLogcatItem.java140 public List<MiscLogcatItem> getMiscEvents(String category) { in getMiscEvents() argument
143 if (item.getCategory().equals(category)) { in getMiscEvents()
/tools/loganalysis/src/com/android/loganalysis/util/
DLogPatternUtil.java48 public PatternInfo(Pattern pattern, Object extras, String category) { in PatternInfo() argument
51 mCategory = category; in PatternInfo()
63 public void addPattern(Pattern pattern, String category) { in addPattern() argument
64 addPattern(pattern, null, category); in addPattern()
75 public void addPattern(Pattern pattern, Object extras, String category) { in addPattern() argument
76 mPatterns.add(new PatternInfo(pattern, extras, category)); in addPattern()
/tools/loganalysis/src/com/android/loganalysis/parser/
DKernelLogParser.java156 String category = mPatternUtil.checkMessage(message); in checkAndAddKernelEvent() local
157 if (category == null) { in checkAndAddKernelEvent()
161 if (category.equals(KERNEL_RESET) || category.equals(NORMAL_REBOOT)) { in checkAndAddKernelEvent()
165 if (category.equals(NORMAL_REBOOT)) { in checkAndAddKernelEvent()
170 if (category.equals(SELINUX_DENIAL)) { in checkAndAddKernelEvent()
177 } else if (category.equals(PAGE_ALLOC_FAILURE)) { in checkAndAddKernelEvent()
184 } else if (category.equals(LOW_MEMORY_KILLER)) { in checkAndAddKernelEvent()
199 kernelLogItem.setCategory(category); in checkAndAddKernelEvent()
DWakelockParser.java88 void parseKernelWakeLock(String line, WakeLockCategory category) { in parseKernelWakeLock() argument
103 mItem.addWakeLock(name, wakelockTime, timesCalled, category); in parseKernelWakeLock()
112 void parsePartialWakeLock(String line, WakeLockCategory category) { in parsePartialWakeLock() argument
127 mItem.addWakeLock(name, processUID, wakelockTime, timesCalled, category); in parsePartialWakeLock()
DLogcatParser.java382 String category = mPatternUtil.checkMessage(msg, new ExtrasPattern( in commit() local
384 if (category != null) { in commit()
386 logcatItem.setCategory(category); in commit()
467 public void addPattern(Pattern pattern, String level, String tag, String category) { in addPattern() argument
472 mPatternUtil.addPattern(pattern, new ExtrasPattern(level, tag), category); in addPattern()
527 public void addJavaCrashTag(String level, String tag, String category) { in addJavaCrashTag() argument
528 mJavaCrashTags.add(new CrashTag(level, tag, category)); in addJavaCrashTag()
604 public CrashTag(String level, String tag, String category) { in CrashTag() argument
607 mCategory = category; in CrashTag()
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
DMicroBenchTest.java329 private boolean parseStats(SimpleStats stats, String category, in parseStats() argument
335 String unit = "perf".equals(category) ? "MB/s" : "ms"; in parseStats()
337 CLog.i("%s %s results: size = %d, mean = %f %s, stdev = %f %s", mTestName, category, in parseStats()
341 CLog.e("Expected non null mean for %s %s", mTestName, category); in parseStats()
347 mIterations, stats.size(), mTestName, category); in parseStats()
352 metrics.put(String.format("%s_%s", mTestKey, category), in parseStats()
/tools/repohooks/tools/
Dcpplint.py597 category = matched.group(2)
598 if category in (None, '(*)'): # => "suppress all"
601 if category.startswith('(') and category.endswith(')'):
602 category = category[1:-1]
603 if category in _ERROR_CATEGORIES:
604 _error_suppressions.setdefault(category, set()).add(suppressed_line)
605 elif category not in _LEGACY_ERROR_CATEGORIES:
607 'Unknown NOLINT error category: %s' % category)
621 for category in _DEFAULT_C_SUPPRESSED_CATEGORIES:
622 _global_error_suppressions[category] = True
[all …]
Dpylintrc65 # Enable the message, report, category or checker with the given id(s). You can
70 # Disable the message, report, category or checker with the given id(s). You
/tools/tradefederation/core/src/com/android/tradefed/device/
DTopHelper.java313 private static Double getAveragePercentage(List<TopStats> topStats, PercentCategory category) in getAveragePercentage() argument
317 switch(category) { in getAveragePercentage()
/tools/test/connectivity/acts/framework/tests/
Dacts_import_unit_test.py26 warnings.filterwarnings('ignore', category=PendingDeprecationWarning)