Commit graph

19181 commits

Author SHA1 Message Date
Yin-Chia Yeh
91e07785b5 Camera: add OFFLINE_PROCESSING APIs
Also a typo fix in metadata doc.

Test: N/A. New API skeleton, no implementation yet.
Bug: 135142453
Change-Id: I4852ee28242afabe81b02cfef39994c5d2705359
2019-12-16 11:40:28 -08:00
Baekgyeong Kim
3bc7741e91 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
2019-12-16 11:39:27 -08:00
Dan Shi
e10b1d6ea5 Convert VtsHalContexthubV1_0Target to be parameterized test
Removing dependency from VTS infrastructure so that test can run
standalone, for instance with atest/TEST_MAPPING. Once this is
done for every test, VTS can use the core testing infra.

Bug: 142397658
Test: atest VtsHalContexthubV1_0TargetTest
Change-Id: Ib2da09dc2898f4f0503fa7c5003a19421fbeef91
2019-12-16 09:45:19 -08:00
Pawin Vongmasa
f95e14d1b4 Add HDR metadata types to graphics/common
Bug: 120990898
Bug: 141632767

Test: Builds
Change-Id: I94a592d1cc0854b37622a2c85575083b59803793
2019-12-16 09:22:30 -08:00
Marissa Wall
6a2ecb424c gralloc4: remove dumpDebugInfo
dumpDebugInfo could be called by anyone. A safer
approach is for processes to dump their own buffers
via IMapper's dumpBuffers.

Bug: 137966819
Test: Compiles
Change-Id: I4c8c7a6415babfb93034ee8674ba0f40cd8c1bb8
2019-12-16 09:22:06 -08:00
TreeHugger Robot
2a34cdb7ce Merge "Add AIDL type for HardwareBuffer" 2019-12-15 08:40:32 +00:00
TreeHugger Robot
f74ae2d126 Merge "audio: Add IDevice::updateAudioPatch method" 2019-12-14 08:29:50 +00:00
TreeHugger Robot
597861e449 Merge "Implement some methods in 2.1 default implementation" 2019-12-14 04:38:32 +00:00
Mikhail Naganov
6c070ca4e8 audio: Add IDevice::updateAudioPatch method
Add method 'updateAudioPatch' which should be used when
an existing patch needs to be updated with new routing.
Use of this method allows audio HAL to avoid disrupting
audio stream while changing routing.

Bug: 79248321
Test: atest VtsHalAudioV6_0TargetTest
Change-Id: I6c87f67fa4f2463ba9e8f0272a3232f5c9c55714
2019-12-13 19:28:37 -08:00
Sasha Kuznetsov
c1c257bc9d Implement some methods in 2.1 default implementation
Test: atest VtsHalGnssV2_0TargetTest builds and runs
Bug: 146216289
Change-Id: I8b024bff5b04b97298813293e39ee865eaf389b4
2019-12-13 19:14:26 -08:00
Robin Lee
8376bc7a10 Merge "Revert submission" 2019-12-14 03:06:24 +00:00
TreeHugger Robot
c13049c6c3 Merge "wifi adapter cleanspec" 2019-12-14 01:38:47 +00:00
Pawin Vongmasa
d535133127 Add AIDL type for HardwareBuffer
This includes other types needed by HardwareBuffer.

Test: Builds

Bug: 145839204
Change-Id: I86c9d2f0cb04b597da9a93b7b6210b041312e1ac
2019-12-13 17:28:57 -08:00
Automerger Merge Worker
ac158eda21 Merge "vibrator: Support Always-On Effects" am: fe4644ddff am: e2b355aa4c am: 912bb28e93
Change-Id: I00d0ac4cf69dfe2125ccdc7edb2e1f29b0023da3
2019-12-14 00:38:57 +00:00
Eric Laurent
9866a1b22d Merge "Audio HAL: Add API to attach an effect to a device" 2019-12-14 00:31:42 +00:00
Automerger Merge Worker
912bb28e93 Merge "vibrator: Support Always-On Effects" am: fe4644ddff am: e2b355aa4c
Change-Id: I315d6dd1df1701a26e20763c841419cca56aa79f
2019-12-14 00:26:49 +00:00
Harpreet \"Eli\" Sangha
e2b355aa4c Merge "vibrator: Support Always-On Effects"
am: fe4644ddff

Change-Id: I63453dd6984f2dcae641cd221572784de7b517c4
2019-12-13 16:12:50 -08:00
Treehugger Robot
fe4644ddff Merge "vibrator: Support Always-On Effects" 2019-12-14 00:08:55 +00:00
Chris Weir
d65c829d30 Merge "Add support for error, RTR, and EFF frames" 2019-12-13 22:47:56 +00:00
Steven Moreland
755bad2ce6 wifi adapter cleanspec
hidl-gen -L c++-adapter-main doesn't create a proper depfile or have
other dependencies listed, and so the intermediates aren't getting
updated. This only causes compilation problems when an interface is
removed, but may break tests when interfaces are added.

Fixes: 146227852
Test: reproduce error and use cleanspec to fix it
Change-Id: Ia2c5c30355eb2da9abbf32a9a000f41c3b4461b8
2019-12-13 14:24:23 -08:00
Hansong Zhang
517ac2ecae Revert submission
Based on Forrest run with earlier base build 6069142, the build with this submission failed apct/bluetooth/instrumentation_test 

Reason for revert: Break tests

Change-Id: I4f59a7e3d5c5f401a260f3c8ab3457cf4e2fe386
2019-12-13 22:03:10 +00:00
Ahmed ElArabawy
cbe5722abd Merge "Remove 6GHz capability query through HAL" 2019-12-13 19:46:52 +00:00
Zhaoming Yin
8dd6754130 Merge "Add fuzzer for FormatConvert" 2019-12-13 19:36:11 +00:00
Automerger Merge Worker
9ce348e0fc Merge "audio: Ignore ENOSYS from optional legacy HAL methods" am: a659ab610b am: 8cd2f70c58 am: 4dab7f1e9c
Change-Id: I911fc7096b9ead0504c67319bd339442a16ceb6c
2019-12-13 17:56:41 +00:00
Automerger Merge Worker
4dab7f1e9c Merge "audio: Ignore ENOSYS from optional legacy HAL methods" am: a659ab610b am: 8cd2f70c58
Change-Id: I87e8181d0e847992438d224cfd5e789e885e0a0d
2019-12-13 17:44:39 +00:00
Mikhail Naganov
8cd2f70c58 Merge "audio: Ignore ENOSYS from optional legacy HAL methods"
am: a659ab610b

Change-Id: I91f5121c98d9ea475d0202b2e94b08ee54820568
2019-12-13 09:29:03 -08:00
Treehugger Robot
a659ab610b Merge "audio: Ignore ENOSYS from optional legacy HAL methods" 2019-12-13 17:23:44 +00:00
Galia Peycheva
54623045b9 Merge "Add controls for ALLM and Content Types to composer hal" 2019-12-13 10:09:00 +00:00
Jooyung Han
9bce98b45a vibrator: Use enum_range<Enum>
to avoid accidental omission of Effect/EffectStrength in test

Bug: 143992652
Test: VtsHalVibratorTargetTest
Change-Id: I0894a7bb426d134b052d43ef9a9f55ace8146a44
2019-12-13 15:39:19 +09:00
Ahmed ElArabawy
b23485ddc5 Remove 6GHz capability query through HAL
It was decided to perform the check on the device support of 6GHz
through overlay configs instead of through HAL.
This commit removes the Hidl API changes that were used for that
check.

Bug: 145936758
Bug: 139354972
Test: Manual
Test: VTS test
Test: Unit test: hardware/interfaces/wifi/1.4/default/tests/runtests.sh
Change-Id: I81fdf603a668a71e3e875211367111fffee20e54
2019-12-12 16:37:36 -08:00
Automerger Merge Worker
a17c6f480f Merge "Convert VtsHalBroadcastradioV2_0TargetTest to be parameterized test" am: c757fd8874 am: 5329c2400f am: 35267a2750
Change-Id: I46304703de5fa8699dd1df5193a8e7c3235810a9
2019-12-13 00:01:48 +00:00
Automerger Merge Worker
3f1f99165a [automerger skipped] Merge "Add APN type XCAP" am: 126564a371 am: 847b15d671 am: ec0c134145 -s ours
am skip reason: Change-Id I7cb450c91a458d66eec558265a8d9f48792cfa77 with SHA-1 1d3b15cd3e is in history

Change-Id: Ia19903fbd6a2c757d4cb751f79de59cd7ae07e2c
2019-12-12 23:53:50 +00:00
Automerger Merge Worker
35267a2750 Merge "Convert VtsHalBroadcastradioV2_0TargetTest to be parameterized test" am: c757fd8874 am: 5329c2400f
Change-Id: I6a43936219ec5bcae6338f9a50146cf270c92caa
2019-12-12 23:40:23 +00:00
Automerger Merge Worker
ec0c134145 Merge "Add APN type XCAP" am: 126564a371 am: 847b15d671
Change-Id: Icb2d71fc1333a4109bd55e4b3acc6825308ed288
2019-12-12 23:38:56 +00:00
Dan Shi
5329c2400f Merge "Convert VtsHalBroadcastradioV2_0TargetTest to be parameterized test"
am: c757fd8874

Change-Id: I7718745b522f7af3d0553f561a8bb31e4ecb03f2
2019-12-12 14:59:48 -08:00
Dan Shi
c757fd8874 Merge "Convert VtsHalBroadcastradioV2_0TargetTest to be parameterized test" 2019-12-12 22:55:29 +00:00
Sarah Chin
847b15d671 Merge "Add APN type XCAP"
am: 126564a371

Change-Id: I284f589c6dd406868e445b97278ac2e2abad1439
2019-12-12 14:45:10 -08:00
Sarah Chin
126564a371 Merge "Add APN type XCAP" 2019-12-12 22:39:01 +00:00
chrisweir
bee3d2c3c9 Add support for error, RTR, and EFF frames
Error frames, remote transmission request, and extended format frames
require some changes to the way that we set up our sockets.

Bug: 142655821
Bug: 144774939
Test: manual
Change-Id: I06212cb852d480c1c7093e8c509ca8aa9f85f81f
2019-12-12 14:21:38 -08:00
Eric Laurent
6c29bf2096 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
2019-12-12 14:16:38 -08:00
Nicholas Ambur
ad84668d29 Merge "add SoundTrigger HAL V2.3" 2019-12-12 21:37:00 +00:00
Zhaoming Yin
497cc64544 Add fuzzer for FormatConvert
Bug: 146086281
Test: Follow go/android-fuzzing to build and test

Change-Id: Id94c57ba1b327cd4af2ae72fb0259953fa941d45
2019-12-12 13:09:57 -08:00
Dan Shi
27506e64f1 Convert VtsHalBroadcastradioV2_0TargetTest to be parameterized test
Removing dependency from VTS infrastructure so that test can run
standalone, for instance with atest/TEST_MAPPING. Once this is
done for every test, VTS can use the core testing infra.

Bug: 142397658
Test: atest VtsHalBroadcastradioV2_0TargetTest
Change-Id: I0298bb78bc37c99dacca0bc6a0d42e41e40b52c0
2019-12-12 12:58:54 -08:00
Nate Jiang
0bfc516c88 Merge "Fix 6GHz support for NAN" 2019-12-12 20:45:50 +00:00
Sarah Chin
039d542f95 Add APN type XCAP
Add XCAP and update DataProfileInfo

Test: build
Bug: 73792201
Change-Id: I7cb450c91a458d66eec558265a8d9f48792cfa77
Merged-In: I7cb450c91a458d66eec558265a8d9f48792cfa77
2019-12-12 11:56:46 -08:00
Automerger Merge Worker
dfb544e056 Merge "graphics: hwc2on1adapter: Buffer hotplug event after display creation" am: 74033a720b am: 076f84098e am: 43eedd211e
Change-Id: Ifa0eef52e8e439bddbbb2901008f3702d08f5c5c
2019-12-12 19:13:16 +00:00
Automerger Merge Worker
43eedd211e Merge "graphics: hwc2on1adapter: Buffer hotplug event after display creation" am: 74033a720b am: 076f84098e
Change-Id: I3086b49333f5d6b4b775b16815550443b00bc763
2019-12-12 18:56:15 +00:00
Nate(Qiang) Jiang
18b38eb441 Fix 6GHz support for NAN
add NAN 6Ghz support in 1.4, size of bandSpecificConfig should be 3.

Bug: 146062988
Test: unit test
Test: acts AttachTest DiscoveryTest DataPathTest

Change-Id: I3bd0a4f32d804eae848bc15d9813d5ccb3e5fc62
2019-12-12 18:51:37 +00:00
Andrew F. Davis
076f84098e Merge "graphics: hwc2on1adapter: Buffer hotplug event after display creation"
am: 74033a720b

Change-Id: I952eb3e02baadcd4bec6c4c0e1084eaff28a0657
2019-12-12 10:34:52 -08:00
Treehugger Robot
74033a720b Merge "graphics: hwc2on1adapter: Buffer hotplug event after display creation" 2019-12-12 18:28:05 +00:00