Commit Graph

8 Commits

Author SHA1 Message Date
Howard Yen 4b39e552fd Update USB Gadget HAL to V1.1 implementation am: b1eb3c4c18
Change-Id: I7df27bf5bba949b06541591f68683c36e1267f63
2020-05-29 21:22:26 +08:00
Howard Yen 31b4aa302c Update USB Gadget HAL to V1.1 implementation
Bug: 138702846
Test: build pass, function works
Change-Id: I82a74d31f4339e4b4b8c59d879871550b943a36e
2020-05-29 21:22:25 +08:00
raychi 7103885af8 UsbGadget: change the permission
There is no necessary to get root permission for USB Hal.
Therefore, this commit will remove the root permission.

Bug: 154895957
Test: build pass and verified USB HAL
Change-Id: Ib88e4dc124a8b5b803989b51c2e8c085d9b2e65e
2020-05-29 21:22:23 +08:00
Kyle Tso 29edf80f17 Do not enable Moisture Detection if vendor prop is set
setprop vendor.usb.contaminantdisable true
disable contaminant detection.

Bug: 154985161
Test: setprop vendor.usb.contaminantdisable true
Change-Id: I2cfd5baab45074f2ca68216cb5d8b9790d711b75
(cherry picked from commit 21e7d5aec7e3e5b9b032b71a3153310376a46ae2)
[separated the commit into rc part and HAL part]
Signed-off-by: Kyle Tso <kyletso@google.com>
2020-05-29 21:22:20 +08:00
Badhri Jagan Sridharan 606ee94a25 Do not moisture detection when uart is enabled.
Bug: 154985161
Test: Tested with mock circuit. Moisture detection does not
reenable when serial uart is enabled.

Change-Id: If7d43227a603a5645d4c581477cb9c144c5e9d86
(cherry picked from commit ccc09ed8a9b826d56f685d0e618e1f3cc0403c12)
Signed-off-by: Kyle Tso <kyletso@google.com>
2020-05-29 21:22:19 +08:00
Steven Moreland 178f2195e1 Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I82b2f09a41aaffd30e943b87c0a84bc85fdf4c14
2019-10-02 12:49:06 -07:00
Kyle Tso db19b2e35f UsbGadget: Add specific vendor function composition
New vendor function composition:
diag,serial_cdev,rmnet_gsi,dpl_gsi,qdss

Bug: 141654033
Bug: 141667188
Test: Build pass
Change-Id: Ib2719bb944ee9a7f87ad90c4e6649982a61988fe
Signed-off-by: Kyle Tso <kyletso@google.com>
2019-09-26 09:22:03 +00:00
Alex Hong 1c2dbd8222 Create aosp_redfin target
Bug: 139478768
Change-Id: I061f89a72b5e7b81280406abf85cca479b86f340
2019-08-19 12:39:55 +08:00