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>
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
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
Userspace code expects the same value to be set on sys.usb.state
as sys.usb.config.
Bug: 37491031
Test: verified that the same props are set.
Change-Id: I62246df765d96a3da5529a40fa4a4cff7a5a56ce
Moving folio_daemon out of group/user of root and into group/user of
system to fix the dac_override selinux denial it was generating when
trying to access /dev/uinput
Bug: 38031432
Test: The phone boots and folio daemon encounters no denials
Change-Id: I48feab07eeffc90b73fabce46394c53a2278e5ca
With this CL, wahoo devices have the same status with marlin/sailfish
in terms of vndk-sp libs.
Bug: 37550338
Bug: 37483222
Test: RenderScript apps work (e.g. CameraScript)
Test: boot successful without following message:
failed to load /vendor/lib64/egl/libEGL_adreno.so from sphal namespace:
dlopen failed: library "libcutils.so" not found
Change-Id: I4a2159395904c2597ed74785b00dca4487aea715
Permission settings that are required by HAL services need to be moved
to early-boot to avoid race.
Bug: 38043660
Bug: 36571736
Change-Id: I1397816a162e8ef4ed557e6eea3539201dc57e3b
Signed-off-by: David Lin <dtwlin@google.com>
Change the name and interface of UCE HAL to IUceService/uceservice0
Test: Ensure imsrcsd comes up and connects to UceShimService
lshal should show the proper HAL
Change-Id: Ic6c1fdbbd44411519fa3313d5d03075616c8f6ce
Test: make
This change is fixed in M/S late mr2 after the bring-up effort for M/W,
so need to be cherry-picked here
Bug:36797103
Change-Id: I39d6e9a3b8f182f5e67f1e6b1044ea3945a5e310
This patch updates the click waveform to use 6 ms full amplitude as well
as switching to open-loop mode for any duration that's less than 20 ms.
The medium and strong now shares the same strength to provide a stronger
default feedback.
Bug: 37952639
Test: keyboard and home key taps
Change-Id: I00086e47e41d97ce8363ba4032eeab320ad1b765
Signed-off-by: David Lin <dtwlin@google.com>