Commit Graph

629 Commits

Author SHA1 Message Date
TreeHugger Robot
60775a9f44 Merge "Offload HAL Service: Constant definition" 2017-05-19 23:36:27 +00:00
Youhan Wang
6967e3b287 Merge "Grant system_app write access to tel_mon_prop" 2017-05-19 20:29:10 +00:00
Thierry Strudel
970e5b7dce Merge "Ensure usb related .rc is parsed in a defined order" 2017-05-19 20:01:27 +00:00
Yueyao Zhu
9c902b351f Ensure usb related .rc is parsed in a defined order
Loading process:
- rootdir/init.rc
    |- /vendor/etc/init/hw/init.${ro.hardware}.rc
        |- /vendor/etc/init/hw/init.${ro.hardware}.usb.rc
            |- /vendor/etc/init/hw/init.wahoo.usb.rc

This CL moves init.hardware.rc, init.wahoo.usb.rc to /vendor/
etc/init/hw/, and import /vendor/etc/init/hw/init.${ro.hardware}
.usb.rc from init.hardware.rc.

Test: Build with related CLs and USB File Transfer works
Bug: 38301110
Change-Id: I4808a117994374bceac324c60cc47225a8df5970
Signed-off-by: Yueyao Zhu <yueyao@google.com>
2017-05-19 12:01:14 -07:00
Joel Fernandes
8fa14d1102 init: Change default governor to schedutil and set ratelimits
Use rate-limit values: 500us for up, 20ms for down.

Change-Id: Ifc3ebb8e63078ab402080b50b800b6fffb326f97
Signed-off-by: Joel Fernandes <joelaf@google.com>
2017-05-19 18:26:01 +00:00
Yifan Hong
31f2043b4f Merge "Fix instance name in manifest.xml for keymaster" 2017-05-19 16:36:00 +00:00
Zhijun He
3b8330ec56 Merge "Enable EIS3 and Gzoom by default" 2017-05-19 16:28:25 +00:00
Wei Wang
1fe2d41ec9 Merge "wahoo: all ramdump to set RCU stall property" 2017-05-19 03:41:33 +00:00
Zhijun He
62bae0b32f Enable EIS3 and Gzoom by default
Bug: 38299858
Change-Id: I6e1c252ea547e21680f43edec5c81d8edccfc5fb
2017-05-19 02:15:27 +00:00
Youhan Wang
ef151ac4d7 Grant system_app write access to tel_mon_prop
Define new type tel_mon_prop and matches with
persist.radio.enable_tel_mon

TelephonyMonitor debug switch in Developer Options requires read/write
access to persist.radio.enable_tel_mon.

The feature is only enabled on userdebug/eng devices for Pixel17.

Test: Make, Toggling Developer Options -> Telephony Monitor succeeds

Bug:38351509
Change-Id: I8c68c2bca3040b6a067f83606589ef6f857cf9fc
2017-05-18 17:57:33 -07:00
Ahmed ElArabawy
ea9e809ba7 Merge "Revert "power hal: Add power HAL API 1.1 impl for Wahoo"" 2017-05-18 23:57:27 +00:00
Wei Wang
d977d05b45 wahoo: all ramdump to set RCU stall property
Panic on RCU stall hasn't been enabled on wahoo but we need the
permission in order to make ramdump app do not crash.

Bug: 38423394
Test: ramdump app has proper permission
Change-Id: I9831f2ac3dfbfdd1db099fa04683380e25cbd1ec
2017-05-18 15:50:35 -07:00
Yifan Hong
e25410da1e Fix instance name in manifest.xml for keymaster
Test: m system_compatibility_matrix.xml
Test: device boots with and without data wipe
Change-Id: Ibc75398b8d4c0f751c639d26b92d9736d6401e87
2017-05-18 22:46:49 +00:00
Youhan Wang
fe8ca0668e Merge "Set data roaming default false for Wahoo." 2017-05-18 17:37:17 +00:00
Jaesoo Lee
da9eee4c13 Merge "configstore: applied uprev of configstore (1.0 -> 1.1)" 2017-05-18 13:05:41 +00:00
Andrew Scull
5ffefa6084 Merge changes from topic 'ese vintf'
* changes:
  Add OemLock HAL to the manifest.
  Add Weaver HAL to the manifest.
2017-05-18 09:31:42 +00:00
Wei Wang
fa7fff56b6 Merge "wahoo: tune zram performance" 2017-05-18 05:01:29 +00:00
Ajay Dudani
ddfc169363 perfd: Add rule to allow hal_power_default signull denial
[ 1786.071909] type=1400 audit(1495048493.567:602): avc: denied {
signull } for pid=781 comm="perfd" scontext=u:r:perfd:s0
tcontext=u:r:hal_power_default:s0 tclass=process permissive=1

Test: Boot test, verified this selinux denial doesn't show up
Change-Id: I37a4cf45eea84dc3314d235ef21eb7d2c2d8c33e
2017-05-18 04:16:08 +00:00
Ajay Dudani
6a5352b668 Update init.radio.sh path in file_contexts
init.radio.sh has moved from /system to /vendor; update the path in
file_contexts to reflect the same.

Test: Bootup, rild running
Change-Id: Iada7b217272e8b5c0de35252bde95ffe37d144fa
2017-05-17 17:06:56 -07:00
Ajay Dudani
e80ed35837 Update init.power.sh path in file_contexts
init.power.sh has moved from /system to /vendor; update the path in
file_contexts to reflect the same.

Bug: 38317397
Test: Verified interaction and launch hints were handled post bootup
Change-Id: I6c57d9fc06e2f9ca984ea0f357a8b64d5b48d76f
2017-05-17 17:06:42 -07:00
Youhan Wang
cfa36ccf9c Set data roaming default false for Wahoo.
Test: make

Bug:37973320
Change-Id: Ic36c8de8ba87149dfa9ada6660ee893d2beb340b
2017-05-17 16:55:23 -07:00
Sohani Rao
bc8bc52f92 Offload HAL Service: Constant definition
Define constants to be used by Offload Service implementation.

Bug: 32842314
Test: VTS
Change-Id: I95c2c28207f5f6e76a69ea13c79ddc07418ac2c8
2017-05-17 16:48:35 -07:00
Wei Wang
88f424e979 wahoo: tune zram performance
-Switch to LZ4 for better overall performance
-Set max_comp_streams to num of cores since upstream also moves this to
percpu.
-Set page-cluster to 0 as the incremental cost of reading 1 page at a
time is negligible for zram

Bug: 38249616
Test: boot and run zram-perf showing better performance
Change-Id: I0b92b246d773db85aa03d033b2cecee54347cbd1
2017-05-17 16:19:32 -07:00
Ahmed ElArabawy
e9e903f222 Revert "power hal: Add power HAL API 1.1 impl for Wahoo"
This reverts commit c043816b3c.
The reason of the revert is to check for the application start time
regression that may have been caused by the CL

Bug: 38317397
Test: None

Change-Id: I7edaf75eeebcecb848b38a9b7eff2bdb1f233cdb
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2017-05-17 15:21:36 -07:00
Chia-kai Liang
bd46d535f7 Merge "Add Hexagon permission to hal_camera" 2017-05-17 21:45:10 +00:00
TreeHugger Robot
2cf4d76a03 Merge "sepolicy: add ese_load and ese data dirs" 2017-05-17 19:26:42 +00:00
Chia-Kai Liang
42f7cf7b4f Add Hexagon permission to hal_camera
Bug: 38353688
Test: Works correctly on signed device.
Change-Id: I040a2bad2c9286aad55b1ca8d1e484ee8dc91bd8
2017-05-17 10:50:54 -07:00
Andrew Scull
099196d5e1 Add OemLock HAL to the manifest.
Bug: 38173042
Test: Build and boot
Change-Id: I44a09ca5c4fdffd262700d385571edc96b4c9059
2017-05-17 15:29:19 +01:00
Andrew Scull
850831bfe6 Add Weaver HAL to the manifest.
Bug: 38173757
Test: Build and boot
Change-Id: Icd76ad270dd4a6e99ca61a62c174cbcaf5542765
2017-05-17 15:26:42 +01:00
Stefano Tommasini
922ee28abc Merge "Add external storage and contact permissions to 2017 google phones." 2017-05-17 12:34:56 +00:00
Stefanot
8db7a09938 Add external storage and contact permissions to 2017 google phones.
Test: manual
BUG:37635903
Change-Id: I6257943e380d6fa90ce042e143a065bb64d51a3c
2017-05-17 11:22:43 +01:00
TreeHugger Robot
94ad4c9beb Merge "lights.$(TARGET_DEVICE): moved to vendor partition" 2017-05-17 09:41:31 +00:00
TreeHugger Robot
3f97ad4aae Merge "system.prop: disable video encoding with perceptual-quant" 2017-05-17 08:03:47 +00:00
Isaac Chen
c0cae510d2 lights.$(TARGET_DEVICE): moved to vendor partition
Move it to vendor to work with generic AOSP system image.

Bug: 37927875
Test: The lib is under /vendor/lib(64)/hw instead of /system/lib(64)/hw
and the resulted system/vendor images work on the device.

Change-Id: I8218120bc870b64959f5a9929c5fdea703b7fb0c
2017-05-17 15:44:41 +08:00
Jaesoo Lee
aee1b828f7 configstore: applied uprev of configstore (1.0 -> 1.1)
This change applies uprev of configstore to init.hardware.rc and
manifest.xml

Bug: 37727469
Test: Built and tested on sailfish
Change-Id: I64930ca7dfceb66a1cf7a52b43fd378810ff8dad
2017-05-17 15:33:25 +09:00
TreeHugger Robot
d87eb8f298 Merge "audio: hifi profile" 2017-05-17 00:57:22 +00:00
Max Bires
826c36498c Merge "Removing wcnss_filter from permissive mode and into enforcing" 2017-05-16 22:14:11 +00:00
Joel Fernandes
825499830f wahoo: Add initial lisa script placeholder
All wahoo related LISA scripts will go here.

Bug: 38046504

Change-Id: I1e8f676c1153f8877f4fb49e1cc66236b265ebc7
Signed-off-by: Joel Fernandes <joelaf@google.com>
2017-05-16 21:41:12 +00:00
Haynes Mathew George
5dae0c68c6 audio: hifi profile
Add controls for hifi profile

Test: phone call, playback, capture with and without USB headset
Bug: 37304195
Change-Id: Ieff367b3a699076f9be62e97be8b752449dab51c
Signed-off-by: David Lin <dtwlin@google.com>
2017-05-16 21:15:06 +00:00
Max Bires
7393a0303e Removing wcnss_filter from permissive mode and into enforcing
Bug: 34784662
Bug: 38262202
Test: wcnss_filter is in enforcing and continues to function
Change-Id: I49012a5115c1d5c3d8070c43cf1844c891c33f90
2017-05-16 13:07:21 -07:00
Max Bires
401ae7c901 Merge "Removing irsc_util from permissive and into enforcing mode" 2017-05-16 19:42:19 +00:00
TreeHugger Robot
ae004eae66 Merge "Add sepolicy rule to dump IPC related info" 2017-05-16 18:44:53 +00:00
TreeHugger Robot
b2c0b7987a Merge "Add IPC wakelock information to bugreport" 2017-05-16 18:23:39 +00:00
TreeHugger Robot
c042f2d6eb Merge "add vndk-sp libs to taimen" 2017-05-16 16:54:52 +00:00
TreeHugger Robot
036a3f0d11 Merge "vibrator: fix incorrect error checking when opening kernel sysfs nodes" 2017-05-16 15:45:09 +00:00
TreeHugger Robot
925c0c5c1c Merge changes I6765befe,Iaebed412
* changes:
  Move etc/wifi/* to vendor for build split
  Move permissions to vendor
2017-05-16 04:29:35 +00:00
Christopher Ferris
9a2732bfb7 Merge "Change to cortex-a73 for target arch." 2017-05-16 01:53:39 +00:00
Praveen Chavan
230606a037 system.prop: disable video encoding with perceptual-quant
Do not enable this by default till the power/perf profiling
is complete

Test: Video Recording.
Bug: 35320976
Change-Id: I1ec84ed6ab1a52c67a8399292efd7a6633409cf6
2017-05-15 18:30:32 -07:00
David Lin
a6e2550687 vibrator: fix incorrect error checking when opening kernel sysfs nodes
Test: test device vibrates
Change-Id: I05c2e5afa6d66a69aacd65885d7d3092ef0fec63
Signed-off-by: David Lin <dtwlin@google.com>
2017-05-15 18:09:01 -07:00
TreeHugger Robot
8926a35211 Merge "manifest: add android.hardware.bluetooth hwbinder" 2017-05-15 23:34:22 +00:00