Commit Graph

28835 Commits

Author SHA1 Message Date
Steven Moreland
334a6134de Merge "fmq: use versions for imports" 2021-09-01 16:21:44 +00:00
Max Bires
f970abe674 Merge "Revert "AesInvalidKeySize skip 192 on SB devices"" 2021-09-01 08:24:01 +00:00
Steven Moreland
7ccd3de647 fmq: use versions for imports
This makes sure that when developers add a new version of an interface,
or when interfaces are being frozen, the runtime/buildtime situation of
clients depending on those interfaces remains the same. This is required
for AIDL to continue working at scale.

Bug: 188871598
Test: build
Change-Id: I2a30859548cd676f9329007590a53c4916a1c0ef
2021-08-31 18:04:53 -07:00
Steven Moreland
067901ea81 Merge changes from topic "b188871598-security"
* changes:
  neuralnetworks: use versions for imports
  .graphics.common: use versions for imports
  keymint: use versions for imports
2021-08-31 16:47:14 +00:00
Treehugger Robot
d51dee1209 Merge "Stop using group_static_libs property" 2021-08-31 16:46:49 +00:00
Steven Moreland
15a92dad5d neuralnetworks: use versions for imports
This makes sure that when developers add a new version of an interface,
or when interfaces are being frozen, the runtime/buildtime situation of
clients depending on those interfaces remains the same. This is required
for AIDL to continue working at scale.

Bug: 188871598
Test: build
Change-Id: Ib4c6e8f5bf34cc333675201dca4eab08dd88628d
2021-08-30 18:02:43 -07:00
Steven Moreland
b196a659d2 .graphics.common: use versions for imports
This makes sure that when developers add a new version of an interface,
or when interfaces are being frozen, the runtime/buildtime situation of
clients depending on those interfaces remains the same. This is required
for AIDL to continue working at scale.

Bug: 188871598
Test: build
Change-Id: I5d85ed0f8d5cbeb0ec20659def492bc97787d9a9
2021-08-30 17:56:06 -07:00
Steven Moreland
f4562215b4 keymint: use versions for imports
This makes sure that when developers add a new version of an interface,
or when interfaces are being frozen, the runtime/buildtime situation of
clients depending on those interfaces remains the same. This is required
for AIDL to continue working at scale.

Bug: 188871598
Test: build
Change-Id: I358c19c91e8b20d47967aa3b26a8aa5dd6a97ab6
2021-08-30 17:54:19 -07:00
LaMont Jones
f0bb568508 Stop using group_static_libs property
This property is now ignored, so there is no need to set it.
For more details, see the bug and/or "Effecient archive file handling"
in https://lld.llvm.org/NewLLD.html#key-concepts

Bug: 189475744
Test: Manual build succeeds
Change-Id: I2585f840736f0647c50fcf0b7b78bd33383f6451
2021-08-30 23:20:08 +00:00
Treehugger Robot
101c9db566 Merge "Vts: thermal: Test notification with an unregistered local callback" 2021-08-27 19:34:25 +00:00
Treehugger Robot
50a0c3ae3f Merge "Fix use-after-free crash in VtsHalNeuralnetworksTargetTest." 2021-08-27 18:48:44 +00:00
Wei Wang
3ec02dc9a4 Vts: thermal: Test notification with an unregistered local callback
Bug: 197935704
Test: /data/nativetest64/VtsHalThermalV2_0TargetTest/VtsHalThermalV2_0TargetTest
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ida76565389d021b9433bfac8153408454f2bdee9
2021-08-27 11:27:07 -07:00
Treehugger Robot
02b3ca4e7c Merge "Undefine NAN after including it in Looper.h" 2021-08-27 17:26:49 +00:00
Steven Moreland
599ce892a5 Merge "Remove ndk_platform backend. Use the ndk backend." 2021-08-25 19:28:36 +00:00
Michael Butler
0b2aee13af Merge "Quickly exit VtsHalNeuralnetworks*TargetTest on failure" 2021-08-25 18:02:13 +00:00
Michael Butler
ac45a5d77e Quickly exit VtsHalNeuralnetworks*TargetTest on failure
This change adds the AndroidTest.xml flag --gtest_break_on_failure to
cause the gtest to terminate after an error has been reached. This early
termination is important in the case where an NN HAL service crashes
mid-test, and all remaining tests would otherwise continue to run.

Bug: 197035200
Test: m vts -j
Test: vts-tradefed
Change-Id: I0b9a14345475e432b93f92c23010a8b39712443a
2021-08-24 23:44:57 -07:00
Treehugger Robot
eb86f93f53 Merge "Fix CameraHidlTest" 2021-08-25 00:22:52 +00:00
Treehugger Robot
8fe4685a13 Merge "Add OWNERS for VTS module VtsHalGnssV1_0TargetTest" 2021-08-24 21:48:19 +00:00
Michael Butler
994a3856c9 Merge "Quick-fail NNAPI VTS test case if driver is dead" 2021-08-24 17:44:45 +00:00
Michael Butler
9c3c8642fb Quick-fail NNAPI VTS test case if driver is dead
This CL adds a check during SetUp that an NNAPI driver service is still
alive by pinging the driver service. If it is not alive, the test will
fail during SetUp. Without this quick-fail, the test case would continue
as if the driver were still active, which would result in multiple
EXPECT_* and ASSERT_* statements failing instead of a single, clear
failure message.

Bug: 197035200
Test: mma
Test: presubmit: VtsHalNeuralnetworks*TargetTest
Change-Id: Ib1b75ed20f764055699590581d5ad4e5aff4baae
2021-08-23 18:27:49 -07:00
Xusong Wang
d2ecde5c54 Fix use-after-free crash in VtsHalNeuralnetworksTargetTest.
Prior to this CL, the AHardwareBuffer in TestBlobAHWB is released in the
destructor, but later used (unlock) during the destruction of the
mMapping member. This CL fixed this issue by managing the lifetime of
AHardwareBuffer with SharedMemory.

Bug: 197199690
Test: VtsHalNeuralnetworksTargetTest
Change-Id: I00748aaaa1a3a3d9b3b62bedb77a655ddb6e210f
2021-08-23 11:41:46 -07:00
Treehugger Robot
7f23524b2c Merge "Add OWNERS for VTS module VtsHalRadioConfigV1_0TargetTest" 2021-08-23 17:27:11 +00:00
Yiming Pan
b2cbc2e737 Add OWNERS for VTS module VtsHalRadioConfigV1_0TargetTest
Each VTS module is required to have OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I52ee70699013d0e1fa4283f7c7d0767aa83aa081
2021-08-20 16:21:53 -07:00
Andy Hung
0f23937288 Merge "Remove libaudioclient from vendor" 2021-08-20 15:48:02 +00:00
Treehugger Robot
9124807755 Merge "Provide defaults for android.hardware.audio@7.0-impl" 2021-08-20 15:40:01 +00:00
Max Bires
d067e790ab Revert "AesInvalidKeySize skip 192 on SB devices"
This reverts commit eb8b0577e8.

Reason for revert: Broke a different TEE implementation

Bug: 196922051
Change-Id: I9f136d237bd06bfe2a1cc29d11bb1fbe0b8ace5e
Merged-In: I9f136d237bd06bfe2a1cc29d11bb1fbe0b8ace5e
2021-08-20 07:30:36 +00:00
Treehugger Robot
4dad1ae2d8 Merge "Add OWNERS for VTS module VtsHalNfcV1_2TargetTest" 2021-08-20 02:22:14 +00:00
Roman Kiryanov
4c5752d903 Provide defaults for android.hardware.audio@7.0-impl
see aosp/1366502.

Bug: 196868480
Bug: 161485545
Test: presubmit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: Ie582038f2212fbf881497ed3db62ef04bac286f3
2021-08-19 17:59:03 -07:00
Treehugger Robot
45cd802948 Merge "Add OWNERS for VTS module VtsHalSoundtriggerV2_2TargetTest" 2021-08-19 19:44:22 +00:00
Treehugger Robot
4d89eb7e36 Merge "Add OWNERS for VTS module VtsHalGnssV1_1TargetTest" 2021-08-19 19:04:31 +00:00
Yiming Pan
d723e712ac Add OWNERS for VTS module VtsHalNfcV1_2TargetTest
Each VTS module is required to have OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I8db8eddb628d90307ff7e1c4b180d828e01ffa47
2021-08-19 10:54:41 -07:00
David Drysdale
ff81928532 KeyMint VTS: add missing purpose/algo
Test was producing an invalid set of parameters in a different way than
intended.

Bug: 197222749
Test: VtsAidlKeyMintTargetTest
Change-Id: I07f706fec81d91e8eee9c0561428142559c54f12
2021-08-19 17:07:04 +01:00
Andy Hung
de0d3df464 Remove libaudioclient from vendor
Test: compiles
Bug: 189371870
Change-Id: Ic96bbb0c370883866fac731ef5e6941c1994c7c6
2021-08-18 20:30:02 -07:00
Prabir Pradhan
b99a3ccddf Undefine NAN after including it in Looper.h
Looper.h needs to include the header for unordered_map, which itself
includes math.h, which defines the macro NAN. Some HALs use enums called
NAN, which causes a build error if the NAN macro is defined. We need to
undef NAN in these cases after including Looper.h.

Bug: 195020232
Test: presubmit: checkbuild
Merged-In: I63bba8ea809a12571ddc88cd1d20f2adeedf0b30
Change-Id: I63bba8ea809a12571ddc88cd1d20f2adeedf0b30
2021-08-18 10:24:55 -07:00
Yiming Pan
1842c48ad1 Merge "Add OWNERS for VTS module VtsHalCasV1_0TargetTest" 2021-08-17 17:47:49 +00:00
Jiyong Park
e0f2d29b7f Remove ndk_platform backend. Use the ndk backend.
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

Bug: 161456198
Test: m
Merged-In: I0652f1efe920111d79dd8c2ecd52e55dda54538f
Merged-In: Ib58c9f1cb80d083a3c62d03415610be855b80f03
Change-Id: Ied92f2784ed7d6a73693c640042c8a66fbbcfa17
2021-08-17 14:48:50 +00:00
Max Bires
3828fb2214 Merge "AesInvalidKeySize skip 192 on SB devices" 2021-08-13 21:45:14 +00:00
Treehugger Robot
635c0b8416 Merge "Backfill owner information for VTS module VtsHalAudioV2_0TargetTest" 2021-08-13 17:37:57 +00:00
Yiming Pan
494d01a431 Backfill owner information for VTS module VtsHalAudioV2_0TargetTest
Owner information already exists. Add bug component information.

Test: Tree Hugger
Bug: 143903671
Change-Id: I7142c9dea2af4ae037a0244d7d306e401c1d5cfb
2021-08-13 09:30:58 -07:00
Yiming Pan
96f2167c4a Merge "Add OWNERS for VTS module VtsHalBluetoothV1_0TargetTest" 2021-08-13 01:09:05 +00:00
Yiming Pan
5f89ee9d4e Merge "Add OWNERS for VTS module VtsHalBroadcastradioV2_0TargetTest" 2021-08-13 01:08:29 +00:00
Treehugger Robot
1758d3a4b6 Merge "Fix KeyDeletionTest.DeleteAllKeys" 2021-08-12 23:54:15 +00:00
Shawn Willden
9a7410e50d Fix KeyDeletionTest.DeleteAllKeys
Test failed to set default key validity, which caused keygen to fail.
Wasn't noticed because this test is typically disarmed.

Note:  This test will destroy all user data on the device (which is
why it is typically disarmed).

Bug: 187105270
Test: VtsAidlKeyMintTargetTest --arm_deleteAllKeys
Change-Id: I67e317fdfca15c95c6420918948d1416e97de482
Merged-In: I67e317fdfca15c95c6420918948d1416e97de482
2021-08-12 22:47:34 +00:00
Yiming Pan
325311cba1 Add OWNERS for VTS module VtsHalBroadcastradioV2_0TargetTest
Each VTS module is required to have OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I0891cccbb58f551ae072c69c7b2faadecf63fcc1
2021-08-12 12:23:16 -07:00
Treehugger Robot
2cac932fef Merge "Revert^2 "Making NN hardware interface libs "host supported""" 2021-08-12 16:01:47 +00:00
David Drysdale
4ef503113e Merge "keymint/aidl/OWNERS: add drysdale@" 2021-08-12 13:03:57 +00:00
Yiming Pan
42987179ff Add OWNERS for VTS module VtsHalGnssV1_1TargetTest
Each VTS module is required to have OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I9e8b9d26a5184d1f68aa766b7601d5857161576a
2021-08-11 16:39:30 -07:00
Yiming Pan
ed10676a47 Add OWNERS for VTS module VtsHalGnssV1_0TargetTest
Each VTS module is required to have OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I287675cadec460262e97d1f05ec921c9a8ded262
2021-08-11 16:39:23 -07:00
Yiming Pan
38aafe384d Add OWNERS for VTS module VtsHalCasV1_0TargetTest
Each VTS module is required to have OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: Id7141cc7754b306166ca16e4d55fee77ce6d05b4
2021-08-11 16:38:48 -07:00
Yiming Pan
a75adbe8cb Add OWNERS for VTS module VtsHalBluetoothV1_0TargetTest
Each VTS module is required to have OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I63d07c5d1fcebe43c8d18db447e835e49f6114ef
2021-08-11 16:38:28 -07:00