Commit graph

17219 commits

Author SHA1 Message Date
Dan Shi
c81f9c9958 Merge "Convert VtsHalSensorsV*_0TargetTest to be parameterized." 2019-12-11 00:02:28 +00:00
Shuo Qian
511264a552 Support isEnabled feature in reporting criteria for SignalStrenghth
Test: build
Bug: 135717625
Change-Id: Ia56b54f44345650117f884942ef917e3547277a9
Merged-In: Ia56b54f44345650117f884942ef917e3547277a9
(cherry picked from commit d5ae42e540)
2019-12-10 00:56:07 +00:00
Dan Shi
f78d7734d1 Merge "Convert VtsHalGraphicsMapperV*TargetTest to be parameterized test" 2019-12-10 00:19:36 +00:00
Dan Shi
395288173d Convert VtsHalSensorsV*_0TargetTest to be parameterized.
Bug: 142397658
Test: atest VtsHalSensorsV1_0TargetTest VtsHalSensorsV2_0TargetTest
Change-Id: I76bf0b68abf8c8a1c79afabbc26242e33778bd25
2019-12-09 10:10:44 -08:00
Lev Proleev
56cda83f8c Fix use-after-free error in NNAPI VTS tests
Replace std::initializer_list with std::vector.

Fix: 145705114
Test: VtsHalNeuralnetworksV1_[23]TargetTest
Change-Id: I92cbc56b2b8fbb36b3f3225e7cd0d4b05c84041e
2019-12-09 14:56:09 +00:00
Dan Shi
5a955bc176 Convert VtsHalGraphicsMapperV*TargetTest to be parameterized test
Bug: 142397658
Test: atest VtsHalGraphicsMapperV2_0TargetTest \
  VtsHalGraphicsMapperV2_1TargetTest \
  VtsHalGraphicsMapperV3_0TargetTest

Change-Id: I1d4e222f3a04882ae8d74e79201c2751d1d22ea4
2019-12-06 16:05:11 -08:00
Sarah Chin
ca0e5aa890 Merge changes from topics "ngran", "update_ngran"
* changes:
  Update NGRAN bands
  Add HAL for 5G bands
2019-12-05 21:37:37 +00:00
Treehugger Robot
d3a2bdfc63 Merge "Refactor for audio device type in conversion." 2019-12-05 20:17:59 +00:00
Yifan Hong
b161c42905 Merge changes from topic "no_hal_static_libs"
* changes:
  health 1.0: add helper library for -impl
  health 1.0 default -> Soong
  health 1.0 does not use HAL_STATIC_LIBS
2019-12-05 20:11:32 +00:00
jiabin
f17047d892 Refactor for audio device type in conversion.
As audio device type can not be used as bit mask any more, refactoring
audio device type usages in conversion from/to HAL. Use a set of audio
device types instead of bit mask.

Bug: 135621476
Test: atest VtsHalAudioV5_0TargetTest
Change-Id: I1a0f574744f855bb1684cd28613571399781abbc
Merged-In: I1a0f574744f855bb1684cd28613571399781abbc
2019-12-04 17:51:05 -08:00
Mikhail Naganov
532240f4eb Audio HAL: Fix UAF if the effect is removed after close
Effect::close in V6 releases the underlying HAL effect.
It was not removing the effect entry from the effects
map, thus a call to Stream::removeEffect was retrieving
a stale handle.

Bug: 145656878
Test: start and stop recording for VOICE_COMMUNICATION
Change-Id: I47f486d3b6b4b0dc29acd1e3a2093e421b28d90b
2019-12-04 16:21:28 -08:00
Henry Fang
e7044daa5b Merge "Add TEMI filter, releasing AV handle and CI-CAM" 2019-12-04 23:42:27 +00:00
Sarah Chin
afa47584bf Update NGRAN bands
Test: build
Bug: 143683654
Change-Id: I7b59cd52dffdccc30b536a0bef9cab5ad977d371
Merged-In: I7b59cd52dffdccc30b536a0bef9cab5ad977d371
2019-12-04 13:16:21 -08:00
Joshua Duong
e951f2a640 Fix stack-pointer constructed sp<>.
Seems like the hidl derived objects must be heap allocated.

Bug: 145662746

Test: Does not boot loop.
Change-Id: I55ff94c12d4eb5fcfd680370736db979ddd0b67c
2019-12-04 10:39:14 -08:00
Treehugger Robot
bff764d944 Merge "audio VTS: Fix parametrization for compressed formats" 2019-12-03 23:59:15 +00:00
Treehugger Robot
249b9509db Merge "Merge Android10 QPR1 into AOSP master" 2019-12-03 23:14:56 +00:00
Henry Fang
6eb4487082 Add TEMI filter, releasing AV handle and CI-CAM
Test: Manual
bug: 135708935
Change-Id: I21701185feb274dc1e8b3cff3db59b9d3f73edf1
Merged-In: I21701185feb274dc1e8b3cff3db59b9d3f73edf1
2019-12-03 22:48:16 +00:00
Yifan Hong
b808bd7d46 health 1.0: add helper library for -impl
Now that libhealthd is no longer recognized as a HAL_STATIC_LIBRARY,
vendors must define their own android.hardware.health@1.0-impl module.
Add a helper and README.md for them to explain this transition.

Test: builds
Bug: 127677771
Change-Id: I65c162e7b5caed93c39a4a1cb6a2893fbb25724b
2019-12-03 12:51:45 -08:00
Yifan Hong
891220af48 health 1.0 default -> Soong
Now that HAL_STATIC_LIBS are removed, convert to Soong.
Also, avoid using global includes and use libbase_headers instead.

Test: builds
Change-Id: I50ef691e049ed0943de6f384ce7ddba96c0345a5
2019-12-03 12:51:45 -08:00
Yifan Hong
16273aea66 health 1.0 does not use HAL_STATIC_LIBS
BOARD_HAL_STATIC_LIBRARIES is deprecated / obsolete. No devices
in our internal tree uses it. Devices that uses it should build
their own HALs and link to the correct libhealthd.(board) in
that vendor-specific module.

Test: pass
Bug: 127677771

Change-Id: I289d020960331e2dc2225ccbd378a73ccc51a056
2019-12-03 12:51:45 -08:00
Treehugger Robot
ba111275cb Merge "Fixing RSA tests not using the correct exponent" 2019-12-03 19:38:24 +00:00
Sarah Chin
b7709bba42 Add HAL for 5G bands
Added NgranBands and RadioAccessNetwork NGRAN
Updated RadioAccessSpecifier and NetworkScanRequest
Updated IRadio and IRadioResponse to use updated structs/enums

Bug: 143683654
Test: build
Change-Id: I2e751a544b626d48a7c78b7bdcb4ac6477e25bc6
Merged-In: I2e751a544b626d48a7c78b7bdcb4ac6477e25bc6
2019-12-03 11:08:30 -08:00
Xiangyu/Malcolm Chen
f597a4ae0e Merge "Adding HAL API for disabling subscription" 2019-12-03 19:04:59 +00:00
Mikhail Naganov
26d535b58e audio VTS: Fix parametrization for compressed formats
Compressed formats should not be opened with DIRECT flag
only, as this will result in playing out compressed data.

Bug: 141989952
Test: atest VtsHalAudioV6_0TargetTest
Change-Id: I873f9a25d5109fb9f5d56f5f748d1348dc12d416
2019-12-03 10:45:23 -08:00
Max Bires
ee1ccd88ba Fixing RSA tests not using the correct exponent
The Keymaster 4.0 HAL specifies that the public exponent for RSA is F4
(2^16+1). There were a few tests still using 3 as the exponent. This
patch updates those incorrect exponents accordingly.

Bug: 143404829
Test: atest VtsHalKeymasterV4_0TargetTest
Change-Id: Ibc82a8a912bc5926bcdd544e0370e4185a888c0d
2019-12-03 09:45:39 -08:00
Xin Li
e980764558 Merge Android10 QPR1 into AOSP master
Bug: 145570283
Change-Id: I29f216a7bf6c85ff67e21f2052e2069990f74c22
2019-12-02 21:25:12 -08:00
Dan Shi
416282208e Merge "Convert VtsHalBluetoothAudioV2_0TargetTest to be parameterized test"
am: 87f93e36fd

Change-Id: I3f65ed862b7d264a870d9ac84113b7217418cc3e
2019-12-02 16:02:01 -08:00
Treehugger Robot
87f93e36fd Merge "Convert VtsHalBluetoothAudioV2_0TargetTest to be parameterized test" 2019-12-02 23:50:54 +00:00
Peiyong Lin
97a0f117e1 Merge "Fix bad command length calculation"
am: b44c4d4cd3

Change-Id: I98cb1b59ea42d48375b6f95cc8f88b0e0e79d056
2019-12-02 14:43:35 -08:00
Peiyong Lin
b44c4d4cd3 Merge "Fix bad command length calculation" 2019-12-02 22:35:39 +00:00
Rob Barnes
7d67ad3453 Merge "Added standalone benchmark for keymaster."
am: 3f7f55b378

Change-Id: Ia66365ee626662395a4ef36274d5acbc7e29a4ad
2019-12-02 14:26:32 -08:00
Rob Barnes
3f7f55b378 Merge "Added standalone benchmark for keymaster." 2019-12-02 22:13:23 +00:00
Dan Shi
4d9b6fef99 Convert VtsHalBluetoothAudioV2_0TargetTest to be parameterized test
Bug: 142397658
Test: atest VtsHalBluetoothAudioV2_0TargetTest
Change-Id: I024abca2330ffb1fab709c97b01896ce9decba76
2019-12-02 13:47:43 -08:00
Lev Proleev
0d7921292b Merge changes from topic "signed_quant_cherry_pick"
am: 45e64ac5dd

Change-Id: Ied0c486d38dad9c9770e85305764061efebb3211
2019-12-02 13:38:42 -08:00
Przemyslaw Szczepaniak
6655e46b2a Add TENSOR_QUANT8_ASYMM_SIGNED support for more ops
am: 90fc2cc193

Change-Id: I36bf2e35d2a20a59ba50cc94cd46cec8f8324ed4
2019-12-02 13:38:33 -08:00
Treehugger Robot
45e64ac5dd Merge changes from topic "signed_quant_cherry_pick"
* changes:
  Add TENSOR_QUANT8_ASYMM_SIGNED support for more ops
  Add TENSOR_QUANT8_ASYMM_SIGNED support for more ops
2019-12-02 21:06:19 +00:00
Malcolm Chen
fb6d6241c7 Adding HAL API for disabling subscription
Bug: 141018421
Test: vts on cuttlefish
Change-Id: I90ded163ddc047916c205513ab77a886ebcc48f7
Merged-In: I90ded163ddc047916c205513ab77a886ebcc48f7
2019-12-02 11:37:25 -08:00
Steven Moreland
0dca6460ba Merge "Mark VINTF AIDL w/ Java as platform_apis."
am: cd99e3f2eb

Change-Id: I97a39d7a79e211887ac8208687e34336a7bb8c3b
2019-12-02 08:50:53 -08:00
Steven Moreland
cd99e3f2eb Merge "Mark VINTF AIDL w/ Java as platform_apis." 2019-12-02 16:46:17 +00:00
Lev Proleev
5595da3741 Add TENSOR_QUANT8_ASYMM_SIGNED support for more ops
Updated:
  CONCATENATION
  REDUCE_MIN
  REDUCE_MAX
  STRIDED_SLICE
  RESHAPE
  SQUEEZE
  MEAN

Bug: 143934554
Bug: 143935314
Bug: 143934726
Bug: 143934771
Bug: 143934557
Bug: 143934306
Bug: 143935140
Test: quantization coupling tests in CTS and VTS
Change-Id: Ie73d070fd6f0a27185c1f26561710635b6e03b26
Merged-In: Ie73d070fd6f0a27185c1f26561710635b6e03b26
(cherry picked from commit 91134e7fb9)
2019-12-02 11:40:55 +00:00
Przemyslaw Szczepaniak
90fc2cc193 Add TENSOR_QUANT8_ASYMM_SIGNED support for more ops
Updated:
 BATCH_TO_SPACE_ND
 CHANNEL_SHUFFLE
 DEPTH_TO_SPACE
 GROUPED_CONV_2D
 PAD
 PAD_V2
 QUANTIZE
 RESIZE_BILINEAR
 RESIZE_NEAREST_NEIGHBOR
 SPACE_TO_BATCH_ND
 SPACE_TO_DEPTH
 SPLIT
 TILE
 TOPK_V2
 TRANSPOSE

Bug: 143934582
Bug: 143934585
Bug: 143934628
Bug: 143934630
Bug: 143934721
Bug: 143935039
Bug: 143935052
Bug: 143935113
Bug: 143935115
Bug: 143935141
Bug: 143935353
Bug: 143935355
Bug: 143935392
Bug: 143935394
Bug: 143935413
Test: quantization coupling tests in CTS and VTS
Change-Id: I7e1b65507ea0f7dcdfdb5fd98e7871d84f569ed7
Merged-In: I7e1b65507ea0f7dcdfdb5fd98e7871d84f569ed7
(cherry picked from commit 6d3cdc322b)
2019-12-02 11:40:40 +00:00
Dan Shi
6edef87409 Merge "Convert VtsHalRadioV1_*TargetTest to be parameterized test"
am: 745d7d7d60

Change-Id: Ie1c2296fcc74690fa0eed0c230825799c8139f7f
2019-11-29 20:52:25 -08:00
Dan Shi
745d7d7d60 Merge "Convert VtsHalRadioV1_*TargetTest to be parameterized test" 2019-11-30 04:47:54 +00:00
Lev Proleev
cb1db36e9a Merge changes from topic "quant8_signed_ops"
am: 00d2ae5974

Change-Id: I5a27c44797c3fef88ab2930999ab99ca22741c08
2019-11-28 08:12:45 -08:00
Lev Proleev
e0d438a3e4 Add TENSOR_QUANT8_ASYMM_SIGNED support for pooling ops
am: d1b3450b3d

Change-Id: I288716f31c4cbf3aef34d8dca6003b1d57878013
2019-11-28 08:12:18 -08:00
Lev Proleev
761a0807cd Add TENSOR_QUANT8_ASYMM_SIGNED support to ADD, MUL and SUB.
am: 53c79d179a

Change-Id: Ic86f1abb032a65f07b0fe1e64377ae0bc631074a
2019-11-28 08:11:27 -08:00
Lev Proleev
00d2ae5974 Merge changes from topic "quant8_signed_ops"
* changes:
  Add TENSOR_QUANT8_ASYMM_SIGNED support for activations
  Add TENSOR_QUANT8_ASYMM_SIGNED support for pooling ops
  Add TENSOR_QUANT8_ASYMM_SIGNED support to ADD, MUL and SUB.
2019-11-28 15:59:00 +00:00
nelsonli
fa20508433 Merge "[vts-core] add VtsHalUsbV1_0TargetTest to vts-core and remove switchModetoDFP"
am: 23d464a7b4

Change-Id: I76f8a0191aac9f9c392e0dfe4b0c139162b861b4
2019-11-27 23:14:54 -08:00
Treehugger Robot
23d464a7b4 Merge "[vts-core] add VtsHalUsbV1_0TargetTest to vts-core and remove switchModetoDFP" 2019-11-28 07:06:54 +00:00
Steven Moreland
dc7b3aadf2 Merge "vibrator impl: log failed callback"
am: 362375c48e

Change-Id: I2583f7d173c1ad7dba515cb021f3376a502d2ee2
2019-11-27 18:18:13 -08:00