13 Commits

Author SHA1 Message Date
Eamon Powell
3bc717a973 wahoo: Remove hardware/qcom/msm8998 from soong namespaces
We have gpt-utils in tree instead and don't sync this.

Change-Id: Id7afad6c0c789f6e5ba0bd28b58e173c2ca99d13
2024-06-08 21:51:33 +08:00
PixelBoot
a78fe1622c wahoo: move bootctrl to device specific trees
Since we've adapted libgpt-utils to specific trees, bootctrl needs that too.
2024-06-08 21:50:46 +08:00
Tao Bao
a849cfd45b Revert^2 "Deprecate PRODUCT_STATIC_BOOT_CONTROL_HAL.""
This reverts commit d83c2cc22b.

The previous landing broke checkbuild targets due to namespace issue.
See the commit message for hardware/qcom/msm8998 change.

Bug: 34254109
Test: Build and boot taimen on device to home screen.
Test: Sideload on taimen.
Change-Id: I775026345eb5fc0ec580ba4ca0282835106a1d35
Merged-In: I775026345eb5fc0ec580ba4ca0282835106a1d35
(cherry picked from commit 4fa8e49020)
2019-05-22 15:01:15 -07:00
Vincent Palomares
63be0fdf50 Fixing missing thermal HAL on Taimen/Walleye.
Importing root of hardware/google/pixel instead of just the thermalhal
subfolder.

Bug: 121157758
Test: pts -m PtsThermalHalTestCases
Change-Id: I2ed066802c06c03ddabf8329776718424bcc0ad3
Signed-off-by: Vincent Palomares <paillon@google.com>
2018-12-17 17:10:29 -08:00
Vincent Palomares
9548490218 Upgrading Walleye and Taimen's thermal HAL version to 2.0.
Bug: 118689758
Test: adb shell dumpsys hardware_properties
      adb shell su 0 lshal debug android.hardware.thermal@2.0::IThermal/default
      pts -m PtsThermalHalTestCases
      vts -m VtsHalThermalV1_0Target
      vts -m VtsHalThermalV2_0Target
Change-Id: I089c54c722089f12affae488c81c039405839b5e
Signed-off-by: Vincent Palomares <paillon@google.com>
2018-12-10 16:18:27 -08:00
Kelly Rossmoyer
dd8e312ff6 Revert "PowerHAL: add debug support for low power stats"
This reverts commit 1000b4e9fa.

Reason for revert: Broke build of partner-q-fs-release-generic-fs/mini_arm64-userdebug, which apparently has the device/google/wahoo project but not the hardware/google/pixel project.

Bug: 118339706

Change-Id: Ie6331a07b39267a8543fa0eacc0c7cd872d67119
2018-10-24 16:49:43 +00:00
Kelly Rossmoyer
1000b4e9fa PowerHAL: add debug support for low power stats
The HAL API includes a "debug" interface that can be invoked from the
command line to get debug output for a particular HAL.  While the
existing PowerHAL implementation includes support for the "debug"
interface, it only includes data for the performance hinting side of the
HAL.  To facilitate device troubleshooting (not just of the HAL itself,
but of power drain), this change expands that implementation to also
include the output from calls to getPlatformLowPowerStats() and
getSubsystemLowPowerStats().

On existing in-market devices where this support is present, the command
    lshal debug android.hardware.power@1.3::IPower/default
will produce the "debug" output.

The code for dumping the PowerHAL stats data is generic across
device-specific PowerHAL implementations, so it is all pushed up into a
new library (see topic CLs) that will eventually host additional
PowerHAL implementation code.

Bug: 116750864
Test: Ran code on an active P17 device.
Test: Added temporary test code (triggered by appending " test" to the
command above) to cover all base cases of data being present absent
(test code is included in first uploaded patchset on the corresponding
crosshatch CL).

Change-Id: Id97534a2a9fe05bbca614c763c907daea37e9723
2018-10-17 21:48:09 +00:00
Hridya Valsaraju
c5a707bc2f Add health service for Wahoo
Bug: 68388678
Test: vts-tradefed run vts -m VtsHalHealthV2_0

Change-Id: I37c2c66d26b1af04ccfedb59a24bb4e4aa492041
2018-01-11 10:43:09 -08:00
Todd Poynor
5017c68f1d thermal: convert Thermal HAL from standalone service to library
Thermal HAL to be loaded by the vendor thermal-engine executable, in
prep for notifications of thermal events from thermal-engine via
Thermal HAL.

Bug: 30982366
Test: VtsHalThermalV1_0Target on walleye
Change-Id: Ie95d90b79bf6ed10593ebf3ec5accc278fda8720
2017-09-20 18:03:55 +00:00
Badhri Jagan Sridharan
fc32e28be9 USB: HAL: update wahoo hal to V1_1
This CL adds support to notify frameworks when an audio
or debug accessory is attached.

Bug: 36604276
Test: Manually test inserting an Audio accessory.
Change-Id: I9ec0f88ed85ed593b31132ba58bfedb51a435cd8
2017-04-26 21:09:10 +00:00
Sohani Rao
8e2f6a5cdd Replace make file with soong
For WifiOffload HAL, comply with soong format

Test: VTS test
Bug: 32842314
Change-Id: I1af37efd20e3dc75bc40b8a7fa4f19b428c6f232
2017-04-10 18:20:17 -07:00
David Lin
971ea5d074 vibrator hal: add support for drv2624 haptics driver on wahoo
This adds the vibrator HAL that implements the new setAmplitude and
perform(Effect) API.

Test done: vibrator_hidl_hal_test
Bug: 36782452

Change-Id: If9988434277790becb469d4dd928e75f7e6af41a
Signed-off-by: David Lin <dtwlin@google.com>
2017-04-05 12:44:20 -07:00
Craig Donner
29a50004fa Add VR feature flags and HAL.
Bug: 36097960
Bug: 36462741
Test: adb shell lshal on device, successfully ran Daydream Home, though I'm
seeing some crashes in various things.
Change-Id: Id1af18701e2021ab8c3de7889ec71c316fe4420c
2017-03-29 21:51:11 -07:00