Wei Wang
35257586fb
Merge changes Ibd89d8c1,I01610bd3
...
* changes:
Enable ZRAM on wahoo
Override heap growth limit to 256M
2017-05-12 01:09:32 +00:00
Zhijun He
fc8a9ad390
Merge "device.mk: disable default perf mode for encoder"
2017-05-11 22:33:49 +00:00
Ecco Park
dfe38fa8d7
Merge "Wifi: remove the WCNSS_qcom_cf.ini from wahoo"
2017-05-11 22:33:23 +00:00
Wei Wang
5db9bb4b63
Enable ZRAM on wahoo
...
Bug: 38242009
Bug: 37765310
Test: boot and dumpsys meminfo
Change-Id: Ibd89d8c102ca33bc878b91dbf8e76a6f37c6f0a0
2017-05-11 15:27:27 -07:00
Max Bires
8fc1a5eb1f
Merge "Removing port-bridge from permissive mode and into enforcing"
2017-05-11 21:36:40 +00:00
Tao Bao
7a43b29f97
Merge "Set sys.usb.configfs so that recovery knows it's using configfs."
2017-05-11 21:30:36 +00:00
Ecco Park
1e280464e2
Wifi: remove the WCNSS_qcom_cf.ini from wahoo
...
The ini file will be picked up from device directory.
Bug: 38198219
Change-Id: Ie05de71da68169487da93372a9a19a12913fa468
Signed-off-by: Ecco Park <eccopark@google.com >
2017-05-11 21:28:56 +00:00
Wei Wang
5b02be8da5
Override heap growth limit to 256M
...
This is for high display density on device
Bug: 37765310
Bug: 38241506
Test: muskie boot
Change-Id: I01610bd309e532448c67c51c89a168fe441888e6
2017-05-11 14:12:26 -07:00
Glenn Kasten
0e6b7ed9b2
Merge "Temporary workaround to reduce audio glitches"
2017-05-11 20:50:23 +00:00
Max Bires
8ff7bf54cd
Merge "Putting folio_daemon into enforcing mode."
2017-05-11 20:38:46 +00:00
Tao Bao
d38eccc66c
Set sys.usb.configfs so that recovery knows it's using configfs.
...
Bug: 37713851
Test: Boot into recovery image. `adb devices` shows the device.
Test: 'sys.usb.configfs=1' according to /temp/recovery.log.
Change-Id: I3af7510ac0719bc97ef524a201d72567b58b5b1e
2017-05-11 11:55:18 -07:00
Glenn Kasten
699cac9518
Temporary workaround to reduce audio glitches
...
Test: see test case at bug
Bug: 37532694
Bug: 38234822
Change-Id: I27ce231272959e372589ada988173de4aa274d75
2017-05-11 11:23:22 -07:00
Praveen Chavan
7d7606a2fe
device.mk: disable default perf mode for encoder
...
Bug: 36696901
Change-Id: I99d5947801dbbbba34623c0b3e7ce905c0ebd55f
2017-05-11 16:01:47 +00:00
Max Bires
6321bd8e3d
Removing port-bridge from permissive mode and into enforcing
...
Bug: 34784662
Test: port-bridge continues to work as expected in enforcing mode
Change-Id: I8b84302919673face79e54b3a6de8fc458bc603c
2017-05-10 19:11:38 -07:00
Max Bires
d3ca10d532
Putting folio_daemon into enforcing mode.
...
Bug: 34784662
Test: folio_daemon continues to function while in enforcing
Change-Id: I9aefd2a8e95883a3782e63b8c4a3ed1ee5ca5435
2017-05-10 19:04:26 -07:00
TreeHugger Robot
9bce06c139
Merge "Revert "camera: enable full mode face detection by default""
2017-05-11 01:12:43 +00:00
Adrian Roos
79cf7650b8
Merge "Disable DOZE_SUSPEND"
2017-05-11 00:02:35 +00:00
Zhijun He
cec3f91526
Revert "camera: enable full mode face detection by default"
...
This reverts commit 846ba1ccd3 .
Change-Id: I566124516d8212d97b4ce97024ab217280443e16
2017-05-10 23:35:24 +00:00
Meng Wang
2230b62d70
Merge "Update Rogers/Fido APN"
2017-05-10 22:29:21 +00:00
Michael Wright
e1c6923c97
Disable DOZE_SUSPEND
...
Wahoo devices *do* support this, but there's no synchronization between
DOZE_SUSPEND and pushing frames, so we can't use it in practice.
Test: manual
Change-Id: I5ef2f5ac6407fa89aeb2f16fd7dcff140a055f43
2017-05-10 21:46:59 +01:00
Jie Song
6c49bffa20
Merge "Adding init script and SELinux support for qlogd"
2017-05-10 20:43:32 +00:00
Ahmed ElArabawy
910a77479e
Merge "power hal: Add power HAL API 1.1 impl for Wahoo"
2017-05-10 20:37:49 +00:00
TreeHugger Robot
0740b8cb91
Merge "Add device compatibility matrix."
2017-05-10 19:54:57 +00:00
Max Bires
bed4cb170b
Merge "Fixing the following denials"
2017-05-10 18:01:00 +00:00
Meng Wang
8910c0fcba
Update Rogers/Fido APN
...
1. Merge ltemobile.apn into one entry
2. Rename Rogers Netsvcs APN
3. Add Fido Netsvcs APN
Bug: 37947461
Test: make
Change-Id: Ie97ed8c46fd3ee466d03af337424168a2fcbedca
2017-05-10 09:52:22 -07:00
Jie Song
18aecb7cb8
Adding init script and SELinux support for qlogd
...
Bug: 37115787
Change-Id: I64988953513cd0a7c2e861b5cad5fa6c1c7b9557
2017-05-10 09:27:57 -07:00
Pawin Vongmasa
3122f21f85
Merge "Update media_profiles.xml, add version, and move to vendor/etc"
2017-05-10 11:58:54 +00:00
Max Bires
687d2a7434
Merge "Fixing Taimen OTAs for enforcing before turning it on globally"
2017-05-10 02:17:53 +00:00
Yifan Hong
ffe4e0f348
Add device compatibility matrix.
...
Test: device boots
Bug: 37954458
Change-Id: I437a4506c17908e3107641bf6f1f0b25e4b17248
2017-05-09 15:29:38 -07:00
Thierry Strudel
a36f7d963e
Merge changes from topic 'fstab-wahoo'
...
* changes:
fstab.hardware: disable metadata encryption
move fstab and BOARD_AVB_ENABLE to wahoo
2017-05-09 22:02:53 +00:00
Ahmed ElArabawy
c043816b3c
power hal: Add power HAL API 1.1 impl for Wahoo
...
Add a full binderized implementation for Power hal
Many subsystems (e.g.wifi) could be living on an
independent power island (sourced from VBatt directly)
and might even have their own dedicated XTAL to source
their clocks. Since these SOCs are capable of
autonomously operating (while the platform is in one
of the sleep states), they are still drawing power
from the VBatt. Hence it is critical to understand
the (SOC) level low power statistics as well when
the battery level changes and be able to find any
correlation in event of unexpected battery drain.
This commit adds the support of the Power Hal 1.1
to wahoo based devices(that includes Muskie/walleye).
This includes the new api for wlan specific power stats
Bug: 29339696
Test: Manual
Change-Id: Iee4e38f2d9ced31f8b6a333b535fa1d9a302ec26
Signed-off-by: Ahmed ElArabawy <arabawy@google.com >
2017-05-09 14:19:49 -07:00
Max Bires
30326ba8bf
Fixing the following denials
...
denied { write } for pid=520 comm="ueventd" name="uevent" dev="sysfs"
ino=35415 scontext=u:r:ueventd:s0 tcontext=u:object_r:sysfs_graphics:s0
tclass=file
denied { search } for pid=763 comm="perfd" name="fb0" dev="sysfs"
ino=35414 scontext=u:r:perfd:s0 tcontext=u:object_r:sysfs_graphics:s0
tclass=dir
denied { read } for pid=763 comm="perfd" name="modes" dev="sysfs"
ino=35431 scontext=u:r:perfd:s0 tcontext=u:object_r:sysfs_graphics:s0
tclass=file
denied { search } for pid=666 comm="light@2.0-servi"
name="800f000.qcom,spmi" dev="sysfs" ino=19444
scontext=u:r:hal_light_default:s0
tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=dir
denied { create } for pid=771 comm="Loc_hal"
scontext=u:r:hal_gnss_qti:s0 tcontext=u:r:hal_gnss_qti:s0
tclass=udp_socket
denied { ioctl } for pid=755 comm="Loc_hal" path="socket:[64279]"
dev="sockfs" ino=64279 ioctlcmd=89fd scontext=u:r:hal_gnss_qti:s0
tcontext=u:r:hal_gnss_qti:s0 tclass=udp_socket
denied { ioctl } for pid=771 comm="Loc_hal" path="socket:[54210]"
dev="sockfs" ino=54210 ioctlcmd=c304 scontext=u:r:hal_gnss_qti:s0
tcontext=u:r:hal_gnss_qti:s0 tclass=socket
denied { create } for pid=771 comm="Loc_hal" name="xtra"
scontext=u:r:hal_gnss_qti:s0 tcontext=u:object_r:location_data_file:s0
tclass=dir
denied { create read getattr lock unlink } for pid=771 comm="Loc_hal"
name="xtra.sqlite" scontext=u:r:hal_gnss_qti:s0
tcontext=u:object_r:location_data_file:s0 tclass=file
denied { ioctl } for pid=798 comm="Loc_hal" path="socket:[64664]"
dev="sockfs" ino=64664 ioctlcmd=c302 scontext=u:r:hal_gnss_qti:s0
tcontext=u:r:hal_gnss_qti:s0 tclass=socket
denied { connectto } for pid=755 comm="NtpDown"
path="/dev/socket/dnsproxyd" scontext=u:r:hal_gnss_qti:s0
tcontext=u:r:netd:s0 tclass=unix_stream_socket
denied { create bind } for pid=755 comm="Loc_hal"
scontext=u:r:hal_gnss_qti:s0 tcontext=u:r:hal_gnss_qti:s0
tclass=netlink_generic_socket
denied { find } for interface=android.hardware.graphics.mapper::IMapper
pid=564 scontext=u:r:hal_graphics_composer_default:s0
tcontext=u:object_r:hal_graphics_mapper_hwservice:s0
tclass=hwservice_manager
denied { search } for pid=428 comm="kworker/6:2" name="firmware"
dev="sde14" ino=229 scontext=u:r:kernel:s0
tcontext=u:object_r:vendor_firmware_file:s0 tclass=dir
denied { ioctl } for pid=798 comm="Loc_hal" path="/dev/binder"
dev="tmpfs" ino=10125 ioctlcmd=6201 scontext=u:r:hal_gnss_qti:s0
tcontext=u:object_r:binder_device:s0 tclass=chr_file
denied { call } for pid=798 comm="Loc_hal" scontext=u:r:hal_gnss_qti:s0
tcontext=u:r:servicemanager:s0 tclass=binder
denied { write } for pid=1 comm="init" name="debug_suspend"
dev="debugfs" ino=997 scontext=u:r:init:s0
tcontext=u:object_r:debugfs:s0 tclass=file
Bug: 34784662
Test: The above denials no longer appear during operation
Change-Id: I4c713ea9147fe613564ed39d874005cfa7b928a5
2017-05-09 13:19:13 -07:00
Max Bires
0a4f88cbd3
Fixing Taimen OTAs for enforcing before turning it on globally
...
denied { ioctl } for pid=570 comm="boot@1.0-servic"
path="/dev/block/sde" dev="tmpfs" ino=19779 ioctlcmd=1268
scontext=u:r:hal_bootctl_default:s0 tcontext=u:object_r:block_device:s0
tclass=blk_file
denied { open } for pid=570 comm="boot@1.0-servic" path="/dev/block/sde"
dev="tmpfs" ino=19779 scontext=u:r:hal_bootctl_default:s0
tcontext=u:object_r:block_device:s0 tclass=blk_file
denied { read write } for pid=570 comm="boot@1.0-servic" name="sde"
dev="tmpfs" ino=19779 scontext=u:r:hal_bootctl_default:s0
tcontext=u:object_r:block_device:s0 tclass=blk_file
denied { getattr } for pid=570 comm="boot@1.0-servic"
path="/dev/block/sde13" dev="tmpfs" ino=19819
scontext=u:r:hal_bootctl_default:s0 tcontext=u:object_r:block_device:s0
tclass=blk_file
Bug: 34784662
Test: OTAs work
Change-Id: Idd78395353c54f5d81220f7c8073ab90ee22af2f
2017-05-09 13:17:44 -07:00
Thierry Strudel
a8ed387f1c
fstab.hardware: disable metadata encryption
...
Bug: 38137299
Bug: 38133157
Change-Id: I4bae0df21238126fcadce48697ecba91b05ef057
Signed-off-by: Thierry Strudel <tstrudel@google.com >
2017-05-09 12:20:47 -07:00
Thierry Strudel
36d09bf13f
move fstab and BOARD_AVB_ENABLE to wahoo
...
Change-Id: I057403bb22241cc756f714019f4c2d2efeb4cd3e
Signed-off-by: Thierry Strudel <tstrudel@google.com >
2017-05-09 12:20:01 -07:00
Wei Wang
cb8982e861
Merge "whaoo: enable low persist_mode for VR"
2017-05-09 18:15:23 +00:00
TreeHugger Robot
658dd78713
Merge "Use hardware feature definition to indicate Passpoint support"
2017-05-09 17:21:36 +00:00
Wei Wang
42fd4ba288
whaoo: enable low persist_mode for VR
...
Access to /sys/class/graphics/fb0/msm_fb_persist_mode is needed for light HAL.
Bug: 36660424
Test: display is going into low persistence mode in daydream
Change-Id: Ie54120ee70b2b3e4acb4d9d5f1ec1c0d75d93a81
2017-05-09 16:14:08 +00:00
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