For gs101 devices, we must detect whether a wireless charger exists at
runtime, otherwise we'd need to create separate Health.cpp for each
product in order to instantiate the wireless path correctly.
Test: Ensure battery defender triggers via wireless connection.
Ensure there are no warnings for devices that do not have a wireless
charger
Bug: 165954398
Change-Id: Ibba202293141c017d3048980b643a80b5fb57ca4
We should wait for the Android SC SDK finalization.
Remove the unnecessary "BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE".
Test: Build successfully and the device is bootable
CtsOsTestCases: android.os.cts.BuildTest#testSdkInt pass
Bug: 187023500
Change-Id: Ib9adbb7a7c913790994a06ae1a57f95eebf84a78
The HIDL interface of "android.hardware.memtrack" is no longer supported for Android S.
Test: atest VtsHalMemtrackTargetTest pass
Bug: 186539435
Change-Id: Iaafd526fc5a601f7e8189ec764399d99c660beb0
This is a manual porting from ag/10344396.
Replace the usage of "persist.vendor.verbose_logging_enabled" since we are not using
this property for Whitechapel.
Use the default property "persist.dumpstate.verbose_logging.enabled" instead.
Test: atest VtsHalDumpstateV1_1TargetTest pass
Bug: 186539439
Change-Id: I3f0d35647c0748d360b12d3be078d514f99d23d5
For dump these informations into bugreports and debugging
Bug: 186872139
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I5e4efd83b1ae111a423cb13e1c35f31766f98252
Need setting information for debugging
Bug: 186872139
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: Iaf7345a4f38a67c4134f5cb23050b5f5e6ba7fdd
This collects the output of "usf_reg_edit save -" and adds it to the
bugreport. It is only done on userbuilds for PROTO* and EVT* devices.
Bug: 187081112
Test: Run "adb bugreport <zip>" and verify it contains the output
from "usf_reg_edit save -".
Change-Id: Ie68b56a3bb211840f33bdb5afbc31b0759641c8e
modprobe is smarter about locating .ko files if they are stored in
subdirectories. For example, it finds heatmap.ko regardless of whether
it's stored in /vendor/lib/modules/heatmap.ko or
/vendor/lib/modules/extra/heatmap.ko. modprobe also loads all
dependencies automatically. Let's migrate from insmod to modprobe.
Bug: 185184472
Change-Id: I810709b8053f3bf3bbec18bcaa37780289388e07
The original edgetpu_service is now split into two, where the
original one stays under /system_ext/ and the new one,
edgetpu_vendor_service, now locates under /vendor/.
This change updates files including device.mk accordingly to
ensure these services are setup properly on P21.
Bug: 185432427
Test: Oriole + GCA
Change-Id: I5b0eff64f2f044a56bc14cf5e1d92ec3463560a9
Bug: 183467815
Test: 1. Enable tcpdump_logger always-on function
2. Dump bugreport
3. Pull dumpstate_board.bin and chagne it to zip
4. Unzip dumpstate_board.zip and check if tcpdump files
are there.
Change-Id: If5fc2fe8ff4bfc0beb91ff973cc3d8137fd7cc47
Currenlty, kernel modules are only looked for in /vendor/lib/modules/.
With this change, we enable kernel modules to be stored under paths that
contain the kernel version string e.g.
/vendor/lib/modules/5.10.31-gd527c4be4795-dirty/
This aligns better with the kernel build system.
Bug: 185184472
Change-Id: I40db76f0409808700acd2d5524f8f3d606b3114f
This reverts commit 2207cb4b9f.
Reason for revert: uwb power controls are in place
Bug: 183896897
Change-Id: Ib52de732dc86f7fe8a3d688a34d32034de26e031
Signed-off-by: Victor Liu <victorliu@google.com>
Now that USF can support the default fragment size, we can migrate back
to the generic HAL.
Bug: 168941570
Test: Load nanoapp via HAL
Change-Id: I8ddf892cd7c702ab2a549cfff521b24aadd6cf2c