| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
Loosely adapted doOemCommand from pixel fastboot HAL.
Test: fastboot oem getprop ro.boot.project_codename
(bootloader) ro.boot.project_codename:lemonade
OKAY [ 0.000s]
Finished. Total time: 0.000s
Change-Id: Ied18e52a793a2fab62bb6a01a713c1c421b634fa
|
| |
|
|
|
|
| |
* Copied from mock 1.1 impl
Change-Id: I7ed50695bedaf1918571171dedf0e5f348b4cbae
|
| |
|
|
| |
Change-Id: I0ecfa9b862b918f04db20980800d59c5b4a4e8c6
|
| |
|
|
|
| |
Change-Id: I212501f4c93b875c8a1c280d17c319a5fb8e303f
Signed-off-by: LibXZR <i@xzr.moe>
|
| |
|
|
| |
Change-Id: I0bf9b8918b11a9ef6ce85c56ca85377b2031b114
|
| |
|
|
|
|
| |
* to Handle Nodes used to Enforce High Touch Polling Rates
Change-Id: If89c7d4e59004ee078db87e590a4b487e003d252
|
| |
|
|
| |
Change-Id: Id8f7bd48e61ecb347ac709b8eaf706ac87b298aa
|
| |
|
|
| |
Change-Id: I2dbdb2a2b31a2aaeaa536f89e23cfd129c4dbf8e
|
| |
|
|
|
|
| |
This reverts commit f20c5f4f9e5280105f9df6f8c84b640ee3cedfa4.
Change-Id: I02b7499fa381a3de6dcad76562436f3d57185772
|
| |
|
|
| |
Change-Id: I47649ac964e413321a0898491cae0a6fade4fb30
|
| |
|
|
|
|
| |
* All the user must migrate to AIDL
Change-Id: I3fe112a682b2c4eccc75213f0dc53610037947ae
|
| |
|
|
|
| |
* Corrected by update-makefiles.sh
Change-Id: I7db3ab604472de1f8cdf01305028718267be6ef8
|
| |
|
|
| |
Change-Id: I78c3b410d30b740f3f26c063336affaac0231eff
|
| |
|
|
|
| |
Signed-off-by: Felix <google@ix5.org>
Change-Id: I10dc4056071db08acdbc24c05db1093d8e020211
|
| |
|
|
|
|
|
|
| |
Since these were combined into libhidlbase.
Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: Iba2cd20b8b20fac3e7564de6b853b475fd4ebd2a
|
| |
|
|
| |
Change-Id: Iffc638b3bf747be07e9ce34278edeb546b905948
|
| |
|
|
|
|
|
|
|
| |
* Remove unused variables.
* Return result of registerAsService().
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I79d1add6190e835de20a0b0c247bbbb259096c14
|
| |
|
|
|
|
|
|
|
|
| |
To prevent property name collisions between properties of system and
vendor, 'vendor.' prefix must be added to a vendor HAL service name.
You can see the details in http://go/treble-sysprop-compatibility.
Test: succeeded building and tested on a walleye device
Bug: 36796459
Change-Id: Idc995c550657feca5e0f934444a31805bc3538f9
|
| |
|
|
|
|
|
|
|
|
|
| |
pthread_cond_timedwait used wall time so it might introduce racing,
pthread_cond_timedwait_monotonic_np is Android specific but it is being
deprecated. And now Android support pthread_condattr_setclock so use it
to wait on CLOCK_MONOTONIC instead.
Bug: 64623895
Test: USB switch function works, charging/MTP/PTP
Change-Id: I136533ff90ef1be2b042ef1e0829643f2f7aa968
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds a thread that handles add uevents of USB devices, and
enables auto suspend on that USB device (i.e. set power/control
to auto) if the device idProduct/idVendor is whitelisted.
The android kernel will already autosuspend audio devices,
however this enables autosuspend for the Google USB-C to
3.5mm adapter, which presents an HID-only interface when
no 3.5mm headset is connected.
Test: with the selinux and .rc changes for access permission
- MIR without headset: power/control set to auto
- MIR with headset: power/control set to auto
- regular mouse: power/control set to on
Bug: 38352281
Change-Id: I81572584ea02f6bdc814e70ab3439ab86c34a50a
|
| |
|
|
|
|
|
| |
This allows USB HAL to write USB sysfs nodes.
Bug: 38352281
Change-Id: Iaf8f1bad1a0394e553996b7a42bc34745b769b16
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Use 1.1 IUsb in order to make register the service as 1.1 compatible.
This enables lshal to recognize the hal service as 1.1 implementation.
Bug: 62917546
Test: Manually verified lshal output
android.hardware.usb@1.0::IUsb/default 0/1 782 6024 568
android.hardware.usb@1.1::IUsb/default 0/1 782 6024 568
Change-Id: I9b0817841dbcc345a1d854ee4a5193797181ea3f
|
| |
|
|
|
|
|
|
|
|
|
| |
This CL rebases wahoo HAL based on the kernel change to update
sysfs interface.
https://partner-android-review.googlesource.com/#/c/836088/
Bug: 62272992
Test: Verify USB dialog on wahoo
Change-Id: I8bc8f494176c7648abeb9783fbd18dc837793bda
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
registerAsService call could fail. Hence check the return value.
Bug: 36704362
Change-Id: I46dcd74dbee6aba72cf344f10854e5d4b1b6de18
|
| |
|
|
|
|
|
|
|
|
|
| |
By default, it is expected that the service does not rename itself
unless there is more than one service exposed by the interface. This
CL changes the usb hal service name back to "default" instead of
"usb_hal"
Bug: 36097487
Test: Manually tested role swap and UI behavior
Change-Id: I4a0aa4423c80cd893c578bc58b9276956daba732
|
| |
|
|
|
|
| |
Bug: 36097487
Test: Manually tested role swap and UI behavior
Change-Id: I5ce520da521e0714001b60164ac850dddbd644c3
|
| |
|
|
| |
Change-Id: Ib5e1d0f3bfb6974ce37d1da624dd8d8f9302e542
|
| |
|
|
|
|
|
|
|
|
| |
Calling invalidate() API twice would lead to fatal error. This
commit is to check if interface isValid() before doing other operations
in invalidate() API.
Bug: 166412651
Test: atest VtsHalWifiNanV1_4TargetTest WifiNanIfaceTest
Change-Id: Ia3fc48bb3d98660705bba9a32b7a5845ff7af79f
|
| |
|
|
|
|
|
|
|
| |
Now wifi_wait_for_driver_ready can return WIFI_ERROR_UNKNOWN also
thus update return status handling.
Bug: 157090295
Test: Basic function test, SSR test
Change-Id: Iea459bc2801418b1b21d15ce1ca3da9be64a4fe3
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Forces ringbuffer updates before writing zipped files to bugreport.
Also properly resets the ringbuffer callback when it's deregistered.
Bug: 161307741
Test: make vts -j64 && vts-tradefed run commandAndExit vts --module VtsHalWifiV1_0Target
Test: manual verification with triggering a bugreport
Test: manual verification with wifi toggles
Change-Id: I74deffda917054e20cfcf4f0dd90d778626c89d3
Merged-In: I74deffda917054e20cfcf4f0dd90d778626c89d3
(cherry picked from commit 0a0fe51a6aa50a4ade84ad26207fef45ed2c9c3e)
|
| |
|
|
|
|
|
|
|
|
|
| |
Service vendor.wifi_hal_legacy should add all supported interface
into relevant .rc files.
Bug: 160377428
Test: Wifi presubmit tests
Change-Id: I68e8d3e7ddb1470a92c5ccd30f6d4d5f90ad9e37
Merged-In: I68e8d3e7ddb1470a92c5ccd30f6d4d5f90ad9e37
(cherry picked from commit ca7a8c9559ecc330160c52eb26874300ff8fd215)
|
| |
|
|
|
|
|
|
|
| |
We aren't allowed to change VNDK library list, see following error msg:
Added VNDK-core: vendor.lineage.power-V1-ndk_platform.so
error: VNDK library list has been changed.
Changing the VNDK library list is not allowed in API locked branches.
Change-Id: I35dc9837740810278eb7e651471ec217ce065b5a
|
| |
|
|
|
|
| |
Based on the HIDL variant and redesigned the APIs.
Change-Id: I259ec61084c988db9b1a44e3c49060c51b95786a
|
| |
|
|
| |
Change-Id: I4d7f74d2191a94d46f89de6a764abcce6eeaf49a
|
| |
|
|
|
|
|
| |
* This support Mod battery levels along with
mod efficiency mode.
Change-Id: I4b4e88683ad6ce89ffc75a0aed951c31ec96fab4
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Several OEMs let the user decide whether to enable or disable quick
charging technology when using a quickcharge charger.
Samsung, for example, exposes a sysfs node to disable it at
will, depending on what the user sets in battery settings UI.
* Disabling fast charge may be useful for reducing the heat produced by
the device while charging, or for extending the lifespan of the battery.
* This commit introduces the fastcharge HAL to implement the possibility
to disable fastcharge at will by the user for devices that support
such feature.
Change-Id: I7ce6862d42e7087808fa6e1f023d6bb1f106fb0e
|
| |
|
|
|
|
|
|
|
|
|
| |
To prevent property name collisions between properties of system and
vendor, 'vendor.' prefix must be added to a vendor HAL service name.
You can see the details in http://go/treble-sysprop-compatibility.
Test: succeeded building and tested on device
Bug: 36796459
Change-Id: I4e8fbee791ec917a8f627a1366f4d44ec7e6febc
|
| |
|
|
|
| |
Signed-off-by: Felix <google@ix5.org>
Change-Id: I6d70bbdb66c3dce280bf6908c3750316a6f6cf70
|
| |
|
|
| |
Change-Id: Iaff504e5a7e6eea5045d3ed8723ed7af9d4c8398
|
| |
|
|
|
|
| |
* fixes bootloop when building system side trust
Change-Id: I39c6a8b7bcf63b8527ec9059cb86bfaeb4ca7a3d
|
| |
|
|
|
|
|
|
|
|
| |
C++20 will require members in a designated initializer to be in order
unlike C99.
Bug: 139945549
Test: mm
Change-Id: Ifdccde48c47c0495467f438002caf91cfdbd8091
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
|
| |
|
|
| |
Change-Id: I95bd460ad76d5cd9b3f5787a6267a8ade7408bef
|
| |
|
|
|
|
|
|
| |
(Includes bpfmt changes from repo hook)
Bug: b/146515640
Test: cts -m CtsCameraTestCases
Change-Id: Ibd882db1883e0976c2baf95257e51c29de6e6853
|
| |
|
|
|
|
|
|
|
|
|
| |
Caught by the static analyzer:
hardware/interfaces/camera/device/1.0/default/CameraDevice.cpp:401:9:
warning: Called C++ object pointer is null
[clang-analyzer-core.CallAndMessage]
Bug: None
Test: TreeHugger
Change-Id: Ia6d0a2ab4b4d04cfc171629c7dbf60ead181625d
|
| |
|
|
|
|
|
|
|
|
| |
Add support for gralloc 4.0 to camera interface.
Bug: 136016160
Test: VtsHalCameraProviderV2_4TargetTest on a pixel
with a local rev'd version of gralloc 4.0.
Change-Id: I7f2e14c291fbdafcb68c1e9c6e94fed87d810191
|
| |
|
|
|
|
|
|
| |
Breaks tethering in that clients are unable to connect to hotspot.
This reverts commit 3e64379225f4e782ad59b47b3e0fb577ac55b665.
Change-Id: Ia1bd604bfdf3e59119657a97e1c8a6151f495ebc
|
| |
|
|
| |
Change-Id: I07d9570f24484eeaf05fd43ccc9bd5a56ef85c3f
|
| |
|
|
|
|
|
|
|
|
| |
Devices can use the lazy wifi HAL to allow it to exit when wifi is not
in use.
Test: Flash walleye_svelte-userdebug and check that HAL only runs when
wifi is on.
Bug: 123307146
Change-Id: If20120f902a7e102372666447b39cf9fdad7d352
|
| |
|
|
|
|
|
| |
Bug: 156879576
Test: atest android.hardware.wifi@1.0-service-tests
Change-Id: I8505e343f5b2ea5ea522cbb2ea344ff8914aea3d
|