Commit graph

30955 commits

Author SHA1 Message Date
Xusong Wang
16858a6a88 Test padded request memories in VTS generated tests.
This CL modifies the VTS generated tests to specify input and output
padding.

Bug: 179691454
Test: VtsHalNeuralnetworksTargetTest
Change-Id: Iec83199d6f046203acefdbd165887943447984a9
Merged-In: Iec83199d6f046203acefdbd165887943447984a9
(cherry picked from commit a0b82f3235)
2021-03-18 10:11:14 -07:00
Max Bires
7503f1c86e Merge "COSE unprotected parameters are a map not a bstr" am: 72ca1d2a40 am: ae5a2b8454
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1635692

Change-Id: I637a911e55f1a99d754100364ae16c2776d6e4a1
2021-03-18 16:30:07 +00:00
Max Bires
ae5a2b8454 Merge "COSE unprotected parameters are a map not a bstr" am: 72ca1d2a40
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1635692

Change-Id: I271f6f93695eaacbe59b1fb1a79f2ae1bbf896e7
2021-03-18 15:48:01 +00:00
Max Bires
72ca1d2a40 Merge "COSE unprotected parameters are a map not a bstr" 2021-03-18 15:08:43 +00:00
Anthony Stange
a03042d7a4 Update contexthub VTS based on latest spec
Bug: 180606685
Test: compile
Change-Id: I2e9e02aed4dae2a35b0b780e1f3379c08e80a6c4
2021-03-18 14:19:08 +00:00
Anthony Stange
778fb3e717 Modify default contexthub impl based on latest spec
Bug: 180606685
Test: compile
Change-Id: Ic9ed850cc7b96b5e2732bbcee81157e9fc81a906
2021-03-18 14:19:08 +00:00
Anthony Stange
aa2c425e66 Rework V1.2 ContextHub HAL spec
In the final implementation that makes use of this HAL version,
ContextHubMsg's don't have permissions information when they are sent
from the framework to the HAL since the framework is the end decider for
whether its clients have the right permissions.

Bug: 180606685
Test: presubmits
Change-Id: I385edce48ff71abc1c684919532b6c578df2a414
2021-03-18 14:19:04 +00:00
Shinru Han
8474d0fb29 Add capability bit for Bluesky driving
Bug: 182304682
Test: on cuttlefish
Change-Id: I80e4eb9bbd052ec2e2a16a8af12b5c6a29012f36
2021-03-18 19:12:09 +08:00
Kai Wang
91c9697d54 Merge "Correct Vehicle properties permissions" into sc-dev 2021-03-17 23:53:16 +00:00
Xusong Wang
8fd9f0abcf [automerger skipped] Merge "Passing padding information to the driver -- hal." am: 5e4453f690 am: af57c4d071 am: 15cc44d705 -s ours
am skip reason: skip tag Change-Id Ie13b421531ee4df48822086b027d94a622a3518c with SHA-1 6365ea1dbb is already in history

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

Change-Id: I455dad46a87705867310c3bc4bf555b69ff9a777
2021-03-17 21:13:53 +00:00
Yifan Hong
b294546ce8 Merge "Add script to get prelim HAL VTS coverage." am: 7665b917eb am: 0b52b10a1e am: 2080fc051f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1637743

Change-Id: I00f34f384756b505d7e9a68cdfc59cd861f6be69
2021-03-17 21:13:13 +00:00
Xusong Wang
15cc44d705 Merge "Passing padding information to the driver -- hal." am: 5e4453f690 am: af57c4d071
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1637742

Change-Id: I1f174a5add49b9e873f4c406bb23ca4bcc50913f
2021-03-17 20:51:01 +00:00
Yifan Hong
2080fc051f Merge "Add script to get prelim HAL VTS coverage." am: 7665b917eb am: 0b52b10a1e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1637743

Change-Id: I1acae54b8990611f52989cdc49c779b7e87e10f8
2021-03-17 20:50:22 +00:00
Xusong Wang
af57c4d071 Merge "Passing padding information to the driver -- hal." am: 5e4453f690
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1637742

Change-Id: Id2fa960edfbf33fd7946e96e3fe1fc030d875840
2021-03-17 20:48:54 +00:00
Xusong Wang
62445b7d5b Document the default alignment and padding value.
This CL documents the default value of the preferred alignment and
padding for request memories.

Bug: 179799921
Test: m
Change-Id: I89c16c3e20939a0ad68d9e3b0061c4a16dc00d8b
Merged-In: I89c16c3e20939a0ad68d9e3b0061c4a16dc00d8b
(cherry picked from commit e6dcc9a38d)
2021-03-17 13:20:31 -07:00
Xusong Wang
5e4453f690 Merge "Passing padding information to the driver -- hal." 2021-03-17 20:19:18 +00:00
TreeHugger Robot
218520be15 Merge "Vts: Add missing usage to buffer" into sc-dev 2021-03-17 19:57:30 +00:00
Yifan Hong
0b52b10a1e Merge "Add script to get prelim HAL VTS coverage." am: 7665b917eb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1637743

Change-Id: I3841464a3bf2cea2b375d83ed211b05932a65d10
2021-03-17 19:43:22 +00:00
Yifan Hong
7665b917eb Merge "Add script to get prelim HAL VTS coverage." 2021-03-17 18:30:52 +00:00
Slava Shklyaev
6910bec12f Move NNAPI type information to types.spec
See change Ic31ed957.

The changes to the *.t files in this CL do not introduce any changes to
the generated *.hal files.

Bug: 160667417
Test: generate_api.sh
Change-Id: Ie2dbbc0fc92e52b08adc807a7f514bd8945a055f
Merged-In: Ie2dbbc0fc92e52b08adc807a7f514bd8945a055f
(cherry picked from commit 14c1f985b0)
2021-03-17 13:32:50 +00:00
Lev Proleev
2d7195fd32 NNAPI: Add AIDL drivers registration
Bug: 179015258
Test: adb shell setprop debug.nn.partition 2 && \
Test: NeuralNetworksTest_static
Change-Id: I2c8c9a49ff917b243348043df1158a8d98f131ce
Merged-In: I2c8c9a49ff917b243348043df1158a8d98f131ce
(cherry picked from commit 5f732ff683)
2021-03-17 13:32:43 +00:00
Xusong Wang
5e36ca05e7 Passing padding information to the driver -- hal.
This CL changes the sAIDL interface to enable passing padding
information of the shared memory pool to the driver.

The sAIDL interface defines the padding field explicitly in DataLocation
to make it easy to convert to/from the canonical request.

Bug: 179691454
Test: NNT_static
Test: VtsHalNeuralnetworksTargetTest
Change-Id: Ie13b421531ee4df48822086b027d94a622a3518c
Merged-In: Ie13b421531ee4df48822086b027d94a622a3518c
(cherry picked from commit 6365ea1dbb)
2021-03-17 11:39:20 +00:00
TreeHugger Robot
c7e7546d20 Merge "wifi: Add unit for API doc." into sc-dev 2021-03-17 06:38:45 +00:00
Ady Abraham
203bdee456 Vts: Add missing usage to buffer
The test's buffer is read by the GPU and therefore needs to be allocatted with
BufferUsage::GPU_TEXTURE

Fixes: 182935868
Change-Id: I7795e6a32acdf3ecf76003bd12715fcaf73a4e71
Test: VtsHalGraphicsComposerV2_2TargetTest
2021-03-17 03:32:59 +00:00
Robert Shih
8708f4e26d Merge "drm@1.4: ANAPIC doc review follow-up" into sc-dev 2021-03-17 00:44:38 +00:00
Treehugger Robot
9f79971142 Merge changes from topic "aosp-nnapi-burst-compat-lib" am: 593f0ecaf4 am: 226d3a6848 am: 01d802c729
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1640843

Change-Id: Icf3e133e485f602da745f601c6196f6a4c04f9e9
2021-03-16 23:41:37 +00:00
Lev Proleev
67c1caf60c Add canonical types adapters for NNAPI AIDL interface am: 900c28a250 am: 1bca9ab315 am: 8dbed29e45
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1640842

Change-Id: I063f6b05a4cd4a94ab3e4aa0f4558f1727e3cb85
2021-03-16 23:41:35 +00:00
Lev Proleev
a054a9401f Add missing NNAPI HIDL interface mock tests am: 7b0b54697c am: faa3ea2821 am: 7e21641013
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1640841

Change-Id: I6064b85a4011248930beb540315a2874929a0d21
2021-03-16 23:41:33 +00:00
Satya Tangirala
94fefe7793 Merge "Keystore 2.0: Sync output format of generated headers" am: cfab4c08e1 am: 87ac3808d8 am: b1aefbe001
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1622544

Change-Id: I546c35979cf7d6137895b22abbd40c05ba0cdc40
2021-03-16 23:40:53 +00:00
Steven Moreland
2751a6ad2f Merge "Fix incorrect Power destruction" am: 3af4111932 am: ab4954afe9 am: 40221ce02e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1634024

Change-Id: I42598bd8c80c6369d5fa6f00ce75118b2e4fb8d0
2021-03-16 23:40:45 +00:00
Shuo Qian
bd716e8dfc Merge "Fix emergencyDialResponse in VTS 1.6" am: b840a0cdd3 am: a6d37dd0c1 am: 696dbed574
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1628876

Change-Id: I734efdc9b4f17b8958f3446a91704933dcb14d88
2021-03-16 23:21:09 +00:00
Treehugger Robot
01d802c729 Merge changes from topic "aosp-nnapi-burst-compat-lib" am: 593f0ecaf4 am: 226d3a6848
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1640843

Change-Id: I3da44f1167fc6d233ba0ef2c8935184f27fd0cf1
2021-03-16 22:17:30 +00:00
Lev Proleev
8dbed29e45 Add canonical types adapters for NNAPI AIDL interface am: 900c28a250 am: 1bca9ab315
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1640842

Change-Id: I7ca57555148ca7768beac642891e589d8e21b528
2021-03-16 22:17:28 +00:00
Lev Proleev
7e21641013 Add missing NNAPI HIDL interface mock tests am: 7b0b54697c am: faa3ea2821
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1640841

Change-Id: Ie788e56dd6783834732acd98e320d5ea6397e1f2
2021-03-16 22:17:25 +00:00
Satya Tangirala
b1aefbe001 Merge "Keystore 2.0: Sync output format of generated headers" am: cfab4c08e1 am: 87ac3808d8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1622544

Change-Id: I8d764396c26905adafc4d00f186dee1d399a999e
2021-03-16 22:16:49 +00:00
TreeHugger Robot
91f691ec8a Merge "Document the default alignment and padding value." into sc-dev 2021-03-16 21:49:59 +00:00
Treehugger Robot
226d3a6848 Merge changes from topic "aosp-nnapi-burst-compat-lib" am: 593f0ecaf4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1640843

Change-Id: I892a18e83e3f68f59ec3c9d3343ceb2d90e86903
2021-03-16 21:37:58 +00:00
Lev Proleev
1bca9ab315 Add canonical types adapters for NNAPI AIDL interface am: 900c28a250
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1640842

Change-Id: I6077cc5a7adf58582ba25773e954a8c06b5019fe
2021-03-16 21:37:53 +00:00
Lev Proleev
faa3ea2821 Add missing NNAPI HIDL interface mock tests am: 7b0b54697c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1640841

Change-Id: I5815732368e765807b4b92a9224aa032b74d3894
2021-03-16 21:37:49 +00:00
Satya Tangirala
87ac3808d8 Merge "Keystore 2.0: Sync output format of generated headers" am: cfab4c08e1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1622544

Change-Id: Icf1ca49fdabfa793fc623946d5d6038d4ad4b029
2021-03-16 21:35:37 +00:00
Kumar Anand
90b2cdd4ce Merge "Wifi: Invalid bandwidth crash handling" into sc-dev 2021-03-16 21:19:49 +00:00
Treehugger Robot
593f0ecaf4 Merge changes from topic "aosp-nnapi-burst-compat-lib"
* changes:
  Implement full canonical Burst in NN util code
  Add canonical types adapters for NNAPI AIDL interface
  Add missing NNAPI HIDL interface mock tests
2021-03-16 20:56:34 +00:00
Steven Moreland
40221ce02e Merge "Fix incorrect Power destruction" am: 3af4111932 am: ab4954afe9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1634024

Change-Id: I3da040f7760cf3bc642c7140240edd5e196f815e
2021-03-16 20:52:06 +00:00
Shuo Qian
696dbed574 Merge "Fix emergencyDialResponse in VTS 1.6" am: b840a0cdd3 am: a6d37dd0c1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1628876

Change-Id: I6a007c75d25fa8fd79173cd84302d3fbfa98d6be
2021-03-16 20:51:53 +00:00
Satya Tangirala
cfab4c08e1 Merge "Keystore 2.0: Sync output format of generated headers" 2021-03-16 20:49:19 +00:00
Steven Moreland
ab4954afe9 Merge "Fix incorrect Power destruction" am: 3af4111932
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1634024

Change-Id: I98fc53171d242e2ba14ec0b325ffa09a66fe15ec
2021-03-16 20:17:16 +00:00
Shuo Qian
a6d37dd0c1 Merge "Fix emergencyDialResponse in VTS 1.6" am: b840a0cdd3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1628876

Change-Id: I2fae9fe474e30143b41c73a8e8e539c35d4ebe63
2021-03-16 20:16:20 +00:00
Steven Moreland
3af4111932 Merge "Fix incorrect Power destruction" 2021-03-16 20:10:04 +00:00
Shuo Qian
b840a0cdd3 Merge "Fix emergencyDialResponse in VTS 1.6" 2021-03-16 19:42:56 +00:00
Kumar Anand
ea0d50167b Wifi: Invalid bandwidth crash handling
Treat WIFI_CHAN_WIDTH_INVALID(-1) and any other unknown
bandwidth value as invalid.

Bug: 182850702
Test: VTS - VtsHalWifiV1_5TargetTest
Change-Id: Id25d50af9283b89f135a4f36e1f696f6db4e302e
2021-03-16 12:17:47 -07:00