No description
Find a file
Mikhail Naganov 60bd3ecc5d audio: Run VTS tests for streams of non-primary modules for HAL V6
Implement parsing of AudioPolicyManager config for finding
out supported format configurations of streams. This only applies
when running tests for HAL V6. Previously format configurations
mandated by CDD were used for testing, this does not work well
for non-primary modules.

Fix the following issues found while running the tests
for "r_submix" and "msd" modules:

- IStream::getSupportedFormats must return a status
  to indicate that this capability is not supported by HAL;

- it is allowed for IStream::setDevices to return
  NOT_SUPPORTED status.

Other changes:

- Factor out helper functions for generating format
  configurations;

- Fix generation of the channel mask component in the names
  of tests that use AudioConfig, add sampling rate to test
  names.

Squashed with the following commit to avoid breaking compilation:

audio vts: Remove explicit dependency on the new types

Avoid using the new ChannelMaskSet and SampleRateSet types
directly to simplify upstreaming.

Bug: 141989952
Bug: 141847510
Test: atest VtsHalAudioV5_0TargetTest
      atest VtsHalAudioV6_0TargetTest
            also, run modified V5_0 test using generators for V6_0

Change-Id: If0d330881901908e546baab89f63d3333003e355
Merged-In: If0d330881901908e546baab89f63d3333003e355
2019-11-11 10:29:06 -08:00
atrace/1.0 [vts-core] add VtsHalAtraceV1_0TargetTest to vts-core 2019-10-29 14:56:03 +08:00
audio audio: Run VTS tests for streams of non-primary modules for HAL V6 2019-11-11 10:29:06 -08:00
authsecret/1.0 [vts-core] add VtsHalAuthSecretV1_0TargetTest to vts-core 2019-10-15 09:29:20 +00:00
automotive [hardware][interfaces][automotive] fix -Wreorder-init-list 2019-10-18 09:56:57 -07:00
biometrics [vts-core] add VtsHalBiometricsFingerprintV2_1TargetTest to vts-core 2019-10-24 14:57:11 +08:00
bluetooth [hardware][interfaces][bluetooth] fix -Wreorder-init-list 2019-10-14 11:04:50 -07:00
boot IBootControl: Use new defaultPassthroughServiceImplementation signature. 2019-11-05 17:05:05 -08:00
broadcastradio Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
camera camer 2.5 lazy service: fix interface decls 2019-11-04 12:36:53 -08:00
cas Update cas@1.1 hal to cas@1.2. 2019-11-06 23:00:05 +00:00
compatibility_matrices Allow device to have use Audio HAL V6 2019-11-07 14:19:48 -08:00
configstore [vts-core] add VtsHalConfigstoreV1_0TargetTest to vts-core 2019-10-24 07:36:20 +00:00
confirmationui Use libcrypto_static instead of libcrypto 2019-09-18 11:07:09 -07:00
contexthub/1.0 Update contexthub OWNERS 2019-10-03 01:26:00 +00:00
drm Merge "Use libcrypto_static instead of libcrypto" 2019-09-26 07:42:20 -07:00
dumpstate/1.0 [vts-core] add VtsHalDumpstateV1_0TargetTest to vts-core 2019-10-18 16:01:00 +08:00
fastboot/1.0 Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
gatekeeper/1.0 Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
gnss Merge "Convert VtsHalGnssV1_0TargetTest to be parameterized test" 2019-10-16 12:06:58 -07:00
graphics [hardware][interfaces][graphics] fix -Wimplicit-int-float-conversion 2019-11-05 14:54:06 -08:00
health health 2.1 implementation. 2019-10-30 11:15:24 -07:00
input Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
ir/1.0 [vts-core] add VtsHalIrV1_0TargetTest to vts-core 2019-10-25 03:42:59 +00:00
keymaster Merge "Adding jbires to VTS OWNERS" 2019-10-25 17:54:54 +00:00
light Merge "Add VtsHalLightV2_0TargetTest and VtsHalNeuralnetworksV1_* to vts-core" 2019-10-14 15:35:48 +00:00
media DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master 2019-07-09 15:22:03 -07:00
memtrack/1.0 [vts-core] add VtsHalMemtrackV1_0TargetTest to vts-core 2019-10-24 14:49:29 +08:00
neuralnetworks Change NNAPI VTS TEST_MAPPING to restrict testing on sample drivers 2019-10-29 19:08:38 -07:00
nfc Convert VtsHalNfcV1_*TargetTest to be parameterized test 2019-10-22 20:54:31 -07:00
oemlock/1.0 Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
power Convert VtsHalPowerV1_*TargetTest to be parameterized test 2019-10-18 09:21:37 -07:00
prebuilt_hashes power@1.3 is for P. 2019-04-23 12:51:21 -07:00
radio Merge "radio@1.5: update makefiles" 2019-11-05 17:58:02 +00:00
renderscript/1.0 [hardware][interfaces][renderscript] fix -Wreorder-init-list 2019-10-14 11:05:57 -07:00
secure_element Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
sensors [hardware][interfaces][sensors] fix -Wreorder-init-list 2019-11-05 14:58:13 -08:00
soundtrigger update-makefiles.sh: for partial Java pkgs 2019-11-04 12:50:41 -08:00
tests Merge "update-makefiles.sh: for partial Java pkgs" 2019-11-05 17:57:51 +00:00
tetheroffload [vts-core] add VtsHalTetheroffloadConfigV1_0TargetTest to vts-core 2019-11-06 16:25:31 +08:00
thermal Convert VtsHalThermalV*TargetTest to be parameterized test 2019-10-16 14:45:16 -07:00
tv update-makefiles.sh: for partial Java pkgs 2019-11-04 12:50:41 -08:00
usb Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
vibrator vibrator: add CAP_EXTERNAL_AMPLITUDE_CONTROL 2019-11-07 03:00:25 +00:00
vr/1.0 [vts-core] add VtsHalVrV1_0TargetTest to vts-core 2019-10-29 16:16:55 +08:00
weaver/1.0 [vts-core] add VtsHalWeaverV1_0TargetTest to vts-core 2019-10-23 03:05:57 +00:00
wifi Merge "hostapd: Ignore ACS relate vts testcase for hostapd 1.0 and hostapd 1.1" 2019-11-08 08:30:38 +00:00
.clang-format Replace clang-format with symlink. 2019-01-18 14:26:33 -08:00
Android.bp libhidl_gtest_helpers -> libhidl_gtest_helper 2019-10-29 14:20:45 -07:00
CleanSpec.mk Convert audio HAL service mk to bp and rename the service 2019-11-07 14:12:30 -08:00
current.txt Freeze health 2.1 2019-10-31 10:54:14 -07:00
MODULE_LICENSE_APACHE2 Apache2 module license. 2016-08-30 11:28:36 -07:00
NOTICE Apache2 module license. 2016-08-30 11:28:36 -07:00
OWNERS Add restricted OWNERS for .hal/.aidl files. 2019-08-09 15:07:49 -07:00
PREUPLOAD.cfg Keymaster should be developed in AOSP 2019-08-01 15:52:53 -07:00
TEST_MAPPING TEST_MAPPING += hidl_implementation_test 2019-10-16 16:48:10 -07:00
update-base-files.sh Adding Dataspace BT2020_SRGB and ColorMode BT2020_SRGB 2018-10-22 11:19:52 -07:00
update-makefiles.sh Remove update scripts for VTS makefiles. 2019-02-28 10:32:51 -08:00