Add power consumed by audio and video hardware to power profile.
Attribute these power to specific app.
Bug: 70531798
Test: PowerProfileTest
Test: BatteryStatsHelperTest
Test: PowerCalculatorTest
Change-Id: I4811efa14ce97983258cd59bfd328181fe95baf4
Bring back old usage of status_bar_height, status_bar_height_portrait,
and status_bar_height_landscape by set the size containing cutout size.
Bug: 216782082
Test: make
Change-Id: I0bf97352bc07e45d7694f9512266f08e7139c103
* FOD radius = MIUI radius value / 2
* FOD x position = MIUI x position value + (MIUI radius value / 2)
* FOD y position = MIUI y position value + (MIUI radius value / 2)
* FOD enroll progress radius = (MIUI radius value / 2) + 5
[cafebabe note: Use /vendor/build.prop values for now]
Change-Id: Ie8add9eb4958bbb55d83d4d2809eb53b1822d15e
Signed-off-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
With the new added APIs, we don't need to overlay status_bar_height that
contains cutout size and quick_qs_offset_height anymore.
Bug: 186604541
Test: make
Change-Id: I36d869866ed03d3996b7b0d8cc6d3f6bb6ab624d