Commit Graph

33 Commits

Author SHA1 Message Date
Thierry Strudel
9a7fcca850 manifest.xml: graphics.allocator & graphics.composer to passthrough
This is a work around waiting for a fix.

Bug: 36199345
Change-Id: Ie127f0cd7d8537125f44afdbc06cb0f97fbcf96c
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-14 13:46:15 -07:00
TreeHugger Robot
f4568cad1e Merge "Remove obsolete ENABLE_TREBLE references." 2017-03-14 14:41:46 +00:00
Steven Moreland
fe098879cd Remove obsolete ENABLE_TREBLE references.
ENABLE_TREBLE compiler flags are no longer used. They have been replaced
with use of the VINTF object.

Bug: 32978887
Test: pass
Change-Id: I2c368d37e529e56c47ebf354a4fcc68e4ddd11ed
2017-03-14 00:16:37 -07:00
TreeHugger Robot
99c674b714 Merge "hal_wifi: Allow wifi hal to access /proc/debug" 2017-03-13 23:41:01 +00:00
Roshan Pius
98da724c36 hal_wifi: Allow wifi hal to access /proc/debug
This is needed for fetching debug info from the wifi driver.

Denials:
03-10 19:16:58.207   452   452 W android.hardwar: type=1400
audit(0.0:319): avc: denied { read } for name="fwdump" dev="proc"
ino=4026547172 scontext=u:r:hal_wifi_default:s0
tcontext=u:object_r:proc:s0 tclass=file permissive=0
03-10 19:16:58.207   452   452 W android.hardwar: type=1400
audit(0.0:320): avc: denied { read } for name="driverdump" dev="proc"
ino=4026547174 scontext=u:r:hal_wifi_default:s0
tcontext=u:object_r:proc:s0 tclass=file permissive=0

03-10 19:16:58.209   452   452 I WifiHAL : handleResponse: Memory Dump
size: 327680
03-10 19:16:58.209   452   452 E WifiHAL : Failed to open
/proc/debug/fwdump file
03-10 19:16:58.209   452   452 V WifiHAL : Successfully removed event
handler for vendor 0x1374
03-10 19:16:58.210   452   452 E WifiHAL : Failed to open
/proc/debugdriver/driverdump file

BUG: 36126608
Test: Device boots up and the denials no longer seen.
Change-Id: Id3789f4ceeb90c36df14989e6d5d9dc09f9bf558
2017-03-13 15:26:45 -07:00
Vineeta Srivastava
409a5d3943 Remove unnecessary cache mount
Cache is not used on the device using AB update. In that case, init just
waits
for timeout 5s.

[   18.904216] init: Command 'mount_all fstab.${ro.hardware}' action=fs
(/init.taimen.rc:33) returned 1 took 767.808ms.
[   23.911072] init: Command 'wait /dev/block/bootdevice/by-name/cache'
action=fs (/init.taimen.rc:40) returned -1 took 5006.36ms.

Test: Build and tested on a device
Change-Id: Iaee76961c98b7b7873e532a7003d560ebf6c4752
2017-03-13 15:04:49 -07:00
Shawn Yang
aa2f20cf82 Merge "sepolicy: Support subsystem ramdump selinux config Enable modem subsystem restart and ramdump" 2017-03-13 21:23:54 +00:00
TreeHugger Robot
59e8126215 Merge "manifest.xml: android.hardware.graphics.allocator => hwbinder" 2017-03-10 23:46:21 +00:00
Shawn Yang
e3225201b1 sepolicy: Support subsystem ramdump selinux config
Enable modem subsystem restart and ramdump

Bug: 35859062
Change-Id: Ib23fe3d849e7a5b4ada0ba794107e12b661c7fdc
Signed-off-by: Salmax_Chang <salmax_chang@htc.com>
2017-03-10 23:27:39 +00:00
TreeHugger Robot
3cc3faaef3 Merge "Enable and binderize hwcomposer hal" 2017-03-10 23:12:10 +00:00
Thierry Strudel
37f909056d manifest.xml: android.hardware.graphics.allocator => hwbinder
Bug: 35809668
Change-Id: I7b45e004ae093e8a69c0fff463d4ef6d4b67670d
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-10 14:52:39 -08:00
Tao Bao
f1f15a7e54 Merge "Add update_engine_client, update_engine_sideload, bootctl." 2017-03-10 22:14:21 +00:00
Chia-I Wu
ae4a5780eb Enable and binderize hwcomposer hal
Bug: 35810133
Test: boots
Change-Id: I01b917e870fc9e9f95103404c4b8da0bca7eda2d
2017-03-10 14:04:03 -08:00
Tao Bao
09b87b5ce2 Add update_engine_client, update_engine_sideload, bootctl.
update_engine_client and bootctl will be included in debuggable builds
only.
 - update_engine_client allows talking to update_engine directly;
 - bootctl talks to boot control HAL and queries its state.

update_engine_sideload goes into recovery image.
 - update_engine_sideload is to allow sideloading OTAs under recovery.

Test: `m dist`
Change-Id: I692e1fb54fa41d7b19e1f2cf2a7ddaf7cf8cb41a
2017-03-10 12:26:11 -08:00
Shawn Yang
de4541524a IMS config
Change-Id: Ic8587247eb105b2f479c124f9f01a7812b22cc3d
2017-03-10 01:00:18 -08:00
Thierry Strudel
e8f2d0389c Import pixel2017 common inherit-product
Change-Id: If606e4669311769c43f17f11337623ffa5a83f03
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-10 01:00:10 -08:00
Thierry Strudel
f5c5f77146 BoardConfig: enable USES_HWC2 + USES_HWC2ON1ADAPTER
Change-Id: I60da06143999e5c2075f2c2ec34fb90497effbdc
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-09 22:25:38 -08:00
Mikhail Naganov
1238fe2b24 Partial revert "audio: enable usb audio tunnel support"
This partially reverts commit 6616d417ce84c0f235396af90bb66e4c83f5c550.

Bug: 36049443
Change-Id: I5ee9de31ab5e80620d2f63ce7e0208fe3a199ce6
Test: none
2017-03-09 09:17:11 -08:00
Yifan Hong
d2f0696c36 Merge "Add bitness information to manifest.xml" 2017-03-08 23:34:42 +00:00
Ecco Park
e902f3ec6e Update config.xml
1) enable Hotspot & Tethering
2) set Brightness
3) GPS configuration
4) wifi configuration
5) USB port setting
6) tcp buffer tune parameter
7) modem setting
8) Bluetooth Setting
9) camera setting
Bug: 35442182

Change-Id: I3e893b93243a4a604d5355bbee13522df1c800bd
Signed-off-by: Ecco Park <eccopark@google.com>
2017-03-08 14:30:23 +00:00
TreeHugger Robot
f9bbc6211c Merge "BoardConfig: default to console OFF" 2017-03-08 03:13:46 +00:00
Yifan Hong
a6a066a10c Add bitness information to manifest.xml
Bug: 35966597
Test: walleye boots
Change-Id: I0e8d02fa5886c29df6c231b788bce6b136c5bc4c
2017-03-07 19:03:01 -08:00
TreeHugger Robot
07f481796c Merge "Preload APNs for Muskie/Walleye/Taimen" 2017-03-08 02:13:42 +00:00
TreeHugger Robot
e8534fe61e Merge "fstab.hardware: userdata add 'formattable' flag" 2017-03-08 01:31:56 +00:00
Shawn Yang
3d3c640e97 Preload APNs for Muskie/Walleye/Taimen
Bug:36007523
Change-Id: I0c55a044650e0895d593aaf2459011ff209d8fcd
2017-03-07 16:43:38 -08:00
Thierry Strudel
7a89dd8b49 BoardConfig: default to console OFF
Change-Id: I920323a5d3e3b0e89f20ac911f800b3c0d8629a2
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-07 16:27:33 -08:00
Thierry Strudel
343ccbc641 fstab.hardware: userdata add 'formattable' flag
Allows device to boot when it's empty or erased.

Change-Id: I0cd4dc775b72ba73a42ed974e67fa43b31d08e8b
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-07 14:21:21 -08:00
Jim Miller
8e3373b6ed Add fingerprint navigation support to muskie
Test: manual; enable navigation and ensure direction is correct and
that keys no longer navigate in launcher.
Fixes: 35758627
Change-Id: I0df5a060aacaed75db84d21c9378f6ed3e180c1b
2017-03-07 11:51:57 -08:00
John Dias
8ce93aa9d4 Merge "wahoo: fbe: share fstab between devices" 2017-03-07 08:27:33 +00:00
Nick Desaulniers
f6b2bb9a69 wahoo: fbe: share fstab between devices
Bug: 34250938
Change-Id: Ifaaf89b7dac034a0a1cf0248216162c6b4c57cd7
2017-03-06 14:08:41 -08:00
Roshan Pius
64c7518054 hal_wifi: Allow wifi hal to access LOWI server
HAL wifi creates a LOWI client for accessing the LOWI server to share
wifi gscan results for location purposes.

Denials:
03-04 04:20:09.956  4796  4796 I android.hardwar: type=1400
audit(0.0:97): avc: denied { search } for name="location" dev="sda35"
ino=3850313 scontext=u:r:hal_wifi_default:s0
tcontext=u:object_r:location_data_file:s0 tclass=dir permissive=1
03-04 04:20:09.956  4796  4796 I android.hardwar: type=1400
audit(0.0:98): avc: denied { write } for name="location-mq-s"
dev="sda35" ino=3850337 scontext=u:r:hal_wifi_default:s0
tcontext=u:object_r:location_data_file:s0 tclass=sock_file permissive=1
03-04 04:20:09.956  4796  4796 I android.hardwar: type=1400
audit(0.0:99): avc: denied { connectto } for
path="/data/misc/location/mq/location-mq-s"
scontext=u:r:hal_wifi_default:s0 tcontext=u:r:location:s0
tclass=unix_stream_socket permissive=1

Bug: 35959128
Test: Device boots up and able to connect to wifi network.
Denials no longer seen. Previously some wifi HAL calls would take
a long time to complete because it tries to create a LOWI client for
every request and fail.

Change-Id: Ic882901098820a56ae171432b2d56e9604d2388a
2017-03-06 11:27:36 -08:00
Thierry Strudel
4e18dc435b Import common file from device specific directory
Test: boot, basic functionality
Change-Id: I9c07718b481730c3388f99c5e1eff17c9fd75a7b
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-04 23:34:45 -08:00
Thomas Joseph Avila
31d86a69a6 Initial empty repository 2016-08-25 09:49:52 -07:00