Commit Graph

3188 Commits

Author SHA1 Message Date
Jiyong Park
56c0900c11 Disable modules that can't be built in PDK
Modules that can't be built in PDK are disabled when TARGET_BUILD_PDK is
true

Bug: 71361051
Test: lunch aosp_walleye-userdebug
PDK_FUSION_PLATFORM_ZIP=vendor/pdk/walleye/walleye-userdebug/platform/platform.zip m -j

Change-Id: I2cc7ab6d667daab7d3566baf8a9b473cafc4e452
2018-03-08 17:50:19 +09:00
TreeHugger Robot
9dc4b0c1a9 Merge "Migrate pixel 2 to audio V4" into pi-dev 2018-03-07 03:23:51 +00:00
TreeHugger Robot
d6e8ad9695 Merge "Rename rild.libpath to vendor.rild.libpath" into pi-dev 2018-03-06 22:39:01 +00:00
TreeHugger Robot
0b5d6034de Merge "sepolicy: allow vendor_init to write to /proc/sysrq-trigger" into pi-dev 2018-03-06 19:44:11 +00:00
Kevin Rocard
2697312928 Migrate pixel 2 to audio V4
Test: regression test on the board
Bug: 38184704
Change-Id: Ife559125850277865451f92ea862e7ec47fc9da7
Merged-In: Ife559125850277865451f92ea862e7ec47fc9da7
Cherry-picked from master
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-03-06 11:30:47 -08:00
Siqi Lin
ba1439d10a sepolicy: allow vendor_init to write to /proc/sysrq-trigger
Bug: 73088609
Test: manual - trigger crash from app
Change-Id: I045169d7ea6a38d681dc6826117e505cd20aadd0
2018-03-06 09:47:19 -08:00
Zhijun He
a7b1f6be9c add back nfc_notify for both walleye and taimen
Taimen also has the nfc issue.

Bug: 69482513
Change-Id: I1cff9b02df04c060c98a8baa6378c5bb6f95030b
2018-03-06 15:40:28 +00:00
Jaekyun Seok
d3ecc04db8 Rename rild.libpath to vendor.rild.libpath
Bug: 36796459
Test: succeeded building and tested on a taimen device
Change-Id: Iaf77c0b2fb15bf75c48f7cbe5d5bb96bdd6417fe
Merged-In: Iaf77c0b2fb15bf75c48f7cbe5d5bb96bdd6417fe
(cherry picked from commit 4e66b11f93)
2018-03-06 06:32:08 +00:00
Steven Moreland
aa948d8357 Only include bitness of hal impls that is used.
Bug: 73829928
Test: boot walleye, check directories, no errors during boot
Change-Id: Ia1272b2bcc5006fa75a50631861fbaccdeed7bee
2018-03-02 17:27:31 +00:00
Meng Wang
d62bbdfe6c Merge "sepolicy: add domain for WfcActivation app" 2018-03-02 16:29:45 +00:00
Meng Wang
0f10edb1dc sepolicy: add domain for WfcActivation app
... and allow access qchook_service via servicemanager.

Bug: 73974808
Test: basic sanity
Change-Id: If8ea19701c9e8258a06afbde4b39c197afedf302
2018-03-02 16:29:31 +00:00
Michael Butler
d597df7370 Merge "Mark NNAPI HAL as 1.1" 2018-03-01 20:50:02 +00:00
Mathieu Chartier
374af6bfa5 Merge "Fix shared vdex name" 2018-03-01 02:13:49 +00:00
Jeff Vander Stoep
e21d70c4c2 Merge "Remove vendor_firmware_file type" am: 372ca940fa am: 40e63f8870
am: 6288f2168a

Change-Id: I1bbdb6dce6bc92e9927467ee5eb211197bbfab43
2018-03-01 02:01:36 +00:00
Jeff Vander Stoep
6288f2168a Merge "Remove vendor_firmware_file type" am: 372ca940fa
am: 40e63f8870

Change-Id: Ic96bfa59c1bad09bedf9e52b6609c72e4377c723
2018-03-01 01:57:04 +00:00
Jeff Vander Stoep
40e63f8870 Merge "Remove vendor_firmware_file type"
am: 372ca940fa

Change-Id: I356475e25b2ef66768a5ce7355e116b5f1e27501
2018-03-01 01:52:31 +00:00
Treehugger Robot
372ca940fa Merge "Remove vendor_firmware_file type" 2018-03-01 01:43:36 +00:00
Michael Butler
b5cdf6175a Mark NNAPI HAL as 1.1
Bug: 63911257
Test: mm
Test: cts binaries for sample drivers on walleye
Test: vts binaries for sample drivers on walleye
Change-Id: Ifc1f0381e5ac8d63152ad18635dafced10aadfe8
2018-02-28 16:44:30 -08:00
Mathieu Chartier
847ee61ebb Fix shared vdex name
The files in arm/arm64 are symlinks and pinning symlinks is not
supported. Pin the target vdex file intead.

Bug: 73990433
Test: manual
Change-Id: I1edadcc3be6d88cc07c599cba024babc5abe0633
2018-02-28 16:13:51 -08:00
Jeffrey Vander Stoep
4ebfe92d37 Merge "Revert "Remove vendor_firmware_file type"" am: 1f81b8e744 am: b5000a0215
am: 055997d543

Change-Id: I565e6ec33659b1cc4e47c96e94bafd18f5b33011
2018-02-28 23:52:25 +00:00
Jeffrey Vander Stoep
055997d543 Merge "Revert "Remove vendor_firmware_file type"" am: 1f81b8e744
am: b5000a0215

Change-Id: Iceb151d7550645925fb7b122dfff883f974fbd17
2018-02-28 23:47:51 +00:00
Jeff Vander Stoep
9df9ad04d4 Remove vendor_firmware_file type
It's causing surfaceflinger denials and does not exist on other
devices. Grant kernel read access to vendor/firmware's new type.

denied { search } for comm="surfaceflinger" name="firmware"
scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_firmware_file:s0
tclass=dir

denied { read } for comm="surfaceflinger" name="a530_pm4.fw"
scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0
tclass=file permissive=0

Test: boot Taimen without denials.
Bug: 68213100
Change-Id: I8b070a0aae59e12391c881cec8a46b6b4dbe1c67
2018-02-28 15:45:28 -08:00
Jeffrey Vander Stoep
b5000a0215 Merge "Revert "Remove vendor_firmware_file type""
am: 1f81b8e744

Change-Id: Ifb8189756c229c542170a1a77ede49fbed769717
2018-02-28 23:43:20 +00:00
Jeffrey Vander Stoep
1f81b8e744 Merge "Revert "Remove vendor_firmware_file type"" 2018-02-28 23:39:29 +00:00
Jeffrey Vander Stoep
a49507adc5 Revert "Remove vendor_firmware_file type"
This reverts commit d96b55b88a.

Reason for revert: b/74022074

Bug: 74022074
Change-Id: I84c5345c1a205257e088eccd01d3d93fd30a37c1
2018-02-28 23:35:19 +00:00
Petri Gynther
16348760b3 Walleye/Taimen: add wcnss_filter to device.mk
Add wcnss_filter to Bluetooth HAL section of device.mk.

This is done for three reasons:
1. wcnss_filter is part of Bluetooth HAL.
2. Once wcnss_filter is added to device.mk, entire BT section in
   vendor/qcom/msm8998/proprietary/device-vendor.mk can be removed.
3. Switching to QCOM BT HAL becomes easier, just modify device.mk.

Bug: 73968979
Test: Manual build and test with BT A2DP headphones

Change-Id: Iecb725eb360bda624e98b21db154ebf3e9e17381
2018-02-28 14:01:58 -08:00
Jeff Vander Stoep
c0f0dfbfc4 Merge "Remove vendor_firmware_file type" am: d5a9eb456e am: 6497e43931
am: 03df7cb271

Change-Id: Ib6d63077d4e8b86bdeb38ce3a37519748502b842
2018-02-28 20:59:35 +00:00
Jeff Vander Stoep
03df7cb271 Merge "Remove vendor_firmware_file type" am: d5a9eb456e
am: 6497e43931

Change-Id: Ic5ddc74850a08f3d3dc09dc3f38cdbb67230bd5d
2018-02-28 20:46:31 +00:00
Jeff Vander Stoep
6497e43931 Merge "Remove vendor_firmware_file type"
am: d5a9eb456e

Change-Id: I5e7196d2d1e55072408b2f1b4a2304ba88cbaf87
2018-02-28 20:39:57 +00:00
Treehugger Robot
d5a9eb456e Merge "Remove vendor_firmware_file type" 2018-02-28 20:30:36 +00:00
Jeff Vander Stoep
d96b55b88a Remove vendor_firmware_file type
It's causing surfaceflinger denials and does not exist on other
devices. Grant kernel read access to vendor/firmware's new type.

denied { search } for comm="surfaceflinger" name="firmware"
scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_firmware_file:s0
tclass=dir

Test: boot Taimen without denials.
Bug: 68213100
Change-Id: Ib5e1187a09ba59907c29e3de51f7189d25d42b49
2018-02-28 10:29:11 -08:00
Edwin Wong
4a99eb5f08 Put move_widevine_data.sh in /system/bin. am: 807b727fd9 am: d013c99e73
am: 275d023584

Change-Id: Idd70629b53abfc8fd85dab260982881f458f3845
2018-02-28 00:27:23 +00:00
Edwin Wong
275d023584 Put move_widevine_data.sh in /system/bin. am: 807b727fd9
am: d013c99e73

Change-Id: I350c5ec8b1d3618120aa649e6a935f448ba53d42
2018-02-28 00:17:51 +00:00
Edwin Wong
d013c99e73 Put move_widevine_data.sh in /system/bin.
am: 807b727fd9

Change-Id: Ic31b0156111b9d51042ee95c1e3cd0c6a68daca5
2018-02-28 00:07:56 +00:00
TreeHugger Robot
0536eaae4c Merge "Update IMS Radio version to 1.1." 2018-02-27 19:58:25 +00:00
Edwin Wong
807b727fd9 Put move_widevine_data.sh in /system/bin.
Add dependency to install move_widevine_data.sh to /system/bin.

The script is only needed for existing devices that
are running Widevine DRM and are upgrading to Pi or later
Android releases.

Test: Upgrade from O-MR1 to Pi, Netflix & Play Movies
  can play back offline content downloaded in O-MR1

Test: adb shell to verify script is in /system/bin

Test: adb shell to verify widevine data is moved to
  /data/vendor/mediadrm

Test: use audit2allow to verify no avc:denied for widevine drm service

bug: 73656300
Change-Id: Ie42a8229c4d20f71725ba7e8f5c2b267976ed294
2018-02-27 09:37:06 -08:00
Joel Galenson
65890df658 Dontaudit denial caused by race with labeling. am: 77e4c3efe1 am: 22ae0b6b75
am: f3b05bb52b

Change-Id: I339d681817edb849adaa10061bb93227466bb571
2018-02-27 00:32:37 +00:00
Joel Galenson
f3b05bb52b Dontaudit denial caused by race with labeling. am: 77e4c3efe1
am: 22ae0b6b75

Change-Id: I2d20f53479ff4c5867307225e7bf83741ee8fb4a
2018-02-27 00:25:35 +00:00
Joel Galenson
22ae0b6b75 Dontaudit denial caused by race with labeling.
am: 77e4c3efe1

Change-Id: If3329ca7398ed2b47c6687ddc069b04706be201b
2018-02-27 00:19:02 +00:00
Joel Galenson
77e4c3efe1 Dontaudit denial caused by race with labeling.
This denial seems to be caused by a race with the process that labels
the files.  While we work on fixing it, hide the denials.

Bug: 68864350
Test: Built policy.
Change-Id: I3dc7f1a27714d81a42109d46b31b368c36e7fcff
2018-02-26 13:50:11 -08:00
Steven Moreland
d7b48a1df2 Merge "Remove nnk from OWNERS." am: 98773b8cf4 am: 9a5942706a
am: 3e2ecf05bc

Change-Id: I8668e6c8a43dfa8f334aedbd85c104c0b6216687
2018-02-23 18:43:19 +00:00
Steven Moreland
3e2ecf05bc Merge "Remove nnk from OWNERS." am: 98773b8cf4
am: 9a5942706a

Change-Id: I55bb6978441b5dae7dab47f1f3031a38e188bb2e
2018-02-23 18:36:38 +00:00
Steven Moreland
9a5942706a Merge "Remove nnk from OWNERS."
am: 98773b8cf4

Change-Id: I31db98e56062deb8230dad39460bd9ca3c5c4a3d
2018-02-23 18:30:35 +00:00
Treehugger Robot
98773b8cf4 Merge "Remove nnk from OWNERS." 2018-02-23 18:18:10 +00:00
TreeHugger Robot
fc86925b41 Merge "Upgrade vibrator to HAL 1.2" 2018-02-23 00:12:26 +00:00
Steven Moreland
523ff4c6f6 Remove nnk from OWNERS.
Test/Bug: N/A

Change-Id: I7952a4340c7ebf21ead0819bd05fb54ffdc3c7a6
2018-02-22 15:52:30 -08:00
Steven Moreland
43eb8a3a50 Update IMS Radio version to 1.1.
The version actually being served is 1.1

Bug: 73772212
Test: vts_treble_vintf_test --gtest_filter=VtsTrebleVintfTest.ServedHalsAreInManifest
    passes on walleye.

Change-Id: I84da55d2d1528afe4a8a3e9856b87c0ea15dd5f8
2018-02-22 15:46:08 -08:00
Marissa Wall
0db89e36a7 sepolicy: rename proc.uidcpupower to sys.uidcpupower am: 3f61aa4387 am: a85ffd0f36
am: f4cfd23dba

Change-Id: I1ce106bdb710822059c8029909994d774582e5d7
2018-02-22 23:13:59 +00:00
Marissa Wall
f4cfd23dba sepolicy: rename proc.uidcpupower to sys.uidcpupower am: 3f61aa4387
am: a85ffd0f36

Change-Id: Iba3777fca97f13e385157167feeee6a39ab359b8
2018-02-22 23:10:34 +00:00
Marissa Wall
a85ffd0f36 sepolicy: rename proc.uidcpupower to sys.uidcpupower
am: 3f61aa4387

Change-Id: I7f3a5cf92f43ebc971b2eea409f715789481ec5f
2018-02-22 22:58:18 +00:00