Commit Graph

3671 Commits

Author SHA1 Message Date
Steven Moreland
55a509b643 Make dumpstate HAL lazy.
Bug: 78509314
Test: HAL isn't running
Test: adb bugreport HAL runs
Test: HAL isn't running after bugreport finishes
Test: can adb bugreport again
Test: HAL isn't running after 2nd bugreport finishes
Test: manually inspect state using `lshal` and logs
    using `adb logcat | grep android.hardware.dump`
Change-Id: Ib4917807aea9b8359094bc83e972d559546f649b
2018-05-03 13:47:44 -07:00
Stanley Tng
eb666e36f6 Disable Hearing Aid Profile for all platforms except Pixel am: a4ac62adff am: 39df73796f
am: 41179e5116

Change-Id: I782e321484bf91ccf12474f771232992fda6882b
2018-04-30 15:12:55 -07:00
Stanley Tng
41179e5116 Disable Hearing Aid Profile for all platforms except Pixel am: a4ac62adff
am: 39df73796f

Change-Id: Ie275b800c71aecf6160347ff930f5fe35627839b
2018-04-30 15:03:49 -07:00
Stanley Tng
39df73796f Disable Hearing Aid Profile for all platforms except Pixel
am: a4ac62adff

Change-Id: I5752a5bdfaa67eece2d30013e058c3c0930f02fb
2018-04-30 14:54:49 -07:00
Stanley Tng
a4ac62adff Disable Hearing Aid Profile for all platforms except Pixel
Enable the Hearing Aid Profile for Pixel 2's and Pixel's.
Note: Cherry-picked from internal branch.

Bug: 78142728
Test: Manual Pairing on various Pixel phones
Change-Id: I1323387592bbedf69b4fc9185b121d616c96fd9e
(cherry picked from commit accc78a8c0)
2018-04-30 08:46:11 -07:00
Joel Galenson
b49e0b464a [automerger skipped] Hide denials caused by race with labeling. am: 1ce9621f42 am: 303ff1d855 -s ours
am: 502e0cb7da  -s ours

Change-Id: I00d0dc3ebd9d6fd43709f0ec2b9cfe7f53e71b26
2018-04-27 14:37:13 -07:00
Joel Galenson
502e0cb7da [automerger skipped] Hide denials caused by race with labeling. am: 1ce9621f42
am: 303ff1d855  -s ours

Change-Id: I7d644080048124a95f13a57b98901072e6028042
2018-04-27 14:33:42 -07:00
Joel Galenson
303ff1d855 Hide denials caused by race with labeling.
am: 1ce9621f42

Change-Id: I71e9308381954f9d755926122faae5372dfda338
2018-04-27 14:28:37 -07:00
Joel Galenson
1ce9621f42 Hide denials caused by race with labeling.
These denials seem to be caused by a race with the process that labels
the files.

Bug: 77635294
Test: Build policy.
Merged-In: Ieed9c2be18a092e92ec90fc8a07fa17c8ec19308
Change-Id: Ieed9c2be18a092e92ec90fc8a07fa17c8ec19308
(cherry picked from commit 2c67552cfd)
2018-04-27 12:38:16 -07:00
Stanley Tng
c1623cd6df Merge "Disable Hearing Aid Profile for all platforms except Pixel" into pi-dev am: 9436e08093
am: 0eaef96899

Change-Id: I6911f5d2d7156eb3437b697c1225ab8b3ca7bb88
2018-04-27 11:57:22 -07:00
android-build-team Robot
cb0d09d1eb Merge "Hide denials caused by race with labeling." into pi-dev am: 22920ab479
am: b7bc8ae41c

Change-Id: I187d940e1388bad7dd569eca950542118d383f63
2018-04-27 11:51:25 -07:00
Stanley Tng
0eaef96899 Merge "Disable Hearing Aid Profile for all platforms except Pixel" into pi-dev
am: 9436e08093

Change-Id: I30645a978a75b5d84a3f14e0f3f06d9a590fdb5b
2018-04-27 11:41:04 -07:00
Stanley Tng
9436e08093 Merge "Disable Hearing Aid Profile for all platforms except Pixel" into pi-dev 2018-04-27 18:27:38 +00:00
android-build-team Robot
b7bc8ae41c Merge "Hide denials caused by race with labeling." into pi-dev
am: 22920ab479

Change-Id: Ib6496a3551219e690859e863aec0a88c9e9ae4ef
2018-04-27 11:26:45 -07:00
android-build-team Robot
22920ab479 Merge "Hide denials caused by race with labeling." into pi-dev 2018-04-27 18:15:20 +00:00
Chia-I Wu
677d2ad0a2 Merge "Override config_availableColorModes" into pi-dev am: 4a7f4180aa
am: cfd09480d6

Change-Id: I74efb78cae205e9aa4cdd4b4b3ed64d86dcdf82f
2018-04-27 09:06:51 -07:00
Chia-I Wu
cfd09480d6 Merge "Override config_availableColorModes" into pi-dev
am: 4a7f4180aa

Change-Id: I349533e812437f832e79f8d0f68cc450ffeac939
2018-04-27 08:52:53 -07:00
Chia-I Wu
4a7f4180aa Merge "Override config_availableColorModes" into pi-dev 2018-04-27 15:47:41 +00:00
Yifan Hong
33ec789fe3 Merge "Revert "health HAL: overrides healthd."" into pi-dev am: d7036a5d7f
am: be66ff9088

Change-Id: I9af5b6468043de669824d8191cf3bfa1b889e2ab
2018-04-26 12:57:56 -07:00
Yifan Hong
be66ff9088 Merge "Revert "health HAL: overrides healthd."" into pi-dev
am: d7036a5d7f

Change-Id: I73815bff5c6da0be14edaa38dbbc246c459eb1f5
2018-04-26 12:50:46 -07:00
Yifan Hong
d7036a5d7f Merge "Revert "health HAL: overrides healthd."" into pi-dev 2018-04-26 19:38:59 +00:00
Joel Galenson
2c67552cfd Hide denials caused by race with labeling.
These denials seem to be caused by a race with the process that labels
the files.

Bug: 77635294
Test: Build policy.
Change-Id: Ieed9c2be18a092e92ec90fc8a07fa17c8ec19308
2018-04-26 10:01:51 -07:00
Yifan Hong
fb257f8c76 Revert "health HAL: overrides healthd."
This reverts commit 6c41af4807.
This is a partial revert; CleanSpec.mk is not reverted.

Reason for revert: prevents boot with O-MR1 vendor + P system

Test: boots

Change-Id: Ib573f525da836f12201fd0f9793441a9fed31969
Fixes: 78550051
2018-04-25 14:18:57 -07:00
Joel Galenson
bae5c45b00 Allow access to sysfs_timestamp_switch. am: 6c9599d865
am: 36f732841a

Change-Id: Ie89870db601236acedde56e1a4100bdb4c67cb60
2018-04-25 11:43:47 -07:00
Chia-I Wu
b4e0bb3e5a Override config_availableColorModes
List NATURAL, BOOSTED, and SATURATED.

Bug: 73824924
Test: atest PtsConfigTestCases
Change-Id: I5e57c4940b5fc32dc43684bb6e58b7af1097a4df
2018-04-25 11:42:20 -07:00
Joel Galenson
36f732841a Allow access to sysfs_timestamp_switch.
am: 6c9599d865

Change-Id: Icd3065aafe1d2168369d5e70578e64df461d29e8
2018-04-25 11:12:54 -07:00
Stanley Tng
accc78a8c0 Disable Hearing Aid Profile for all platforms except Pixel
Enable the Hearing Aid Profile for Taimen and Wally.

Bug: 78142728
Test: Manual Pairing on various Pixel phones
Change-Id: I1323387592bbedf69b4fc9185b121d616c96fd9e
2018-04-25 09:23:22 -07:00
Joel Galenson
6c9599d865 Allow access to sysfs_timestamp_switch.
We've seen these processes trying to access this file, so allow it.

Note that this is likely why they needed the sysfs_diag permission we
granted earlier.

Bug: 77908806
Test: Build
Change-Id: I60a2dae5a0635156070397242f13695678f1d00e
(cherry picked from commit 2e41f0e3f0)
2018-04-25 08:52:31 -07:00
Joel Galenson
f97c3714bd Allow access to sysfs_timestamp_switch. am: 2e41f0e3f0 am: b3dd5447f0
am: 2ffb600b29

Change-Id: I024cfd3589f39903a4d8c9209a0ab8d74f2c5f35
2018-04-24 20:45:54 -07:00
Joel Galenson
2ffb600b29 Allow access to sysfs_timestamp_switch. am: 2e41f0e3f0
am: b3dd5447f0

Change-Id: If75ecf6c6b043542be0fb0577704afa3595ce9da
2018-04-24 20:38:52 -07:00
Joel Galenson
b3dd5447f0 Allow access to sysfs_timestamp_switch.
am: 2e41f0e3f0

Change-Id: I20b7ce654af7f2ec71c96b13fbd139b5b34ddf11
2018-04-24 20:31:19 -07:00
Joel Galenson
20adaeaf2c Merge "Handle radio diag-related denials." into pi-dev am: 09e056efe1
am: 0b8c148e18

Change-Id: Ia389ef5f3bc45155d2b307e64db9ce6fdff05c57
2018-04-24 12:48:59 -07:00
Joel Galenson
0b8c148e18 Merge "Handle radio diag-related denials." into pi-dev
am: 09e056efe1

Change-Id: I08b4dc6daa975547d2f1a371eef8f7840b1e10b4
2018-04-24 12:44:59 -07:00
TreeHugger Robot
09e056efe1 Merge "Handle radio diag-related denials." into pi-dev 2018-04-24 19:35:39 +00:00
Joel Galenson
db4eb34d4d [automerger skipped] Handle radio diag-related denials. am: 25bc4d84ef am: 5078a18c8f -s ours
am: bb058a3a32  -s ours

Change-Id: Ia31948d68b9a07feecc127304b85d97eae29aa62
2018-04-24 11:09:59 -07:00
Joel Galenson
bb058a3a32 [automerger skipped] Handle radio diag-related denials. am: 25bc4d84ef
am: 5078a18c8f  -s ours

Change-Id: I8dda13552926d8f1bff8dd1af49446984c533116
2018-04-24 11:01:57 -07:00
Joel Galenson
5078a18c8f Handle radio diag-related denials.
am: 25bc4d84ef

Change-Id: Ic0251a0d950437720c3558be217be53ce0a0d809
2018-04-24 10:19:26 -07:00
Joel Galenson
2e41f0e3f0 Allow access to sysfs_timestamp_switch.
We've seen these processes trying to access this file, so allow it.

Note that this is likely why they needed the sysfs_diag permission we
granted earlier.

Bug: 77908806
Test: Build
Change-Id: I60a2dae5a0635156070397242f13695678f1d00e
2018-04-24 10:17:17 -07:00
TreeHugger Robot
6f9c05f454 Merge "Handle radio diag-related denials." 2018-04-24 15:49:21 +00:00
Wei Wang
a5bb64421e Merge "dumpstate: add interface into rc file" into pi-dev am: 096cd1d444
am: 1507b114c3

Change-Id: I7f733f9dad7aabbc117317482c572130f3ab48ee
2018-04-23 21:31:05 -07:00
Wei Wang
1507b114c3 Merge "dumpstate: add interface into rc file" into pi-dev
am: 096cd1d444

Change-Id: I4fb50cfc0e47e21c7a2a35c69de7bcdedf5d231a
2018-04-23 21:27:39 -07:00
Wei Wang
096cd1d444 Merge "dumpstate: add interface into rc file" into pi-dev 2018-04-24 04:24:04 +00:00
Wei Wang
184041f91b Merge "sepolicy: Fix denial when dump powerhal" into pi-dev am: 64f3848f9e
am: 74a37e7353

Change-Id: I4e6769cc037696d5309732c58555c0990505a386
2018-04-23 18:24:05 -07:00
Wei Wang
74a37e7353 Merge "sepolicy: Fix denial when dump powerhal" into pi-dev
am: 64f3848f9e

Change-Id: I0788383ce3e163cd89b05288a369b6d91ed34821
2018-04-23 18:11:11 -07:00
TreeHugger Robot
64f3848f9e Merge "sepolicy: Fix denial when dump powerhal" into pi-dev 2018-04-24 00:52:36 +00:00
Wei Wang
15730af3e9 dumpstate: add interface into rc file
Bug: 77489941
Test: Build
Change-Id: I614014b31e1f5301a42bf85573f9f7495626ac33
2018-04-23 17:24:10 -07:00
Joel Galenson
731a3272ad Handle radio diag-related denials.
This allows the behavior on userdebug and eng builds and hides it on
user builds.

Bug: 77908806
Test: Build policy.
Change-Id: I0d858a94bb1bab6069107209494536a62019788f
(cherry picked from commit e7e22f5e82)
2018-04-23 16:10:16 -07:00
Joel Galenson
25bc4d84ef Handle radio diag-related denials.
This allows the behavior on userdebug and eng builds and hides it on
user builds.

Bug: 77908806
Test: Build policy.
Merged-In: I0d858a94bb1bab6069107209494536a62019788f
Change-Id: I3ba64a7b7350ae29883f1bd90ea86057c13d4835
2018-04-23 16:07:48 -07:00
Joel Galenson
e7e22f5e82 Handle radio diag-related denials.
This allows the behavior on userdebug and eng builds and hides it on
user builds.

Bug: 77908806
Test: Build policy.
Change-Id: I0d858a94bb1bab6069107209494536a62019788f
2018-04-23 15:50:25 -07:00
Adam Seaton
9ab0180a1e Update SVN to 12 for June RoW Walleye/Taimen build Bug:78240102 am: 7c3e60f1fd am: 28bed0f4ea
am: 4c5ed5d693

Change-Id: I489f68263de472e64b4544cd6e251840ec5b515a
2018-04-20 13:50:53 -07:00