summaryrefslogtreecommitdiff
path: root/src/com/android
AgeCommit message (Collapse)Author
2019-12-20Revert submission 9940985-qpr1-dev mergeKimberly Kreider
Reason for revert: broke tests b/146476630 Bug: 146476630 Reverted Changes: Ib3436a42b2ca8c9614939a30fb548ab39bc23e57 Change-Id: Ic936e0f03b001fff37308bb576376299c5ebef20 Exclude merging into branches that contain last aosp change included in merge. Merged-In: 483ea33b74d7008d909e817c754ba9165ae704b1
2019-12-17DO NOT MERGE: Adding required loganalysis changes for tradefed merge into ↵Kimberly Kreider
qt-dev. Bug: 143908003 Change-Id: Ib3436a42b2ca8c9614939a30fb548ab39bc23e57 Exclude merging into *-plus-aosp branches, since they already include the change. Merged-In: I2ae86ba9706747873268192988c32879005ed0f7 Merged-In: I38efc115f2c691754d481fdffb6630607ef970e8 (cherry picked from commit c7bcaba872c7d82286960c750edd67e56ee73712)
2019-02-19Parse "Wait for property" duration from dmesg.gopinath
Bug: b/123788098 Test: DmesgParserTest Change-Id: I12fd7fc8095de72bc011c07a187564d1cae549ec
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-09-15Cold launch log format changes for app transition.gopinath
Bug: b/65208363 Tests : OK (11 tests) Change-Id: Iddb14f7efd786c94cc5d7fe229e711ae0d816d24
2017-08-03Fix LogAnalysis App Versions dump. (cherry-picked from unsubmitted change in ↵android-vts-8.1_r9android-vts-8.1_r8android-vts-8.1_r7android-vts-8.1_r6android-vts-8.1_r5android-vts-8.1_r4android-vts-8.1_r3android-vts-8.1_r14android-vts-8.1_r13android-vts-8.1_r12android-vts-8.1_r11android-vts-8.1_r10oreo-mr1-vts-releaseoreo-mr1-devoreo-mr1-cts-devNetta Peterbursky
oc-dev ag/2549006 and updated) am: 3a879098fe Change-Id: If38678bd4e96e1389bb8ff0cda32355a098991e8
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-15Support parsing the boottime legacy log format (i.e processing actions)gopinath
b/62394657 Test: OK (257 tests). Change-Id: Ib5f5f9db27426b1a334e3c05faa6eb183a2e2975
2017-06-02DO NOT MERGE: Drop loganalysis master into oc-devoreo-devjdesprez
Test: build, unit tests Bug: 37211399 Change-Id: I2985639ec9fed8c79a31dc9828a16097fe9e89e0
2017-05-23Add app versions to Bugreport parser (for event history view in stability ↵Netta Peterbursky
dashboard). Bug: 38415015 Test: BugreportParserTest, DumpsysPackageStatsParserTest, DumpsysParserTest Change-Id: Id6e5ccbd39188be0b6908df751b310cd0f642593
2017-05-19Merge "Add new parsed fields to the compact meminfo parser."Michael Rosenfeld
2017-05-17Merge "Accomodate new log format logged in dmesg during boot"TreeHugger Robot
2017-05-16Accomodate new log format logged in dmesg during bootgopinath
b/38045657 Test : Time: 0.37 OK (253 tests) Change-Id: If4047e75c65c8d062e789ce03e6c82c2a42d5096
2017-05-15Add new parsed fields to the compact meminfo parser.Michael Rosenfeld
* Free RAM, Total ZRAM, Swap Free ZRAM, and Tuning Level Test: CompactMemInfoParserTest Change-Id: Id95bae62f98119f04a9f0e5046ec3f28760921ef
2017-05-11Parser to handle only transition delay info.gopinath
Tests : java -cp out/host/linux-x86/framework/loganalysis-tests.jar:out/host/linux-x86/framework/loganalysis.jar org.junit.runner.JUnitCore com.android.loganalysis.UnitTests OK (253 tests) run google/template/local --template:map test performance/app-transitions --cold-apps Calculator --hot-apps Calculator --pre-launch-apps Calculator --apps-to-recents Calculator --hot-apps-from-recents Calculator --hot-apps-from-recents Calculator --launch-iteration 2 --no-bugreport-on-invocation-ended --alt-dir /usr/local/google/home/gelanchezhian/Desktop/local Test Sponge link: https://sponge.corp.google.com/invocation?tab=host_log.txt&show=&id=cd595d48-4beb-4bbf-86b0-7b17b4ae82a6&searchFor=&sortBy=STATUS Change-Id: I61163d67630e54f29248d56c2de1faf4dec45b41
2017-05-11Parser to handle only transition delay info.gopinath
Tests : java -cp out/host/linux-x86/framework/loganalysis-tests.jar:out/host/linux-x86/framework/loganalysis.jar org.junit.runner.JUnitCore com.android.loganalysis.UnitTests OK (253 tests) run google/template/local --template:map test performance/app-transitions --cold-apps Calculator --hot-apps Calculator --pre-launch-apps Calculator --apps-to-recents Calculator --hot-apps-from-recents Calculator --hot-apps-from-recents Calculator --launch-iteration 2 --no-bugreport-on-invocation-ended --alt-dir /usr/local/google/home/gelanchezhian/Desktop/local Test Sponge link: https://sponge.corp.google.com/invocation?tab=host_log.txt&show=&id=cd595d48-4beb-4bbf-86b0-7b17b4ae82a6&searchFor=&sortBy=STATUS Change-Id: I61163d67630e54f29248d56c2de1faf4dec45b41
2017-05-02Apptransition parser change.gopinath
Change to new logging format. Latency parser change will be taken care separately. Events log parser test changes. b/36490501 Tests : OK (252 tests) - Passed Change-Id: I6425ebd08c7f6120a056c268528d371cd7096b97 (cherry picked from commit 5e008d690d460b25e174d02932413be850798efb)
2017-04-27Apptransition parser change.gopinath
Change to new logging format. Latency parser change will be taken care separately. Events log parser test changes. b/36490501 Tests : OK (252 tests) - Passed Change-Id: I6425ebd08c7f6120a056c268528d371cd7096b97
2017-04-13Merge "Parse additional boot information from dmesg logs"TreeHugger Robot
2017-04-11Parse additional boot information from dmesg logsgopinath
Parse boot completed set time as well. This is needed to compute the total boot time in Boot time test. Additonal logs formats parsed now [ 14.638884] init: processing action (sys.boot_completed=1) Total_Boot_Time = BootLoader_Time_ms + Boot_Completed_Set_Time_ms b/36982296 Tests Run : All the tests in DmesgParserTest passed. Change-Id: I93781af937a41cedf72e7f1e5091eead5af96d1a
2017-04-05Fix logcat parsing in bugreports.Maxim Siniavine
A UID column was added to the logcat log. Update the regular expresion to accept the new column. BUG: 36891877 TEST: Run local unit test. Run command line parser to parse bugreport. Change-Id: I514f5d81edacd4296959e30ebc63796c347c74f5
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-26Merge "Add parser to track the latency info printed from sysui"Gopinath Elanchezhian
2016-09-23Add parser to track the latency info printed from sysuiGopinath
Bug 31629439 Change-Id: I86627a8da8ae95acfb1bcf0d1369330dc5cb7a5c
2016-09-21Updates bugreport parser to handle newest version of bugreports.Hector Tellez
fixes: 31397868 Change-Id: Ie5b73d3916f15893ef372d26dd4b47239f5c1fcc
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-02-11Fix process usage parserAvinankumar Vellore Suriyakumar
Ensure the last process stats are added to the list Change-Id: Iba910f079748196650d1934249c47821abeb7913
2016-02-09Fix batterystats regex as per new buildsAvinankumar Vellore Suriyakumar
Change-Id: Ic6da09bdb57a9ede83d9e51b2edfc162913b0eaa
2016-01-26Merge "Add wifi association heuristic"android-n-mr1-preview-2android-n-mr1-preview-1android-cts_7.1_r1android-cts-7.1_r9android-cts-7.1_r8android-cts-7.1_r7android-cts-7.1_r6android-cts-7.1_r5android-cts-7.1_r4android-cts-7.1_r3android-cts-7.1_r29android-cts-7.1_r28android-cts-7.1_r27android-cts-7.1_r26android-cts-7.1_r25android-cts-7.1_r24android-cts-7.1_r23android-cts-7.1_r22android-cts-7.1_r21android-cts-7.1_r20android-cts-7.1_r2android-cts-7.1_r19android-cts-7.1_r18android-cts-7.1_r17android-cts-7.1_r16android-cts-7.1_r15android-cts-7.1_r14android-cts-7.1_r13android-cts-7.1_r12android-cts-7.1_r11android-cts-7.1_r10android-cts-7.1_r1android-cts-7.0_r9android-cts-7.0_r8android-cts-7.0_r7android-cts-7.0_r6android-cts-7.0_r5android-cts-7.0_r4android-cts-7.0_r33android-cts-7.0_r32android-cts-7.0_r31android-cts-7.0_r30android-cts-7.0_r3android-cts-7.0_r29android-cts-7.0_r28android-cts-7.0_r27android-cts-7.0_r26android-cts-7.0_r25android-cts-7.0_r24android-cts-7.0_r23android-cts-7.0_r22android-cts-7.0_r21android-cts-7.0_r20android-cts-7.0_r2android-cts-7.0_r19android-cts-7.0_r18android-cts-7.0_r17android-cts-7.0_r16android-cts-7.0_r15android-cts-7.0_r14android-cts-7.0_r13android-cts-7.0_r12android-cts-7.0_r11android-cts-7.0_r10android-cts-7.0_r1android-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1android-7.1.1_r9android-7.1.1_r8android-7.1.1_r7android-7.1.1_r61android-7.1.1_r60android-7.1.1_r6android-7.1.1_r59android-7.1.1_r58android-7.1.1_r57android-7.1.1_r56android-7.1.1_r55android-7.1.1_r54android-7.1.1_r53android-7.1.1_r52android-7.1.1_r51android-7.1.1_r50android-7.1.1_r49android-7.1.1_r48android-7.1.1_r47android-7.1.1_r46android-7.1.1_r45android-7.1.1_r44android-7.1.1_r43android-7.1.1_r42android-7.1.1_r41android-7.1.1_r40android-7.1.1_r4android-7.1.1_r39android-7.1.1_r38android-7.1.1_r35android-7.1.1_r33android-7.1.1_r32android-7.1.1_r31android-7.1.1_r3android-7.1.1_r28android-7.1.1_r27android-7.1.1_r26android-7.1.1_r25android-7.1.1_r24android-7.1.1_r23android-7.1.1_r22android-7.1.1_r21android-7.1.1_r20android-7.1.1_r2android-7.1.1_r17android-7.1.1_r16android-7.1.1_r15android-7.1.1_r14android-7.1.1_r13android-7.1.1_r12android-7.1.1_r11android-7.1.1_r10android-7.1.1_r1android-7.1.0_r7android-7.1.0_r6android-7.1.0_r5android-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1android-7.0.0_r9android-7.0.0_r8android-7.0.0_r7android-7.0.0_r6android-7.0.0_r5android-7.0.0_r4android-7.0.0_r36android-7.0.0_r35android-7.0.0_r34android-7.0.0_r33android-7.0.0_r32android-7.0.0_r31android-7.0.0_r30android-7.0.0_r3android-7.0.0_r29android-7.0.0_r28android-7.0.0_r27android-7.0.0_r24android-7.0.0_r21android-7.0.0_r19android-7.0.0_r17android-7.0.0_r15android-7.0.0_r14android-7.0.0_r13android-7.0.0_r12android-7.0.0_r11android-7.0.0_r10android-7.0.0_r1nougat-releasenougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasenougat-mr2-devnougat-mr1.8-releasenougat-mr1.7-releasenougat-mr1.6-releasenougat-mr1.5-releasenougat-mr1.4-releasenougat-mr1.3-releasenougat-mr1.2-releasenougat-mr1.1-releasenougat-mr1-volantis-releasenougat-mr1-security-releasenougat-mr1-releasenougat-mr1-flounder-releasenougat-mr1-devnougat-mr1-cts-releasenougat-mr0.5-releasenougat-dr1-releasenougat-devnougat-cts-releasenougat-bugfix-releaseAvinankumar Vellore Suriyakumar
2016-01-25Add wifi association heuristicAvinankumar Vellore Suriyakumar
Change-Id: I38176d1aa568e0583eda7b2a0fbe4393d32725f8
2016-01-25Fix CompactMeminfo bug and use test to verifyMichael Rosenfeld
Change-Id: I30ed2047edf93e528c020b4d571c55fa99c4e57b
2016-01-19Add more information to analysisAvinankumar Vellore Suriyakumar
Added more information to analysis. Also added rule for Interrupts Change-Id: I090ec531d170693a3a96047a02c3b057cfb80bb4