A0 and B0 chips have different performance characteristics when it comes
to the hypervisor because B0 waits for SysMMU_SYNCs to complete during
every memory ownership transaction.
Set debug.hypervisor.metrics_tag=hwrev_a0 on PROTO1.x and EVT1.0
devices. EVT1.1 and later are B0 and benchmarks are representative of
production devices. This is only done on userdebug/eng builds.
Test: 'getprop | grep hypervisor' on A0/B0 devices
Change-Id: I0c81a0e4706a13cd63358de23048087a9190b9da
* modify dev/logbuffer_tty16 to dev/logbuffer_tty18
Bug: 213759828
Test: 1. Enable Bluetooth in P22 devices and check uart log in
android.hardware.bluetooth@1.1::IBluetoothHci.txt
2. Enable Bluetooth in P21 devices and check uart log in
android.hardware.bluetooth@1.1::IBluetoothHci.txt
3. Fake bthal ssrdump and check the coredump log.
Change-Id: I208fae8e5ddf60d7df52311c32249bf3ac401dbc
On userdebug & eng builds, change the owner/group of SJTAG sysfs files
that need to be written to 'system', so that BetterBug is able to write
these files.
Bug: 204381544
Test: Ensure that the writable files in the following directories have
'system' as their owner & group:
/sys/devices/platform/sjtag_ap/interface/
/sys/devices/platform/sjtag_gsa/interface/
Signed-off-by: Peter Csaszar <pcsaszar@google.com>
Change-Id: I1fd61f702960a266bc8a2f84d1a1358ccefe3c9c