Commit Graph

19149 Commits

Author SHA1 Message Date
Steven Moreland
f53015c836 Merge changes from topics "vintf-rebootescrow", "vintf-vibrator"
* changes:
  vibrator: use package as name
  rebootescrow: use package as name
2020-01-07 02:19:06 +00:00
TreeHugger Robot
bd0827aa2f Merge "composer: register only vsync_2_4 callback" 2020-01-07 01:01:30 +00:00
Automerger Merge Worker
79f84e98be [automerger skipped] Merge changes from topics "dequantize_signed", "nnapi-1.3-IPreparedModel-2" am: c4ccbc1a77 am: ecdd667f41 am: c04c1b619a -s ours
am skip reason: Change-Id I1b3b0a362d3949d4e31708388100d4794846ca3a with SHA-1 2bd0b3339c is in history

Change-Id: I78bbbde4d4513029081c20a1d9b91fed55ef4354
2020-01-06 23:08:06 +00:00
Automerger Merge Worker
9c12f4c8b7 [automerger skipped] NN HAL: Upgrade IPreparedModel::executeSynchronously to 1.3. am: d4a060bb29 am: 8ebc7737a9 am: cbdbadb790 -s ours
am skip reason: Change-Id I4b74e8ac031c5d793cf7e5d66190734949367538 with SHA-1 ebd88ba8d2 is in history

Change-Id: I1cd081b8cc0b903699916c3a8f973f5d4c96edbe
2020-01-06 23:08:03 +00:00
Automerger Merge Worker
c04c1b619a Merge changes from topics "dequantize_signed", "nnapi-1.3-IPreparedModel-2" am: c4ccbc1a77 am: ecdd667f41
Change-Id: Ibc81271da97e0cfe29953d53a61440cb9607d45e
2020-01-06 22:52:12 +00:00
Automerger Merge Worker
cbdbadb790 NN HAL: Upgrade IPreparedModel::executeSynchronously to 1.3. am: d4a060bb29 am: 8ebc7737a9
Change-Id: I0c133401556f65bb3bc18ecaef36e2c2700ca481
2020-01-06 22:52:09 +00:00
Lev Proleev
ecdd667f41 Merge changes from topics "dequantize_signed", "nnapi-1.3-IPreparedModel-2"
am: c4ccbc1a77

Change-Id: I9b6d7562089a0bd2e432f4eb883c5b451f164c9e
2020-01-06 14:41:24 -08:00
Xusong Wang
8ebc7737a9 NN HAL: Upgrade IPreparedModel::executeSynchronously to 1.3.
am: d4a060bb29

Change-Id: I41acc0e984d75b8073195dc4a9c4345198f5ad7e
2020-01-06 14:41:16 -08:00
Treehugger Robot
c4ccbc1a77 Merge changes from topics "dequantize_signed", "nnapi-1.3-IPreparedModel-2"
* changes:
  Add TENSOR_QUANT8_ASYMM_SIGNED support for DEQUANTIZE
  NN HAL: Upgrade IPreparedModel::executeSynchronously to 1.3.
2020-01-06 22:22:46 +00:00
Steven Moreland
07f2694650 vibrator: use package as name
In order to provide a more descriptive name, and to be consistent
with HIDL, the stable AIDL package names are switching from
vintf-vibrator format to the package format
(android.hardware.vibrator).

Bug: N/A
Test: all build time
Change-Id: I52959482898f329ad1b3a3a5b345a0c6dc72197d
2020-01-06 13:44:22 -08:00
Steven Moreland
82cd11cc94 rebootescrow: use package as name
In order to provide a more descriptive name, and to be consistent
with HIDL, the stable AIDL package names are switching from
vintf-rebootescrow format to the package format
(android.hardware.rebootescrow).

Bug: N/A
Test: all build time
Change-Id: Ibb116e76761b751515d95ee8e515a6f7b97bb8d0
2020-01-06 13:21:52 -08:00
TreeHugger Robot
1d0c4bbee9 Merge "Enable java backend for occupant awareness iface." 2020-01-06 20:19:32 +00:00
TreeHugger Robot
8c7062f56d Merge "Add owners file for rebootescrow" 2020-01-06 19:47:52 +00:00
Chris Weir
d7e18f699d Merge "Add VTS tests for EFF/RTR" 2020-01-06 19:23:32 +00:00
Paul Crowley
1025e9b6dc Merge "Speed up encoding" 2020-01-06 19:04:36 +00:00
Paul Crowley
47ff2dff72 Merge "Shuffle the encoding to prevent systematic errors" 2020-01-06 19:04:20 +00:00
Automerger Merge Worker
9193bd3eae Merge "Add TAG_MAC_LENGTH to EncryptionOperationsTest.AesWrongPurpose" am: a4bffdbeb0 am: 336af5783c am: c4b764ca09
Change-Id: I2847afc7dffa74a30f99a73042c7a07bd768188b
2020-01-06 19:02:05 +00:00
Automerger Merge Worker
c4b764ca09 Merge "Add TAG_MAC_LENGTH to EncryptionOperationsTest.AesWrongPurpose" am: a4bffdbeb0 am: 336af5783c
Change-Id: I89aaaf06faeb540428539e13130839490ae53d32
2020-01-06 18:46:52 +00:00
Kenny Root
e85edb9067 Add owners file for rebootescrow
Applies to the default implementation and VTS tests. The AIDL is still
managed by API review council.

Test: No functional change
Change-Id: Icb2d9182c1b3376d6b46b467388785e7180db1e9
2020-01-06 10:41:53 -08:00
Automerger Merge Worker
c3be1d3048 [automerger skipped] Add TENSOR_QUANT8_ASYMM_SIGNED support for ARG(MIN|MAX) am: 2326dd1a88 am: d08e4d8d94 am: 0c3057ff01 -s ours
am skip reason: Change-Id I4a90642f4d8500237fd41de76687fbe4c021b652 with SHA-1 e9f0b92568 is in history

Change-Id: I28b291a438aaf7917976a2e93534933c0f3bb5d4
2020-01-06 18:34:40 +00:00
Wenhao Wang
336af5783c Merge "Add TAG_MAC_LENGTH to EncryptionOperationsTest.AesWrongPurpose"
am: a4bffdbeb0

Change-Id: Ieedda624c3e48c44e3ed596ff1e2e4eb347124dc
2020-01-06 10:29:11 -08:00
Wenhao Wang
a4bffdbeb0 Merge "Add TAG_MAC_LENGTH to EncryptionOperationsTest.AesWrongPurpose" 2020-01-06 18:22:49 +00:00
Automerger Merge Worker
0c3057ff01 Add TENSOR_QUANT8_ASYMM_SIGNED support for ARG(MIN|MAX) am: 2326dd1a88 am: d08e4d8d94
Change-Id: Iada56ec615fb6a5d7559048673d8d317487d0539
2020-01-06 18:14:24 +00:00
chrisweir
f53a4e2ff3 Add VTS tests for EFF/RTR
Remote transmission request, and extended format id's require testing to
verify that the feature works correctly.

Also included is a fix which correctly sets the EFF and RTR flags of the
canfd_frame object based on the state of the CanMessage object.

A readability change is made to the types.hal which improves clarity of
the way filters are defined.

Bug: 146173498
Test: run the VTS tests in vts/functional - verify that they pass
Change-Id: I9892a2e2465b8c381774e7ee277bfa8660f25028
2020-01-06 10:05:25 -08:00
Przemyslaw Szczepaniak
d08e4d8d94 Add TENSOR_QUANT8_ASYMM_SIGNED support for ARG(MIN|MAX)
am: 2326dd1a88

Change-Id: I71380df2974e42d6b18af5aac13edec01254907d
2020-01-06 10:03:52 -08:00
Changyeon Jo
5612422f62 Merge changes from topic "evs_next"
* changes:
  Implement getPhysicalCameraInfo() method
  Update EVS VTS test cases
  Fix EVS frame handler for VTS
  Fix EVS VTS test cases
  Prerequsite changes for EVS multi-camera support
2020-01-06 18:03:42 +00:00
Lev Proleev
ae643ae705 Add TENSOR_QUANT8_ASYMM_SIGNED support for DEQUANTIZE
Add TENSOR_QUANT8_ASYMM_SIGNED to the list of exceptions when mutating
DEQUANTIZE for validation.

Bug: 143934768
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I1b3b0a362d3949d4e31708388100d4794846ca3a
Merged-In: I1b3b0a362d3949d4e31708388100d4794846ca3a
(cherry picked from commit 2bd0b3339c)
2020-01-06 15:20:16 +00:00
Xusong Wang
d4a060bb29 NN HAL: Upgrade IPreparedModel::executeSynchronously to 1.3.
Bug: 143242728
Test: 1.3 VTS with sample driver
Change-Id: I4b74e8ac031c5d793cf7e5d66190734949367538
Merged-In: I4b74e8ac031c5d793cf7e5d66190734949367538
(cherry picked from commit ebd88ba8d2)
2020-01-06 15:20:14 +00:00
Przemyslaw Szczepaniak
2326dd1a88 Add TENSOR_QUANT8_ASYMM_SIGNED support for ARG(MIN|MAX)
Test: CTS/VTS
Change-Id: I4a90642f4d8500237fd41de76687fbe4c021b652
Merged-In: I4a90642f4d8500237fd41de76687fbe4c021b652
(cherry picked from commit e9f0b92568)
2020-01-06 15:20:10 +00:00
Lev Proleev
5598f53d28 Merge "Add quant8 signed generated tests" 2020-01-06 13:55:30 +00:00
TreeHugger Robot
d941edf57b Merge "Add exceptions to the signed quantization coupling tests" 2020-01-06 11:31:52 +00:00
Changyeon Jo
6caf74b061 Implement getPhysicalCameraInfo() method
This change adds a new method, getPhysicalCameraInfo(), to IEvsCamera
interface, implements it in the default implementation, and update
corresponding VTS test cases.

Bug: 142275664
Test: VtsHalEvsV1_1TargetTest
Change-Id: Ic993d5670c34f05ef8d807708f27dec75008b04b
Signed-off-by: Changyeon Jo <changyeon@google.com>
2020-01-04 09:56:06 -08:00
Changyeon Jo
a203a13bf3 Update EVS VTS test cases
This change updates existing EVS VTS test cases to verify the logical
camera device.

Bug: 142275664
Test: VtsHalEvsV1_1TargetTest
Change-Id: Ieebb09a3bbf948ab60d0498a359be8f8c726735c
Signed-off-by: Changyeon Jo <changyeon@google.com>
2020-01-04 09:56:06 -08:00
Changyeon Jo
273c37d303 Fix EVS frame handler for VTS
This change updates FrameHandler to handle and count delivered EVS
frames correctly.

Bug: 142275664
Test: VtsHalEvsV1_1TargetTest
Change-Id: I098bcf8155c9e4211ec0152b2a828520b6c22dc2
Signed-off-by: Changyeon Jo <changyeon@google.com>
2020-01-04 09:56:06 -08:00
Changyeon Jo
3e80b3b528 Fix EVS VTS test cases
This change modifies logics to verify test results that need to parse
events from EVS manager.  Especially, test cases that run multiple
camera clients spawn threads to listen EVS events.

Also, this updates waitForEvent() method to return more precise results.

Bug: 142275664
Test: VtsHalEvsV1_1Target
Change-Id: Ic328217be1e49a3a862facf783a5356ac34ce9ed
Signed-off-by: Changyeon Jo <changyeon@google.com>
2020-01-04 09:56:06 -08:00
Changyeon Jo
56c9b37795 Prerequsite changes for EVS multi-camera support
This change modifies existing methods and data types for upcoming EVS
multi-camera support.
- deliverFrame_1_1() and doneWithFrame_1_1() are modified to take
  multiple buffer descriptors.
- setIntParameter() and getIntParameter() are changed to return multiple
  parameter values.
- Device ID and timestamp fields are added to BufferDesc.
- EvsEvent is renamed as EvsEventDesc and Device Id is added.

Bug: 142275664
Test: VtsHalEvsV1_1TargetTest
Change-Id: I0415b2cb0642d1377f4d23a4e154080a66c81187
Signed-off-by: Changyeon Jo <changyeon@google.com>
2020-01-04 09:56:06 -08:00
Automerger Merge Worker
c6f6cc6240 Merge "Remove creation time checks." am: 0184f1836d am: 58a95666eb am: 0804118fd5
Change-Id: Idb23e003f85002890d423c4e79329990bf8cb3af
2020-01-03 21:34:37 +00:00
Automerger Merge Worker
0804118fd5 Merge "Remove creation time checks." am: 0184f1836d am: 58a95666eb
Change-Id: I5a10c53a8357d6e0fdc5e4c282650ac642401b76
2020-01-03 21:22:12 +00:00
Shawn Willden
58a95666eb Merge "Remove creation time checks."
am: 0184f1836d

Change-Id: If284613f6f4a3c5433bba97526ab15a40385e71b
2020-01-03 13:11:40 -08:00
Treehugger Robot
0184f1836d Merge "Remove creation time checks." 2020-01-03 21:09:18 +00:00
Tomasz Wasilczyk
89e9619b8f Merge "CAN bus HAL VTS: read interface names from device manifest" 2020-01-03 20:18:27 +00:00
Lev Proleev
16e8c9cc02 Add quant8 signed generated tests
Fixes ValidateModel test for AXIS_ALIGNED_BBOX_TRANSFORM.

Bug: 136735770
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: Ie2959ba7258d8106d5b3dd36970181519b75e3b3
2020-01-03 15:22:33 +00:00
Roger Wang
950df46128 Merge "hostapd: Add debug level control" 2020-01-03 02:45:15 +00:00
Tomasz Wasilczyk
f9e869e277 CAN bus HAL VTS: read interface names from device manifest
Bug: 143635976
Test: VTS
Change-Id: I99dc0de992dff8ffef03572fd38f57f38b7975ab
2020-01-02 14:31:29 -08:00
Lev Proleev
6a1d5e405f Add exceptions to the signed quantization coupling tests
Main commit is in frameworks/ml/nn. This one only renames
testModel.hasQuant8AsymmOperands() to
testModel.hasQuant8CoupledOperands().

Bug: 143935412
Bug: 143934188
Bug: 143935353
Bug: 143934467
Bug: 143934184
Test: quantization coupling tests in CTS and VTS
Change-Id: I0f7c331c355fe61ee06605786f09bc1ca7cdef57
2020-01-02 18:34:03 +00:00
Ahmed ElArabawy
9392b58da0 Wifi: Fix VtsHalWifiHostapdV1_1TargetTest
This commit fixes VTS tests in VtsHalWifiHostapdV1_1TargetTest
resulting from upgrading APIs and stopping support for old APIs.

Bug: 147006566
Test: atest VtsHalWifiHostapdV1_1TargetTest
Change-Id: Ia6be7f08c160ef3b0478630193fb6a39e774e109
2019-12-30 10:11:57 -08:00
Ahmed ElArabawy
436ab20ef6 Wifi: Fix VTS tests in VtsHalWifiNanV1_2TargetTest
This commit fixes VTS tests in VtsHalWifiNanV1_2TargetTest resulting
from upgrading APIs and stopping support for old APIs.

Bug: 146989939
Test: atest VtsHalWifiNanV1_2TargetTest
Change-Id: Ibc71cdb3ead7fb346ac62ebfd132f82ee3d81eeb
2019-12-29 23:44:25 -08:00
Ahmed ElArabawy
36defb377e Wifi: Fix VTS tests
This commit fixes VTS tests resulting from upgrading APIs and stopping
support for old APIs.

Bug: 144926452
Test: atest VtsHalWifiV1_0TargetTest
Test: atest VtsHalWifiV1_3TargetTest
Change-Id: I73140be1dfb969da24c802e658e97d4040837243
2019-12-29 21:56:41 -08:00
Ahmed ElArabawy
5a3e81c7fb Fix vts test VtsHalWifiV1_2TargetTest
VTS test for WifiChipHidlTest#registerEventCallback_1_2 was failing
on the default implementation of the 1.4 HAL. This is because
registerEventCallback_1_2() is no longer supported due to the upgrade
to registerEventCallback_1_4().

This commit fixes this VTS test error by allowing ERROR_NOT_SUPPORTED
as a valid test output.

Bug: 146020950
Test: atest VtsHalWifiV1_2TargetTest

Change-Id: Ia58b0dad5ed753c22d620b0fad6904d634e01e72
2019-12-29 21:56:13 -08:00
Shawn Willden
534085b76a Remove creation time checks.
We should not be relying on the HAL service to add CREATION_TIME to
keys.  It was always intended to be an optional tag that could be
added by keystore, or maybe the caller of keystore.  One widespread
Keymaster implementation started adding it (somewhat erroneously) if
it wasn't provided, and it appears that this implementation's behavior
became assumed to be the required behavior.

Test: VtsHalKeymasterV4_0TargetTest
Change-Id: I34267c4e1f59fd8ee5f898f8c746a7b49f4d74a5
2019-12-29 21:33:00 -08:00