Commit Graph

4544 Commits

Author SHA1 Message Date
Cheney Ni
b9e66da8d1 Reland BluetoothAudio HAL: flip to be enabled by default on Pixel 2
Swap audio XML files, and supports following scenarios:
1) (default) audio_policy_configuration.xml
   Using BluetoothAudio HAL
2) audio_policy_configuration_bluetooth_legacy_hal.xml
   No BluetoothAudio HAL nor A2DP offload

Bug: 126304229
Test: Switch BluetoothAudio HAL manully
(cherry picked from commit 6a8178d9df)

Change-Id: I1927dd49b09579a3f830558beb4d4e117842f3dc
2019-02-27 16:34:29 -08:00
TreeHugger Robot
6dab537ea3 Merge "power.stats: Add AidlStateResidencyDataProvider" 2019-02-28 00:31:11 +00:00
Annie Meng
6a1774216e Merge "Revert "BluetoothAudio HAL: flip to be enabled by default on Pixel 2"" am: 3394c70860 am: 3224c4ed9e
am: 6288c9ebc3

Change-Id: I74e0c6a68cee0ebb1f8393c42e0a6d03bebcf4c6
2019-02-27 12:14:55 -08:00
Annie Meng
6288c9ebc3 Merge "Revert "BluetoothAudio HAL: flip to be enabled by default on Pixel 2"" am: 3394c70860
am: 3224c4ed9e

Change-Id: I6ae1c6292d2f9745adb2553cef57223948d85430
2019-02-27 11:52:15 -08:00
Annie Meng
3224c4ed9e Merge "Revert "BluetoothAudio HAL: flip to be enabled by default on Pixel 2""
am: 3394c70860

Change-Id: Ie2ec603e0045b7bd51337c2783d878a0da614ee9
2019-02-27 11:46:13 -08:00
Annie Meng
3394c70860 Merge "Revert "BluetoothAudio HAL: flip to be enabled by default on Pixel 2"" 2019-02-27 19:30:07 +00:00
Hansong Zhang
d993239b00 Revert "BluetoothAudio HAL: flip to be enabled by default on Pixel 2"
This reverts commit 6a8178d9df.

Reason for revert: Broke test

Change-Id: I88181edb1d0eb6cc16316817a82bd18f8e325f1d
2019-02-27 19:00:02 +00:00
Benjamin Schwartz
7bcbb2c5ee power.stats: Add AidlStateResidencyDataProvider
Some drivers that we want to collect power stats from are pass-through
and would require significant changes in order to provide a sysfs node
that the current power stats framework can pull stats from.

These pass-through drivers typically have a userspace daemon that is
capable of keeping track of the power stats and providing them to the
power.stats HAL service, but currently have no way to do that.

The AidlStateResidencyDataProvider will provide a vendor binder service
that will allow the userspace daemon to push updates or the power
statistics to power.stats HAL.

Bug: 117585786
Test: Created a PTS test to update some mock power entities that were
created using the AidlStateResidencyDataProvider. Further testing is
planned when real power entities start using this.

Change-Id: I4506ce7db84bbce2a8b271a870267040a7fa448f
2019-02-27 10:53:37 -08:00
Cheney Ni
74cb54c8af Merge "BluetoothAudio HAL: flip to be enabled by default on Pixel 2" am: b985dd76bf am: 26583da937
am: 45d87b45b7

Change-Id: If5c7de27a2c98994644c4989fd4dd608e4c6d911
2019-02-26 15:53:32 -08:00
Cheney Ni
45d87b45b7 Merge "BluetoothAudio HAL: flip to be enabled by default on Pixel 2" am: b985dd76bf
am: 26583da937

Change-Id: I949e1ec32f0db67eac435bd4ea47858ab296ee73
2019-02-26 15:42:26 -08:00
Cheney Ni
26583da937 Merge "BluetoothAudio HAL: flip to be enabled by default on Pixel 2"
am: b985dd76bf

Change-Id: Id007d2a48421d81264d1c9ef9262636ef8bd3d52
2019-02-26 15:38:25 -08:00
Treehugger Robot
b985dd76bf Merge "BluetoothAudio HAL: flip to be enabled by default on Pixel 2" 2019-02-26 23:20:18 +00:00
Cheney Ni
6a8178d9df BluetoothAudio HAL: flip to be enabled by default on Pixel 2
Swap audio XML files, and supports following scenarios:
1) (default) audio_policy_configuration.xml
   Using BluetoothAudio HAL
2) audio_policy_configuration_bluetooth_legacy_hal.xml
   No BluetoothAudio HAL nor A2DP offload

Bug: 126304229
Test: Switch BluetoothAudio HAL manully
Change-Id: If724fea15398062288390825ca045e595b7907f3
2019-02-26 15:47:15 +08:00
Adam Shih
4e060bc044 Merge "Move rcs declaration to system" am: ae9a4709d6 am: 990cfce169
am: 61370b4930

Change-Id: Iab2d2f6bbc1f699775ce34f083b9af267bae7388
2019-02-25 21:59:45 -08:00
Adam Shih
61370b4930 Merge "Move rcs declaration to system" am: ae9a4709d6
am: 990cfce169

Change-Id: If730ec53fddbba4a3228a78a5ac5649cc1ee1f45
2019-02-25 21:54:24 -08:00
Nicolas Geoffray
bd7ffbb943 Generate the apex image for wahoo devices. am: d4c0b2d1ba am: da4056b409
am: 416a6298c7

Change-Id: Ia5dfca4015e822978accc502316becd5f26703f0
2019-02-25 21:05:10 -08:00
Nicolas Geoffray
416a6298c7 Generate the apex image for wahoo devices. am: d4c0b2d1ba
am: da4056b409

Change-Id: I5eed7df65ae6a52a87252550753171faf77e0357
2019-02-25 20:09:24 -08:00
Xin Li
acf547bc9c [automerger skipped] Merge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master" into stage-aosp-master am: 4ee3d81aca -s ours
am: e8e2ee43e5 -s ours
am skip reason: subject contains skip directive

Change-Id: Ie93d930a6650fbbd1cce1b760694c2b2c52e7da6
2019-02-25 17:41:28 -08:00
Xin Li
b40d2b8aac [automerger skipped] DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master am: 0846b00f7c -s ours
am: d47f2da748 -s ours
am skip reason: subject contains skip directive

Change-Id: I1360bae69e13f89e7bdece96b09ff98435cde923
2019-02-25 17:12:44 -08:00
Xin Li
e8e2ee43e5 [automerger skipped] Merge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master" into stage-aosp-master
am: 4ee3d81aca -s ours
am skip reason: subject contains skip directive

Change-Id: I61ba82ba450984eec05587198567b9e84aa7869a
2019-02-25 17:03:46 -08:00
Xin Li
d47f2da748 [automerger skipped] DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
am: 0846b00f7c -s ours
am skip reason: subject contains skip directive

Change-Id: Id8f863bd3175f6f5b886d46686da0cdf7f143160
2019-02-25 16:09:57 -08:00
Adam Shih
990cfce169 Merge "Move rcs declaration to system"
am: ae9a4709d6

Change-Id: If42ddf2191972c284a78f0762711237d87125acc
2019-02-24 20:21:56 -08:00
Treehugger Robot
ae9a4709d6 Merge "Move rcs declaration to system" 2019-02-25 04:12:00 +00:00
Nicolas Geoffray
da4056b409 Generate the apex image for wahoo devices.
am: d4c0b2d1ba

Change-Id: I35b5739c3ce2b3dae546543ec64186dfcf83e71b
2019-02-24 05:46:05 -08:00
Nicolas Geoffray
fe5806c5ee Merge "Add a new list of pinned file for the JIT in zygote experiment." am: ece5c7f95f am: 40b7530f84
am: 3b44d7c94e

Change-Id: I98961ca30efe9b4d30467cc181187a5553ef4ca9
2019-02-22 20:31:15 -08:00
Nicolas Geoffray
3b44d7c94e Merge "Add a new list of pinned file for the JIT in zygote experiment." am: ece5c7f95f
am: 40b7530f84

Change-Id: Ic26648f57b3fc6f2b47067fa9873a52b9cecca15
2019-02-22 20:28:08 -08:00
Xin Li
4ee3d81aca Merge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master" into stage-aosp-master 2019-02-23 00:39:14 +00:00
Nicolas Geoffray
d4c0b2d1ba Generate the apex image for wahoo devices.
Bug: 119800099
Test: m
Change-Id: I18a76766590db27a4c32534dc948f55f78da166c
2019-02-22 16:09:41 +00:00
Adam Shih
4ef84a72de Move rcs declaration to system
Bug: 125150288
Test: built pass with rcs remained declared
Change-Id: I20c8cec2ce43b48249f1cabc62005da8fd92523a
2019-02-22 11:21:30 +08:00
Thierry Strudel
43d309a9a1 Merge "wahoo: Add Google Camera HAL service" 2019-02-21 22:24:06 +00:00
Xin Li
0846b00f7c DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
Bug: 120848293
Change-Id: Ib4523afeb896ae1e2c4b496dc4373597d847ef43
2019-02-21 11:38:12 -08:00
Nicolas Geoffray
40b7530f84 Merge "Add a new list of pinned file for the JIT in zygote experiment."
am: ece5c7f95f

Change-Id: I35b4b5755c18bb6bc7582028175c905c6df8e3d4
2019-02-21 10:29:51 -08:00
Nicolas Geoffray
ece5c7f95f Merge "Add a new list of pinned file for the JIT in zygote experiment." 2019-02-21 17:25:04 +00:00
Nicolas Geoffray
0b6f823498 Merge "Adjust pinned files following runtime module work." am: 7db7283bf2 am: 1379ae0d3c
am: 3fffad155e

Change-Id: I2b29a3d5e0b1ffe4b1a015021737d1316fecf372
2019-02-20 12:49:26 -08:00
Nicolas Geoffray
3fffad155e Merge "Adjust pinned files following runtime module work." am: 7db7283bf2
am: 1379ae0d3c

Change-Id: Ifa2e61f6fc25a720ca7e8ef9a56ec76544bb21c4
2019-02-20 12:21:08 -08:00
Nicolas Geoffray
1379ae0d3c Merge "Adjust pinned files following runtime module work."
am: 7db7283bf2

Change-Id: I5cd0babb6d790da03da2f45f04dd38abbcdae3a7
2019-02-20 12:09:06 -08:00
Nicolas Geoffray
7db7283bf2 Merge "Adjust pinned files following runtime module work." 2019-02-20 18:19:25 +00:00
Xin Li
63138fd1cd [automerger skipped] DO NOT MERGE - Merge PPRL.190205.001 into master am: 743e5bb8da -s ours am: eb31b50cc6 -s ours
am: 0ab50de42a -s ours
am skip reason: subject contains skip directive

Change-Id: I25e9047f7426f41217f13f683c60236c314af396
2019-02-20 10:06:46 -08:00
Xin Li
0ab50de42a [automerger skipped] DO NOT MERGE - Merge PPRL.190205.001 into master am: 743e5bb8da -s ours
am: eb31b50cc6 -s ours
am skip reason: subject contains skip directive

Change-Id: Id04eca9124180a859202f462e8701c6c3b803b3c
2019-02-20 09:15:54 -08:00
Xin Li
eb31b50cc6 [automerger skipped] DO NOT MERGE - Merge PPRL.190205.001 into master
am: 743e5bb8da -s ours
am skip reason: subject contains skip directive

Change-Id: If6e09d5762df5016bd895cb71fd5a8efd8a45390
2019-02-20 08:37:47 -08:00
Xin Li
743e5bb8da DO NOT MERGE - Merge PPRL.190205.001 into master
Bug: 124234733
Change-Id: I51d316749e1236c906879b8f431c09f4c3feb259
2019-02-20 08:20:37 -08:00
Nicolas Geoffray
83ccfcb7ab Add a new list of pinned file for the JIT in zygote experiment.
Bug: 119800099
Test: adb shell dumpsys pinner
Change-Id: I474a006b9f0c410d711dc883ce327b2ae269c039
2019-02-20 15:34:22 +00:00
Nicolas Geoffray
5788ad69d4 Adjust pinned files following runtime module work.
Test: adb shell dumpsys pinner
Bug: 119868597

(cherry picked from commit 6eb9bf8763)

Change-Id: Icd73b75ed7dbbc2851a280a237dcce36f846ec2b
2019-02-20 15:20:23 +00:00
JamesYH Chen
17064fdd24 wahoo: Add Google Camera HAL service
Test: make
Bug: 122848873
Change-Id: Ie8cd9ec48a243cdb4c87f2073a600386ecae765a
2019-02-20 11:02:28 +08:00
Minchan Kim
ec4027d72b change pixel-trace directory permission
Recently, I saw some of bugreports doesn't include mm_event dump.
dumpstate_board.txt says just permission error instead of dumping trace.
I could reproduce it with android restarting( shell$ stop; start).

The permission in pixel-trace directory is changed from

        drwxr-xr-x 5 root root 0 2019-02-15 21:21 pixel-trace

to

        drw------- 5 root root 0 2019-02-15 21:21 pixel-trace

Originally, 600 permission is buggy from the beginning because directory
needs execution permission bit to allow access the file. However, question
is why the permission is not set when the directory is created but does
android is restarted.
The tracefs in kernel seems to not support permission when the directory
is created. It just use 755 hardcoding if I parse it rightly.

https://elixir.bootlin.com/linux/v5.0-rc6/source/fs/tracefs/inode.c#L430

I also read mkdir script implementation(i.e., do_mkdir). It does fchmod
if it founds the file is already existing. That's why the restart changes
the permission to the one I wrote in the script.

Let fix it to set the permission to 755 for directory and 660 files
from the beginning so that it should work even though android restart
accidentally.

Test: confirmed it works device $ stop; start; host$ adb bugreport
Change-Id: I36305283c327b44e476c6eb39ec028ef271c304f
Signed-off-by: Minchan Kim <minchan@google.com>
2019-02-20 09:16:47 +09:00
Cheney Ni
d4750b3e0f [automerger skipped] Merge "Support for Bluetooth Audio HAL V2 on Pixel 2" am: 6751b23bd2 am: eea7cb4057
am: 0d954fe196 -s ours
am skip reason: change_id I57e521422ae37b359e08836429a4c8e1a99dd66b with SHA1 9acde827d5 is in history

Change-Id: I6898554c743ba5f91f06732d1b19e26c016629a6
2019-02-18 20:46:45 -08:00
Cheney Ni
0d954fe196 Merge "Support for Bluetooth Audio HAL V2 on Pixel 2" am: 6751b23bd2
am: eea7cb4057

Change-Id: If41181ffe98a11746889f0511fc60062be6a1548
2019-02-18 20:42:51 -08:00
Cheney Ni
eea7cb4057 Merge "Support for Bluetooth Audio HAL V2 on Pixel 2"
am: 6751b23bd2

Change-Id: Ic6591890dd610686cb153680e886631db15cb8e8
2019-02-18 20:38:39 -08:00
Treehugger Robot
6751b23bd2 Merge "Support for Bluetooth Audio HAL V2 on Pixel 2" 2019-02-19 04:26:19 +00:00
Jeff Vander Stoep
0f70bef29c hal_bluetooth: track flaky selinux denial am: 6e99fbed32 am: 56620c551d
am: 8fa57f347b

Change-Id: I741e9afec180941921051eef9bc6d96fea22c82e
2019-02-18 19:30:54 -08:00