Commit Graph

17386 Commits

Author SHA1 Message Date
Jeff Tinker
bebc590eba Merge "Fix tests for devices that don't have drm@1.2 services"
am: ac16446bd2

Change-Id: I09d703a37e4138bc150eb00970e0a279ec6e6e00
2020-01-15 10:33:21 -08:00
Treehugger Robot
ac16446bd2 Merge "Fix tests for devices that don't have drm@1.2 services" 2020-01-15 18:30:36 +00:00
Lev Proleev
c9211df376 Merge "Fix quantized LSTM doc"
am: 008e2862d2

Change-Id: I54bfc2f80da6d1b00f109a4ebe7d4f38ca2ebcb1
2020-01-14 12:15:35 -08:00
Treehugger Robot
008e2862d2 Merge "Fix quantized LSTM doc" 2020-01-14 20:13:33 +00:00
Nathan Harold
fa48664be2 Merge "Add an Indication for Barring Info"
am: b89ad206e8

Change-Id: I9ca8e93fceaddf15f76562289a4687ebe83f921d
2020-01-14 11:06:28 -08:00
Nathan Harold
b89ad206e8 Merge "Add an Indication for Barring Info" 2020-01-14 18:53:26 +00:00
Steven Moreland
8679c62cb7 Merge "vibrator vts: use CompositePrimitives enum_range"
am: d895913f1b

Change-Id: I7c8dbfe94c00daf855560b904e443d6bc8ab3522
2020-01-14 09:17:41 -08:00
Steven Moreland
d895913f1b Merge "vibrator vts: use CompositePrimitives enum_range" 2020-01-14 17:16:33 +00:00
Nathan Harold
4bb9d310d4 Add an Indication for Barring Info
Add an indication and request+response to get updated
barring information for the current cell.

Bug: 143231559
Bug: 143226991
Test: compilation && atest VtsHalRadioV1_5TargetTest
Change-Id: I226cf66dd6b9b71a6c020cdd618fe5e2af0baa20
2020-01-14 01:09:08 +00:00
Eric Laurent
e8c3a65032 Merge "Audio HAL: Add API to attach an effect to a device"
am: 77367c822f

Change-Id: Icaa3489b5121261862bc5f86a278719199210ce2
2020-01-13 13:57:40 -08:00
Eric Laurent
a462b797c2 Merge "Audio effect HAL: Add device ID to createEffect API"
am: 7408b1d575

Change-Id: Ia045745c0f0fd90bfe065075ab09fea4cbc338f8
2020-01-13 13:55:41 -08:00
Eric Laurent
f0e10d0bbd Merge "audio: add audio session for device effects"
am: 65dd35c9bf

Change-Id: Ia7f9dcdde50ecd05c4f038188e1ca3b0868e6e9f
2020-01-13 13:48:25 -08:00
Eric Laurent
77367c822f Merge "Audio HAL: Add API to attach an effect to a device" 2020-01-13 21:40:24 +00:00
Eric Laurent
7408b1d575 Merge "Audio effect HAL: Add device ID to createEffect API" 2020-01-13 21:39:45 +00:00
Eric Laurent
65dd35c9bf Merge "audio: add audio session for device effects" 2020-01-13 21:38:31 +00:00
Lev Proleev
e4c8f5fe23 Fix quantized LSTM doc
The CL changes explicit prefixes for types in types.spec to a macro, so
that the prefixes of tensor types are correct both in NDK and HAL docs.

Bug: 144841609
Test: mma
Change-Id: I6d904bd3a858f555beed9270f141f080f96e429a
Merged-In: I6d904bd3a858f555beed9270f141f080f96e429a
(cherry picked from commit da5079c5cd)
2020-01-13 09:56:06 +00:00
Nathan Harold
68bd27a397 Add Some Buffer Lines to Avoid Merge Conflicts
am: 1fd6b723df

Change-Id: I8259a5012113d2c85d81be63249b50e214c02770
2020-01-10 16:07:10 -08:00
Nathan Harold
1fd6b723df Add Some Buffer Lines to Avoid Merge Conflicts
Because other teams are changing HAL hashes downstream,
the git conflict resolution algorithm detects conflicts
due to changes in adjacent lines, even though they aren't
real conflicts. This CL adds buffer lines to convince git
and by extension the auto-merger that the changes may be
safely merged.

Note: these should be removed prior to release.

Bug: 144366823
Test: make (non-functional change)
Merged-In: Ie8785da99ce68e1db85face30c6c633385ecb085
Change-Id: Ie8785da99ce68e1db85face30c6c633385ecb085
(cherry picked from commit 857821c288)
2020-01-10 23:07:05 +00:00
Viet Dang
f3c5bf1cc8 Add quantized LSTM op.
am: 232cfebd5b

Change-Id: I5ad0d25f2ce99cf452c9d485516b8f2323325443
2020-01-10 12:48:54 -08:00
Steven Moreland
1c26978dd1 vibrator vts: use CompositePrimitives enum_range
Bug: 143992652
Test: TH (added TEST_MAPPING now)

Change-Id: If36ba0d2fa41db1b05bb1d65e6ee062b22c1b564
2020-01-10 19:27:14 +00:00
Eric Laurent
2c75ca6b27 Audio HAL: Add API to attach an effect to a device
Add a method to IDevice interface allowing the attachement of an
audio effect to an audio device.
This is used when an audio effect is implemented below the HAL (e.g by an audio DSP)
and is attached/enabled when a particular sink(e.g speaker) or source(e.g mic) device
is selected.

Bug: 136294538
Test: make
Change-Id: I73d78c4f234fd80443a1cb3772c2d65457968652
Merged-In: I73d78c4f234fd80443a1cb3772c2d65457968652
2020-01-10 11:16:42 -08:00
Eric Laurent
d33e6935e0 Audio effect HAL: Add device ID to createEffect API
Add the possibility to specify a target audio device when
creating an audio effect by passing its audio port handle
to createEffect API.

To attach an effect to a device, the framework will use
session ID AudioSessionConsts.DEVICE and provide a valid
AudioPortHandle as device ID.

Bug: 136294538
Test: make
Change-Id: Ic697eeafbd5df6800ad4c7fd9e0698e3d8e3beae
Merged-In: Ic697eeafbd5df6800ad4c7fd9e0698e3d8e3beae
2020-01-10 11:16:32 -08:00
Eric Laurent
5f9bb1b027 audio: add audio session for device effects
Add specific audio session ID for effects applied to a
particular audio device.

Bug: 136294538
Test: make
Change-Id: Iea3e3a07f404e1075844422c740d2dc4d5163598
Merged-In: Iea3e3a07f404e1075844422c740d2dc4d5163598
2020-01-10 11:16:12 -08:00
Viet Dang
232cfebd5b Add quantized LSTM op.
Bug: 144841609

Test: NeuralNetworksTest_static

Change-Id: I8aab51695382211e003d8fc442d33bae3006dc13
Merged-In: I8aab51695382211e003d8fc442d33bae3006dc13
(cherry picked from commit c8b0cd33b9)
2020-01-10 11:15:14 +00:00
Yifan Hong
29812d24ae Merge "Update health 2.1 readme for file_contexts"
am: a676535934

Change-Id: Ife24c7407631472a283f1ca3844a27c803637fb8
2020-01-10 02:20:23 -08:00
Yifan Hong
a676535934 Merge "Update health 2.1 readme for file_contexts" 2020-01-10 10:17:14 +00:00
Jeff Tinker
542290ad55 Fix tests for devices that don't have drm@1.2 services
This CL fixes a null pointer dereference that is triggered
when VtsHalDrmV1_2TargetTest is run on a device that
doesn't implement a drm@1.2 vendor service, for any
drm scheme where a vts vendor module is provided. In this
case the test will be skipped.

test: VtsHalDrmV1_2TargetTest

bug:145965256
Change-Id: I43c87db9b560d2024c0fb15cd44d106067ed48ae
2020-01-10 01:34:55 +00:00
Yifan Hong
ca44707aea Update health 2.1 readme for file_contexts
-impl file needs to be marked as same_process_hal_file
for charger to work.

Test: none
Change-Id: I998493949284362fbd1dcb8e2a1d48958feb1324
2020-01-09 17:20:10 -08:00
Nathan Harold
ebc2d054f2 Add Indication Filter for Registration Failure
am: bacb8216d5

Change-Id: I1f47b0f0cdd9ae5bf3fdb18deb9f23187601ab23
2020-01-09 16:40:10 -08:00
Nathan Harold
bacb8216d5 Add Indication Filter for Registration Failure
-Add IndicationFilter support for Radio 1.5.
-Add a new flag for disabling Registration Failure
 indications.

Bug: 146805410
Test: make && atest VtsHalRadioV1_5TargetTest
Change-Id: Idcfb3ed64624fe7549b6fa0e434f24ca0f5d42f1
2020-01-09 10:42:40 -08:00
Nathan Harold
193716eee2 [DO NOT MERGE] Fix SHAs in IRadio 1.5
am: 755bf306ef

Change-Id: Ic5c021ae3e0066e05ba4fc52aaf890edf75bd307
2020-01-08 17:02:47 -08:00
Nathan Harold
755bf306ef [DO NOT MERGE] Fix SHAs in IRadio 1.5
Tweak files in AOSP and update SHAs to match internal master.

Bug: 147379351
Test: update-makefiles
Change-Id: Iac00853bc00c003848b3d45ebb19d15c4f6fba0b
2020-01-08 23:48:01 +00:00
Baekgyeong Kim
d271a631d0 Merge "Add audio stream and usage for virtual assistant"
am: 653c876b5b

Change-Id: Ie568e4ef23a687249fd5bfbf9f27d7de5a09bf9e
2020-01-08 14:29:45 -08:00
Treehugger Robot
653c876b5b Merge "Add audio stream and usage for virtual assistant" 2020-01-08 22:23:27 +00:00
Baekgyeong Kim
09e665e61c Add audio stream and usage for virtual assistant
New stream type: AUDIO_STREAM_ASSISTANT
This is intended to be used by a virtual assistant like
Google Assistant, Bixby, etc.

The audio stream has own volume alias and the volume
does not change by volume changes of other streams.

Bug: 123745215
Test: make
Change-Id: I3696d8fba32070954cc6a330574af8507fea7a74
Merged-In: I3696d8fba32070954cc6a330574af8507fea7a74
2020-01-08 11:53:59 -08:00
nelsonli
96dd61d29b Merge "[vts-core] add VtsHalAudioEffectV*_0TargetTest to vts-core"
am: 4472878a42

Change-Id: Icc9fd217f09b8a1f31efde01f1fe9c00e845e90d
2020-01-07 19:09:51 -08:00
Treehugger Robot
4472878a42 Merge "[vts-core] add VtsHalAudioEffectV*_0TargetTest to vts-core" 2020-01-08 02:12:09 +00:00
Steven Moreland
8aa0dd830f Merge "vibrator: use package as name"
am: 91a5aa4ea2

Change-Id: I1f682f4e93d7d77b262faf59e955116443cfbcaf
2020-01-07 14:48:51 -08:00
Steven Moreland
91a5aa4ea2 Merge "vibrator: use package as name" 2020-01-07 22:43:01 +00:00
Lev Proleev
6685773b29 Merge changes from topic "quant_signed_tests"
am: 714f0f5cb1

Change-Id: I137ece00b8e266da48c269e51add237dd997ec41
2020-01-07 14:07:45 -08:00
Lev Proleev
06e5ab361a Add quant8 signed generated tests
am: da779f322c

Change-Id: Ic8b4d2922e2b50bb8132677e10fe4ef82e613d9c
2020-01-07 14:07:36 -08:00
Treehugger Robot
714f0f5cb1 Merge changes from topic "quant_signed_tests"
* changes:
  NNAPI: Update docs for ops with signed quantization
  Add quant8 signed generated tests
2020-01-07 21:28:31 +00:00
Nathan Harold
e4533e4090 Merge "Add a Registration Failure indication to IRadio"
am: f1a6e2e828

Change-Id: If680ff63e106522d1a4edcf7ab05b19841163313
2020-01-07 12:11:38 -08:00
Nathan Harold
f1a6e2e828 Merge "Add a Registration Failure indication to IRadio" 2020-01-07 19:57:30 +00:00
Lev Proleev
0e2a69793e Add exceptions to the signed quantization coupling tests
am: 673fdcf4e6

Change-Id: I37e76c28b8c7e2a4dbdabe439b8a1f79e78429f0
2020-01-07 08:04:56 -08:00
Lev Proleev
c9d7f1cdc4 NNAPI: Update docs for ops with signed quantization
types.hal files are generated from current types.spec.

Bug: 136735770
Test: mma
Change-Id: Ide24606f8b1d5e755a71d46f230409942d8df7e9
Merged-In: Ide24606f8b1d5e755a71d46f230409942d8df7e9
(cherry picked from commit eb7f175613)
2020-01-07 13:36:03 +00:00
Lev Proleev
da779f322c Add quant8 signed generated tests
Fixes ValidateModel test for AXIS_ALIGNED_BBOX_TRANSFORM.

Bug: 136735770
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: Ie2959ba7258d8106d5b3dd36970181519b75e3b3
Merged-In: Ie2959ba7258d8106d5b3dd36970181519b75e3b3
(cherry picked from commit 16e8c9cc02)
2020-01-07 13:36:00 +00:00
Lev Proleev
673fdcf4e6 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
Merged-In: I0f7c331c355fe61ee06605786f09bc1ca7cdef57
(cherry picked from commit 6a1d5e405f)
2020-01-07 13:35:58 +00:00
Nathan Harold
a6fc101cf7 Add a Registration Failure indication to IRadio
Add an indication to IRadio that is fired whenever
a cellular registration failure occurs.

Bug: 143187065
Test: atest VtsHalRadioV1_5TargetTest
Merged-In: I7765a7491f807a08272b9bc8923ae9377ff3b9d1
Change-Id: I7765a7491f807a08272b9bc8923ae9377ff3b9d1
(cherry picked from commit 13834c4a79)
2020-01-06 18:00:42 -08: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