TreeHugger Robot
e6dec8464c
Merge "PowerHAL: update vr-mode frequency locks"
2017-04-28 00:40:10 +00:00
John Dias
eae569c2c6
PowerHAL: update vr-mode frequency locks
...
Bug: 35490156
Test: boot, check freqs under vr, check wifi
Change-Id: Ia3d54c3844900afa25553d5ac19dc62ea5c4b31b
2017-04-27 15:40:36 -07:00
TreeHugger Robot
111304d628
Merge "Add userdata partition size for Wahoo."
2017-04-27 21:58:04 +00:00
TreeHugger Robot
c3a77ca641
Merge "AOD: Decouple suspend from screen state"
2017-04-27 21:42:34 +00:00
Mark Salyzyn
507aa97383
Merge "Revert "device: fs_config applies only to vendor partition""
2017-04-27 20:07:51 +00:00
Adrian Roos
b2f0cd8721
AOD: Decouple suspend from screen state
...
Allows the device to suspend even when the screen is on.
Bug: 36780767
Test: make droid && adb shell dumpsys power | grep mDecoupleHalAutoSuspendModeFromDisplayConfig; verify it's true
Change-Id: If3c9aa7130d91e96354483c672f153cc0636e70d
2017-04-27 12:36:29 -07:00
Mark Salyzyn
d44763e2b9
Revert "device: fs_config applies only to vendor partition"
...
out/target/product/muskie/system/etc/fs_config_dirs is not built. The
build tool fixed in https://android-review.googlesource.com/#/c/382272
so this one can now be reverted.
This reverts commit fe01b01dbe .
Signed-off-by: Mark Salyzyn <salyzyn@google.com >
Bug: 37721445
Bug: 36071012
Change-Id: If53ad9eeb676c9566553befbd51e2b336f46087b
2017-04-27 16:05:34 +00:00
Vishwath Mohan
ded7f88275
Add userdata partition size for Wahoo.
...
This CL define BOARD_USERDATAIMAGE_PARTITION_SIZE in the Wahoo
BoardConfig. This allows userdata.img to be generated, which is
necessary for sanitized target (like ASAN).
Bug: 37740897
Test: m -j40 userdataimage
Change-Id: Ib8972696a4fd1da3f792883bfd7f61431adc3da4
2017-04-27 09:03:14 -07:00
Thierry Strudel
134f509da1
init: restart qseecomd once /data is mounted
...
Bug: 37589340
Change-Id: I76b5e41e1f1636aa00e31e26f2bc3920e579aac1
Signed-off-by: Thierry Strudel <tstrudel@google.com >
2017-04-27 08:38:40 -07:00
Thierry Strudel
a753bd6b17
sepolicy: allow TimeService.apk to access some .so
...
libTimeService.so is needed by TimeService.apk
Bug: 37669218
Change-Id: I55b0c8a8d104edfb591501037d16717a52607b87
Signed-off-by: Thierry Strudel <tstrudel@google.com >
2017-04-27 00:02:54 -07:00
Thierry Strudel
fe01b01dbe
device: fs_config applies only to vendor partition
...
Bug: 37721445
Change-Id: Ic01d844e6d380662c5a1df98a4bcaec1b79cd39d
Signed-off-by: Thierry Strudel <tstrudel@google.com >
2017-04-26 22:33:11 -07:00
Pat Tjin
555f087aab
Merge "wahoo: remove duplicate wipower/a4wp and disable"
2017-04-27 04:33:21 +00:00
Thierry Strudel
ee52563ef6
Merge "USB: HAL: update wahoo hal to V1_1"
2017-04-27 03:28:12 +00:00
TreeHugger Robot
ce20c2b9de
Merge "PowerHAL: added stune boost and app launch hint"
2017-04-26 23:53:20 +00:00
Wei Wang
0119c04700
PowerHAL: added stune boost and app launch hint
...
Bug: 37548050
Test: on Taimen, see hint handled
Change-Id: If621dc46d946c9ce5038ee0b4f17115f24fb82bf
2017-04-26 14:59:32 -07:00
Zhijun He
846ba1ccd3
camera: enable full mode face detection by default
...
Bug: 31979356
Change-Id: I528ff564f7626c5b87b81c5163f8b2ad33d9ad0c
2017-04-26 14:43:58 -07:00
Zhijun He
216b3bca6b
Merge "camera: remove tnr prop for preview"
2017-04-26 21:40:10 +00:00
Badhri Jagan Sridharan
fc32e28be9
USB: HAL: update wahoo hal to V1_1
...
This CL adds support to notify frameworks when an audio
or debug accessory is attached.
Bug: 36604276
Test: Manually test inserting an Audio accessory.
Change-Id: I9ec0f88ed85ed593b31132ba58bfedb51a435cd8
2017-04-26 21:09:10 +00:00
Brian Duddie
39ccb7186f
Merge "Add binderized sensors HAL"
2017-04-26 20:33:38 +00:00
Patrick Tjin
b7cc91b639
wahoo: remove duplicate wipower/a4wp and disable
...
remove duplicate ro.bluetooth.wipower/a2wp lines and
set to false
Test: build, boot, see wipower is not enabled, btscan works
Change-Id: Ia83369aa89c1144ed6ed0b0e6658837b46114966
Signed-off-by: Patrick Tjin <pattjin@google.com >
2017-04-26 13:28:20 -07:00
Jeffrey Vander Stoep
6fdaf5fb1e
Merge "Fixing a denial associated with video_device and camera"
2017-04-26 20:26:19 +00:00
Zhijun He
0669c424f6
camera: remove tnr prop for preview
...
Bug: 37478961
Change-Id: If748b6f3e58f8e70f719a05682b9a28bf31f3246
2017-04-26 19:39:06 +00:00
TreeHugger Robot
59590b634b
Merge "use QCOM gnss HIDL service"
2017-04-26 19:38:49 +00:00
Brian Duddie
892c70989b
Add binderized sensors HAL
...
Make the sensors HAL binderized, and add the necessary sepolicy entries
to grant it permissions for these denials:
type=1400 audit(5246168.379:61): avc: denied { search } for pid=7558
comm="android.hardwar" name="/" dev="sdd3" ino=2
scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:persist_file:s0
tclass=dir permissive=0
type=1400 audit(1493161320.949:152): avc: denied { search } for pid=7558
comm="android.hardwar" name="msm_subsys" dev="sysfs" ino=19027
scontext=u:r:hal_sensors_default:s0
tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=dir permissive=1
type=1400 audit(1493161320.949:153): avc: denied { read } for pid=7558
comm="android.hardwar" name="devices" dev="sysfs" ino=19029
scontext=u:r:hal_sensors_default:s0
tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=dir permissive=1
type=1400 audit(1493161320.949:154): avc: denied { open } for pid=7558
comm="android.hardwar" path="/sys/bus/msm_subsys/devices" dev="sysfs"
ino=19029 scontext=u:r:hal_sensors_default:s0
tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=dir permissive=1
type=1400 audit(1493161320.949:155): avc: denied { read } for pid=7558
comm="android.hardwar" name="subsys0" dev="sysfs" ino=34647
scontext=u:r:hal_sensors_default:s0
tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=lnk_file permissive=1
type=1400 audit(1493161320.949:156): avc: denied { read } for pid=7558
comm="android.hardwar" name="name" dev="sysfs" ino=34639
scontext=u:r:hal_sensors_default:s0
tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=file permissive=1
type=1400 audit(1493161320.949:157): avc: denied { open } for pid=7558
comm="android.hardwar"
path="/sys/devices/soc/soc:qcom,ipa_fws@1e08000/subsys0/name"
dev="sysfs" ino=34639 scontext=u:r:hal_sensors_default:s0
tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=file permissive=1
type=1400 audit(1493161320.959:158): avc: denied { search } for pid=7558
comm="android.hardwar" name="sensors" dev="sdd3" ino=12
scontext=u:r:hal_sensors_default:s0
tcontext=u:object_r:persist_sensors_file:s0 tclass=dir permissive=1
type=1400 audit(1493161320.959:159): avc: denied { read } for pid=7558
comm="android.hardwar" name="sensors_settings" dev="sdd3" ino=13
scontext=u:r:hal_sensors_default:s0
tcontext=u:object_r:persist_sensors_file:s0 tclass=file permissive=1
type=1400 audit(1493161320.959:160): avc: denied { open } for pid=7558
comm="android.hardwar" path="/persist/sensors/sensors_settings"
dev="sdd3" ino=13 scontext=u:r:hal_sensors_default:s0
tcontext=u:object_r:persist_sensors_file:s0 tclass=file permissive=1
type=1400 audit(1493161320.959:161): avc: denied { create } for pid=7558
comm="android.hardwar" scontext=u:r:hal_sensors_default:s0
tcontext=u:r:hal_sensors_default:s0 tclass=socket permissive=1
type=1400 audit(1493161320.959:162): avc: denied { ioctl } for pid=7558
comm="android.hardwar" path="socket:[85874]" dev="sockfs" ino=85874
ioctlcmd=c304 scontext=u:r:hal_sensors_default:s0
tcontext=u:r:hal_sensors_default:s0 tclass=socket permissive=1
type=1400 audit(1493161320.959:163): avc: denied { write } for pid=7558
comm="android.hardwar" scontext=u:r:hal_sensors_default:s0
tcontext=u:r:hal_sensors_default:s0 tclass=socket permissive=1
type=1400 audit(1493161320.979:164): avc: denied { read } for pid=7558
comm="android.hardwar" scontext=u:r:hal_sensors_default:s0
tcontext=u:r:hal_sensors_default:s0 tclass=socket permissive=1
type=1400 audit(1493161346.039:168): avc: denied { ioctl } for pid=7558
comm="sensors@1.0-ser" path="socket:[85876]" dev="sockfs" ino=85876
ioctlcmd=c302 scontext=u:r:hal_sensors_default:s0
tcontext=u:r:hal_sensors_default:s0 tclass=socket permissive=1
Bug: 36097227
Test: load on device, confirm sensors stack comes up, perform screen
orientation sanity test, check no selinux denials in kernel log, run
VTS using:
vts-tradefed run commandAndExit vts --module VtsHalSensorsV1_0Target
Note that there are known VTS failures tracked under bug 37710268.
This change does not introduce any new failures.
Change-Id: I8f6017f3d080cde7ec009182f0f5fbb90980d424
2017-04-26 10:39:13 -07:00
Etan Cohen
7cef570f79
Revert "[AWARE] Enable Wi-Fi Aware feature support."
...
This reverts commit 5232d40757 .
2017-04-26 09:21:09 -07:00
Etan Cohen
0da75705ea
Revert "Enable NAN data path"
...
This reverts commit 9d144330ce .
2017-04-26 09:20:51 -07:00
TreeHugger Robot
bd54d8c743
Merge "Adding allows and file_contexts to handle the following camera denials"
2017-04-26 05:15:36 +00:00
Max Bires
be637d5714
Fixing a denial associated with video_device and camera
...
denied { read write } for pid=563 comm="composer@2.1-se" name="video3"
dev="tmpfs" ino=22545 scontext=u:r:hal_graphics_composer_default:s0
tcontext=u:object_r:video_device:s0 tclass=chr_file
Bug: 37669506
Bug: 37666508
Test: This denial no longer occurs during camera use
Change-Id: I8d3f7aece3468eb7c756c864b8aa22a0f3b0fe9f
2017-04-26 04:50:08 +00:00
TreeHugger Robot
9652dceb85
Merge "wahoo: enable suspend clock reporting"
2017-04-26 04:38:57 +00:00
Max Bires
93f989ecc1
Adding allows and file_contexts to handle the following camera denials
...
These were occuring on camera init:
denied { read } for pid=699 comm="CAM_laser_sens" name="input"
dev="tmpfs" ino=17802 scontext=u:r:hal_camera_default:s0
tcontext=u:object_r:device:s0 tclass=dir
denied { write } for pid=699 comm="CAM_laser_sens"
name="enable_ps_sensor" dev="sysfs" ino=39968
scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:sysfs:s0
tclass=file
denied { call } for pid=810 comm="cameraserver"
scontext=u:r:cameraserver:s0 tcontext=u:r:mediacodec:s0 tclass=binder
Bug: 37669506
Test: These denials no longer occur during init
Change-Id: Ie97ab9433efd43da29f18ffa652c43701b3662af
2017-04-26 03:28:38 +00:00
Patrick Tjin
dcff546049
wahoo: enable suspend clock reporting
...
Test: Build
Bug: 37682684
Change-Id: I44623a0e1e7d7d15a6cad82a472f1d5d33908e51
2017-04-25 19:57:35 -07:00
Thierry Strudel
40b2ed1938
init.power: remove duplicate operations
...
This change disabled ability of msm_thermal driver to hot-plug CPUs
Change-Id: I37b1edb8ee9b5de02d55b595a4a710b513dd07e8
2017-04-26 02:00:43 +00:00
TreeHugger Robot
d28655ffd0
Merge "Putting system_server into permissive."
2017-04-26 00:41:46 +00:00
Max Bires
3914ca04bd
Putting system_server into permissive.
...
System_server is attempting to access a .so that is currently labeled as
a vendor file, which is messing up the ability of anything on the device
to interact with sensor services. This will temporarily be put into
permissive until the .so can be properly relabeled.
Denial:
denied { execute } for pid=1380 comm="system_server" path="/vendor/li
b64/liblocation_api.so" dev="sda20" ino=929
scontext=u:r:system_server:s0 tcontext=u:object_r:vendor_file:s0
tclass=file
Bug: 37675139
Bug: 37669506
Test: adb shell dumpsys sensorservice works as expected
Change-Id: Ia13641dfaf4ab65f9060dc35b3778b9c88fb0242
2017-04-25 16:00:49 -07:00
TreeHugger Robot
4248fac623
Merge "Adding allows for smlog and dumpstate"
2017-04-25 22:47:05 +00:00
TreeHugger Robot
37650bc32c
Merge "Bring-up RenderScript HAL for Muskie / Walleye"
2017-04-25 22:43:44 +00:00
Thierry Strudel
c3758dc42b
use QCOM gnss HIDL service
...
Change-Id: I0cf76851c4fd383b20378a746368776eb56f7209
Signed-off-by: Thierry Strudel <tstrudel@google.com >
2017-04-25 14:26:28 -07:00
Miao Wang
9898d9d468
Bring-up RenderScript HAL for Muskie / Walleye
...
Bug: 36097673
Test: mm && tested on Walleye to make sure QCOM driver load.
Test: RS CTS tests pass
Test: Imageprocessing tests pass, and confirming running on GPU.
Change-Id: Iaca74a8e90d9fd10e4327bd55d982e95b700ca0f
2017-04-25 14:11:06 -07:00
Jie Song
85b1b4d5e1
Adding allows for smlog and dumpstate
...
1. Adding allows for smlog and dumpstate
2. Moving log path to data/vendor
Bug: 37169733
Test: Verify modem logs in bugreport
Change-Id: Ifaef1976bc7b88afdd3ee2a7ef82a78853c5ee14
2017-04-25 13:55:49 -07:00
Andrew Lehmer
b6cbc1d6c4
folio_daemon: exit when poll returns zero events
...
Bug: 37402669
Test: loaded on walleye, issued `adb shell stop`, checked `top`
Change-Id: I7d43cab39809b6b156eb26195df2c913991e5c96
2017-04-25 11:47:13 -07:00
TreeHugger Robot
b13737cc28
Merge "Removing wcnss_service from permissive mode"
2017-04-25 07:22:44 +00:00
TreeHugger Robot
995d1a1374
Merge "Removing qti from permissive mode"
2017-04-25 07:13:21 +00:00
TreeHugger Robot
d833149ab2
Merge "Removing ssr_setup from permissive mode"
2017-04-25 06:59:56 +00:00
TreeHugger Robot
d3c3621777
Merge "Removing adsprpcd from permissive mode"
2017-04-25 06:57:15 +00:00
TreeHugger Robot
d3f92bf1d1
Merge "Removing thermal-engine from permissive mode"
2017-04-25 06:55:31 +00:00
TreeHugger Robot
4d2e138f7d
Merge "Removing init_power from individual permissive domain."
2017-04-25 06:39:52 +00:00
TreeHugger Robot
aa83795f2f
Merge "Removing permissive mode on pd_mapper domain."
2017-04-25 06:32:43 +00:00
Max Bires
982994ed05
Removing wcnss_service from permissive mode
...
Bug: 34784662
Test: wcnss_service domain is in enforcing mode and the device functions
normally
Change-Id: Ia61351802b62448119f318cdcaede713bdbba674
2017-04-24 22:47:01 -07:00
Max Bires
e1bed673f2
Removing qti from permissive mode
...
Bug: 34784662
Test: qti is in enforcing mode and the device functions normally
Change-Id: Ief42b66b97ecc17690197e283ca3d6d5ff8e93e1
2017-04-24 22:36:49 -07:00
Max Bires
dcb824b799
Removing ssr_setup from permissive mode
...
Bug: 34784662
Test: ssr_setup is in enforcing and the device functions normally
Change-Id: Iacd79ec0da63b5bee3c898fadd91fb73ed70dcb6
2017-04-24 22:30:57 -07:00