Increase check to switch USB device to AOAP timeout

The time betweeen the call to check if a device can be switched to AOAP
and the actual result is about ~7 seconds. It times out and hence the
rest of the USB flow fails.

Note the following logs:

2020-07-14 07:30:13.818 1623-2106/android.car.usb.handler D/AoapServiceManager: initiating canSwitchDeviceToAoap
2020-07-14 07:30:20.005 2625-2625/com.google.android.embedded.projection D/AAP.AoapSupportCheckService: canSwitchToAoap received for 88JY0149Z result: 0

Bug: 148495409
Bug: 165548276
Test: Set wireless projection off, connect the MD over USB and manually reboot the HU. Ensure the Android Auto icon turns blue after the reboot.
Merged-In: Id2562651b6378f70c819005b2d9b288bc7ee79cb
Change-Id: Id2562651b6378f70c819005b2d9b288bc7ee79cb
(cherry picked from commit d5b2148b1f0f39ad57d165832cd5d94bd4669924)
1 file changed
tree: 4a89aee2071ead9dfa4671b9d92a5e034f568385
  1. car-bugreportd/
  2. car-default-input-service/
  3. car-internal-lib/
  4. car-lib/
  5. car-maps-placeholder/
  6. car-systemtest-lib/
  7. car-test-lib/
  8. car-usb-handler/
  9. car_product/
  10. computepipe/
  11. EncryptionRunner/
  12. evs/
  13. experimental/
  14. FrameworkPackageStubs/
  15. obd2-lib/
  16. packages/
  17. procfs-inspector/
  18. service/
  19. surround_view/
  20. tests/
  21. tools/
  22. user/
  23. vehicle-hal-support-lib/
  24. watchdog/
  25. .clang-format
  26. .gitignore
  27. Android.mk
  28. CleanSpec.mk
  29. CPPLINT.cfg
  30. OWNERS
  31. PREUPLOAD.cfg
  32. README.md
  33. TEST_MAPPING
README.md

Native (C++) code format is required to be compatible with .clang-format file. Run

git clang-format --style=file --extension='h,cpp,cc' HEAD~

Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.