Roshan Pius
c311fcaa79
Merge "wahoo: Add wifi HAL's to vintf"
2017-05-09 15:26:08 +00:00
TreeHugger Robot
78cc5b001c
Merge "Allow rild permissions to connect to time-daemon"
2017-05-09 00:03:44 +00:00
TreeHugger Robot
b7f1991e17
Merge "Create debug folder for camera."
2017-05-08 23:33:23 +00:00
TreeHugger Robot
88cd3de342
Merge "Fixing the following permissions for userdebug/eng builds"
2017-05-08 23:16:27 +00:00
TreeHugger Robot
5b08e0cc0e
Merge "DTAG: Correct APN settings."
2017-05-08 23:15:33 +00:00
Naveen Kalla
7a309b9218
Allow rild permissions to connect to time-daemon
...
Fix denial below seen when eMBMS app is started
rild : type=1400 audit(0.0:4912): avc: denied { connectto } for
path=0074696D655F67656E6F6666 scontext=u:r:rild:s0
tcontext=u:r:time_daemon:s0 tclass=unix_stream_socket permissive=0
Bug: 38101466
Test: Open eMBMS app on the device and ensure that Registration
works.
Change-Id: I3ef51be29032c3a69c6aa1184d89fc320165059d
2017-05-08 15:13:34 -07:00
Chia-Kai Liang
1461f0e029
Create debug folder for camera.
...
Bug: 38048356
Test: Build/run locally.
Change-Id: Ic89464492e54f91925fabebeaf3458c259e9d957
2017-05-08 14:22:55 -07:00
Max Bires
a25607c7ed
Fixing the following permissions for userdebug/eng builds
...
denied { add_name } for name="eis_log_012916_640563.txt"
scontext=u:r:hal_camera_default:s0
tcontext=u:object_r:system_data_file:s0 tclass=dir
denied { create } for name="eis_log_012916_640563.txt"
scontext=u:r:hal_camera_default:s0
tcontext=u:object_r:system_data_file:s0 tclass=file
denied { write open } for path="/data/eis/eis_log_012916_640563.txt"
dev="dm-0" ino=2195458 scontext=u:r:hal_camera_default:s0
tcontext=u:object_r:system_data_file:s0 tclass=file
denied { getattr } for path="/data/eis/gyro_log_012916_640563.txt"
dev="dm-0" ino=2195459 scontext=u:r:hal_camera_default:s0
tcontext=u:object_r:system_data_file:s0 tclass=file
Bug: 38048356
Test: Camera debug information is properly written out
Change-Id: I0066d745ac4598905e6b23e2b958d71a4d53e9fe
2017-05-08 13:18:39 -07:00
Max Bires
491b6ca95b
Merge "Fixing the following startup denials"
2017-05-08 19:51:59 +00:00
TreeHugger Robot
1eacb86367
Merge "Keep sys.usb.state in sync with sys.usb.config"
2017-05-08 19:23:04 +00:00
Max Bires
c7e3c64341
Merge "Fixing folio_daemon's dac_override request."
2017-05-08 18:10:02 +00:00
Roshan Pius
d1459e1d82
wahoo: Add wifi HAL's to vintf
...
Bug: 36097884
Test: Device boots up and connects to wifi networks.
Change-Id: I1707d0e68cd3a389e86dcbfd0b650e4c9f5b1b7c
2017-05-08 11:07:10 -07:00
Badhri Jagan Sridharan
c595b65d20
Keep sys.usb.state in sync with sys.usb.config
...
Userspace code expects the same value to be set on sys.usb.state
as sys.usb.config.
Bug: 37491031
Test: verified that the same props are set.
Change-Id: I62246df765d96a3da5529a40fa4a4cff7a5a56ce
2017-05-08 18:04:03 +00:00
Peng Xu
7fc605a415
Merge "Disable uneccesary sensor from qcom sensor hal"
2017-05-08 17:57:24 +00:00
Max Bires
793c4d4fff
Fixing the following startup denials
...
denied { read } for pid=9993 comm="imsrcsd"
name="u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=18098
scontext=u:r:hal_rcsservice:s0
tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file
denied { ioctl } for pid=702 comm="Loc_hal" path="socket:[59758]"
dev="sockfs" ino=59758 ioctlcmd=c304 scontext=u:r:hal_gnss_qti:s0
tcontext=u:r:hal_gnss_qti:s0 tclass=socket
Bug: 34784662
Test: These denials no longer seen at startup
Change-Id: Ia10fc44b60806054d1c67bf001201cb550145922
2017-05-08 10:18:50 -07:00
TreeHugger Robot
99dbd94e0d
Merge "Add configstore to device manfiest."
2017-05-08 17:09:02 +00:00
Max Bires
ee5998fbad
Fixing folio_daemon's dac_override request.
...
Moving folio_daemon out of group/user of root and into group/user of
system to fix the dac_override selinux denial it was generating when
trying to access /dev/uinput
Bug: 38031432
Test: The phone boots and folio daemon encounters no denials
Change-Id: I48feab07eeffc90b73fabce46394c53a2278e5ca
2017-05-08 08:41:43 -07:00
Peng Xu
f25275079d
Disable uneccesary sensor from qcom sensor hal
...
Disable uneccesary wakeup secondary sensors and unused algorithm.
Test: device boot ok
Bug: 36617405
Change-Id: Ib95f735eed3ef3ae5501f916fae6ace93e963e8d
2017-05-07 19:10:22 -07:00
TreeHugger Robot
e935caf46a
Merge "Add sensor qdsp access"
2017-05-07 06:43:21 +00:00
Jiyong Park
59b2c5a0b9
wahoo: move vndk-sp libs to /system/lib/vndk-sp and RS libs
...
With this CL, wahoo devices have the same status with marlin/sailfish
in terms of vndk-sp libs.
Bug: 37550338
Bug: 37483222
Test: RenderScript apps work (e.g. CameraScript)
Test: boot successful without following message:
failed to load /vendor/lib64/egl/libEGL_adreno.so from sphal namespace:
dlopen failed: library "libcutils.so" not found
Change-Id: I4a2159395904c2597ed74785b00dca4487aea715
2017-05-07 03:13:04 +00:00
Thierry Strudel
fad17c05c2
Merge "init: move some of the permission settings to early-boot"
2017-05-06 02:41:47 +00:00
TreeHugger Robot
4a3cab4a6b
Merge "security permissions for CNE and UCE service"
2017-05-06 02:37:42 +00:00
TreeHugger Robot
c28c74b1bc
Merge "Add IOmx and IOmxStore to vintf manifest"
2017-05-06 02:11:08 +00:00
TreeHugger Robot
742dc749d5
Merge "Remove <impl> from manifest"
2017-05-06 02:02:59 +00:00
TreeHugger Robot
da4edea6d2
Merge "Fix the name and interface of UCE Hal"
2017-05-06 01:22:39 +00:00
Yifan Hong
5f5b11391c
Add configstore to device manfiest.
...
Test: boots
Bug: 36097717
Bug: 38001671
Change-Id: I6f2fe251816d6758dd4acd35c7de561e13d6625c
2017-05-05 17:33:58 -07:00
TreeHugger Robot
94a9883628
Merge "Allow non-ramdump perms on user build"
2017-05-06 00:25:26 +00:00
TreeHugger Robot
d6c8d292b6
Merge "device.mk: SSRestartDetector is included elsewhere"
2017-05-06 00:25:26 +00:00
Pawin Vongmasa
3258c390b4
Add IOmx and IOmxStore to vintf manifest
...
Test: Boots
Bug: 36097717
Change-Id: I92e49c5e4895473022d77fd0493e8c42a82273f8
2017-05-05 17:10:02 -07:00
David Lin
515ec3f053
init: move some of the permission settings to early-boot
...
Permission settings that are required by HAL services need to be moved
to early-boot to avoid race.
Bug: 38043660
Bug: 36571736
Change-Id: I1397816a162e8ef4ed557e6eea3539201dc57e3b
Signed-off-by: David Lin <dtwlin@google.com >
2017-05-05 17:01:13 -07:00
Sunmeet Gill
2052d84827
security permissions for CNE and UCE service
...
Bug: 37994408
Test: Ensure SELinux denials are not seen in logs for IMS
Change-Id: I4910d422d768c1c0b0f348156ac0a2c17b3ddad6
2017-05-05 16:58:31 -07:00
Pawin Vongmasa
0b4fa928dd
Remove <impl> from manifest
...
Test: Boots
Bug: 36602724
Change-Id: Ib7678b50165030e5ffd4e8c41e3948df9caff443
2017-05-05 16:54:46 -07:00
Jeff Vander Stoep
15df5d8ddf
Allow non-ramdump perms on user build
...
Addresses:
Abort message: 'jni_internal.cc:508] JNI FatalError called:
frameworks/base/core/jni/com_android_internal_os_Zygote.cpp:640:
selinux_android_setcontext failed'
avc: denied { open } scontext=u:r:ssr_detector_app:s0
tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=file
avc: denied { read } scontext=u:r:ssr_detector_app:s0
tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=file
avc: denied { getattr } scontext=u:r:ssr_detector_app:s0
tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=file
avc: denied { search } scontext=u:r:ssr_detector_app:s0
tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=dir
Bug: 34784662
Test: build and boot user-build
Change-Id: I3e879222038b6b2742c6d8c8e4f3a15dcf4f43dc
2017-05-05 15:35:47 -07:00
Tajinder Gadh
3a7ceff650
Merge "Add activity zen to dnd overlay"
2017-05-05 22:26:15 +00:00
TreeHugger Robot
c4ca00b7ab
Merge "Enable metadata encryption"
2017-05-05 22:19:02 +00:00
Naveen Kalla
ccae8ba222
Fix the name and interface of UCE Hal
...
Change the name and interface of UCE HAL to IUceService/uceservice0
Test: Ensure imsrcsd comes up and connects to UceShimService
lshal should show the proper HAL
Change-Id: Ic6c1fdbbd44411519fa3313d5d03075616c8f6ce
2017-05-05 14:39:57 -07:00
Jeff Vander Stoep
4adde24086
device.mk: SSRestartDetector is included elsewhere
...
Remove it from device.mk
Bug: 38020421
Test: build
Change-Id: Ie8446adfdaaf8cbeee5155bb71c5b8d89f3af2a1
2017-05-05 21:37:27 +00:00
Tajinder Gadh
f545ab1f43
Add activity zen to dnd overlay
...
Test: n/a
Change-Id: I801d983d536e7437170e6317db68178490a0937b
2017-05-05 11:31:43 -07:00
Youhan Wang
1bda189363
DTAG: Correct APN settings.
...
Test: make
This change is fixed in M/S late mr2 after the bring-up effort for M/W,
so need to be cherry-picked here
Bug:36797103
Change-Id: I39d6e9a3b8f182f5e67f1e6b1044ea3945a5e310
2017-05-05 11:12:00 -07:00
Trevor Bunker
1e8cf131ad
Fixing denials for easel pmic sysfs
...
denied { write } for pid=11239 comm="android.hardwar"
name="asr_dual_phase" dev="sysfs" ino=46597
scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:sysfs:s0
tclass=file
avc: denied { write } for pid=528 comm="ueventd" name="uevent"
dev="sysfs" ino=46697 scontext=u:r:ueventd:s0
tcontext=u:object_r:sysfs_easel:s0 tclass=file
Bug: 37941164
Bug: 37927378
Test: Manual build, flash, and look for denials
Change-Id: Ifc5165fb1b5e524805805dd0b0b9816f86a6d048
2017-05-05 07:35:46 -07:00
Trevor Bunker
c1ce21d537
wahoo: easel pmic sysfs file owned by cameraserver
...
Bug: 37927378
Bug: 37941164
Test: Manual build, flash, and verify file permissions
Change-Id: Ia2385dd8fd2dae8f6ed539c3387b12531e48033b
2017-05-05 07:35:46 -07:00
TreeHugger Robot
d594caa602
Merge "AOD: move doze config flags to device/ tree"
2017-05-05 02:10:45 +00:00
David Lin
646e1e592b
vibrator hal: add loop mode control and update waveform
...
This patch updates the click waveform to use 6 ms full amplitude as well
as switching to open-loop mode for any duration that's less than 20 ms.
The medium and strong now shares the same strength to provide a stronger
default feedback.
Bug: 37952639
Test: keyboard and home key taps
Change-Id: I00086e47e41d97ce8363ba4032eeab320ad1b765
Signed-off-by: David Lin <dtwlin@google.com >
2017-05-05 00:37:04 +00:00
Peng Xu
e95c2e5d4f
Merge "Move multihal configuration file to /vendor"
2017-05-04 21:29:53 +00:00
TreeHugger Robot
5247fbaac6
Merge "Remove redundant dependencies"
2017-05-04 08:56:28 +00:00
Peng Xu
ff3d348f4f
Add sensor qdsp access
...
Grant access to qdsp to sensor for sensor direct report feature.
Test: sensor direct report cts passes on 2017 pixel
Change-Id: I27ba63a20b1a754ec6966e0372e658564add58a0
2017-05-03 17:53:14 -07:00
Peng Xu
efb7f69d38
Move multihal configuration file to /vendor
...
Move hal configuration file to /vendor to satisfy treble requirement.
Test: wahoo sensor works
Bug: 35947802
Change-Id: I0ef5aff67653090791c1f11b79bc5f3420122aec
2017-05-03 17:53:14 -07:00
Max Bires
efd894d0f5
Fixing boot issue
...
Bug: 37956963
Test: Phone boots
Change-Id: I468190419a800045ef11058e9e86a853ec3d604a
2017-05-03 15:07:09 -07:00
Adrian Roos
01285a81fe
AOD: move doze config flags to device/ tree
...
Change-Id: Ibd17e1a56dea0274b8d411bfd4a9cb3044df6fdb
Fixes: 37913858
Test: trigger AOD, verify with adb shell dumpsys that device is in low power display state
2017-05-03 14:33:54 -07:00
TreeHugger Robot
8ee51bb2b2
Merge "Adding allows and contexts to address the following denials"
2017-05-03 18:25:50 +00:00