Commit graph

47629 commits

Author SHA1 Message Date
Tomasz Wasilczyk
f23e19a533 Merge "Use String8/16 c_str [cas]" into main 2023-08-30 04:29:16 +00:00
Tomasz Wasilczyk
3eb3155155 Move OWNERS from cas AIDL HAL to general cas folder
Test: N/A
Change-Id: I1fe535e1468e4dd238f238144dc4795d0089fd7c
2023-08-29 22:04:35 +00:00
Tomasz Wasilczyk
e76430d6f8 Merge "Use String8/16 c_str [health]" into main 2023-08-29 22:02:56 +00:00
Treehugger Robot
8d9bd17981 Merge "Move OWNERS from health aidl HAL to general health folder" into main 2023-08-29 21:38:11 +00:00
Tomasz Wasilczyk
4336fc5995 Move OWNERS from health aidl HAL to general health folder
Test: N/A
Change-Id: I01d4b52042d4f9f7b68898e83cb2058e9877a1f0
2023-08-29 21:11:05 +00:00
Sungtak Lee
6e053ee395 Merge "media.c2 aidl: Use IGraphicBufferAllocator for createBlockPool()" into main 2023-08-29 20:04:43 +00:00
Tomasz Wasilczyk
9e53281dc0 Don't use String8 path functions [cas hidl]
Ideally, we should migrate to std::filesystem, but libc++fs is not
available for vendor binaries until b/175635923 lands.

Bug: 295394788
Test: m checkbuild
Change-Id: Ifaec2f93331c780b96f7be5d50655a79aa935457
2023-08-29 15:04:50 +00:00
Alessio Balsini
dbf321c5ee Update bug component from Android Systems to OTA client
It's been a while since the Android Systems bug component does not
access the creation of new bugs for triage, instead, new bugs must
be created in the subcomponents of the team.
This change updates the bug component originally associated to this
subsystem from the Android Systems' 30545 to OTA client's 1014951.

Test: none
Bug: 270571229
Change-Id: I10ea8fba3b7683cf6259394f2163b68bfc96dfb5
Signed-off-by: Alessio Balsini <balsini@google.com>
2023-08-29 15:18:53 +01:00
Jooyung Han
41b170f736 Mark neuralnetworks HAL as updatable-via-apex
Bug: 297786849
Test: m
Merged-In: I80eb731040d23371886213941138bc73c033bb1f
Change-Id: I80eb731040d23371886213941138bc73c033bb1f
2023-08-29 18:16:18 +09:00
Kangping Dong
b559648555 [Thread] move Thread into com.android.tethering
Test: build
Bug: 296211911
Merged-In: I52320be04ceb9855a37db59b7ef961d2c8555357
Change-Id: Iaf32f4517e8f729576cd274983562940cf4e191d
2023-08-29 02:25:14 +00:00
Zhanglong Xia
bdf2b0e9ec Merge "order the instance android.hardware.threadnetwork in the matrix XML" into main 2023-08-29 01:48:42 +00:00
Treehugger Robot
c9174b9a18 Merge "Remove PDL from the HAL" into main 2023-08-29 00:24:44 +00:00
Myles Watson
47c0282de8 Remove PDL from the HAL
The benefit is small and it's painful to make libraries
available to apexes and the platform.

Bug: 296427840
Test: mma -j32
Change-Id: I7f2ed8636b90de415b8d5635dcd7c568810323bd
2023-08-28 15:24:36 -07:00
Zhanglong Xia
f52d91b132 order the instance android.hardware.threadnetwork in the matrix XML
Bug: 296965759
Test: m
Change-Id: I1cec104ba851d4ed8684e4c805ac71959eac8b4a
2023-08-28 10:47:56 +08:00
Treehugger Robot
24c2867516 Merge "Don't use String8 path functions" into main 2023-08-25 22:44:37 +00:00
Tomasz Wasilczyk
3e74f0b928 Use String8/16 c_str [cas]
Bug: 295394788
Test: make checkbuild
Change-Id: I1faccac8711d5cccee70443548940d99804c7c2a
2023-08-25 19:41:37 +00:00
Tomasz Wasilczyk
fcaba4b69c Use String8/16 c_str [health]
Bug: 295394788
Test: make checkbuild
Change-Id: I6671af787ca8c687d30d0db8dbb4f639157b5e81
2023-08-25 19:39:33 +00:00
Treehugger Robot
7bed173e4c Merge "Only require RKP on T+ chipsets" into main 2023-08-25 19:08:06 +00:00
Seth Moore
8be875e0d0 Only require RKP on T+ chipsets
It turns out we had a bug (b/263844771) in how RKP support was
detected, and that was fixed. However, due to this bug, some S chipests
shipped without RKP support which is now required by the tests.

This change drops the RKP requirement from S chipsets. There should be
no new S chipsets, so this effectively grandfathers in the previous
ones that were skipped by the RKP VTS tests.

T+ tests (both VTS and other suites) will verify that RKP support is
there, so there is no gap introduced by this change.

Bug: 297139913
Test: VtsAidlKeyMintTargetTest
Change-Id: I387e5f058ada698747aac103c1745682291f2d1c
2023-08-25 11:13:41 -07:00
Treehugger Robot
8a21830735 Merge "Migrate from android::String isEmpty to empty" into main 2023-08-25 16:38:32 +00:00
Alice Wang
d6281e7d82 Make android.hardware.security.rkp-rust available for virt apex
Bug: 274881098
Test: atest MicrodroidHostTests
Change-Id: I5791bc8f0aa4dd5938871edb8b67f4d0d1ee2599
2023-08-25 12:06:08 +00:00
Treehugger Robot
ee6590ef2d Merge "Fix typo in CDDL" into main 2023-08-25 09:52:42 +00:00
David Drysdale
41bbc573f7 Merge "KeyMint: fix auth test HAT" into main 2023-08-25 09:45:42 +00:00
Alan Stokes
5004b8b5ae Fix typo in CDDL
Test: N/A
Change-Id: Iba25acb24306d36c97be07987857237363654bb5
2023-08-25 09:34:35 +01:00
Jooyung Han
de60dd2ae5 Merge changes from topic "threadnetwork-apex" into main
* changes:
  Move threadnetwork HAL to VAPEX
  Mark threadnetwork HAL as updatable-via-apex
  Add apexkey "com.android.hardware"
2023-08-25 07:17:09 +00:00
David Drysdale
97272d8d5f KeyMint: fix auth test HAT
The test case for an auth-per-operation HAT with an invalid HMAC
is wrong -- it is re-using the previous HAT, which fails for a
different reason (has an old challenge).

Fix the test to use the HAT that's wrong in the intended way.

Bug: 297333975
Test: VtsAidlKeyMintTargetTest
Change-Id: I15fe9b0c1b53452df0f67dd44534fdb80a6c2a9c
2023-08-25 07:30:12 +01:00
Jooyung Han
a9c0dda341 Merge "Mark nfc HAL as updatable-via-apex" into main 2023-08-24 23:02:06 +00:00
Shunkai Yao
84cfecd616 Merge "Fix the audio source table in Processing" into main 2023-08-24 21:11:05 +00:00
Treehugger Robot
014b456a11 Merge "Initialize mStopThread in Sensor constructor" into main 2023-08-24 19:43:59 +00:00
Treehugger Robot
4115d8b01d Merge "Remove the limitation of max open streams" into main 2023-08-24 19:29:36 +00:00
Treehugger Robot
db1eba8e0c Merge "Use String8/16 c_str [camera]" into main 2023-08-24 18:56:09 +00:00
Tomasz Wasilczyk
38836b884b Migrate from android::String isEmpty to empty
This empty method is different from the old one - it aligns with
std::string definition.

Bug: 295394788
Test: make checkbuild
Change-Id: I98dad222b149e6052b7dc63c477d84c9eb011dd3
2023-08-24 18:49:22 +00:00
Aditya Chitnis
5d346fb79c Initialize mStopThread in Sensor constructor
Bug: 294653181
Bug: 294500012
Test: Presubmit
Change-Id: I9c9a9119eb75e364d3969ae77248370937f1f3c5
2023-08-24 18:41:36 +00:00
Treehugger Robot
3cc1fa796e Merge "Use String8/16 c_str [drm]" into main 2023-08-24 18:22:12 +00:00
Shunkai Yao
2461891a1c Remove the limitation of max open streams
Bug: 295055755
Test: atest CtsMediaAudioTestCases
Change-Id: Ifc0bec23ccc2845657389783194eb18fcc7884fa
2023-08-24 18:14:03 +00:00
Tomasz Wasilczyk
353d4c5c75 Use String8/16 c_str [camera]
Bug: 295394788
Test: make checkbuild
Change-Id: I7ca371112e891f4f40673b5c34e3b8ccc41841bf
Merged-In: I7ca371112e891f4f40673b5c34e3b8ccc41841bf
2023-08-24 17:07:46 +00:00
Treehugger Robot
16012b6b06 Merge "Migrate String8|16.setTo to assignment operator" into main 2023-08-24 15:54:28 +00:00
Zhanglong Xia
f865a8b7cd Merge "remove manually freeing the variable mDeathRecipient" into main 2023-08-24 09:18:59 +00:00
Jooyung Han
f8bd1f0b00 Move threadnetwork HAL to VAPEX
com.android.hardware.threadnetwork is a new VAPEX containing
threadnetwork HAL. It also includes ot-rcp.

Bug: 296966113
Test: vts-tf > run vts -m VtsHalTheadNetworkTargetTest
Change-Id: Id2028d755f9b0dcc06ccd817bddf3195efb5595b
2023-08-24 17:40:46 +09:00
Jooyung Han
868b8968bf Mark threadnetwork HAL as updatable-via-apex
Since it's not available in U, we don't have to mark it in 8.xml

Bug: 296966113
Test: m
Change-Id: I5ba313208c4c43c270fd4507f3e92cea6a62dc5e
2023-08-24 16:49:25 +09:00
Jooyung Han
0b94777903 Add apexkey "com.android.hardware"
This can be shared by many AOSP com.android.hardware.* APEXes defined in
hardware/interfaces.

Bug: 296524155
Test: m
Change-Id: I8d5bf7d9cf8fe4b502af9240027529d61c9776af
2023-08-24 16:47:11 +09:00
Zhanglong Xia
3297a174d6 remove manually freeing the variable mDeathRecipient
The variable `mDeathRecipient` will automatically free the allocated
memory when it is destructed. This CL deletes the code for manually
releasing the variable `mDeathRecipient` to avoid the same variable
being freed twice.

Bug: 296617022
Test: Run fuzzer test.
Change-Id: I733f7f8d26e48a9434d41c5098f39ad91208abeb
2023-08-24 15:38:05 +08:00
Jooyung Han
b5cae6c04a Mark nfc HAL as updatable-via-apex
Mark it in both 8.xml and 9.xml. 8.xml for -next configuration.

Bug: 296529752
Test: n/a
Change-Id: Ie96c38e30618cc343586f429a5d48e7108f90614
2023-08-24 14:18:57 +09:00
Treehugger Robot
e37ca01670 Merge "Enable Rust backend for NFC AIDL HAL" into main 2023-08-23 23:32:46 +00:00
Treehugger Robot
58d953e4be Merge "audio: Make IConfig.getSurroundSound default implementation more robust" into main 2023-08-23 22:31:08 +00:00
Tomasz Wasilczyk
17034e5f39 Migrate String8|16.setTo to assignment operator
Bug: 295394788
Test: make checkbuild
Change-Id: Ic98514f48399115046029e68883408090f0cd0db
2023-08-23 22:14:17 +00:00
Treehugger Robot
f646832675 Merge "Use String8/16 c_str [security]" into main 2023-08-23 21:23:44 +00:00
Mikhail Naganov
1e25ef808f audio: Make IConfig.getSurroundSound default implementation more robust
In the case when there is a problem with the legacy APM XML file,
the converter provides a default surround sound config. However,
the default implementation of IConfig::getSurroundSoundConfig did
not take an advantage of that, and was returning an empty config,
which is not accepted by VTS.

Also, improve logging messages: clarify the situation when no readable
audio policy XML file found, and use outer functions name for lambdas.

Bug: 293978054
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Iae069a0498009605ef5ededb9c9112efab08548a
2023-08-23 14:18:27 -07:00
Treehugger Robot
ff0aae4132 Merge "Use String8/16 c_str [audio]" into main 2023-08-23 20:46:44 +00:00
Tomasz Wasilczyk
5c8abe9cc2 Use String8/16 c_str [security]
Bug: 295394788
Test: make checkbuild
Change-Id: I4dd1a43c314af087c4f8ecad3570613ed841589c
2023-08-23 18:51:57 +00:00