summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-03Snap for 6812348 from b35a59eb33bb335baddf367208f5c684b66d3c85 to ↵android-11.0.0_r31android-11.0.0_r29android-11.0.0_r28android-11.0.0_r27android-11.0.0_r26android-11.0.0_r24android-11.0.0_r23android-11.0.0_r22android-11.0.0_r21android-11.0.0_r20android-11.0.0_r19android-11.0.0_r18android11-qpr1-s2-releaseandroid11-qpr1-s1-releaseandroid11-qpr1-releaseandroid11-qpr1-d-s1-releaseandroid11-qpr1-d-releaseandroid-build-team Robot
rvc-qpr1-release Change-Id: Ib7dcdcb8537b4ce3b22f13a894f5984b445447e2
2020-08-12ext4_utils: add declaration for ext4_bg_has_super_block()android-11.0.0_r46android-11.0.0_r43android-11.0.0_r40android-11.0.0_r39android-11.0.0_r38android-11.0.0_r37android-11.0.0_r36android-11.0.0_r35android-11.0.0_r34android-11.0.0_r33android-11.0.0_r32android-11.0.0_r30android11-qpr3-s1-releaseandroid11-qpr3-releaseandroid11-qpr2-releaseandroid11-qpr1-c-releaseWill Shiu
Add a declaration for ext4_bg_has_super_block() so that the encrypt-in-place code in vold can use it to determine whether a backup superblock is present in a block group. Bug: 162479411 Bug: 161871210 Merged-In: Ic090bf4e88193b289b04c5254ddf661ef40b037e Change-Id: Ic090bf4e88193b289b04c5254ddf661ef40b037e
2020-07-14Snap for 6680110 from b2dccf1e0de430806f6cd55a809143435b7e857b to ↵android-build-team Robot
rvc-qpr1-release Change-Id: Ie224cbfaed2ec99e62018b76d7a2f5c556940ccc
2020-07-14Make bootctl work on devices that does not have v1.1 API am: 6cbcea87a6 am: ↵Håkan Kvist
07e09a6ba3 Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/12128008 Change-Id: I81a7887d7274c2fc93904d119f7d5b48cc6714ce
2020-07-14Make bootctl work on devices that does not have v1.1 API am: 6cbcea87a6android-11.0.0_r16android11-d1-b-releaseHåkan Kvist
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/12128008 Change-Id: Ifde03a5f1d91740c4b353d7ee6a71f48eaa5e45d
2020-07-14Make bootctl work on devices that does not have v1.1 APIandroid-cts-11.0_r2android11-devHåkan Kvist
Execute the commands with the API version where the command was introduced. This makes it possible to run the v1.0 HAL commands on a device where v1.1 HAL implementation is not available. Without this patch, on devices that only support bootcontrol v1.0 API, bootctl would just fail with error message. Bug: 160405575 Test: Execute command on device that only implements v1.0 API adb shell bootctl hal-info Change-Id: I56e9a81bcae49b6859b04394d571b5151a235675 Signed-off-by: Håkan Kvist <hakan.kvist@sony.com> Signed-off-by: Alessio Balsini <balsini@google.com>
2020-06-11Fixing bug in bootanalyze when the event time is 0 am: 9f0e7264b2 am: 4f61898bd2Jyoti Bhayana
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/11829463 Change-Id: Ieb7defcfe0e15ee413eea8573ae2ea3d913388cd
2020-06-11Fixing bug in bootanalyze when the event time is 0 am: 9f0e7264b2Jyoti Bhayana
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/11829463 Change-Id: I8dce95af33f6704e287a72849c6846f37dfce346
2020-06-11Fixing bug in bootanalyze when the event time is 0Jyoti Bhayana
Bug:158702468 Test: Run bootanalyze and see there is no error when the event time is 0 Change-Id: If3efa4c33a70cf6168a777f0f442fe1557b600b4
2020-06-05simpleperf: add Broadcom STB into whitelist, omit tests requiring hw ↵Natalie Chiu
counters. am: 756a972f99 am: edbaad6e8f Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/11735563 Change-Id: Ifc9655287544bc309ee1ea875e7813cb8c265456
2020-06-05simpleperf: add Broadcom STB into whitelist, omit tests requiring hw ↵Natalie Chiu
counters. am: 756a972f99 Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/11735563 Change-Id: Ibf73c7aca5e698ce98b4e7a3a955ab746e8d1121
2020-06-04simpleperf: add Broadcom STB into whitelist, omit tests requiring hw counters.Natalie Chiu
Some Socs like Broadcom STB will not be available when disable jtag(non-invasive debug), so omit tests requiring hw counters on them. Bug: 158095412 Bug: 154157678 Test: run cts -m CtsSimpleperfTestCases -t record_cmd#generate_samples_by_hw_counters Test: hw counters. Change-Id: Iddfb34bfa1d66e37398bb162f8e1cfa645d756f4 Merged-In: Iddfb34bfa1d66e37398bb162f8e1cfa645d756f4 (cherry picked from commit 572c226db410b2c3b20e3a63cc6c5e9f0aeed65c)
2020-05-31Fix the parsing of images without hashtree descriptor am: 9760d1a21d am: ↵Tianjie
187881e596 Change-Id: I789e6a0ee79ed14cd6b6e9ec0776004aa1f5c80e
2020-05-31Fix the parsing of images without hashtree descriptor am: 9760d1a21dTianjie
Change-Id: I53fc8b07ab20aea0378553f1e523e3d2abfa67d8
2020-05-29Fix the parsing of images without hashtree descriptorTianjie
It's possible that the an image doesn't contain a hashtree descriptor. And the current raises a segfault when we attempt to validate and copy a non existing descriptor. Bug: 157778739 Test: call fec_open on dtbo image. Change-Id: Ieb5acf016ceeb547f2b23de43d4276ea4d013a6f (cherry picked from commit 90e7155bdd10039448bbc5ee4636f14c0119718e)
2020-05-23Add emmc_optimized flag am: 20a5aa5fde am: dc112f4f91Paul Crowley
Change-Id: I507ad23ff46287a7feed950da7fb7d22ea0dfbc6
2020-05-23Add emmc_optimized flag am: 20a5aa5fdePaul Crowley
Change-Id: Iea606c456f5c57043069c0d39a6d8efbf39a075a
2020-05-21Add emmc_optimized flagPaul Crowley
Bug: 144046242 Test: atest libfscrypt_unit_test Test: Change fstab on Cuttlefish with patched kernel, check dir policy Cherry-Picked-From: 476ce0a30615c1249969bedba0f1fb084d8ef193 Merged-In: I362f9a55fa28bb25afe992c8b0bae48546fc9ab0 Change-Id: I362f9a55fa28bb25afe992c8b0bae48546fc9ab0
2020-04-23simpleperf: adjust based on opencsd change. am: 901a08a734 am: f282db15a7Yabin Cui
Change-Id: I38e7747833b8dcd798b10cefc6cb5ee4a9694465
2020-04-23simpleperf: add MapLocator for etm decoding. am: 10f527cb16 am: 785ed62a9aYabin Cui
Change-Id: Iddb46d6eb93d97d3100015dc4485f1d6dafacac2
2020-04-23simpleperf: add class interface to read elf files. am: ba4e42a893 am: 38568ac7cfYabin Cui
Change-Id: I4a3d7262d80244f10b927dd74ea3060cc16b089a
2020-04-23simpleperf: adjust based on opencsd change. am: 901a08a734Yabin Cui
Change-Id: I8d4abf72e13a709deb28debf93ed60dd95c0fbbe
2020-04-23simpleperf: add MapLocator for etm decoding. am: 10f527cb16Yabin Cui
Change-Id: If6529f8519e710ca35f48694ae93c59834751aef
2020-04-23simpleperf: add class interface to read elf files. am: ba4e42a893Yabin Cui
Change-Id: Ib33f81c7962ab0a61f191a3795abfcc01b2486f3
2020-04-24simpleperf: adjust based on opencsd change.Yabin Cui
Currently, simpleperf gets branch_addr from instruction decoder. But OpenCSD is changed to cache InstrRange elements. Thus when simpleperf gets an InstrRange element, the instruction decoder may point to an instruction executed later. Fix it by using the start_addr of the next InstrRange element as the branch_addr of the current InstrRange element. Also add a test. Also use recorded binary path in output to help test. Bug: 153039105 Test: run simpleperf manually so the inject result doesn't Test: change for a 10s system wide recording data. Test: run simpleperf_unit_test. Change-Id: I6fdf32d3bac18ed3762c944c282ec881d09395b4 Merged-In: I6fdf32d3bac18ed3762c944c282ec881d09395b4 (cherry picked from commit 2c294914c1eeb30754a8a2449795b296bd2176e9)
2020-04-24simpleperf: add MapLocator for etm decoding.Yabin Cui
Add MapLocator as a packet callback. It is then used to find maps in MemAccess and InstrRangeParser. MapLocator uses a separate cache for each trace id. It also fix a bug that let a kernel map override following user maps. Bug: 153039105 Test: run simpleperf_unit_test. Change-Id: Ic285f81ac05c3e65b481fb97a5355282639692e4 Merged-In: Ic285f81ac05c3e65b481fb97a5355282639692e4 (cherry picked from commit 418ba0d37570172c4ee5e24fc452b3a5ef9ae665)
2020-04-24simpleperf: add class interface to read elf files.Yabin Cui
This is to keep file mapping memory buffer. And support reading more than one content in one open instance in the future. It also supports embedded elf files in apks as normal elf files. Bug: 153039105 Test: run simpleperf_unit_test. Change-Id: Ia424926d112cbcd9970f11ffa56d047ff6df7872 Merged-In: Ia424926d112cbcd9970f11ffa56d047ff6df7872 (cherry picked from commit 02e2033f9ef34be0189e151bf6fef60b1285afd9)
2020-04-21Merge "Mark some aidl_interface modules as unstable" into rvc-dev am: ↵Jiyong Park
0a3eb7e28b am: 1b52bd6fb2 Change-Id: Ifa360e7a2bdd773d903fa990fbf847e8ed5ef281
2020-04-21Merge "Mark some aidl_interface modules as unstable" into rvc-dev am: 0a3eb7e28bJiyong Park
Change-Id: Ie6271dccf7788d7ecdcbe134f73bc755a750f63d
2020-04-20Merge "Mark some aidl_interface modules as unstable" into rvc-devJiyong Park
2020-04-17simpleperf: Fix record_java_app test. am: fe83faa069 am: 5cfe1ca798Yabin Cui
Change-Id: Ibe94bca6217a84cd48ae321f6b2d0cf3886a2fd6
2020-04-17simpleperf: Fix record_java_app test. am: fe83faa069Yabin Cui
Change-Id: Ibc1f192780f0d15720c06a9c1d77dbd66a8dca68
2020-04-16simpleperf: Fix record_java_app test.Yabin Cui
Fix test apk by always using internal cache dir. Bug: 153605370 Test: run simpleperf_unit_test. Change-Id: Ie38242e2034f0f9888da380f7cee696bf3877818 (cherry picked from commit 42ce297dff6df9c6a54366b9090a1bab7f52e638)
2020-04-13Mark some aidl_interface modules as unstableJiyong Park
With b/152655547, all aidl_interface modules are considered as stable unless it is explicitly with "unstable: true". This change marks the aidl_interface that are not used across updatable module bounraries as unstable, so that the build system does not run the API dumping/checking on them. Bug: 152655547 Test: m Change-Id: I8291dca96fcca0c45a2501ab88970ace360a7ac7
2020-04-11Merge "Use realpath to grab underlying path for userdata" into rvc-dev am: ↵Daniel Rosenberg
ae7f2edaf4 am: 913a079492 Change-Id: Icf6142b8d4dffdf2b55310ee2da0386ebf499763
2020-04-11Merge "Use realpath to grab underlying path for userdata" into rvc-dev am: ↵Daniel Rosenberg
ae7f2edaf4 Change-Id: I1e84bc082295a7fcd8a44f1d1acc8e08ed66b737
2020-04-11Merge "Use realpath to grab underlying path for userdata" into rvc-devDaniel Rosenberg
2020-04-08Merge "Remove vts10 tests from vts suite" into rvc-dev am: aff6b2d6b0 am: ↵TreeHugger Robot
f156b75a61 Change-Id: If10490f755bc6fd2aabbd923a275feb60573fa37
2020-04-08Merge "Remove vts10 tests from vts suite" into rvc-dev am: aff6b2d6b0TreeHugger Robot
Change-Id: I15ae6a865847c3c6667404cce8234c8c41fe922e
2020-04-08Merge "Remove vts10 tests from vts suite" into rvc-devTreeHugger Robot
2020-04-07Remove vts10 tests from vts suiteDan Shi
The tests are only needed in vts10 suite, as they are part of CTS package and no longer needed in vts 11. Bug: 151896491 Test: local build Exempt-From-Owner-Approval: This CL removes vts10 tests from vts suite. It won't change test logic or behavior. Change-Id: Idadd1f99ba3620c36a7aca4f648a013da40bd3a0 Merged-In: Idadd1f99ba3620c36a7aca4f648a013da40bd3a0
2020-04-07simpleperf: fix CanRecordRawData. am: bcf045413b am: 80cd87a602Yabin Cui
Change-Id: I4a3957100dfb9e0e1ed8cc17170a2dfa92783163
2020-04-07simpleperf: fix CanRecordRawData. am: bcf045413bYabin Cui
Change-Id: I728bfe8faf614637f1024b459eb78bfefdd0394e
2020-04-06simpleperf: fix CanRecordRawData.Yabin Cui
sys.init.perf_lsm_hooks isn't accessible in app context, thus checking it in CanRecordRawData() breaks recording app with --trace-offcpu option. Fix it by not recording raw data in non-root users. Bug: 153381808 Test: run simpleperf_unit_test. Test: run test.py *TraceOffCpu*. Change-Id: Id87c73d25b19b265c022c4fa6ebb8e7d3a84152b (cherry picked from commit c98cb1193d73c1fa616d0d366a221751fde38f67)
2020-04-02Use realpath to grab underlying path for userdataDaniel Rosenberg
We may grab the by-name path for /data's block device. Use realpath to ensure we grab the correct name to access the sysfs entries. Bug: 153049163 Test: Run /vendor/bin/checkpoint_gc Change-Id: I297c7b60105d1966eb1304222a9727794035d3fc
2020-04-01simpleperf: fix comment for per-thread and per-core report. am: c118258b5f ↵Yabin Cui
am: 30d0020380 Change-Id: I4481f9d9bbc40cf59161ca21f5c0db29ca9a7a02
2020-04-01simpleperf: move CounterSummaries definition to header file. am: 9611c79027 ↵Yabin Cui
am: c026f90a7b Change-Id: Ib21fe871b18b3c9f4b0d1e8602771932d64bbeb2
2020-04-01simpleperf: fix comment for per-thread and per-core report. am: c118258b5fYabin Cui
Change-Id: I1c27a6b4bac6cfbc2780f163145734398fe57fe2
2020-04-01simpleperf: move CounterSummaries definition to header file. am: 9611c79027Yabin Cui
Change-Id: I5fa5fa68185b7d1ee226b441761a4f9d32b4af7d
2020-04-01simpleperf: fix comment for per-thread and per-core report.Yabin Cui
For task-clock, it uses software counter, so multiplexing will not happen. And it isn't proper to scale comment value in per-core report. For rate computation involving runtime, the current way to find runtime is via FindRunningTimeForSummary() function. But that function doesn't take care of thread and core match. And it seems more proper to use the sum of runtime given by perf counters. So switch to it. Also add some tests for comment string. Also adjust comment title in report. Bug: 152911261 Test: run simpleperf_unit_test. Change-Id: I475fae32952ed2680888c6a76b43cfb10bc9b06e (cherry picked from commit 6922c076ce73fd4bca357aeea0d20797e3321749)