Commit Graph

17649 Commits

Author SHA1 Message Date
Chong Zhang
c13fa3ce4d Merge "Use hidl memory from allocator in CAS" am: 490cbfdbd3
am: fd59441275

Change-Id: I9829df4c0351c5124241642e3cca461391877579
2018-12-18 12:38:51 -08:00
Chong Zhang
fd59441275 Merge "Use hidl memory from allocator in CAS"
am: 490cbfdbd3

Change-Id: Ic6c910d263d6f372bcde186d266e1813e61774a4
2018-12-18 12:31:43 -08:00
Winson Chung
f95e8b02f3 resolve merge conflicts of ac1a0a7bf5 to stage-aosp-master
am: 2a7cd0d1ea

Change-Id: I68230b91b81aa4fcdf1e42ed1d0478651c80c40f
2018-12-18 12:31:30 -08:00
Winson Chung
2a7cd0d1ea resolve merge conflicts of ac1a0a7bf5 to stage-aosp-master
Bug: None
Test: I solemnly swear I tested this conflict resolution.

Change-Id: I360ce12f33e333766f6f30614c87811d05e663a4
Merged-In: Ic0b3f85fad24ccedc0a8e9935c198bc8503bb415
2018-12-18 17:47:03 +00:00
Treehugger Robot
490cbfdbd3 Merge "Use hidl memory from allocator in CAS" 2018-12-18 05:34:20 +00:00
Winson Chung
ac1a0a7bf5 Adding policy for content suggestions.
Bug: 120865921
Test: Manual verification
Change-Id: Ic0b3f85fad24ccedc0a8e9935c198bc8503bb415
2018-12-18 00:30:34 +00:00
Chong Zhang
404e40c6c1 Use hidl memory from allocator in CAS
Make mediaextractor use hidl memory allocated by
hidl allocator, instead of constructing hidl memory
from IMemory.

bug: 112766913
bug: 111407253
Change-Id: I7902f18768005c995925bc9a7947299e9988b68a
(Needed for internal commit I39e131718ea41f9cb23177c28213ddf7b7741338)
2018-12-17 22:49:18 +00:00
Florian Mayer
4eedec910b Merge "Allow to signal perfetto from shell." am: b209cb9670
am: 2aae20137b

Change-Id: I537166115f01c0f67ad0ee70383bfcaad75fe4e0
2018-12-17 14:22:06 -08:00
Florian Mayer
2aae20137b Merge "Allow to signal perfetto from shell."
am: b209cb9670

Change-Id: I1cab94e3aff6fdb2502b40d275c413b24469205f
2018-12-17 14:10:40 -08:00
Treehugger Robot
b209cb9670 Merge "Allow to signal perfetto from shell." 2018-12-17 22:00:45 +00:00
Stan Iliev
6b8b16849b Merge "Add a property used to enable Vulkan as default render pipeline" am: 5ca7847a87
am: 82abb5bcce

Change-Id: I6c58ac596f1dd10d44c917e4fe1d4f4ab41292c0
2018-12-17 13:57:20 -08:00
Stan Iliev
82abb5bcce Merge "Add a property used to enable Vulkan as default render pipeline"
am: 5ca7847a87

Change-Id: Ie384653b732f3ea5d59c23388297a3ec8a8817a0
2018-12-17 13:31:38 -08:00
Todd Kennedy
b9e8dd8a60 Create new permissionmgr_service am: 784c2b8d32
am: aa79e34850

Change-Id: Ide34352e494262c39d937c51253ed4fb8db5fe6e
2018-12-17 13:07:56 -08:00
Treehugger Robot
5ca7847a87 Merge "Add a property used to enable Vulkan as default render pipeline" 2018-12-17 21:04:31 +00:00
Todd Kennedy
aa79e34850 Create new permissionmgr_service
am: 784c2b8d32

Change-Id: I840e2291d05ec8643ae3d08b494e4f4396f00511
2018-12-17 12:54:46 -08:00
Stan Iliev
7f19d841e4 Add a property used to enable Vulkan as default render pipeline
Test: Booted with Vulkan rendering
Change-Id: I00485c16e5a878321a699f35d28fb85834991255
2018-12-17 11:30:48 -05:00
Todd Kennedy
784c2b8d32 Create new permissionmgr_service
We're creating a new PermissionManagerService that will handle
all of the permission related APIs. These are currently being
routed through PackageManagerService.

Test: Device boots
Change-Id: I7d08561dd33b692209c30d413cdca0ff567358f1
2018-12-17 14:49:01 +00:00
Rafal Slawik
0f05f12beb Merge "SELinux policy for rss_hwm_reset" am: 98c6b33088
am: 6ad9f07660

Change-Id: I3bab2c173a92b5896a36af765153f5f214b9cf35
2018-12-17 04:47:45 -08:00
Rafal Slawik
6ad9f07660 Merge "SELinux policy for rss_hwm_reset"
am: 98c6b33088

Change-Id: I4ceb35dd14a08a21cb6a1b13f743f89599871377
2018-12-17 04:43:20 -08:00
Treehugger Robot
98c6b33088 Merge "SELinux policy for rss_hwm_reset" 2018-12-17 12:31:26 +00:00
Alan Stokes
21aa65be5b Merge "Audit execution of app_data_file native code." am: 344e87cc4b
am: 56049c58e5

Change-Id: If0b933e5e8d487c388d08923650a41d49732b160
2018-12-17 04:15:44 -08:00
Alan Stokes
56049c58e5 Merge "Audit execution of app_data_file native code."
am: 344e87cc4b

Change-Id: Ie16a1ebc7f0aa9edd8105f274bdead6f37b7841d
2018-12-17 04:11:38 -08:00
Alan Stokes
344e87cc4b Merge "Audit execution of app_data_file native code." 2018-12-17 09:48:00 +00:00
Peter Kalauskas
c9e5f6518d Merge "Allow lazy cas service to run" am: f0b4fedc1c
am: 85a60b8d99

Change-Id: I0a1aaae7cc41f3c55575b330d4d766950e9054e9
2018-12-16 15:02:56 -08:00
Peter Kalauskas
85a60b8d99 Merge "Allow lazy cas service to run"
am: f0b4fedc1c

Change-Id: Id6301af1ae6571e746fcfeeb48e8f776c65925b6
2018-12-16 14:57:49 -08:00
Peter Kalauskas
f0b4fedc1c Merge "Allow lazy cas service to run" 2018-12-16 22:46:51 +00:00
Martijn Coenen
45bd0a74e8 Merge "Allow apexd to flush block devices." am: 151c7cd049
am: 734bba71ed

Change-Id: I0f154dae19399695c1df13518d52de6a5ed500de
2018-12-16 12:18:59 -08:00
Martijn Coenen
734bba71ed Merge "Allow apexd to flush block devices."
am: 151c7cd049

Change-Id: Iae71075fafddc73c550f81e7d5fc601c1123117b
2018-12-16 12:10:49 -08:00
Martijn Coenen
151c7cd049 Merge "Allow apexd to flush block devices." 2018-12-16 18:34:39 +00:00
Rafal Slawik
4e1c5764b5 SELinux policy for rss_hwm_reset
rss_hwm_reset is binary that reset RSS high-water mark counters for all
currently running processes. It runs in a separate process because it
needs dac_override capability.

Bug: 119603799
Test: no errors in logcat
Change-Id: I6221a5eca3427bf532830575d8fba98eb3e65c29
2018-12-15 10:13:03 +00:00
Peter Kalauskas
4cc196f48a Allow lazy cas service to run
Test: Run CtsMediaTestCases on aosp_marlin_svelte
Change-Id: Ie7d491fbc11ef5c24826a0d69e479bc03bd2ad08
2018-12-14 21:29:58 +00:00
Felipe Leme
7748bff621 [automerger skipped] DO NOT MERGE - Renamed "intelligence" to "content_capture" am: 0f45683fb3 -s ours
am: 163c5f2c06  -s ours

Change-Id: I38bf3614f4a2e66aebd7f40016fc43f7d7028006
2018-12-14 13:28:55 -08:00
Felipe Leme
163c5f2c06 [automerger skipped] DO NOT MERGE - Renamed "intelligence" to "content_capture"
am: 0f45683fb3  -s ours

Change-Id: I1a448497fe9dfb6cdc3fe2cbbd0fc9afd97d02e0
2018-12-14 13:24:53 -08:00
Felipe Leme
0f45683fb3 DO NOT MERGE - Renamed "intelligence" to "content_capture"
Bug: 111276913
Test: manual verification

Merged-In: If76dc7bfdad87789a58fc94e0fd280deae1a41ab
Change-Id: If76dc7bfdad87789a58fc94e0fd280deae1a41ab
(cherry picked from commit 73e7fa884b)
2018-12-14 08:34:32 -08:00
Alan Stokes
890414725f Audit execution of app_data_file native code.
On debug builds, introduce audit logging of apps targeting SDK <= 28
that execute native code from a non-priv app home directory via
execve() or dl_open().

Bug: 111338677
Test: Builds + boots.
Test: Launch app that uses private .so files, see granted logs.
Change-Id: I5880801d3a29cbf2c1cf4e0d72adc69a9d548952
2018-12-14 14:54:56 +00:00
Martijn Coenen
558c1b8de5 Allow apexd to flush block devices.
To work around a kernel bug where pages that are read before changing
the loop device offset are not invalidated correctly.

Bug: 120853401
Test: apexd mounts APEX files on gphone_sdk_x86_64
Change-Id: I89f23f8f9d472e599f053553b73cc0618dcb3747
2018-12-14 09:50:31 +00:00
Tri Vo
b1525371bc Merge "Add BOARD_ODM_SEPOLICY_DIRS to neverallow checks." am: c2dbce0604
am: 1a262c9af3

Change-Id: Ie56a259d7298bd48e1435193d3de5bfae97cafd2
2018-12-13 17:37:45 -08:00
Tri Vo
1a262c9af3 Merge "Add BOARD_ODM_SEPOLICY_DIRS to neverallow checks."
am: c2dbce0604

Change-Id: Ic14be85edfefc7ec65614fdd811a5f9cb8f37f38
2018-12-13 17:33:39 -08:00
Tri Vo
c2dbce0604 Merge "Add BOARD_ODM_SEPOLICY_DIRS to neverallow checks." 2018-12-14 01:27:32 +00:00
Adam Vartanian
5dcc6149c7 Merge "Add SELinux policy for Conscrypt APEX" am: 66334bd0e4
am: 9f2b0fa067

Change-Id: Ib89d44bf3ed7f29f10d6fe1adc2244aa509ef9d5
2018-12-13 15:44:53 -08:00
Adam Vartanian
9f2b0fa067 Merge "Add SELinux policy for Conscrypt APEX"
am: 66334bd0e4

Change-Id: I0062431fcb446d9377297b074145c7a8bad01aa1
2018-12-13 15:38:04 -08:00
Treehugger Robot
66334bd0e4 Merge "Add SELinux policy for Conscrypt APEX" 2018-12-13 23:27:54 +00:00
Jeff Sharkey
3ab95b5f8e Merge "Allow zygote to create files at /mnt/user/.*" am: 7f82c3eb4d
am: a6c1e72c52

Change-Id: I9a2bca6871c45a6e617f20b0a9cd6ab8461faacc
2018-12-13 14:43:05 -08:00
Paul Crowley
11a25e6814 Merge "Remove overpermissive neverallow exceptions." am: ecccfc84f9
am: fb3d22c3f2

Change-Id: I1b477738c794a1130920fab2a6941a3bf6ccb206
2018-12-13 14:35:55 -08:00
Nick Kralevich
cc6a492a32 Merge "remove app_data_file execute" am: 42abd423cd
am: fffad07d1e

Change-Id: I53596dc86dc4377ea30e7f4bf3abe82515eaed59
2018-12-13 14:16:27 -08:00
Yu-Han Yang
d42cd8b5b2 Merge "Add sepolicy for GNSS HAL 2.0 and 1.1" am: 66f75b699f
am: c668a9ab13

Change-Id: I48a434ad13d25df616569579f0eb97b58c0134e4
2018-12-13 14:12:05 -08:00
Jeff Sharkey
a6c1e72c52 Merge "Allow zygote to create files at /mnt/user/.*"
am: 7f82c3eb4d

Change-Id: Ia2b34d40119a04f80c677c64b24549294c39e3d3
2018-12-13 14:08:57 -08:00
Paul Crowley
fb3d22c3f2 Merge "Remove overpermissive neverallow exceptions."
am: ecccfc84f9

Change-Id: Ie03c9a3df54c840b6f658c0387b4958e307a6269
2018-12-13 14:02:50 -08:00
Nick Kralevich
fffad07d1e Merge "remove app_data_file execute"
am: 42abd423cd

Change-Id: I50471d01ded8896d617522e2168ebaecec2d77cf
2018-12-13 13:57:05 -08:00
Yu-Han Yang
c668a9ab13 Merge "Add sepolicy for GNSS HAL 2.0 and 1.1"
am: 66f75b699f

Change-Id: Ide6874b7889363a6a78e35adb5637c085e83a12e
2018-12-13 13:53:24 -08:00