This is a work around waiting for a fix.
Bug: 36199345
Change-Id: Ie127f0cd7d8537125f44afdbc06cb0f97fbcf96c
Signed-off-by: Thierry Strudel <tstrudel@google.com>
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
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
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
Allows device to boot when it's empty or erased.
Change-Id: I0cd4dc775b72ba73a42ed974e67fa43b31d08e8b
Signed-off-by: Thierry Strudel <tstrudel@google.com>
Test: manual; enable navigation and ensure direction is correct and
that keys no longer navigate in launcher.
Fixes: 35758627
Change-Id: I0df5a060aacaed75db84d21c9378f6ed3e180c1b
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