Commit graph

16067 commits

Author SHA1 Message Date
Jin Qian
47de8c57a7 Merge "storaged: add storaged_pri service"
am: 4c14d75369

Change-Id: Ie1fa7c5609d945f604ff6cbfb3bb2a5db4e56cd8
2018-05-17 11:55:13 -07:00
Treehugger Robot
4c14d75369 Merge "storaged: add storaged_pri service" 2018-05-17 18:44:00 +00:00
Jeff Tinker
baef727908 Allow dumpstate to trace drm hals am: 226ad93b81
am: 5e39e6b681

Change-Id: I332744d857de2d19ee6ec831671b97a8d26bbe45
2018-05-17 10:53:26 -07:00
Wei Wang
7fcb641640 Merge "Allow dumpstate to kill dumpstate vendor HAL in timeout case" am: 5deb7f4e20
am: 045f9b4776

Change-Id: I7b89f630ec0acb2b9a1afc95720bb42d862743d0
2018-05-17 10:46:08 -07:00
Jeff Vander Stoep
9b8dc5d338 Merge "Fix diff in cherry-pick" am: bf94b0204d
am: 2d045d4815

Change-Id: I223ec1dba655370fff055781c19183a22d35d702
2018-05-17 10:45:15 -07:00
Jeff Tinker
5e39e6b681 Allow dumpstate to trace drm hals
am: 226ad93b81

Change-Id: I7b27b0756dd8798e74d38246252ba4a0321b7433
2018-05-17 10:45:11 -07:00
Wei Wang
045f9b4776 Merge "Allow dumpstate to kill dumpstate vendor HAL in timeout case"
am: 5deb7f4e20

Change-Id: I0df6222e5441165d3e9e2457506b32fe7d176288
2018-05-17 10:37:47 -07:00
Jeff Vander Stoep
2d045d4815 Merge "Fix diff in cherry-pick"
am: bf94b0204d

Change-Id: If195ddab34343f1ae0a9a98e5c71991240194150
2018-05-17 10:36:40 -07:00
Jeff Tinker
226ad93b81 Allow dumpstate to trace drm hals
Change-Id: Id7823a3130443107beb4d97426807a6395cf6930
related-to-bug:74607984
Test: adb bugreport and check for drm trace dumps
(cherry picked from commit 4f2739bd95)
2018-05-17 17:22:45 +00:00
Chong Zhang
bcb6cc20f4 Allow system_server to adjust cpuset for media.codec
Bug: 72841545
Change-Id: I30c1758e631a57f453598e60e6516da1874afcbf
(cherry picked from commit ec0160a891)
2018-05-17 10:09:57 -07:00
Jin Qian
e11d499475 storaged: add storaged_pri service
"storaged" service will be used by external clients, e.g. vold, dumpsys
"storaged_pri" service will only be used by storaged cmdline.

Bug: 63740245
Change-Id: I7a60eb4ce321aced9589bbb8474d2d9e75ab7042
(cherry picked from commit 37ab7c0917)
2018-05-17 10:02:08 -07:00
Treehugger Robot
5deb7f4e20 Merge "Allow dumpstate to kill dumpstate vendor HAL in timeout case" 2018-05-17 16:41:11 +00:00
Treehugger Robot
bf94b0204d Merge "Fix diff in cherry-pick" 2018-05-17 16:38:24 +00:00
Bowgo Tsai
98ef2abb12 ueventd: allow reading kernel cmdline
This is needed when ueventd needs to read device tree files
(/proc/device-tree). Prior to acccess, it tries to read
"androidboot.android_dt_dir" from kernel cmdline for a custom
Android DT path.

Bug: 78613232
Test: boot a device without unknown SELinux denials
Change-Id: Iff9c882b4fcad5e384757a1e42e4a1d1259bb574
2018-05-17 18:47:42 +08:00
Logan Chien
2e6e72208f Add ro.vndk.lite to property_contexts
Bug: 78605339
Test: aosp_walleye-userdebug builds
Change-Id: I37c84e20f2284d50cbe29bfa1b7597dd2c01fb4b
Merged-In: I37c84e20f2284d50cbe29bfa1b7597dd2c01fb4b
(cherry picked from commit 9f55f3455f)
2018-05-17 14:32:40 +08:00
Pavel Maltsev
eee50fa579 [automerger skipped] Merge "Allow auto HAL clients to access hw services" am: f8b60abfeb
am: d0893c5257  -s ours

Change-Id: I73c2f680326608ed6a7604a0f50f64860e17b0ea
2018-05-16 17:46:54 -07:00
Pavel Maltsev
d0893c5257 Merge "Allow auto HAL clients to access hw services"
am: f8b60abfeb

Change-Id: I5024656edf973df0ed300982d7b462f5bbc34df2
2018-05-16 17:41:18 -07:00
Treehugger Robot
f8b60abfeb Merge "Allow auto HAL clients to access hw services" 2018-05-17 00:32:43 +00:00
Andreas Huber
8b4fc72aaf [automerger skipped] Merge "Fingerprint data is now stored in one of two ways depending on the" am: 73682e4ec2
am: 6ab4df0159  -s ours

Change-Id: I99abec11d4b78916be34095d3a2d8b337a8e6f7b
2018-05-16 16:25:55 -07:00
Pavel Maltsev
74b18e3733 Merge "Allow to specify platform sepolicy dir mult. times" am: 02f8296439
am: 41cd5de8fd

Change-Id: I7fde58049cacb0716dbedaa8552080fbe4024c79
2018-05-16 16:25:26 -07:00
Andreas Huber
6ab4df0159 Merge "Fingerprint data is now stored in one of two ways depending on the"
am: 73682e4ec2

Change-Id: If7822b4dd26d4d62b06c6bfdf48dfc0d958c52d5
2018-05-16 16:21:41 -07:00
Pavel Maltsev
41cd5de8fd Merge "Allow to specify platform sepolicy dir mult. times"
am: 02f8296439

Change-Id: I6bfc85810d8ce30ddd0eea3029f433ebfb7216fb
2018-05-16 16:21:23 -07:00
Treehugger Robot
73682e4ec2 Merge "Fingerprint data is now stored in one of two ways depending on the" 2018-05-16 23:08:21 +00:00
Treehugger Robot
02f8296439 Merge "Allow to specify platform sepolicy dir mult. times" 2018-05-16 23:07:47 +00:00
Pavel Maltsev
f2763fa0a1 Allow auto HAL clients to access hw services
Bug: 70637118
Test: m && emulator ; also verified
Change-Id: I39dd17d20acc8d380f36e207679b8b1eba63a72e
Merged-In: I39dd17d20acc8d380f36e207679b8b1eba63a72e
(cherry picked from commit 368ae61fc7)
2018-05-16 15:46:34 -07:00
Wei Wang
a1db36e1c0 Allow dumpstate to kill dumpstate vendor HAL in timeout case
Bug: 77489941
Test: simulate delay in dumpstate HAL and get BR, see below from dumpstate_log.txt
    dumpstateBoard timed out after 10s, killing dumpstate vendor HAL
    dumpstateBoard failed: Status(EX_TRANSACTION_FAILED): 'DEAD_OBJECT: '
Change-Id: I90ed5cb8fe8da8ad21ae77676433936cb12d9d04
(cherry picked from commit 60d1767459)
2018-05-16 15:19:36 -07:00
Pavel Maltsev
35414334cc [automerger skipped] Merge "Allow to use sockets from hal server for auto" am: 15ee49d106
am: 4b543b1cf8  -s ours

Change-Id: I0587cd6282ae84ce0c5496c89e12ba1b4051850c
2018-05-16 15:07:11 -07:00
Pavel Maltsev
4b543b1cf8 Merge "Allow to use sockets from hal server for auto"
am: 15ee49d106

Change-Id: Icf1df5a6f3be4b7a698c8ee91e6e98cf5b457276
2018-05-16 14:48:22 -07:00
Treehugger Robot
15ee49d106 Merge "Allow to use sockets from hal server for auto" 2018-05-16 21:42:09 +00:00
Jeff Vander Stoep
141b00fb1e Fix diff in cherry-pick
Changes 2d626fd84ea0246c963ce2c87ae62461a60f8826 and
869562e9e3 are the same
commit, but with a different comment. Fix them up to be
the same.

Test: build
Change-Id: I6311413357f457d6ba95886b729ffa53ab80e016
2018-05-16 14:38:51 -07:00
Andreas Huber
4d6a5e8700 Fingerprint data is now stored in one of two ways depending on the
shipping API version:

For devices shipped on O-MR1 nothing changes, data is stored
under /data/system/users/<user-id>/fpdata/...

Devices shipped from now on will instead store fingerprint data under
/data/vendor_de/<user-id>/fpdata.

Support for /data/vendor_de and /data/vendor_ce has been added to vold.

Bug: 36997597
Change-Id: Ibc7cc33b756f64abe68a749c0ada0ca4f6d92514
Merged-In: Ibc7cc33b756f64abe68a749c0ada0ca4f6d92514
Test: manually
(cherry picked from commit 6116daa71a)
2018-05-16 14:22:14 -07:00
Pavel Maltsev
fdec2530ef Allow to specify platform sepolicy dir mult. times
For automotive (and I assume for other verticals) it make sense to keep
vertical-specific policies outside of /system/sepolicy as those not used
by the phones. However, there's no way to do it rather than using
BOARD_PLAT_{PUBLIC|PRIVATE}_SEPOLICY_DIR build variables.

Bug: 70637118
Test: lunch device && m
Test: verify it builds, boots and logs seems to be reasonable
Test: enable full treble for aosp_car_x86 - verify it builds, boots and
no denials in the logs

Change-Id: Ia5fd847f7a6152ff6cf99bbbc12e1e322f7946ab
(cherry picked from commit 34f233640a)
2018-05-16 13:12:09 -07:00
Tri Vo
f89b74b016 Merge "Always build system and vendor policies (and related artifacts)." am: 8c70622e57
am: 841fa1e843

Change-Id: I18a7429d8472c6082320680b13eb23e127045857
2018-05-16 11:57:53 -07:00
Tri Vo
841fa1e843 Merge "Always build system and vendor policies (and related artifacts)."
am: 8c70622e57

Change-Id: Ie9c00c66b2f095ab19a115c534443f963f565b69
2018-05-16 11:54:20 -07:00
Treehugger Robot
8c70622e57 Merge "Always build system and vendor policies (and related artifacts)." 2018-05-16 18:40:05 +00:00
Yongqin Liu
22f97b0f57 [automerger skipped] Merge "domain.te & kernel.te: allow kernel to write nativetest_data_file" into pi-dev
am: 4c2e89baf8  -s ours

Change-Id: I59e6ae10ec61f4c8a114926ee1d70fc0109f8de9
2018-05-16 09:42:42 -07:00
TreeHugger Robot
4c2e89baf8 Merge "domain.te & kernel.te: allow kernel to write nativetest_data_file" into pi-dev 2018-05-16 16:36:26 +00:00
Yongqin Liu
8c3a74ad64 domain.te & kernel.te: allow kernel to write nativetest_data_file
to workaround some VTS VtsKernelLtp failures introduced by
change on vfs_iter_write here:
abbb65899a%5E%21/#F3

for discussion please check threads here:
https://www.mail-archive.com/seandroid-list@tycho.nsa.gov/msg03348.html

Sandeep suggest to re-order the events in that thread,
that should be the right solution,
this change is only a tempory workaround before that change.

Bug: 79528964
Test: manually with -m VtsKernelLtp -t VtsKernelLtp#fs.fs_fill_64bit

Change-Id: I3f46ff874d3dbcc556cfbeb27be21878574877d1
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
(cherry picked from commit 64ff9e9523)
Merged-In: I3f46ff874d3dbcc556cfbeb27be21878574877d1
2018-05-16 07:46:17 -07:00
Logan Chien
921a881bf8 Merge "Add ro.vndk.lite to property_contexts" into pi-dev
am: 52fd4141b8

Change-Id: Ia4d8ebc74987c18a6390884a71ad0ea9b497b1cf
2018-05-16 02:46:03 -07:00
Logan Chien
52fd4141b8 Merge "Add ro.vndk.lite to property_contexts" into pi-dev 2018-05-16 09:38:57 +00:00
Yongqin Liu
791cdb6ee8 Merge "domain.te & kernel.te: allow kernel to write nativetest_data_file" am: 117d69fd2a
am: e3b2d105c7

Change-Id: Ie35e37e79cecd9176a353aa86e733725c5ba930e
2018-05-15 20:47:20 -07:00
Yongqin Liu
e3b2d105c7 Merge "domain.te & kernel.te: allow kernel to write nativetest_data_file"
am: 117d69fd2a

Change-Id: I2ecfcd7bac87424c3dca75a06bf4532aca63416f
2018-05-15 20:39:39 -07:00
Treehugger Robot
117d69fd2a Merge "domain.te & kernel.te: allow kernel to write nativetest_data_file" 2018-05-16 02:53:03 +00:00
Pavel Maltsev
d9e23e5561 Allow to specify platform sepolicy dir mult. times
am: 34f233640a

Change-Id: I349974ce117f511298d8f228ae62deee1c664d50
2018-05-15 17:11:24 -07:00
Jerry Zhang
afe305d489 Merge "Allow mediaprovider to search /mnt/media_rw" into pi-dev
am: 6002126f88

Change-Id: I2774c1fe619e2872805d9188ee3c3df9dcc68568
2018-05-15 14:55:35 -07:00
Pavel Maltsev
34f233640a Allow to specify platform sepolicy dir mult. times
For automotive (and I assume for other verticals) it make sense to keep
vertical-specific policies outside of /system/sepolicy as those not used
by the phones. However, there's no way to do it rather than using
BOARD_PLAT_{PUBLIC|PRIVATE}_SEPOLICY_DIR build variables.

Bug: 70637118
Test: lunch bat_land-userdebug && m
Test: verify it builds, boots and logs seems to be reasonable
Test: enable full treble for aosp_car_x86 - verify it builds, boots and
no denials in the logs

Change-Id: Ia5fd847f7a6152ff6cf99bbbc12e1e322f7946ab
2018-05-15 21:54:30 +00:00
Pavel Maltsev
8d7f503336 Allow to use sockets from hal server for auto
Add an exemption to neverallow rule to use sockets from HAL servers only
for automotive build

Bug: 78901167
Test: assign this attribute to hal_vehicle_default and try to open
socket from HAL implementation
Test: verify that new CTS test will fail for non-automotive build with
this attribute buing used
Test: make cts && cts-tradefed run singleCommand cts --skip-device-info
 --skip-preconditions --abi arm64-v8a --module CtsSecurityHostTestCases
 -t android.security.cts.SELinuxHostTest

Merged-In: I27976443dad4fc5b7425c089512cac65bb54d6d9

(cherry picked from commit 4cafae77a4)

Change-Id: I58e25a0f86579073aa568379b10b6599212134c6
2018-05-15 14:38:00 -07:00
Jerry Zhang
6002126f88 Merge "Allow mediaprovider to search /mnt/media_rw" into pi-dev 2018-05-15 21:35:43 +00:00
Joel Galenson
a371669fb2 Merge "Allow vendor_init to getattr vold_metadata_file." am: 2d01df0ae4
am: 037bd6ad72

Change-Id: I49703eb069714baef01b68599d3546edd3dfec53
2018-05-15 13:45:29 -07:00
Joel Galenson
037bd6ad72 Merge "Allow vendor_init to getattr vold_metadata_file."
am: 2d01df0ae4

Change-Id: Ic24c3a47ec90c41d92016bc880d58a8e2dd8669a
2018-05-15 13:30:01 -07:00