Commit Graph

28865 Commits

Author SHA1 Message Date
Treehugger Robot
56590ebeb6 Merge "Backfill owner information for VTS module VtsHalGnssV2_1TargetTest." 2021-09-09 03:15:20 +00:00
Treehugger Robot
a850e9d1b6 Merge "Backfill owner information for VTS module VtsHalInputClassifierV1_0TargetTest." 2021-09-09 01:59:37 +00:00
Sarah Chin
929ac9036b Merge "move the fields in RouteSelectionDescriptorParams to RouteSelectionDescriptor" 2021-09-09 01:57:46 +00:00
Treehugger Robot
a5197a42d4 Merge "Backfill owner information for VTS module VtsHalAudioEffectV6_0TargetTest." 2021-09-09 01:56:08 +00:00
Treehugger Robot
1c8d75f9a1 Merge "Backfill owner information for VTS module VtsHalSecureElementV1_2TargetTest." 2021-09-09 00:44:58 +00:00
Yiming Pan
86e736283b Merge "Backfill owner information for VTS module VtsHalAudioV6_0TargetTest." 2021-09-09 00:20:43 +00:00
David Drysdale
0fce69d05c Disable KeyMint -> IRemotelyProvisionedComponent test
Not required yet.

Test: VtsAidlKeyMintTargetTest
Change-Id: Ie8fecc4ea4795d7fa4fd6bcf0e6d8013c15f50e5
Bug: 186586864
2021-09-08 17:36:17 +00:00
Hongbo Zeng
c39d782a95 move the fields in RouteSelectionDescriptorParams to RouteSelectionDescriptor
Bug: 178075054
Test: full build pass
Change-Id: I283514bd63cb3ae7c37d8e3d4740e38f7e79a09e
Merged-In: I283514bd63cb3ae7c37d8e3d4740e38f7e79a09e
2021-09-07 10:40:26 -07:00
Linzhao Ye
7218fea0eb Merge "Add Wifi HAL hostapd AIDL interface definitions." 2021-09-07 17:15:33 +00:00
Treehugger Robot
c9cb222b2c Merge "identity: Make NoS libeic and AOSP libeic align" 2021-09-07 12:55:30 +00:00
Treehugger Robot
52f4717d0e Merge "Adding OWNERS for CEC HAL" 2021-09-06 11:53:42 +00:00
Joseph Jang
dabb3c515f identity: Make NoS libeic and AOSP libeic align
1. Add input parameter buffer size for CBOR data encoding
   because Nugget OS protobuf buffer is not null terminated.
2. Modify some libeic APIs to align with NoS libeic.

Bug: 198403263
Test: atest VtsHalIdentityTargetTest
      atest android.security.identity.cts
Change-Id: I9bc3689da2571c0925972f33b7314cbaaad0e28d
2021-09-06 18:27:08 +08:00
Hsin-Yi Chen
bd0d99e730 Merge "Use CLOCK_BOOTTIME for default sensor implementation" 2021-09-06 03:47:58 +00:00
Treehugger Robot
7a76cd7f45 Merge "Add OWNERS for VTS module VtsHalPowerStatsV1_0TargetTest" 2021-09-04 05:14:13 +00:00
Treehugger Robot
89c6a406e6 Merge "Backfill owner information for VTS module VtsHalSapV1_0TargetTest." 2021-09-04 04:57:24 +00:00
Treehugger Robot
ac48f5f420 Merge "Backfill owner information for VTS module VtsHalEvsV1_0TargetTest." 2021-09-04 04:12:13 +00:00
Treehugger Robot
b0c278e439 Merge "Backfill owner information for VTS module VtsHalEvsV1_1TargetTest." 2021-09-04 03:51:24 +00:00
Hsin-Yi Chen
adac97fa08 Use CLOCK_BOOTTIME for default sensor implementation
The sensor implementation used to generate periodic signals according to
CLOCK_REALTIME. The clock can be adjusted by user or synchronization
service and results in wrong period. This commit changes it to
CLOCK_BOOTTIME which is monotonic.

Test: atest VtsHalSensorsV2_0TargetTest
Test: atest VtsHalSensorsV2_1TargetTest
Test: atest CtsSensorTestCases
Bug: 194030777
Change-Id: Iac39c93d6d2518b1abe8fc07fd695b9bb2cf30a5
2021-09-03 12:07:15 +08:00
Max Bires
b04c67a938 Change the language for SB AES key sizes
This alters the HAL documentation to specify that StrongBox must ONLY
support AES 128 and 256 keys.

Bug: 191736606
Test: Read the documentation and confirm that it is clear.
Change-Id: I484d51700df28eb073b7928b6dc7a3b52c59caee
2021-09-01 23:24:01 -07:00
Chris Ye
d13f7b5495 Add Wifi HAL hostapd AIDL interface definitions.
Add AIDL version of Wifi HAL hostapd interfaces, converted from
android.hardware.wifi.hostapd@1.3 HIDL interfaces.

Bug: 194806512
Test: m android.hardware.wifi.hostapd-update-api
Change-Id: I1035f8bc9171e59967448fa438f2cc79ad53c066
2021-09-01 23:17:16 -07:00
Steven Moreland
334a6134de Merge "fmq: use versions for imports" 2021-09-01 16:21:44 +00:00
Nathalie Le Clair
4fc4870973 Adding OWNERS for CEC HAL
Bug: 185434120
Test: none

Change-Id: Ie475d581a7e703f9f82a7afb9188c9a2c789189b
Merged-In: Ie475d581a7e703f9f82a7afb9188c9a2c789189b
2021-09-01 15:50:00 +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
Yiming Pan
277b069c8c Backfill owner information for VTS module VtsHalSecureElementV1_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: I61d899249fa3d2d72ee183db31ceb44bb0f17c09
2021-08-30 12:59:45 -07:00
Yiming Pan
09da344854 Backfill owner information for VTS module VtsHalInputClassifierV1_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: I9749d4f85565d7de95482083e8ac3fe7e682fcc8
2021-08-30 12:59:21 -07:00
Yiming Pan
2fcf0772b4 Backfill owner information for VTS module VtsHalEvsV1_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: I5a7371f4014dc8ba637e341d23c7f4a88c783d5e
2021-08-30 12:59:04 -07:00
Yiming Pan
10be7be340 Backfill owner information for VTS module VtsHalEvsV1_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: I5b9777b7bc8a4b505c00d8d32f021bafc601d63c
2021-08-30 12:58:55 -07:00
Yiming Pan
56ba9d39fd Backfill owner information for VTS module VtsHalAudioV6_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: I743c12b239732c85cecb421b4b4ee4ebcf36074a
2021-08-30 12:57:51 -07:00
Yiming Pan
701d7e7345 Backfill owner information for VTS module VtsHalGnssV2_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: I18f024d8790c1b855c07ce4489b591c2be13dd90
2021-08-30 12:57:24 -07:00
Yiming Pan
e1bd199f63 Backfill owner information for VTS module VtsHalAudioEffectV6_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: Ic69622eb6b1c99d145b12d6250e3b04daf0294cf
2021-08-30 12:57:01 -07:00
Yiming Pan
004cbc257a Backfill owner information for VTS module VtsHalSapV1_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: I95b03cb4a8e97726fca23e25060c255b48ebb428
2021-08-30 12:53:46 -07: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