Commit Graph

4025 Commits

Author SHA1 Message Date
Brad Ebinger
72fd5a6407 Enable FEATURE_TELEPHONY_IMS for this device.
Bug: 118823723
Test: checkbuild
Merged-In: Ibdd8cfad8fa26b147d1c318eb43e4bf181ae4037
Change-Id: Ibdd8cfad8fa26b147d1c318eb43e4bf181ae4037
2019-03-14 23:06:19 +00:00
Xin Li
474e925d43 Merge "DO NOT MERGE - Merge PPRL.190305.001 into master" 2019-03-13 02:26:03 +00:00
Xin Li
dbcc9d458d DO NOT MERGE - Merge PPRL.190305.001 into master
Bug: 127812889
Change-Id: Ibaed5f48f1d44fc33784b1aa6eccb16ebc3ba17a
2019-03-11 09:13:14 -07:00
Joel Galenson
9e0d3af6ce Hide denials seen during user bugreports.
Bug: 116711254
Bug: 123540375
Test: Build
Change-Id: If5a6d12f596b3d6b8e9ddfe3b63cf5a23afec64c
2019-03-11 08:28:59 -07:00
Joel Galenson
fe1a4ee9ad Track denials.
This should help fix presubmit tests.

Bug: 127303305
Test: Build.
Change-Id: I4bde73695d1f2c96aa9e3331cc421b26bdc0f31a
2019-03-09 09:00:47 -08:00
android-build-team Robot
2db897c4f1 Snap for 5240760 from f499919cd8 to pi-platform-release
Change-Id: I5b52962db00203bf5e6065584e1f3de6652bc85f
2019-03-08 18:45:13 +00:00
Joel Galenson
3815fc30d2 Track denial.
Bug: 127946548
Test: Build
Change-Id: I895dc36c4de078f09e88f8348ea33bd2a2ce3901
2019-03-08 10:14:10 -08:00
Treehugger Robot
5ec0f7b2d1 Merge "Fix denials during bugreport." 2019-03-05 17:27:58 +00:00
Joel Galenson
67358d5c40 Fix denials during bugreport.
Bug: 124465994
Test: Build
Change-Id: I8ed0fa685ff11c1ed99973ece65d00dcebcac540
(cherry picked from commit 73fd5ce217)
2019-03-04 09:35:53 -08:00
Cheney Ni
3039332360 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: Ia720174c028ceb14424197d31fde345eeb4a3c2b
Merged-In: I1927dd49b09579a3f830558beb4d4e117842f3dc
2019-03-01 17:03:39 +00: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
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
Treehugger Robot
ae9a4709d6 Merge "Move rcs declaration to system" 2019-02-25 04:12:00 +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
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
7db7283bf2 Merge "Adjust pinned files following runtime module work." 2019-02-20 18:19:25 +00: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
Treehugger Robot
6751b23bd2 Merge "Support for Bluetooth Audio HAL V2 on Pixel 2" 2019-02-19 04:26:19 +00:00
Jeff Vander Stoep
6e99fbed32 hal_bluetooth: track flaky selinux denial
avc: denied { read } for comm="bluetooth@1.0-s" name="ssrdump"
dev="dm-2" ino=3276848 scontext=u:r:hal_bluetooth_default:s0
tcontext=u:object_r:ramdump_vendor_data_file:s0 tclass=dir

Bug: 124682886
Test: build
Change-Id: I45022b149b5a99c3fd601db60fed0f1e791c4eb0
2019-02-18 13:46:56 -08:00
Cheney Ni
892d1243c3 Support for Bluetooth Audio HAL V2 on Pixel 2
Remove primary flags from hearing aid also.

Bug: 111519504
Bug: 124278829
Bug: 124014853
Test: manual with BluetoothAudioHAL enabled / disabled
Change-Id: I57e521422ae37b359e08836429a4c8e1a99dd66b
Merged-In: I57e521422ae37b359e08836429a4c8e1a99dd66b
2019-02-18 18:41:35 +08:00
Xin Li
f73e96a8a9 Merge "DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master" into stage-aosp-master 2019-02-14 22:11:30 +00:00
Joel Galenson
37f83d9a29 Merge "Hide denial seen in tests."
am: 68ffdec493

Change-Id: Id162571a7bf0a557810fd1120823e06620b7663d
2019-02-14 07:30:29 -08:00
Treehugger Robot
68ffdec493 Merge "Hide denial seen in tests." 2019-02-14 15:23:18 +00:00
Joel Galenson
d6771fb99b Hide denial seen in tests.
This should help fix presubmit tests.

Test: Build.
Change-Id: Icf93d79c533243b79367e633fa4b3dda3577e791
2019-02-13 17:18:34 -08:00
Benjamin Schwartz
38b289bd51 power.stats: Add AidlStateResidencyDataProvider
am: 81b6f12e13

Change-Id: Ib7bc2a515a7b4d8dc78453b5023ba3501ae0a072
2019-02-13 17:17:24 -08:00
Benjamin Schwartz
5ea03bf9cb power.stats: Port power.stats HAL to Pixel 2
am: 8a9a191958

Change-Id: I4aea29b6425114b7dd78183b6f9e946c94783520
2019-02-13 17:17:18 -08:00
Benjamin Schwartz
81b6f12e13 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: I73e02cb65da9c22850f65b96c12554a28f1fbb60
2019-02-13 10:42:54 -08:00
Benjamin Schwartz
8a9a191958 power.stats: Port power.stats HAL to Pixel 2
Bug: 120301393
Test: run vts -m VtsHalPowerStatsV1_0Target
Test: adb shell "lshal debug android.hardware.power.stats@1.0::IPowerStats/default"
Change-Id: Ib46e205651e0972dd4008976209aaf7dbff4d5f8
(cherry picked from commit 61d2125575)
Merged-In: Ib46e205651e0972dd4008976209aaf7dbff4d5f8
2019-02-13 10:32:36 -08:00
Joel Galenson
988a4ce157 Merge "Track SELinux denial."
am: aef21de27f

Change-Id: I5492c7776d541633f5d48ace7887cde73d80d73c
2019-02-13 07:53:44 -08:00
Joel Galenson
aef21de27f Merge "Track SELinux denial." 2019-02-13 15:40:24 +00:00
Joel Galenson
c2a8515884 Track SELinux denial.
This shoud fix presubmit tests.

Bug: 124364409
Test: Build.
Change-Id: I07db68aaefe37f72ac407ed4731c7ac1f23d4aed
2019-02-13 07:29:36 -08:00
Xin Li
fac5d8b2fb DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master
Bug: 124234733
Change-Id: Iaee389857897181721744c8bae8d7545bd7d2aed
2019-02-12 09:53:31 -08:00
Joel Galenson
db25269029 Merge "Fix denials seen during user bugreports."
am: 3f810d570a

Change-Id: Ic1eeb8c1f5bd7e17e552a024af8a1120055c3ea9
2019-02-11 12:49:36 -08:00
Treehugger Robot
3f810d570a Merge "Fix denials seen during user bugreports." 2019-02-11 20:27:39 +00:00
Yiwei Zhang
54011f2a7a Merge "Game Driver: allow Camera app access GpuService"
am: 78de5d62ec

Change-Id: I7085ffb3253acffe73e75268414130bc4087ce5d
2019-02-11 10:09:14 -08:00
Treehugger Robot
78de5d62ec Merge "Game Driver: allow Camera app access GpuService" 2019-02-11 18:03:50 +00:00
Joel Galenson
9fb184dd39 Fix denials seen during user bugreports.
Bug: 116711254
Bug: 123540375
Test: Build
Change-Id: I118d74f1590669ab535faeb84a0f44592055050a
2019-02-11 09:25:15 -08:00
Tom Cherry
75785c93bf Move to config.fs
am: 5434bb60e8

Change-Id: Iaef9d6cce2c5c02b788272f8310ab0b1d25e995d
2019-02-11 08:30:50 -08:00
android-build-team Robot
202cd101a1 Snap for 5180536 from 5602117af2 to pi-platform-release
Change-Id: I36ac873f9c6af4c306e6ca4efc6b3e1f53f7c464
2019-02-09 02:18:48 +00:00
Tom Cherry
5434bb60e8 Move to config.fs
TARGET_ANDROID_FILESYSTEM_CONFIG_H is soon to be deprecated, so move
to config.fs

Test: build
Change-Id: Ie987da844a8d6747eebc0886d70731eb1d0e4125
2019-02-08 17:58:38 -08:00
Yiwei Zhang
b98f6a9f57 Game Driver: allow Camera app access GpuService
Bug: 123529932
Test: Build, flash and boot. No selinux denials.
Change-Id: Ic8597f28162b4caa2075dfc8c8bc27321c0750da
2019-02-08 13:28:41 -08:00
Jeffrey Vander Stoep
0b51a54b30 Merge "Revert "Treble-ize tmpfs access""
am: 7558e65ead

Change-Id: I0696672b0d8ed0b411505740d2440af9fe8d6bd1
2019-02-07 11:53:51 -08:00
Treehugger Robot
7558e65ead Merge "Revert "Treble-ize tmpfs access"" 2019-02-07 19:40:32 +00:00
Jeff Vander Stoep
4672880b52 usb HAL: remove all DAC capabilities
am: 84304df642

Change-Id: I003eeabb1cc08c4eff22f1ff54ca55e4a5f40f76
2019-02-06 20:58:13 -08:00
Jeff Vander Stoep
84304df642 usb HAL: remove all DAC capabilities
We can verify via selinux policy that no capabilies are allowed,
so there's no reason to grant them in DAC. Currently this is
resulting in an selinux denial.

avc: denied { dac_override } for comm="usb@1.1-service" capability=1
scontext=u:r:hal_usb_impl:s0 tcontext=u:r:hal_usb_impl:s0
tclass=capability permissive=0

Test: build
Change-Id: Iddea654be7c8f374a2c5f3c4fbebf066deca1796
2019-02-06 15:02:11 -08:00