12 Commits

Author SHA1 Message Date
Kelly Rossmoyer
20b039192d Revert "powerstats: timeout mechanism for AoC data provider"
Revert submission 17800080-power-stats-aoc-timeout

Reason for revert: Causing crashes due to improper thread sync
Reverted Changes:
I71a9e6817:powerstats: timeout mechanism for AoC data provide...
I725c00745:powerstats: set time limit as timeout for AoC
I5b290a53d:powerstats: set time limit as timeout for AoC

Change-Id: I6844a141739f93154d10debc29c7565f92349d25
2022-04-24 23:22:49 +00:00
Darren Hsu
df08a31b76 powerstats: timeout mechanism for AoC data provider
Reading data from an AoC sysfs node by getline takes 1 second. In total
there are 17 AoC sysfs nodes that must be read. The worst case is taking
17 seconds long that is greater than dumpsys timeout. Therefore, we need
the timeout mechanism to ignore the AoC power stats reporting when AoC
latency exceeds the allowed time.

Bug: 219630658
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I71a9e681780471f31141599c53bb516aef445add
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-04-20 07:45:56 +00:00
Kelly Rossmoyer
f19ccbfa65 Merge "Revert "powerstats: timeout mechanism for AoC data provider"" into tm-dev 2022-04-01 22:16:23 +00:00
Kelly Rossmoyer
2433fcf62e Revert "powerstats: timeout mechanism for AoC data provider"
Revert submission 17442015-powerstats-aoc-timeout

Reason for revert: Causes PowerStatsHAL crashes (b/227578192)
Reverted Changes:
I9a9eb27fa:powerstats: set time limit as timeout for AoC
Ib70000580:powerstats: timeout mechanism for AoC data provide...
Ied599054c:Revert "powerstats: disable AoC power stats report...
Iaf5af43eb:powerstats: set time limit as timeout for AoC

Change-Id: I53e280871197aaf003d9ef3e5e0cb4c79f486cc8
2022-04-01 20:28:24 +00:00
TreeHugger Robot
9cd2e502ec Merge "Disable OMX" into tm-dev 2022-03-31 04:02:00 +00:00
Sungtak Lee
e848456227 Disable OMX
Bug: 222649162
Test: make
Change-Id: Iaf1046c610804c5bdb3b0f591e9907539534ea06
2022-03-30 15:11:05 -07:00
Darren Hsu
aee3d1a322 powerstats: timeout mechanism for AoC data provider
Bug: 219630658
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ib70000580f9515b3cb73968dd190f99ae8af178f
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-03-29 15:02:55 +08:00
mincheli
088607751d Reverts default-talkback-permissions.xml in gs-common
ag/16646190 has fulfilled the permission pregrant for TalkBack.
So we revert the old change.

Bug: 192521587
Test: manual test
Change-Id: I2f702597fbcafc361a7d383915433af4da735509
2022-01-26 15:33:14 +08:00
Darren Hsu
673d3b0ab7 powerstats: add common data providers in gs common
Bug: 206576142
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Iee66356150a8bdfcd1e0b3fe8b8d5ec9f601f543
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-01-03 20:09:27 +08:00
Cyan_Hsieh
9135d78022 Initialize device makefile in gs common
add default-talkback-permissions.xml to default-permissions

Bug: 211723080
Change-Id: Id661d801bed78403024abc3e4998408f5470c5c5
2021-12-22 08:54:38 +00:00
mincheli
40d29fac89 Adds pregrant permissions for TalkBack
Approved by b/204048166,
 cl/410296191 updates the pregant list for TalkBack
  "android.permission.READ_PHONE_STATE"
  "android.permission.BLUETOOTH_CONNECT",
  "android.permission.BLUETOOTH_SCAN",
  "android.permission.BLUETOOTH_ADVERTISE",

Bug: 192521587
Test: manual
Change-Id: Ib21e56fa2038c9368b1be9318639dce03f510691
2021-12-22 16:50:36 +08:00
Inna Palant
edbdff98d5 Initial empty repository 2021-05-18 11:40:44 -07:00