summaryrefslogtreecommitdiff
path: root/src/com/android/loganalysis/item
AgeCommit message (Collapse)Author
2021-06-18Add boot event info to EventsLogParserLisa Liu
Parse boot event and it's duration from event log. BUG: 189388152 Test: run_tradefed_tests.sh --class com.android.loganalysis.parser.EventsLogParserTest Change-Id: Ibe6c23ba70c8e0488441be368cb8f54327bcf99f
2021-03-04Add module info to dmesg parserLisa Liu
Parse module name, load duration and count from dmesg. BUG: 174796470 Test: run_tradefed_tests.sh --class com.android.loganalysis.parser.DmesgParserTest Change-Id: I4943ed10e7fa73519204cbfa028a3b8d75af2204
2019-07-31Add source in init action info logging.gopinath
Bug: b/135751856 Test: DmesgParserTest 9 Pass Change-Id: I87d4f344b631690ffeaa3a1909adb845964ed1d3 Merged-In: If7c82c7e7162a575333948d87fcf9c2d993d03ef
2019-07-09Added generic logcat timing parsing featureChao Yan
Bug: 133166326 Test: build and run "tools/tradefederation/core/tests/run_tradefed_tests.sh --class com.android.loganalysis.UnitTests" Change-Id: Ica363ae379a551b51ca5f64eb62061e0c8baf903
2019-06-17Added a new parser for timing metrics from logcatChao Yan
The new parser will be used for analyze logcat to parse timing related metrics, e.g. can be used for boot time metrics parsing Test: tools/tradefederation/core/tests/run_tradefed_tests.sh --class com.android.loganalysis.UnitTests Bug: 133166326 Change-Id: I0a17a813fd0f5b7908279d76c38d4d8e0fbf1e96
2018-05-09Fixing app transition testsandroid-vts-9.0_r9android-vts-9.0_r8android-vts-9.0_r7android-vts-9.0_r6android-vts-9.0_r5android-vts-9.0_r4android-vts-9.0_r19android-vts-9.0_r18android-vts-9.0_r17android-vts-9.0_r16android-vts-9.0_r15android-vts-9.0_r14android-vts-9.0_r13android-vts-9.0_r12android-vts-9.0_r11android-vts-9.0_r10android-cts-9.0_r9android-cts-9.0_r8android-cts-9.0_r7android-cts-9.0_r6android-cts-9.0_r5android-cts-9.0_r4android-cts-9.0_r3android-cts-9.0_r20android-cts-9.0_r2android-cts-9.0_r19android-cts-9.0_r18android-cts-9.0_r17android-cts-9.0_r16android-cts-9.0_r15android-cts-9.0_r14android-cts-9.0_r13android-cts-9.0_r12android-cts-9.0_r11android-cts-9.0_r10android-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16android-9.0.0_r12android-9.0.0_r11pie-vts-releasepie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-qpr2-releasepie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-releasepie-dr1-devpie-devpie-cts-releasepie-cts-devpie-b4s4-releasepie-b4s4-devVadim Tryshev
Using WINDOWS_DRAWN_DELAY where needed, switching from relying on Recents activity to the Launcher one. Removing cold launches in the beginning in removeAdditionalLaunchInfo. Bug: 72967764 Test: Running app transition tests locally Change-Id: Iec8c2ad2cdfc0fb2e570f114cd26897f3607e71f
2018-02-05Add percentile fields to GfxInfoParserSteven Timotius
Test: tools/tradefederation/core/tests/run_tradefed_tests.sh --class com.android.loganalysis.parser.GfxInfoParserTest Bug: None Change-Id: Id2c36af1daa3cb330aa783756a6c412e2f7f820c
2018-01-26Add parser for dumpsys meminfo --checkin PROCESSSteven Timotius
Parser will be used to obtain process memory usage data Test: tools/tradefederation/core/tests/run_tradefed_tests.sh --class com.android.loganalysis.parser.DumpsysProcessMeminfoParserTest Bug: 72409230 Change-Id: I0035a32550372c4e8ee7cd049e43524b3700101b
2017-10-09A class to parse trace format.GuangHui Liu
Bug: 36368025 Test: unit tests Change-Id: I87c8c32bb7baf730a49bfaf730a8714ac1cc59ce
2017-09-22Fix AppTransition parser.gopinath
Log format has changed recently for cold launch and hot launch. Change parser to handle the new format and improve the existing test cases. Bug : b/62423763 Tests : OK (11 tests) Change-Id: I6a34b7215778004d09d9dd14ff9cafc0ed30c885
2017-08-02Fix LogAnalysis App Versions dump.oreo-dr1-devNetta Peterbursky
(cherry-picked from unsubmitted change in oc-dev ag/2549006 and updated) Test: DumpsysPackageStatsItemTest, manual: java -classpath out/host/linux-x86/tradefed/loganalysis.jar com.android.loganalysis.LogAnalyzer --bugreport bugreport.txt Bug: b/38415015 Change-Id: I6bce38a18441712d2f182a0d3c60b7851f87470e
2017-06-23Add app versions to Bugreport parser (for event history view in stability ↵android-vts-8.0_r9android-vts-8.0_r8android-vts-8.0_r7android-vts-8.0_r6android-vts-8.0_r2android-vts-8.0_r13android-vts-8.0_r12android-vts-8.0_r11android-vts-8.0_r10android-vts-8.0_r1oreo-vts-releaseoreo-cts-devNetta Peterbursky
dashboard). Bug: 38415015 Test: BugreportParserTest, DumpsysPackageStatsParserTest, DumpsysParserTest Change-Id: Id6e5ccbd39188be0b6908df751b310cd0f642593 (cherry picked from commit 44e6c57bdf25abcf2b5b13cf958ed37eb55ae8a8)
2017-06-02DO NOT MERGE: Drop loganalysis master into oc-devoreo-devjdesprez
Test: build, unit tests Bug: 37211399 Change-Id: I2985639ec9fed8c79a31dc9828a16097fe9e89e0
2017-03-22Merge "Modified DmesgParser to return IItem"Shankhoneer Chakrovarty
2017-03-14Fix missing @overrideJulien Desprez
Test: local build and run Bug: 35864476 Change-Id: I1a7623021e2f959611621477ae91cc2495cf6515
2017-03-13Modified DmesgParser to return IItemShankhoneer Chakrovarty
BUG:35758559 Change-Id: I55d960ac278d32159aa5c73932a1da3fbff25790 Fixes:35758559
2017-03-03Add error_prone rules on LoganalysisJulien Desprez
Fix warnings of current rules. Test: local build and error prone Bug: 35864476 Change-Id: Ib03b309de69e9c92cf815440bb637b955447847e
2017-02-24Improved dmesg parserShankhoneer Chakrovarty
The improved parser captures info on: 1. boot stage 2. action processing time BUG:35469489 Change-Id: Ice32079b96373d18036296097a140d5bc0d2ec33
2017-01-10Fix a few warnings produced by java lint.Michael Wright
Add a hashCode implementation to GenericItem and LogcatParser.ExtrasPattern, and suppress the warning for the lack of serialVersionUID to the anonymous subclass of HashMap since it'll never actually be serialized. Test: java -cp loganalysis.jar:loganalysis-tests.jar org.junit.runner.JUnitCore com.android.loganalysis.UnitTests Change-Id: Ibbbcaf6d1629cd5cfad172fe0eb6a720525ec483
2016-12-13Add LMK and page allocation failure parsing from kernel logsMichael Rosenfeld
Bug: 33272479 Test: Added to KernelLogParserTest class Change-Id: I579a2ddae503f98f9b4447f57f9547d125f808f2
2016-12-06Add parser to extract the init services time from dmesg logsGopinath
Tests: 5 Tests passed! Bug: 32019616 Change-Id: I9bb3a724ef32d30efcdef0297564884e2cafdfcb
2016-09-27Add loganalysis facility for parsing DVM lock logs.Robert Sloan
BUG: 31382082 Change-Id: Ib33f186b5869cdf1cb72f80bd457a6ce7fb5def8
2016-09-23Add parser to track the latency info printed from sysuiGopinath
Bug 31629439 Change-Id: I86627a8da8ae95acfb1bcf0d1369330dc5cb7a5c
2016-08-29Merge "Events logcat parser"Gopinath Elanchezhian
2016-08-29Events logcat parserGopinath
Parse the transition delay items from the events log. Bug 28793299 Test Status : 7 tests passed Change-Id: Idd300c4baa0282244b285ce78e1b865ff3522c0d
2016-07-01Merge "Add app summary metrics to memory health parser."Joshua Schwarz
2016-06-21Fix kernel reset message that gets generated from the bootreason property.Maxim Siniavine
Change-Id: Ic7d77f9e4edee8e164ad3e03c452f220c7847ece
2016-06-14Add app summary metrics to memory health parser.Joshua Schwarz
Change-Id: Idf009584f0f67b077d4c9d49f8a21ade40cad314
2016-03-09Adds projected battery life analysis.Hector Tellez
Change-Id: I25bcb84f5d62802dcb51d9a3ceae60929eb89606
2016-01-25Add wifi association heuristicAvinankumar Vellore Suriyakumar
Change-Id: I38176d1aa568e0583eda7b2a0fbe4393d32725f8
2016-01-19Add more information to analysisAvinankumar Vellore Suriyakumar
Added more information to analysis. Also added rule for Interrupts Change-Id: I090ec531d170693a3a96047a02c3b057cfb80bb4
2016-01-14Add swap memory to the compact memory info parserMichael Rosenfeld
Change-Id: I5f6bbf8ee41311ef7dfb3d60fd76c7d902c187f8
2016-01-11Add wifi scan and disconnect heuristicsavellore
Change-Id: Ib513af70611367dd0ddce5b21ae7df56a2371b4d
2016-01-11Add Location clients heuristicsavellore
Parse the activity service section and retrieve location usage clients Change-Id: I71fb6331be713b3b8653834feea05c88deab68b6
2015-12-29fix compiler warningsGuang Zhu
Change-Id: Ifd2c923750dc6f2b5f8104aa3993277648fcf7b9
2015-11-30Parse compact meminfo for lost RAMMichael Rosenfeld
Change-Id: Ic878cf94ecc5fd16ba12a81409dbb2ea09097563
2015-10-15Merge "Add qtaguid & package UID log collectors to AUPT"Tetsui Ohkubo
2015-10-15Add qtaguid & package UID log collectors to AUPTTetsui Ohkubo
qtaguid includes network usage per uid, but it does not contain actual package names. Therefore, we have to also collect package UIDs. Change-Id: I6bbc9e0a266c15328f51bb3d7c915f242669fb43
2015-10-14Merge "Add cpuinfo log collector to AUPT"Tetsui Ohkubo
2015-10-14Add cpuinfo log collector to AUPTTetsui Ohkubo
Change-Id: I1daa01a9d1312c7356667ca80909487b9ce5df5c
2015-10-09Add gfxinfo log collector to AUPTTetsui Ohkubo
Change-Id: I2fc18f621b0cfba50339b561315a1996325604f6
2015-05-19Parse the battery usage statisticsavellore
Change-Id: I5000e4352ded2eaa004bc486242c241bcdf4dada
2015-04-07Battery drain investigatoravellore
Initial version of the battery drain investigator. It parses the bugreport for power specific sections and returns the analysis in JSON format Change-Id: I56c1e010666892b1296272942cc5edcc5072c731
2015-02-25Add memory health parserMaxim Siniavine
Change-Id: I5508f0c24cfff566db167e8e7dba772a8b17950f
2014-08-28Parse mem info as long.android-wear-5.1.1_r1android-wear-5.1.0_r1android-wear-5.0.0_r1android-m-preview-2android-m-preview-1android-m-previewandroid-cts-5.1_r9android-cts-5.1_r8android-cts-5.1_r7android-cts-5.1_r6android-cts-5.1_r5android-cts-5.1_r4android-cts-5.1_r3android-cts-5.1_r28android-cts-5.1_r27android-cts-5.1_r26android-cts-5.1_r25android-cts-5.1_r24android-cts-5.1_r23android-cts-5.1_r22android-cts-5.1_r21android-cts-5.1_r20android-cts-5.1_r2android-cts-5.1_r19android-cts-5.1_r18android-cts-5.1_r17android-cts-5.1_r16android-cts-5.1_r15android-cts-5.1_r14android-cts-5.1_r13android-cts-5.1_r10android-cts-5.1_r1android-cts-5.0_r9android-cts-5.0_r8android-cts-5.0_r7android-cts-5.0_r6android-cts-5.0_r5android-cts-5.0_r4android-cts-5.0_r3android-5.1.1_r9android-5.1.1_r8android-5.1.1_r7android-5.1.1_r6android-5.1.1_r5android-5.1.1_r4android-5.1.1_r38android-5.1.1_r37android-5.1.1_r36android-5.1.1_r35android-5.1.1_r34android-5.1.1_r33android-5.1.1_r30android-5.1.1_r3android-5.1.1_r29android-5.1.1_r28android-5.1.1_r26android-5.1.1_r25android-5.1.1_r24android-5.1.1_r23android-5.1.1_r22android-5.1.1_r20android-5.1.1_r2android-5.1.1_r19android-5.1.1_r18android-5.1.1_r17android-5.1.1_r16android-5.1.1_r15android-5.1.1_r14android-5.1.1_r13android-5.1.1_r12android-5.1.1_r10android-5.1.1_r1android-5.1.0_r5android-5.1.0_r4android-5.1.0_r3android-5.1.0_r1android-5.0.2_r3android-5.0.2_r1android-5.0.1_r1android-5.0.0_r7android-5.0.0_r6android-5.0.0_r5.1android-5.0.0_r5android-5.0.0_r4android-5.0.0_r3android-5.0.0_r2android-5.0.0_r1master-soonglollipop-wear-releaselollipop-releaselollipop-mr1-wfc-releaselollipop-mr1-releaselollipop-mr1-fi-releaselollipop-mr1-devlollipop-mr1-cts-releaselollipop-devlollipop-cts-releaseEric Rowe
Ignore entries with values greater than a long instead of crashing. Change-Id: I62410d4083169143049229afd47236a0984b3c42
2014-08-15Update boot reason parsing for with 3.10 kernelEric Rowe
Also, bring kernel log parser in line with APR and only record first kernel reset. Bug: 14829888 Change-Id: Ice5db062b3fc8ece774afc8e284f1a276aa52d43
2014-04-17Add parsing for compact meminfoMaxim Siniavine
Change-Id: I9ff2677f75bb2b77e07c3a9e391235c3f7004eec
2014-02-19add Snet parsing, based on Tag, for filtering out using SAFFETY_NET categoryMichael Jones
Change-Id: I283bf137b382e440216665188e4444a4fe48e782
2014-01-17Merge "Add last charged wake locks"Eric Rowe
2014-01-08Code cleanupBrett Chabot
Change-Id: I9d5b8b0037eddfc9e6c75ec5bfb43d0287fe8eb5