Commit graph

36625 commits

Author SHA1 Message Date
Chih-hung Hsieh
ff54f73b4f Merge "Add timed out test files to tidy_timeout_srcs" 2022-02-24 00:21:18 +00:00
Michael Butler
323bddccc6 Remove NN host specific build defines
These defines are redundant because they are already defined in
neuralnetworks_utils_defaults.

Bug: N/A
Test: mma
Change-Id: I1c5c44e9e61da19bc10dd8ed2e38099f7c4baccd
2022-02-23 11:44:53 -08:00
Treehugger Robot
b56acbc92e Merge "Provide alternate SE RoT provisioning path." am: 07011d9e09 am: 11c970f706
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1982797

Change-Id: If5cb29c30527b5f36a72b6e2c7f5dfcf42978215
2022-02-23 18:58:25 +00:00
Treehugger Robot
11c970f706 Merge "Provide alternate SE RoT provisioning path." am: 07011d9e09
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1982797

Change-Id: Ia74ce0dba7595e9eb8c080c150174b49b7c509b1
2022-02-23 18:24:12 +00:00
Treehugger Robot
07011d9e09 Merge "Provide alternate SE RoT provisioning path." 2022-02-23 18:13:01 +00:00
Enrico Granata
081068a809 [automerge] Support vendor GNSS file properties for AAOS virtualization 2p: 9447139c92
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16989257

Bug: 213489959
Change-Id: I1879b5176020c8dbba93b423462932f3cdf1c388
2022-02-23 17:53:24 +00:00
Enrico Granata
9447139c92 Support vendor GNSS file properties for AAOS virtualization
The Android Automotive trout device uses GNSS HAL for fetching
location data from a live GNSS adapter, not a mock file. We also have
an established naming convention for console port names that is carried
over from the Bluetooth use case.

Add support for a vendor uart port for GNSS in addition to the existing
Cuttlefish debug property, in order to enable trout to establish a
connection to the host GNSS agent

Bug: 213489959
Test: build flash and boot
Change-Id: Id2d2134bb6ea60adef1072295c4f623463bfb010
2022-02-23 10:50:35 -07:00
Alice Kuo
31a9f2280c Merge "Set bluetooth.audio AIDL HAL to mandatory for Android T" am: 53b601d590 am: c6e816aad8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1977705

Change-Id: Iccb48bcb424967236881bffb57f0728915033ec8
2022-02-23 17:01:53 +00:00
Alice Kuo
c6e816aad8 Merge "Set bluetooth.audio AIDL HAL to mandatory for Android T" am: 53b601d590
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1977705

Change-Id: I8f194ce924f85df1202c37fa0dcab42a00628bdc
2022-02-23 16:33:06 +00:00
Alice Kuo
53b601d590 Merge "Set bluetooth.audio AIDL HAL to mandatory for Android T" 2022-02-23 10:53:32 +00:00
Joseph Jang
5341ebba50 Export extractDerSubjectFromCertificate() utility API for oem Hal usage
mDL oem Hal may need X509 utility API to extract subject name from certificate.

Bug: 218613398
Change-Id: I6316dfb3f1c50394af2d3d35c95d616bd6a2106b
2022-02-23 07:39:03 +00:00
Shawn Willden
0cc617cab0 Provide alternate SE RoT provisioning path.
On some devices it is infeasible to provision the KeyMint RoT bits in
the Android Bootloader.  This provides an alternate path to provision
them from the TEE during early boot.

Bug: 219076736
Test: VtsAidlKeyMintTargetTest
Change-Id: If69f7e25e58edbf4d2190084e2c0a03a94bfa5d6
Merged-In: If69f7e25e58edbf4d2190084e2c0a03a94bfa5d6
2022-02-22 23:52:18 -07:00
subrahmanyaman
fb213d6031 Support for P256 curve in RKP for Strongbox
Test: Run Rkp Vts tests.

Change-Id: Ic38fd2318dd8749ae125f1e78d25f2722bd367e5
2022-02-23 05:02:40 +00:00
Hao Chen
96e84fbb5c [automerger skipped] Merge changes from topic "gnss" into sc-v2-dev am: 3870153fac -s ours
am skip reason: Merged-In Ide7bbb3e81a90414496084691227bd95a2e7af18 with SHA-1 f46bb4ac80 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16909565

Change-Id: Iec30fb3ec54b231083a15e173d87e732741012ac
2022-02-22 23:34:54 +00:00
Yuchen He
31cf8964bc [automerger skipped] Supported synchronized fixed location and measurement from device files am: 55c22f897e -s ours
am skip reason: Merged-In Ide7bbb3e81a90414496084691227bd95a2e7af18 with SHA-1 f46bb4ac80 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16909565

Change-Id: I48ec5cf61738e932bc47eebc41adccaf71ab0014
2022-02-22 23:34:52 +00:00
Hao Chen
3870153fac Merge changes from topic "gnss" into sc-v2-dev
* changes:
  Supported synchronized fixed location and measurement from device files
  Add parser to support CSV location data
2022-02-22 23:08:40 +00:00
Hao Chen
9e09a58e13 Merge changes from topic "gnss-cherry-pick" into sc-v2-dev-plus-aosp
* changes:
  Supported synchronized fixed location and measurement from device files
  Add parser to support CSV location data
  Read GNSS measurement from device file when available
  Add raw measurement parser
  fix potential use-after-frees of stack memory
  Refactor and reuse some read device file logic Add skeleton on HAL for Gnss raw measurement injection
2022-02-22 18:40:36 +00:00
Treehugger Robot
24d6da2df8 Merge "Add @PropagateAllowBlocking tag to supplicant methods that return an interface." am: 4965e27b86 am: 1331953ef3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1964740

Change-Id: I0bcd03263c9d9825f7ab2041498e6fef51349758
2022-02-22 17:59:58 +00:00
Treehugger Robot
1331953ef3 Merge "Add @PropagateAllowBlocking tag to supplicant methods that return an interface." am: 4965e27b86
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1964740

Change-Id: If47724de35d8399d0e391a29a4aa92aa4e1dbbd7
2022-02-22 17:28:45 +00:00
Treehugger Robot
4965e27b86 Merge "Add @PropagateAllowBlocking tag to supplicant methods that return an interface." 2022-02-22 17:07:12 +00:00
Alice Kuo
e6d27b4463 Remove bluetooth.audio@2.2 default implementation and utils handles am: 921760d9a7 am: d3f8b39e76
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1959014

Change-Id: I8a61f053b89b3f8e6d8b3ecad1e7ee4f55981030
2022-02-22 11:55:35 +00:00
Alice Kuo
4416aa8071 Remove bluetooth.audio@2.2 interface am: 13c3701537 am: af1c5194a5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1962885

Change-Id: I3f01cf0179a50d51cd8e9aec69a18f6a7e3ed52f
2022-02-22 11:55:32 +00:00
Alice Kuo
d3f8b39e76 Remove bluetooth.audio@2.2 default implementation and utils handles am: 921760d9a7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1959014

Change-Id: I38f8e9a73d41727909a88d5bbe4f95bef560bcc6
2022-02-22 11:32:11 +00:00
Alice Kuo
af1c5194a5 Remove bluetooth.audio@2.2 interface am: 13c3701537
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1962885

Change-Id: I56145e7c42df2407312d96b0cebd9dadfcc196bc
2022-02-22 11:32:10 +00:00
Alice Kuo
da125c608b Set bluetooth.audio AIDL HAL to mandatory for Android T
Bug: 203490261
Test: make
Change-Id: Ic975290fb3b43ffa3eadc2902f76ee43e8215619
2022-02-21 10:53:18 +08:00
Alice Kuo
921760d9a7 Remove bluetooth.audio@2.2 default implementation and utils handles
Bug: 204585486
Test: a2dp software/offload, le audio software/offload verified pass
Change-Id: I7c8f32dd294562052ff5af73e6f3c48642c03fe4
2022-02-21 10:52:39 +08:00
Alice Kuo
13c3701537 Remove bluetooth.audio@2.2 interface
Bug: 204585486
Test: A2dp software/offload, le audio software offload verified pass
Change-Id: Icca0d0e0f5f074fc3f68742722a8c268e8289558
2022-02-21 10:52:20 +08:00
Robert Shih
1f1240ee1d Merge "Add drm aidl owners" am: 29988fd22f am: 065a377950
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1991237

Change-Id: I925adbebc1300e28d771fa88ed42725ca3a6b586
2022-02-19 21:05:26 +00:00
Robert Shih
065a377950 Merge "Add drm aidl owners" am: 29988fd22f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1991237

Change-Id: Ia001271f6528d055c09d895f922eab79ff78d127
2022-02-19 20:42:33 +00:00
Robert Shih
29988fd22f Merge "Add drm aidl owners" 2022-02-19 20:23:24 +00:00
Yuchen He
f46bb4ac80 Supported synchronized fixed location and measurement from device files
Replace NMEA by one row fixed location data

Test: atest VtsHalGnssTargetTest
Test: launch_cvd -cpus 16 -memory_mb 16192  --start_gnss_proxy --gnss_file_path=/usr/local/google/home/yuchenhe/Downloads/raw.txt --fixed_location_file_path=/google/data/rw/users/yu/yuchenhe/input.txt
Bug: 213225295

Merged-In: Ide7bbb3e81a90414496084691227bd95a2e7af18
Change-Id: Ide7bbb3e81a90414496084691227bd95a2e7af18
2022-02-18 18:05:09 -08:00
Yuchen He
76ff33b72d Add parser to support CSV location data
Bug: 213225295
Test: launch_cvd -cpus 16 -memory_mb 16192  --start_gnss_proxy
--gnss_file_path=/google/data/rw/users/yu/yuchenhe/input.txt (Running blue
dot in Google Maps)

Almost a cherry-pick but changed the data type from AIDL GnssLocation to
the HIDL type, since there are no AIDL GnssLocation Type in SC-V2.

Merged-In: I572315888c2f57ce701e695acb03aa6b28787f31
Change-Id: I572315888c2f57ce701e695acb03aa6b28787f31
2022-02-18 18:05:00 -08:00
Yuchen He
4eb8cf8f6a Read GNSS measurement from device file when available
Test: atest CtsLocationGnssTestCases GtsLocationTestCases on CF
Bug: 190757198
Change-Id: Ic03d56a5df6b99f7b20c5840e7091ead138316b1
Merged-In: Ic03d56a5df6b99f7b20c5840e7091ead138316b1
2022-02-18 18:03:44 -08:00
Yuchen He
6ceb09d60c Add raw measurement parser
Test: manual test (data cross verified with GnssLogger app)
Bug: 190757198

Change-Id: I8d57826c6aa2a9d1a09b4847aadfda8c9160b36f
Merged-In: I8d57826c6aa2a9d1a09b4847aadfda8c9160b36f
2022-02-18 18:03:34 -08:00
George Burgess IV
e7d2bbadca fix potential use-after-frees of stack memory
`devname_value` is a local variable; if `property_get` succeeds, we'll
return a pointer to it. Returning a `std::string` instead sidesteps this
problem.

Bug: 190757198
Test: TreeHugger
Change-Id: If9ca733dd21128706f2a9f62e8460b1286631aa5
Merged-In: If9ca733dd21128706f2a9f62e8460b1286631aa5
2022-02-18 18:03:24 -08:00
Yuchen He
95276a229b Refactor and reuse some read device file logic
Add skeleton on HAL for Gnss raw measurement injection

Bug: 190757198
Test: manual test
Merged-In: I9b58043d5ed321aa71ff4f23031df251ae89c407
Change-Id: I9b58043d5ed321aa71ff4f23031df251ae89c407
2022-02-18 18:03:12 -08:00
Chih-Hung Hsieh
ad1bf31b78 Add timed out test files to tidy_timeout_srcs
* Timed out runs do not show any warning messages.
* These test files cannot finish clang-tidy runs with
  the following settings:
    TIDY_TIMEOUT=90
    WITH_TIDY=1
    CLANG_ANALYZER_CHECKS=1
* When TIDY_TIMEOUT is set, in Android continuous builds,
  tidy_timeout_srcs files will not be compiled by clang-tidy.
  When developers build locally without TIDY_TIMEOUT,
  tidy_timeout_srcs files will be compiled.
* Some of these test modules may be split into smaller ones,
  or disable some time consuming checks, and then
  enable clang-tidy to run within limited time.

Bug: 201099167
Test: make droid tidy-hardware-interfaces_subset
Change-Id: I1de28f1572fff368f67eab512fffec9f2e5c2a9b
2022-02-18 17:25:41 -08:00
Michael Butler
7c858f2ae4 Merge "Remove isUpdatable query from NNAPI -- hal" am: 82d36078b9 am: 3d9540d5ed
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1985407

Change-Id: Iadf47d5d0e056b4a58314c05f1fe67b467b7a1c3
2022-02-18 21:45:11 +00:00
Michael Butler
3d9540d5ed Merge "Remove isUpdatable query from NNAPI -- hal" am: 82d36078b9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1985407

Change-Id: I6869e9085e8a68635ab187411acd1cfd4d323b83
2022-02-18 21:13:41 +00:00
Michael Butler
82d36078b9 Merge "Remove isUpdatable query from NNAPI -- hal" 2022-02-18 20:23:29 +00:00
Ayushi Khopkar
3921199e05 Added automotiveCanV1.0_fuzzer
Test: adb shell /data/fuzz/${TARGET_ARCH}/automotiveCanV1.0_fuzzer/automotiveCanV1.0_fuzzer
Bug: 187130380

Change-Id: Iaadc96da6f6114512674d797e6cbc74b5405da14
2022-02-18 12:53:01 +05:30
Josh Wu
381b56aed2 BtAudio: Enable LE Audio software encoding VTS am: 3202eab88a am: 0ecae80b26
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1991530

Change-Id: Id3c02d098a1c0b513713be10f3e798428a414560
2022-02-18 04:57:40 +00:00
Treehugger Robot
d32c2f4979 Merge "broadcastradio 2.0: uses correct interface tag." am: bade4d7bd2 am: ff37dcdc9b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1984587

Change-Id: Iec70f78d3de54a5d46fc24ecdf9ea73f9c7d2599
2022-02-18 04:57:32 +00:00
Josh Wu
0ecae80b26 BtAudio: Enable LE Audio software encoding VTS am: 3202eab88a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1991530

Change-Id: Icf9112b5367b920d4bd7026295d528a2cf7a8d40
2022-02-18 04:25:08 +00:00
Treehugger Robot
ff37dcdc9b Merge "broadcastradio 2.0: uses correct interface tag." am: bade4d7bd2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1984587

Change-Id: Id124373236fa8ab776b2354d9d86ee7ec8148f1a
2022-02-18 04:24:36 +00:00
Karthik Ramakrishnan
136142007d VtsHalBluetoothV1_0: Turn off/on BT for all users am: 0dc66a2c69 am: f26e49bf49
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16810781

Change-Id: I6efe72364cbaab2bf5968704263f703ff9f41bee
2022-02-18 02:12:35 +00:00
Josh Wu
3202eab88a BtAudio: Enable LE Audio software encoding VTS
Test: atest VtsHalBluetoothAudioTargetTest
Bug: 203490261
Change-Id: I0ef572dbc7983e2c9939e1b6a3540d88a21743d9
2022-02-17 18:09:05 -08:00
Karthik Ramakrishnan
f26e49bf49 VtsHalBluetoothV1_0: Turn off/on BT for all users am: 0dc66a2c69
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16810781

Change-Id: I96916e1b2de664c91ef3098bbf732577d4ffc8ab
2022-02-18 01:51:47 +00:00
Robert Shih
9f86aafaa2 Add drm aidl owners
Bug: 219528925
Change-Id: I6b630c4e40083f98a00f9337ffee52fb22cae06c
2022-02-17 17:47:06 -08:00
Treehugger Robot
bade4d7bd2 Merge "broadcastradio 2.0: uses correct interface tag." 2022-02-17 09:45:21 +00:00