Commit graph

514 commits

Author SHA1 Message Date
Lev Proleev
e1e4fc9a38 Merge "Add TENSOR_QUANT8_ASYMM_SIGNED support to ADD, MUL and SUB." 2019-11-21 15:27:35 +00:00
Jakub Pawlowski
1e32cdf320 Merge "bluetooth: V1.1" am: 58b3a47b89 am: 57ab4a1db2
am: 4fd666d86a

Change-Id: Ice95085e625ffb90db8efb0411fb70437093d41c
2019-11-20 11:05:38 -08:00
Lev Proleev
122bc2c0cc Add TENSOR_QUANT8_ASYMM_SIGNED support to ADD, MUL and SUB.
Bug: 143934463
Bug: 143934627
Bug: 143935040
Test: NNTest_static and 1.3 VTS
Change-Id: I47ffc2c264390f3c6b98aa9567fb47f2c58333fe
2019-11-20 11:15:02 +00:00
Lev Proleev
5c305e52ef Merge changes from topic "quant_coupling"
* changes:
  Add QUANT8_ASYMM_SIGNED support to SELECT op
  Add quantization coupling test
2019-11-20 10:56:14 +00:00
Jakub Pawlowski
13b4d3150c bluetooth: V1.1
Add ISO

Test: run rootcanal, verify 1.1 HAL can be used
Bug: 144413056
Change-Id: Ic5b33602e1e4ba8e6d16623b9f8c46f674fc476c
2019-11-20 00:47:22 +01:00
Jakub Pawlowski
dead48f5fb Add hash for media.c2@1.1
Bug: 136316504
Change-Id: Ic78f472723e327758985ed1a9e30faabba3ed365
2019-11-19 23:03:30 +01:00
Xusong Wang
1b3f426648 NN HAL: Upgrade IPreparedModel::execute to 1.3.
Bug: 143242728
Test: 1.3 VTS with sample driver
Change-Id: I9ca1e28ddc97fe880a72885afe7afb6c93903697
Merged-In: I9ca1e28ddc97fe880a72885afe7afb6c93903697
(cherry picked from commit 62a760c32d)
2019-11-19 12:18:41 -08:00
Xusong Wang
cc47dffa57 NN HAL: Upgrade IPreparedModelCallback::notify to 1.3.
Bug: 143242728
Test: 1.3 VTS with sample driver
Change-Id: I56bc7a2fb179a9576036ad0c2aae0e1f41ec4e2c
Merged-In: I56bc7a2fb179a9576036ad0c2aae0e1f41ec4e2c
(cherry picked from commit 68c3234ad3)
2019-11-19 12:18:33 -08:00
sqian
db5163ca1b Fix a mistake in the RSSNR range.
Test: build
Bug: 135717625
Change-Id: I2e7db25d6f9abb142f8c113d4f1d9666defe6be4
Merged-In: I2e7db25d6f9abb142f8c113d4f1d9666defe6be4
(cherry picked from commit e3c8d131b9)
2019-11-18 14:04:13 -08:00
Lev Proleev
04bf939c7a Add QUANT8_ASYMM_SIGNED support to SELECT op
Also fix repo hook complaining about comment formatting.

Bug: 143935354
Test: NNTest_static and VTS_1_3  with --gtest_filter="*QuantizationCouplingTest*select*"
Change-Id: I1b0d1e987ebccc6700dd172b4222f9996105513d
2019-11-18 17:20:55 +00:00
Shuo Qian
e3c8d131b9 Fix a mistake in the RSSNR range.
Test: build
Bug: 135717625
Change-Id: I2e7db25d6f9abb142f8c113d4f1d9666defe6be4
2019-11-15 18:55:43 -08:00
sqian
bd4a6f13df Mark RSSNR in 4G as an optional support, and vendor dependency
Test: build
Bug: 135717625
Change-Id: Iaf42797b2d388843778ce5fedbd28861f340ec5c
Merged-In: Iaf42797b2d388843778ce5fedbd28861f340ec5c
(cherry picked from commit 42f01a6477)
2019-11-15 16:05:27 -08:00
TreeHugger Robot
f96c16cd20 Merge "Mark RSSNR in 4G as an optional support, and vendor dependency" 2019-11-15 23:52:53 +00:00
Shawn Willden
4ffd6b6152 Add hashes for Keymaster 4.1
KM4.1 is actually landing in AOSP, but it creates a merge conflict.
This is to deconflict the merge.

Test: N/A
Change-Id: If0705662121c91f7f4a5753bba9e2f9a07890686
2019-11-15 09:11:03 -07:00
Shuo Qian
42f01a6477 Mark RSSNR in 4G as an optional support, and vendor dependency
Test: build
Bug: 135717625
Change-Id: Iaf42797b2d388843778ce5fedbd28861f340ec5c
2019-11-14 21:37:09 +00:00
Lev Proleev
1835d68944 Merge "Add NNAPI 1.3 OperationType" 2019-11-13 11:52:15 +00:00
sqian
f1850bf050 Add Signal Strength Threshold HAL for 4G and 5G
Test: Build
Bug: 135717625

Change-Id: I324cfd592ca53a12ebe1161f242ae3b9c7fc59a4
Merged-In: I324cfd592ca53a12ebe1161f242ae3b9c7fc59a4
(cherry picked from commit 1f4012f417)
2019-11-12 18:26:30 -08:00
Shuo Qian
1f4012f417 Add Signal Strength Threshold HAL for 4G and 5G
Test: Build
Bug: 135717625

Change-Id: I324cfd592ca53a12ebe1161f242ae3b9c7fc59a4
2019-11-12 14:51:39 -08:00
Lev Proleev
8774f10b76 Add NNAPI 1.3 OperationType
* Add 1.3 OperationType.
* Remove "using V1_2::OperationType" from 1.3 VTS tests.
* Update current.txt

Test: mma
Change-Id: Ieaede9b7a6cecb16dbcc753f347f7ff04c009f20
2019-11-11 18:11:50 +00:00
Xusong Wang
cf6a591772 Merge "NN HAL: Upgrade IPreparedModel::execute to 1.3." 2019-11-11 18:01:28 +00:00
TreeHugger Robot
54e9ec9cfa Merge "vibrator@1.4: remove from current.txt" 2019-11-11 06:42:42 +00:00
Steven Moreland
b14c364004 vibrator@1.4: remove from current.txt
Since it is being replaced by an AIDL HAL interface.

Bug: 141828236
Test: N/A
Change-Id: Ie46843cd17540665f0575798ea97355e174a359c
2019-11-10 20:24:46 -08:00
Steven Moreland
5bd756e62e vibrator@1.4: remove from current.txt
Since it is being replaced by an AIDL HAL interface.

Bug: 141828236
Test: N/A
Change-Id: Ie46843cd17540665f0575798ea97355e174a359c
Merged-In: Ie46843cd17540665f0575798ea97355e174a359c
2019-11-10 20:22:34 -08:00
TreeHugger Robot
7f27c06787 Merge "NN HAL: Upgrade IPreparedModelCallback::notify to 1.3." 2019-11-11 01:12:40 +00:00
Sunil Ravi
aabb5ccb26 Merge "Wifi: MBO-OCE feature support (phase 1)" 2019-11-08 22:57:25 +00:00
Sunil Ravi
89157a4baa Wifi: MBO-OCE feature support (phase 1)
1. Added hidl API to return MBO and OCE feature capability.
2. Added hidl API to update the cellular data status.

Bug: 139474288
Test: Manual
Test: VTS test
Change-Id: I4fe1c2ff054f5cc7288e9ed234d29a8ffcca7456
2019-11-08 12:09:19 -08:00
Xusong Wang
62a760c32d NN HAL: Upgrade IPreparedModel::execute to 1.3.
Bug: 143242728
Test: 1.3 VTS with sample driver
Change-Id: I9ca1e28ddc97fe880a72885afe7afb6c93903697
2019-11-07 17:30:56 -08:00
Xusong Wang
68c3234ad3 NN HAL: Upgrade IPreparedModelCallback::notify to 1.3.
Bug: 143242728
Test: 1.3 VTS with sample driver
Change-Id: I56bc7a2fb179a9576036ad0c2aae0e1f41ec4e2c
2019-11-07 17:30:43 -08:00
Henry Fang
0ce0f981a7 Add cas@1.2 support
Test: Manual
bug: 141783130
Change-Id: I487aa47c13ad1a50831ddbcb3b9b25de9972e5b7
2019-11-07 13:03:11 -08:00
Yifan Hong
953a692aad Freeze health 2.1 am: 4f73c7a8dd am: 0877b0cb10
am: 7cb94d0d94

Change-Id: I58374f501a2f340f0f36c2a097c35ed0aeac8877
2019-10-31 15:45:42 -07:00
Yifan Hong
4f73c7a8dd Freeze health 2.1
Test: vts_treble_vintf_vendor_test
Change-Id: I4098328a8233553c04435f8ac46a60c958b4670f
2019-10-31 10:54:14 -07:00
Malcolm Chen
360e1f9298 Create IRadio 1.5 folder and empty files.
So that later people can add APIs and type definitions as needed.

Bug: 141995149
Test: build
Change-Id: Ib18f75fd391b94ffbd65d7feb4589ff82b3ac1d4
Merged-In: Ib18f75fd391b94ffbd65d7feb4589ff82b3ac1d4
2019-10-29 13:44:21 -07:00
Lev Proleev
e5376fea95 Add template for 1.3 types.hal and regenerate it
After this update, types.hal v1.3 no longer refers to API level 30.

Test: none needed
Bug: 140132458
Change-Id: If707dfbcade6be1a0885fc21f6ddf47f3c27b244
Merged-In: If707dfbcade6be1a0885fc21f6ddf47f3c27b244
(cherry picked from commit e98e6793be)
2019-10-28 13:03:00 +00:00
Malcolm Chen
d861e2be96 Create IRadio 1.5 folder and empty files.
So that later people can add APIs and type definitions as needed.

Bug: 141995149
Test: build
Change-Id: Ib18f75fd391b94ffbd65d7feb4589ff82b3ac1d4
2019-10-23 13:50:08 -07:00
Ahmed ElArabawy
e56767d561 Wifi: Add getConnectionCapabilities API
This commit adds the API for getConnectionCapabilities() in
ISupplicantStaIface HAL. This is used to return the Wifi support
for the connection on this STA interface.

Bug: 138634524
Bug: 140168755
Test: Manual
Test: VTS test
Change-Id: I24ff3c16434067e41491298e41041bdfdf06452a
2019-10-18 21:07:07 +00:00
Lev Proleev
ce8c632a09 Create NNAPI HAL v1.3 and add TENSOR_QUANT8_ASYMM_SIGNED OperandType
Bug: 137828494
Bug: 139120468
Bug: 136735770
Test: mma
Change-Id: I28f74e4b364fec1d7431a96cf5687256b3106069
Merged-In: I28f74e4b364fec1d7431a96cf5687256b3106069
(cherry picked from commit 5a7b67ab8f)
2019-10-17 18:34:51 +01:00
Harpreet \"Eli\" Sangha
6d72a8110f Fix Vibrator 1.4 Hashes Ordering in current.txt
Test: Build
Change-Id: I7821d73d247a7ff8c60cfb579f357f4ddfb693c2
Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com>
2019-10-15 02:24:56 +09:00
Harpreet \"Eli\" Sangha
e0525f9572 Add Vibrator 1.4 Hashes to current.txt
Test: Build
Change-Id: I3cf9bcca7e6aab7125b7666c82ac493ee44eec8c
Merged-In: I3cf9bcca7e6aab7125b7666c82ac493ee44eec8c
Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com>
2019-10-15 02:09:58 +09:00
Harpreet \"Eli\" Sangha
b003105ef9 Add Vibrator 1.4 Hashes to current.txt
Test: Build
Change-Id: I3cf9bcca7e6aab7125b7666c82ac493ee44eec8c
Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com>
2019-10-11 14:03:15 +09:00
Lev Proleev
839ca3c428 Revert "Create NNAPI HAL v1.3 and add TENSOR_QUANT8_ASYMM_SIGNED OperandType"
This reverts commit bd2b4e78ac.

Reason for revert: the topic breaks git_qt-dev-plus-aosp

Change-Id: Ic72dcbb7ac4ef8e6ed597eb778289b39475f03f8
2019-10-10 14:01:05 +00:00
TreeHugger Robot
3e8ca9074e Merge "Add template for 1.3 types.hal and regenerate it" 2019-10-09 22:46:39 +00:00
Lev Proleev
e98e6793be Add template for 1.3 types.hal and regenerate it
After this update, types.hal v1.3 no longer refers to API level 30.

Test: none needed
Bug: 140132458
Change-Id: If707dfbcade6be1a0885fc21f6ddf47f3c27b244
2019-10-09 16:32:11 +01:00
Lev Proleev
bd2b4e78ac Create NNAPI HAL v1.3 and add TENSOR_QUANT8_ASYMM_SIGNED OperandType
Bug: 137828494
Bug: 139120468
Bug: 136735770
Test: mma
Change-Id: I1f615047d1c0c208a90082ffb6ffc43f252f77b4
Merged-In: I1f615047d1c0c208a90082ffb6ffc43f252f77b4
(cherry picked from commit 5a7b67ab8f)
2019-10-09 14:18:49 +01:00
David Gross
8c0a48bceb Replace sync_enums_to_hal.py with generate_api.{py,sh} and regenerate */types.hal
There are certain pieces of NeuralNetworks.h and of our various *.hal
files that ought to be kept in sync -- most notably the operand type
and operation type definitions and descriptions in our
NeuralNetworks.h and types.hal files.  To avoid having to do this
manually, a tool can be employed.

The old solution to this problem is sync_enums_to_hal.py, which parses
the existing NeuralNetworks.h and types.hal files, and then rewrites
the types.hal files: It identifies the operand type and operation type
portions of the files, and in the types.hal files replaces them with
transformed versions of the portions from NeuralNetworks.h.  This
approach is brittle -- it is very sensitive to the structure of the
files, as was recognized when this tool was created.  Changes to those
files since the script was last updated essentially broke the script,
as noted in http://b/140132458.

The new solution employs a new tool generate_api.py to combine a
single "specification file" with one "template file" per API file
(NeuralNetworks.h or types.hal) to produce that API file.  The script
generate_api.sh invokes generate_api.py once per API file, passing
appropriate arguments.  See frameworks/ml/nn/tools/api/README.md for
more details.

In the process of combining information from NeuralNetworks.h and
*/types.hal, some formatting, syntactic, and semantic changes have
been made to those files.  For example:
- types.hal files no longer refer to API levels or (similarly)
  to HAL versions other than earlier HAL versions

Bug: 130169064
Bug: 140132458

Test: cd neuralnetworks ; mma

Change-Id: Iceb38effc2c7e6c32344e49225b85256144c0945
Merged-In: Iceb38effc2c7e6c32344e49225b85256144c0945
(cherry picked from commit 2cae5c8b01)
2019-10-09 14:18:06 +01:00
David Anderson
e8f1a7fdc8 Introduce IBootControl 1.1.
libsnapshot needs to communicate to the bootloader that a merge is in
progress. This can be used to prevent factory data resets, prevent
flashing or wiping userdata/metadata, and warning when the active slot
changes.

Bug: 138861550
Test: builds
Change-Id: I577877696b5ec6920b9520d518374931ce9ddfaa
Merged-In: I577877696b5ec6920b9520d518374931ce9ddfaa
2019-10-07 12:41:46 -07:00
David Anderson
21ed9de1fb Introduce IBootControl 1.1.
libsnapshot needs to communicate to the bootloader that a merge is in
progress. This can be used to prevent factory data resets, prevent
flashing or wiping userdata/metadata, and warning when the active slot
changes.

Bug: 138861550
Test: builds
Change-Id: I577877696b5ec6920b9520d518374931ce9ddfaa
2019-10-07 12:32:55 -07:00
Lev Proleev
b58075603a Merge changes from topic "NNAPI v1.3"
* changes:
  Modify NNAPI VTS tests to run on version 1.3
  Copy VTS tests from v1.2 to v1.3
  Create NNAPI HAL v1.3 and add TENSOR_QUANT8_ASYMM_SIGNED OperandType
2019-10-04 15:34:10 +00:00
David Gross
2cae5c8b01 Replace sync_enums_to_hal.py with generate_api.{py,sh} and regenerate */types.hal
There are certain pieces of NeuralNetworks.h and of our various *.hal
files that ought to be kept in sync -- most notably the operand type
and operation type definitions and descriptions in our
NeuralNetworks.h and types.hal files.  To avoid having to do this
manually, a tool can be employed.

The old solution to this problem is sync_enums_to_hal.py, which parses
the existing NeuralNetworks.h and types.hal files, and then rewrites
the types.hal files: It identifies the operand type and operation type
portions of the files, and in the types.hal files replaces them with
transformed versions of the portions from NeuralNetworks.h.  This
approach is brittle -- it is very sensitive to the structure of the
files, as was recognized when this tool was created.  Changes to those
files since the script was last updated essentially broke the script,
as noted in http://b/140132458.

The new solution employs a new tool generate_api.py to combine a
single "specification file" with one "template file" per API file
(NeuralNetworks.h or types.hal) to produce that API file.  The script
generate_api.sh invokes generate_api.py once per API file, passing
appropriate arguments.  See frameworks/ml/nn/tools/api/README.md for
more details.

In the process of combining information from NeuralNetworks.h and
*/types.hal, some formatting, syntactic, and semantic changes have
been made to those files.  For example:
- types.hal files no longer refer to API levels or (similarly)
  to HAL versions other than earlier HAL versions

Bug: 130169064
Bug: 140132458

Test: cd neuralnetworks ; mma

Change-Id: Iceb38effc2c7e6c32344e49225b85256144c0945
2019-10-03 14:14:20 -07:00
Lev Proleev
5a7b67ab8f Create NNAPI HAL v1.3 and add TENSOR_QUANT8_ASYMM_SIGNED OperandType
Bug: 137828494
Bug: 139120468
Bug: 136735770
Test: mma
Change-Id: I1f615047d1c0c208a90082ffb6ffc43f252f77b4
2019-10-02 13:44:52 +01:00
Nathan Harold
5d16469e7c Merge "Clarify the start and end of scan intervals" am: 111a10c44e am: 696851b904 am: e9b260342b
am: aadf4d44c2

Change-Id: Ic5e708f87d87e0e0b11795c2a18fe2128ac3ca5c
2019-10-01 14:24:21 -07:00