summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Badhri Jagan Sridharan <badhri@google.com> 2021-12-27 02:50:50 -0800
committer Ricky Niu <rickyniu@google.com> 2022-01-24 21:30:05 +0800
commit7212c8fda4942546a33f632ea5247ceb73005a4d (patch)
tree3e91efea48a74dd3bdc8bd90318c607e308dd5ef /api/api.go
parentbdbb2d15beeda11b94d1008061dd071902067b0b (diff)
Add systemApis to allow data transfer over USB-C while being docked
This change adds two systemApis to UsbPortStatus viz., a. getUsbDataStatus: Allows caller to infer whether USB data is enabled. b. getPowerBrickStatus: Allows caller to infer whether a power brick is connected to the USB port. The change also adds enableUsbDataWhileDocked systemApi to UsbPort to enable Usb data momentarily. Bug: 211677613 Bug: 213312081 Test: Manually tested on tablet CTS-Coverage-Bug: 215019881 Signed-off-by: Badhri Jagan Sridharan <badhri@google.com> Change-Id: Ib7521f0f04b7f8e3e58dc253b28072d3631f21a7
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions