Commit Graph

9414 Commits

Author SHA1 Message Date
Adam Stone
6061ba37da Merge "Add getMetrics test to drm vts test." 2018-02-05 17:57:48 +00:00
Ruchi Kandoi
3e0950b16c Merge "Add NFC 1.1 VTS Test" am: bf81fc584b am: 8e0c79dffd
am: 0120901735

Change-Id: I792e43cbd6b221507ec7c6635d2969bc0dc9ebee
2018-02-04 23:22:11 +00:00
Ruchi Kandoi
0120901735 Merge "Add NFC 1.1 VTS Test" am: bf81fc584b
am: 8e0c79dffd

Change-Id: Idbfe22efcf94517248df78fd6b902a1c1767e9be
2018-02-04 23:18:12 +00:00
Ruchi Kandoi
8e0c79dffd Merge "Add NFC 1.1 VTS Test"
am: bf81fc584b

Change-Id: I3b4dadf0c5a361327c0bfc9100732122151362e4
2018-02-04 23:15:12 +00:00
Treehugger Robot
bf81fc584b Merge "Add NFC 1.1 VTS Test" 2018-02-04 23:11:56 +00:00
Steven Moreland
d44102998c Merge "Remove extra space." am: 3a9680bd44 am: 958be72e31
am: 5f6471ea6b

Change-Id: I1e894c0e3c06b8886bb9d91256c674d5ec8e4d98
2018-02-03 02:34:10 +00:00
Steven Moreland
5f6471ea6b Merge "Remove extra space." am: 3a9680bd44
am: 958be72e31

Change-Id: I947afd526dae140c00374d9504cc690fdf0f313c
2018-02-03 01:45:46 +00:00
Adam Stone
9d127768d1 Add getMetrics test to drm vts test.
Adds test cases for the getMetrics call in the DRM 1.1 HAL clear key
implementation.

Bug: 64001680
Test: VtsHalDrmV1_1TargetTest

Change-Id: I7c292f79f7477a6a88296aa62eae02cc70e35102
2018-02-02 17:44:53 -08:00
Steven Moreland
958be72e31 Merge "Remove extra space."
am: 3a9680bd44

Change-Id: I7a042fdced93ccef9637573b10d37b28f190ca28
2018-02-03 01:19:04 +00:00
Ruchi Kandoi
912ce33eeb Add NFC 1.1 VTS Test
Test: Run VtsHalNfcV1_1TargetTest
Bug: 72746517
Change-Id: I11db8782e89fe06a33d9d7b56d3270b0ad0341cd
2018-02-02 16:53:00 -08:00
TreeHugger Robot
441becc921 Merge "Modify FAN_DIRECTION to be a bit mask" 2018-02-03 00:09:15 +00:00
Roshan Pius
b4c326f9f4 Merge "wpa/hostapd(interface): Add terminate method" 2018-02-02 23:52:33 +00:00
Treehugger Robot
3a9680bd44 Merge "Remove extra space." 2018-02-02 22:48:44 +00:00
TreeHugger Robot
635d13fff4 Merge "Add vts tests for new drm@1.1 methods" 2018-02-02 21:50:30 +00:00
Jeff Tinker
6a465fda8c Merge "Fix incorrect comment in ICryptoFactory.hal" 2018-02-02 21:38:46 +00:00
Steven Moreland
dcb1ff7104 Remove extra space.
Pointed out to me.

Bug/Test: none

Change-Id: I2cd01c5d46525cda3cfe32a2bf79655e6f9b84bd
2018-02-02 12:35:40 -08:00
Jeff Tinker
203c8514e2 Add vts tests for new drm@1.1 methods
Test: VtsHalDrmV1_1TargetTest

Methods are for querying HDCP, security levels
and number of sessions.

Change-Id: Iaa865a0201a4c10b0c6b055aabab146dd31a2d01
2018-02-02 10:31:21 -08:00
Android Build Merger (Role)
8e1f29250a Merge "Merge "Create NeuralNetworks HAL v1.1 for new OperationTypes" am: 2ea233becb am: f86e9fe9fc am: 279fb7793e" 2018-02-02 07:33:15 +00:00
Michael Butler
322121511d Merge "Create NeuralNetworks HAL v1.1 for new OperationTypes" am: 2ea233becb am: f86e9fe9fc
am: 279fb7793e

Change-Id: Ifd26f6dd361bb502dffe46a3c3b54ee1a39b2043
2018-02-02 07:32:10 +00:00
Android Build Merger (Role)
8ab2f553bf Merge "Merge "Displaying HD audio indicator for GSM/CDMA calls" am: 62bd6006e9 am: 68bd6ae440 am: 1c57d9c53a" 2018-02-02 07:31:45 +00:00
Chia-I Wu
15d22137ac graphics: add a default impl for IMapper 2.1
This is for reference only.  It almost only has stub implementations
for the new 2.1 methods.

Test: boots and VTS
Change-Id: I60499f3094df1975ccbbcda7b5c03d4a0dc57c39
2018-02-02 07:31:37 +00:00
Chia-I Wu
3ceef47c41 graphics: add mapper 2.1 HAL support library
Add android.hardware.graphics.mapper@2.1-hal to make it easier to
write 2.1 HALs.

Test: builds
Change-Id: I36d6b2c85ec623240582788505f29e635960dc0e
2018-02-02 07:31:28 +00:00
Chia-I Wu
efd99206d0 graphics: make mapper 2.1 VTS utils more reusable
Move V2_1::vts::Gralloc to android.hardware.graphics.mapper@2.1-vts.

Test: VTS
Change-Id: Iecb7fc3cb90b886ad2d9c23a5cab8aef2da6367f
2018-02-02 07:30:38 +00:00
Chia-I Wu
98923fccad graphics: make mapper VTS utils more reusable
Better include path (#include <mapper-vts/2.0/MapperVts.h>), better
library naming, and move GraphicsMapperHidlEnvironment to where
tests are defined.

Test: VTS
Change-Id: I9fbf6515993ac11852b11ca6b8194a58afe5579a
2018-02-02 07:29:25 +00:00
Takumi Hori
eec1544af3 Merge "Displaying HD audio indicator for GSM/CDMA calls" am: 62bd6006e9 am: 68bd6ae440
am: 1c57d9c53a

Change-Id: I986cf5d08147dc3dd72b9ff009b391a852a4d121
2018-02-02 06:58:25 +00:00
Chia-I Wu
7d510c91f0 Merge changes from topic "gralloc-mapper-cleanup" am: 779a7aa37a am: 3b1e1fdac1
am: 979b233827

Change-Id: Ic42426c1f31bbc8732995eb8e744bd093d1c2071
2018-02-02 06:56:55 +00:00
Ruchi Kandoi
54791a993b Merge "Add VTS Test for Secure Element HAL" am: 6a75cdbe96 am: 3b24df528a
am: 6e3948f36b

Change-Id: I0a360479fd9f31352bacb4b857672f642c99b253
2018-02-02 06:55:31 +00:00
Ruchi Kandoi
a0dc2c9089 Add NFC HAL 1.1 am: 4475917d65 am: 6fa5f5bbfd
am: ac564248bc

Change-Id: I8a54f823d3b754753cfe804d8d60755aa09a67bb
2018-02-02 06:54:22 +00:00
Michael Butler
279fb7793e Merge "Create NeuralNetworks HAL v1.1 for new OperationTypes" am: 2ea233becb
am: f86e9fe9fc

Change-Id: Ib38a89e26b8cfcf353b9e970af750748267a8f40
2018-02-02 04:41:16 +00:00
Takumi Hori
1c57d9c53a Merge "Displaying HD audio indicator for GSM/CDMA calls" am: 62bd6006e9
am: 68bd6ae440

Change-Id: I0ea2dba4f84c5be97b72b7724cf0243e994f692b
2018-02-02 04:22:43 +00:00
Chia-I Wu
979b233827 Merge changes from topic "gralloc-mapper-cleanup" am: 779a7aa37a
am: 3b1e1fdac1

Change-Id: I4b2f10410049b05689b71b29a892703797ecdcd0
2018-02-02 04:21:58 +00:00
Ruchi Kandoi
6e3948f36b Merge "Add VTS Test for Secure Element HAL" am: 6a75cdbe96
am: 3b24df528a

Change-Id: Id3458e6a4826c7e4f0f05d9a38d802d9c7dc5488
2018-02-02 04:20:34 +00:00
Ruchi Kandoi
ac564248bc Add NFC HAL 1.1 am: 4475917d65
am: 6fa5f5bbfd

Change-Id: I19cb422b8db03cae7509fbd784990353570b5f06
2018-02-02 04:19:05 +00:00
Michael Butler
f86e9fe9fc Merge "Create NeuralNetworks HAL v1.1 for new OperationTypes"
am: 2ea233becb

Change-Id: Iecef8cb76bdc5ac9b50b562b01785f2bb1824586
2018-02-02 03:48:04 +00:00
Roshan Pius
d0b0bc371a wpa/hostapd(interface): Add terminate method
These will be used to bring down the HIDL services (i.e kill the daemon)
when they're no longer needed.

Bug: 72394251
Test: ./hardware/interfaces/update-makefiles.sh
Change-Id: I99189efa6770ee5a1f1c8379598a9414d99bfe66
2018-02-01 19:41:38 -08:00
TreeHugger Robot
02fbe63100 Merge "Audio V4: Create audio V4.0 .hal makefiles" 2018-02-02 03:38:20 +00:00
TreeHugger Robot
b14f34839d Merge changes from topic "audio-hal-v4"
* changes:
  Audio V4: More fixes of the audio 2.0 API
  Audio V4: Support query microphones information
  Audio V4: Only expose one notification usage
  Audio V4: Add new api in XSD
  Audio V4: Copy audio_policy_configure.xsd 2.0 to 4.0
  Audio V4: Forward tracks attributes to the hal
  Audio V4: Remove deprecated function and enum
  Audio V4: bitfield enum now use the bitfield class
  Audio V4: Add MSD formats and Device
  Audio V4: Add new Audio HAL API
  Audio V4: Remove all non extensible enum value
  Audio V4: Fix doc comments for hidl-doc
  Audio V4: Fix documentation and useable/untestable bugs
  Audio V4: Copy 2.0 .hal files in 4.0
2018-02-02 02:28:34 +00:00
Treehugger Robot
2ea233becb Merge "Create NeuralNetworks HAL v1.1 for new OperationTypes" 2018-02-02 02:17:36 +00:00
Michael Butler
5dd8a9909b Merge "Add README to NeuralNetworks HAL" 2018-02-02 01:15:39 +00:00
Kevin Rocard
87ac081930 Audio V4: Create audio V4.0 .hal makefiles
Run update-makefiles.sh to create all HAL makefiles.

Test: update-makefiles.sh
Bug: 38184704
Change-Id: I2532c4b9d1f0f6252ceaffbfb0c5d0a615400c72
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-02-01 16:17:34 -08:00
Kevin Rocard
eacb99697f Audio V4: More fixes of the audio 2.0 API
Remove unnecessary Result typedef.
Make bufferSizeFrames and burstSizeFrames unsigned
as they should not be negative.
Remove legacy AudioInterleave.
Remove implicit callflow annotation.
Make EffectConfigParameters a bitfield.

Bug: 38184704
Test: hardware/interfaces/update-makefiles.py
Change-Id: I33e6f7869d20ca0cad4123f32347754e5a514caa
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-02-01 16:17:34 -08:00
Ricardo Garcia
520e53d346 Audio V4: Support query microphones information
Get list of all/currently active microphones from hardware.
Part of the device enumeration feature.

Bug: 64038649
Test: test/vts-testcase/hal/script/update_makefiles.py
Change-Id: I08051f1d6013672dea8f3866776864e87ff35297
Rebased for 4.0 by:
Signed-off-by: Kevin Rocard <krocard@google.com>
Originally written by:
Signed-off-by: Ricardo Garcia <rago@google.com>
2018-02-01 16:17:34 -08:00
Kevin Rocard
c8d7bb7c84 Audio V4: Only expose one notification usage
Too many usages detail were previously exposed to the HAL.
All usages that should be handled identically by the HAL
are now the same value.

 - All notification types are now the same usages

Test: build
Bug: 38184704
Change-Id: I2096f995e249ab02bc29449c6d1a65b521dc13f7
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-02-01 16:17:34 -08:00
Eric Laurent
34daac8485 Audio V4: Add new api in XSD
Allow multiple concurrent opened profiles.
Allow mixPort to declare their preferred usage.
Allow to declare the default devicePort for a device type.

Bug: 38184704
Test: xmllint --noout --schema hardware/interfaces/audio/4.0/config/audio_policy_configuration.xsd  --xinclude out/target/product/taimen/vendor/etc/audio_policy_configuration.xml
Change-Id: If2afd9e83f8b023e6229496759dc525497af8d72
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-02-01 16:17:34 -08:00
Kevin Rocard
9efddc5596 Audio V4: Copy audio_policy_configure.xsd 2.0 to 4.0
That will make it easier to review the changes between 2.0 and 4.0.

Bug: 38184704
Test: none
Change-Id: Icb36a5b6e74ad89fb05dfe3ceee7b7f81801918d
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-02-01 16:17:34 -08:00
Kevin Rocard
14dbb1edce Audio V4: Forward tracks attributes to the hal
Forward to the HAL the audio usage, audio content types and volume
of playback tracks to the stream out they are playing to.

Forward to the HAL the audio source and volume of record tracks
to the stream in they are playing to.

This will allow the HAL to better tune its effects and remove the need
to inject a fake effect (volume listener) to get the tracks volume.

Bug: 38184704
Test: none
Change-Id: Iede0f7aa518608c3b3ce1497f059f672aac109b2
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-02-01 16:17:34 -08:00
Takumi Hori
68bd6ae440 Merge "Displaying HD audio indicator for GSM/CDMA calls"
am: 62bd6006e9

Change-Id: I42060d76f3dd12b8fe3fc3275762fbc22ace89c8
2018-02-02 00:14:44 +00:00
Chia-I Wu
3b1e1fdac1 Merge changes from topic "gralloc-mapper-cleanup"
am: 779a7aa37a

Change-Id: Ia48ae7515fac374a5a99efcb8b230b4f3dca57f0
2018-02-02 00:14:12 +00:00
Ruchi Kandoi
3b24df528a Merge "Add VTS Test for Secure Element HAL"
am: 6a75cdbe96

Change-Id: Ie97c14471a2bf155ce338de42a32a761e76e8d76
2018-02-02 00:13:00 +00:00
Ruchi Kandoi
6fa5f5bbfd Add NFC HAL 1.1
am: 4475917d65

Change-Id: I4b0303f62687357b26f0c542eeee0ba37409fee8
2018-02-02 00:08:56 +00:00