Fixed Felix HAL VibratorHalCs40l26TestSuitePrivate
3 failed tests:
- VibratorTest#on
- VibratorTest#perform/CLICK_LIGHT,
- VibratorTest#perform/HEAVY_CLICK_STRONG.
Moving the mActiveId_mutex to a global variable caused issues with the #perform/HEAVY_CLICK_STRONG test failing to call the HwApi and the #perform/CLICK_LIGHT test failing due to an outdated timeout value. Additionally, the intensifyToVolLevel function was returning an incorrect value, requiring a check to be added to the testing function.
Bug: 373761684
Flag: TEST_ONLY
Test: Ran VibratorHalCs40l26TestSuitePrivate.
Change-Id: Ibcdbc874c5c96644f3f647cc240b5012907253d4
Signed-off-by: Zouberou Sayibou <zouberou@google.com>
Flow:
1. If the calibration file exist, use the value.
2. If no property, use the default setting {5,95}.
Bug: 356823441
Bug: 322937989
Test: Check dumpsys records for the scaling results.
case1: no calibration file and properties.
case2: valid property range
case3: float property (invalid)
Flag: EXEMPT bugfix
Change-Id: Ia3e89f34189e9725ab01d85d931925129745608c
(cherry picked from commit 4063493a64fcd0f20b49a492106f58b0e3349c5c)
We've started pushing init.insmod.*.cfg into the kernel prebuilts, and
installing it to /vendor_dlkm/etc, but it may not be available on all
prebuilt variants (e.g., kernel 5.10).
Here, we:
1. conditionally install our common init.*cfg to /vendor_dlkm (only if
$(TARGET_KERNEL_DIR) doesn't have a copy)
2. point init at /vendor_dlkm/etc
When we've cycled completely off of kernel 5.10, we can drop #1.
Bug: 369686096
Test: build, boot
Flag: EXEMPT refactor
Change-Id: If8f879366645cbe9bf330d136dd7190763b2d6bc
Module `modem_svc_sit` is not valid unless:
* USES_LASSEN_MODEM is true
* BOARD_WITHOUT_RADIO is NOT true (or NOT set)
Devices in gs201 family will set "USES_LASSEN_MODEM := true"; however,
not evevy gs201 device disables BOARD_WITHOUT_RADIO.
This commit defines PRODUCT_PACKAGES `modem_svc_sit` because it is
converted from bp by moving the if-statement constrain from the module
level to device level, device-felix.mk in this case.
Flag: EXEMPT refactor
Bug: 358485346
Test: m modem_svc_sit
Change-Id: Ib57ffeb545ca52eea47f2415c7ce020ba73f2c24
Temporary move the definition from main repository to manage visibility
and prevent aosp without vendor build fails
Bug: 362659323
Test: Build pass
Flag: EXEMPT refactor
Change-Id: Ie3bb23838743df1f75261fd530652dcf55b6a643
am skip reason: Merged-In I60fb3fb1d4ddae9ce7a3b07a5392b12e76c388dc with SHA-1 411eed6900 is already in history
Original change: https://android-review.googlesource.com/c/device/google/felix/+/3258591
Change-Id: I7283236099c4fd8e256b7a7aa4ea62fc9197d0eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
am skip reason: Merged-In I60fb3fb1d4ddae9ce7a3b07a5392b12e76c388dc with SHA-1 411eed6900 is already in history
Original change: https://android-review.googlesource.com/c/device/google/felix/+/3258591
Change-Id: I3fcfac340d487f0ca43c94aa838e663352524bbe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
The Android are now based on Trunk Stable world and Pixel prebuilts CLs
also needs to reply with this which controlled by the flag which results:
- the flag value might be different on each branches
- the flag value are mostly different on each release configuration
- for local builds, ENGs' needs to figure out the correct location
of current prebuilts by checking through entire prebuilt textproto
files
To alleviate this problem, create an symlink file under android root
indicates current prebuilt path after invoke the android lunch cmd.
Bug: 364831620
Flag: EXEMPT export current prebuilt path
Change-Id: I08d009b79c5d15c078bfbeb3f191271e154cd508
Signed-off-by: Robin Peng <robinpeng@google.com>
Add PWLE header formatting to user side driver to support new kernel
driver and SVC and DVL for OWT effects.
Bug: 279055885
Bug: 361011775
Flag: EXEMPT bugfix
Test: idlcli
Change-Id: I3b447962cc46ab57cf145072bc30303786f581ad
Signed-off-by: Nathan Kulczak <nathankulczak@google.com>
It improved 55% surfaceflinger janks in photos_playgca30fpsvideo cuj test case.
Test: Build and power measurement
Bug: 336872050
Flag: NONE powerhint change does not support flags
Change-Id: Idad3394e5ac9d1d275f144e2d1304a115b7dc3af
Signed-off-by: Chungkai Mei <chungkai@google.com>
- avoid wrong sensor value reading for thermalHAL
Bug: 327327502
Test: Build to boot to home
Flag: EXEMPT (bug 337358613)
Change-Id: I93cbfa767a8d882eba526d72ce9ba3c389cd0a1e
Signed-off-by: Peter (YM) <peterym@google.com>