From 141ebb491234d088cf215529cfad9ffbfeab2c5b Mon Sep 17 00:00:00 2001
From: Mike Ma <yanmin@google.com>
Date: Fri, 2 Mar 2018 16:57:31 -0800
Subject: [PATCH] onclite: overlay: Power profile audio & video support

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

Change-Id: Ifc1c7b5504dee11c568c7ccb5b2904acc7fb95f5
---
 overlay/frameworks/base/core/res/res/xml/power_profile.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/overlay/frameworks/base/core/res/res/xml/power_profile.xml
index c2594cc..f0b4e4e 100644
--- a/overlay/frameworks/base/core/res/res/xml/power_profile.xml
+++ b/overlay/frameworks/base/core/res/res/xml/power_profile.xml
@@ -49,8 +49,8 @@
     <item name="wifi.on">1</item>
     <item name="wifi.active">100</item>
     <item name="wifi.scan">30</item>
-    <item name="dsp.audio">22</item>
-    <item name="dsp.video">80</item>
+    <item name="audio">22</item>
+    <item name="video">80</item>
     <item name="camera.flashlight">121</item>
     <item name="camera.avg">400</item>
     <item name="gps.on">100</item>
-- 
GitLab