summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Ashish Kumar Gupta <kumarashishg@google.com> 2024-07-31 16:02:29 +0000
committer Ashish Kumar Gupta <kumarashishg@google.com> 2024-08-08 13:46:41 +0000
commitaec6c731bfdbe7f0fe537948563a7aeee5cf05e2 (patch)
tree9bdde09b5d4c95f9fa5adaf906de40c7f9e0b746 /api/api_test.go
parent74b1670db73294410c3110394129ac0d9bf963a0 (diff)
Set no data transfer on function switch timeout for accessory mode
In case of function switch times out, we will check whether the last function set was accessory. If this is the case, it is recommended to set the function to NONE(No data transfer) rather than setting it to the default USB function. Bug: 353712853 Test: Build the code, flash the device and test it. Test: atest CtsUsbManagerTestCases Test: run CtsVerifier tool Test: atest CtsUsbTests Change-Id: I698e9df0333cbb51dd9bd5917a94d81273a2784a Merged-In: I698e9df0333cbb51dd9bd5917a94d81273a2784a (cherry picked from commit 7c6ec68537ba8abf798afd9ab7c3e5889841171f)
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions