aboutsummaryrefslogtreecommitdiff
path: root/car-usb-handler
AgeCommit message (Collapse)Author
2021-05-17Import translations. DO NOT MERGE ANYWHEREBill Yi
Auto-generated-cl: translation import Change-Id: I0dab592fe73bc1bb19895af6989aa6382fd8b856
2021-04-11Import translations. DO NOT MERGE ANYWHEREBill Yi
Auto-generated-cl: translation import Change-Id: I1496b22fe89450242936e9bc6866d0fd6db15e5d
2021-03-24Import translations. DO NOT MERGE ANYWHEREBill Yi
Auto-generated-cl: translation import Change-Id: I3cf07bb412d937072c54e7fd782f6fc8baefab79
2021-02-22[LSC] Add LOCAL_LICENSE_KINDS to packages/services/CarBob Badour
Added SPDX-license-identifier-Apache-2.0 to: FrameworkPackageStubs/Android.bp car-admin-ui-lib/Android.bp car-bugreportd/Android.bp car-internal-lib/Android.bp car-lib/Android.bp car-maps-placeholder/Android.bp car-systemtest-lib/Android.bp car-test-lib/Android.bp car-usb-handler/Android.bp car_product/rro/PermissionControllerRRO/Android.bp cpp/computepipe/aidl/Android.bp cpp/computepipe/example/Android.bp cpp/computepipe/proto/Android.bp cpp/computepipe/router/1.0/Android.bp cpp/computepipe/router/Android.bp cpp/computepipe/runner/Android.bp cpp/computepipe/runner/client_interface/Android.bp cpp/computepipe/runner/debug_display_manager/Android.bp cpp/computepipe/runner/engine/Android.bp cpp/computepipe/runner/graph/Android.bp cpp/computepipe/runner/graph/proto/Android.bp cpp/computepipe/runner/input_manager/Android.bp cpp/computepipe/runner/stream_manager/Android.bp cpp/computepipe/tests/Android.bp cpp/computepipe/tests/fuzz/Android.bp cpp/computepipe/tests/runner/client_interface/Android.bp cpp/computepipe/tests/runner/graph/Android.bp cpp/computepipe/tests/runner/graph/stubgraph/Android.bp cpp/computepipe/tests/runner/stream_manager/Android.bp cpp/evs/Android.bp cpp/evs/apps/default/Android.bp cpp/evs/apps/demo_app_evs_support_lib/Android.bp cpp/evs/manager/1.0/Android.bp cpp/evs/manager/1.1/Android.bp cpp/evs/manager/1.1/test/fuzzer/Android.bp cpp/evs/sampleDriver/Android.bp cpp/evs/support_library/Android.bp cpp/powerpolicy/client/Android.bp cpp/powerpolicy/server/Android.bp cpp/surround_view/app/Android.bp cpp/surround_view/service-impl/Android.bp cpp/watchdog/aidl/Android.bp cpp/watchdog/car-watchdog-lib/Android.bp cpp/watchdog/server/Android.bp cpp/watchdog/server/sysprop/Android.bp cpp/watchdog/testclient/Android.bp experimental/experimental_api/Android.bp experimental/service/Android.bp experimental/tests/Android.bp experimental/tests/experimentalcarservice_unit_test/Android.bp obd2-lib/Android.bp packages/CarDeveloperOptions/Android.bp packages/CarDeveloperOptions/tests/unit/Android.bp packages/CarShell/Android.bp procfs-inspector/client/Android.bp procfs-inspector/server/Android.bp service/Android.bp service/proto/Android.bp tests/BugReportApp/Android.bp tests/BugReportApp/libs/Android.bp tests/BugReportApp/tests/Android.bp tests/CarCtsFakeLauncher/Android.bp tests/CarLibTests/Android.bp tests/CarSecurityPermissionTest/Android.bp tests/CarVoiceServiceTriggerApp/Android.bp tests/DefaultStorageMonitoringCompanionApp/Android.bp tests/DiagnosticTools/Android.bp tests/DiagnosticTools/tests/Android.bp tests/EmbeddedKitchenSinkApp/Android.bp tests/GarageModeTestApp/Android.bp tests/MultiDisplaySecondaryHomeTestLauncher/Android.bp tests/MultiDisplayTest/Android.bp tests/MultiDisplayTestHelloActivity/Android.bp tests/NetworkPreferenceApp/Android.bp tests/OccupantAwareness/Android.bp tests/PowerTestService/Android.bp tests/SampleCustomInputService/Android.bp tests/SampleRearViewCamera/Android.bp tests/SecondaryHomeApp/Android.bp tests/ThemePlayground/Android.bp tests/UserSwitchMonitorApp/Android.bp tests/UxRestrictionsSample/Android.bp tests/android_car_api_test/Android.bp tests/carservice_test/Android.bp tests/carservice_unit_test/Android.bp tests/common_utils/Android.bp tests/obd2_app/Android.bp tests/obd2_test/Android.bp tests/usb/AoapHostApp/Android.bp tests/usb/AoapPhoneCompanionApp/Android.bp tests/vehiclehal_test/Android.bp tools/keventreader/client/Android.bp tools/keventreader/common/Android.bp tools/keventreader/server/Android.bp user/car-user-lib/Android.bp vehicle-hal-support-lib/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I5dae67878e6c8067c8c40750fba76d1a9b879128
2020-12-22Convert package/services/Car to Android.bpColin Cross
See build/soong/README.md for more information. Bug: 122333160 Test: mmma packages/services/Car Test: m RunCarLibTests Change-Id: Id6e8f4ef802959903a9893323177775d275aa300
2020-11-20Revert "Import translations. DO NOT MERGE ANYWHERE"Bill Yi
This reverts commit 37ac9c0b07a394882f7a98ca1d00e7d1d245cf12. Reason for revert: Incorrect import Change-Id: I06e718f6bfc23abf6c623258b1557704d7b7740f
2020-11-19Import translations. DO NOT MERGE ANYWHEREBill Yi
Auto-generated-cl: translation import Change-Id: I0eecb98828c59652763b7e0fa3a6ceb8c2e5b9ea
2020-11-09Import translations. DO NOT MERGEBill Yi
Auto-generated-cl: translation import Change-Id: I14ab3d4aa703c101e7afb8b5a7bba0598e8f5688
2020-11-05Merge "Fix BootUsbService startup condition" am: ddcf3950d7 am: 74fe2d3236 ↵Treehugger Robot
am: ca82191128 am: 5713fb774a am: e85d5205c2 Original change: https://android-review.googlesource.com/c/platform/packages/services/Car/+/1481500 Change-Id: I9b6810db5a28d15bb5f4dafedc90a64c6b3687f7
2020-11-05Merge "Fix BootUsbService startup condition" am: ddcf3950d7 am: 74fe2d3236 ↵Treehugger Robot
am: ca82191128 am: 5713fb774a Original change: https://android-review.googlesource.com/c/platform/packages/services/Car/+/1481500 Change-Id: I96b9faa840abfaca4dfe3c57b20fe3a7600731ba
2020-11-05Merge "Fix BootUsbService startup condition" am: ddcf3950d7 am: 74fe2d3236 ↵Treehugger Robot
am: ca82191128 Original change: https://android-review.googlesource.com/c/platform/packages/services/Car/+/1481500 Change-Id: I2298676eaf5a92341833747c56543fd3caf3ff6e
2020-11-05Merge "Fix BootUsbService startup condition" am: ddcf3950d7 am: 74fe2d3236Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/packages/services/Car/+/1481500 Change-Id: Ib64ffebf1d74ac2a1d81337a453e5ef846d97fe8
2020-11-02Fix BootUsbService startup conditionArtem Radchenko
BootUsbService should be started only once. On headless system user devices service is started two times: for system user 0 and real user 10. It is proposed to change return condition in BootUsbScanner to prevent multiple startups of service on headless system user devices. Test: Manual. - Connect usb device - Reboot DUT - Observe logcat Bug: 172130442 Signed-off-by: Artem Radchenko <artem.radchenko@globallogic.com> Change-Id: I3b52ccbc2b12291f9da639fc726c6026c6f93166
2020-10-07Merge "Increase check to switch USB device to AOAP timeout" into rvc-qpr-dev ↵Tobias Haamel
am: 24268e4434 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Car/+/12764076 Change-Id: I6e2dadd5ecd6c0632ccd6e234f02ddb127bdc921
2020-10-06Import translations. DO NOT MERGE ANYWHEREBill Yi
Auto-generated-cl: translation import Change-Id: I03f822730db3a174d5e539c5ce61df74fffcf353
2020-10-05Increase check to switch USB device to AOAP timeoutrishb
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)
2020-09-13Merge mainline-release 6664920 to stage-aosp-master - DO NOT MERGEBill Yi
Merged-In: I932b4ad76d06593e4b1d4b95cecee5324158015a Change-Id: I72f8275c46aee7725be19bfcf8aaf21efe2612c0
2020-09-02Import translations. DO NOT MERGE ANYWHEREBill Yi
Auto-generated-cl: translation import Change-Id: I31470f8e902e07ed0b346bbd9a1a5223bc2082a9
2020-08-28Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)Xin Li
Bug: 166295507 Merged-In: Idc0f5a94b980933c5b52675cf5b962bc30e8d009 Change-Id: Ia058f569ae01794a61be1d0fa68ccdfe6f257b7b
2020-08-19Merge "Increase check to switch USB device to AOAP timeout" am: e4874455fbRish Bhardwaj
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Car/+/12271082 Change-Id: I3f5ecae9343f3d834f2de336a79f250d2a091e94
2020-08-19Increase check to switch USB device to AOAP timeoutrishb
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. Change-Id: Id2562651b6378f70c819005b2d9b288bc7ee79cb
2020-08-17Merge "Update language to comply with Android's inclusive language ↵Yan Zhu
guidance." am: 211a088e32 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Car/+/12378702 Change-Id: I6382dc23c0ab1bbed66b5b82db52c446e8fd34dd
2020-08-14Update language to comply with Android's inclusive language guidance.Yan Zhu
See https://source.android.com/setup/contribute/respectful-code for Bug: 162864134 Test: build and flash Change-Id: I975558d229ba9da486153d32bcdb469d7c38c345
2020-08-05Update language to comply with Android's inclusive language guidance. am: ↵Mayank Garg
0f382c4569 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Car/+/12308550 Change-Id: Ia366bd095e7bcaaa0fa2975ca2c9cf28d6372373
2020-08-04Update language to comply with Android's inclusive language guidance.Mayank Garg
See https://source.android.com/setup/contribute/respectful-code for reference #inclusivefixit Bug: 162744859 Test: m (Successful build) Change-Id: Icb0665849ca06077cc09bf5fe87d8cdc61193eb5
2020-07-31Merge "Update language to comply with Android's inclusive language guidance" ↵Keun-young Park
am: 60c4b04da2 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Car/+/12285339 Change-Id: I6fec9fdcc2234514cf446a8b6b4e5f4a5dcdb3bb
2020-07-31Update language to comply with Android's inclusive language guidanceJeff Sharkey
See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Change-Id: I7a689101af3fd5203135cf858d19261005750bef Merged-In: I7a689101af3fd5203135cf858d19261005750bef (cherry picked from commit 95b8ce857ae4abd5645d0c93772b5df4594e55ba)
2020-07-31Update language to comply with Android's inclusive language guidanceJeff Sharkey
See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Change-Id: I7a689101af3fd5203135cf858d19261005750bef Merged-In: I7a689101af3fd5203135cf858d19261005750bef
2020-07-31Update language to comply with Android's inclusive language guidanceJeff Sharkey
See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Change-Id: I7a689101af3fd5203135cf858d19261005750bef
2020-07-24Import translations. DO NOT MERGE ANYWHEREBill Yi
Auto-generated-cl: translation import Change-Id: Ie6a8de10463e29fa7e88dae60de59666befe30e9
2020-07-05Import translations. DO NOT MERGEBill Yi
Auto-generated-cl: translation import Change-Id: I2ad1fc49af0135bc53a646685ce15fa18e4bb5d4
2020-06-09Merge "Import translations. DO NOT MERGE"Bill Yi
2020-06-05Merge "Retry USB enumeration once if startAoap fails." into rvc-dev am: ↵Mina Granic
1fdd53977a am: e61c5530c5 am: 95bf220028 am: 139670fd35 am: d09a00deb2 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Car/+/11721679 Change-Id: I60931e3dfcc742090a908a1f8d34c8fa717b2ec9
2020-06-05Merge "Retry USB enumeration once if startAoap fails." into rvc-dev am: ↵Mina Granic
1fdd53977a am: e61c5530c5 am: 95bf220028 am: 139670fd35 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Car/+/11721679 Change-Id: Icff64f27ab04f84fbab714e872d1d0ca61d04de5
2020-06-05Merge "Retry USB enumeration once if startAoap fails." into rvc-dev am: ↵Mina Granic
1fdd53977a am: e61c5530c5 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Car/+/11721679 Change-Id: Icfc10021450036684667c6f7eb01f0fb7fc725f1
2020-06-05Merge "Retry USB enumeration once if startAoap fails." into rvc-dev am: ↵Mina Granic
1fdd53977a am: e61c5530c5 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Car/+/11721679 Change-Id: Iaf48072512dde4c5cc64e31f404cfde665a8c8df
2020-06-05Merge "Retry USB enumeration once if startAoap fails." into rvc-dev am: ↵Mina Granic
1fdd53977a Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Car/+/11721679 Change-Id: I933f932deb4a69f0b8bc3f1a930c0552987bcb7d
2020-06-05Retry USB enumeration once if startAoap fails.minagranic
Required by HUIG R03-254. Bug: 145687797 Test: manually tested by plugging in device and succeeding. Changed code so that startAoap throws an exception once, retry succeeds. Changed code so that startAoap throws an exception every time, HU gives up Aoa handshake. Used multiple devices to make sure retrying is with the correct one. Change-Id: I3236cd0ffd0374600da90f2183e61a3ac3006fb7
2020-06-04Import translations. DO NOT MERGEBill Yi
Auto-generated-cl: translation import Change-Id: I6618662caf548260b84972efe9964591f285de9f
2020-06-03Merge "Retry once to getProtocol and send Idetifying Information." into ↵Mina Granic
rvc-dev am: b73a06fc11 am: f1f94a865a am: f4361ee7bb am: aa4d264061 am: f91280a32d Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Car/+/11636953 Change-Id: I7788317175ab91b90756136aed1764c6bdde457d
2020-06-03Merge "Retry once to getProtocol and send Idetifying Information." into ↵Mina Granic
rvc-dev am: b73a06fc11 am: f1f94a865a am: f4361ee7bb am: aa4d264061 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Car/+/11636953 Change-Id: Ib5ee7f73cd3e6cb14461c97ba45f303dfd6e1e7b
2020-06-03Merge "Retry once to getProtocol and send Idetifying Information." into ↵Mina Granic
rvc-dev am: b73a06fc11 am: f1f94a865a Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Car/+/11636953 Change-Id: I78d678a7f23abd2d5a81e5ee418ebdab27a48272
2020-06-03Merge "Retry once to getProtocol and send Idetifying Information." into ↵Mina Granic
rvc-dev am: b73a06fc11 am: f1f94a865a Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Car/+/11636953 Change-Id: I71795654229d16fb64beaa254418da992077d708
2020-06-03Merge "Retry once to getProtocol and send Idetifying Information." into ↵Mina Granic
rvc-dev am: b73a06fc11 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Car/+/11636953 Change-Id: I3f3e9d69890d4b833800a26bee337fb43bf050a3
2020-06-02Retry once to getProtocol and send Idetifying Information.minagranic
During establishing AOAP, if getProtocol or sendString fail or timeout, retry once, required by HUIG 2.5 R03-252. Bug: 145687797 Test: Manually tested by establishing AOAP and starting projection. Change-Id: I131abb8bdf6ec12af61fbc9a8f2ea0ea949b7428
2020-05-29Merge "Add READ_PRIVILEGED_PHONE_STATE permission needed by ↵Mina Granic
Build.getSerial()." into rvc-dev am: 3e8a69f69c am: 72b236d1c0 am: d99d65cb79 am: 8c3e2e6e6b am: 8ac47ec3c4 Change-Id: Ic31240f67cff59668710423a27fa9a7e54aa680c
2020-05-29Merge "Add READ_PRIVILEGED_PHONE_STATE permission needed by ↵Mina Granic
Build.getSerial()." into rvc-dev am: 3e8a69f69c am: 72b236d1c0 am: d99d65cb79 am: 8c3e2e6e6b Change-Id: Iede50e582aca5bf79bef4220ee2f6aea0f9d911c
2020-05-29Merge "Add READ_PRIVILEGED_PHONE_STATE permission needed by ↵Mina Granic
Build.getSerial()." into rvc-dev am: 3e8a69f69c am: 72b236d1c0 Change-Id: I52f23493e1359209bac84bd3cdb5032fc707cbf0
2020-05-29Merge "Add READ_PRIVILEGED_PHONE_STATE permission needed by ↵Mina Granic
Build.getSerial()." into rvc-dev am: 3e8a69f69c am: 72b236d1c0 Change-Id: Iecca40190535331bc551b87b14b23dba8e0e50a9
2020-05-29Merge "Add READ_PRIVILEGED_PHONE_STATE permission needed by ↵Mina Granic
Build.getSerial()." into rvc-dev am: 3e8a69f69c Change-Id: Ib2f056482d58c68ea406ac4f0c250ce33bfe2631