summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* TEST_MAPPING: vts_treble_vintf_*_testSteven Moreland2019-11-191-0/+6
| | | | | | | | Change here recently broke this test. Bug: N/A Test: N/A Change-Id: Ied52ac2889f3b1ed092a244e72e1d202829876ba
* Merge "Remove VtsHalNeuralnetworksV1_2TargetTest from vts-core suite"Treehugger Robot2019-11-181-1/+1
|\
| * Remove VtsHalNeuralnetworksV1_2TargetTest from vts-core suiteDan Shi2019-11-181-1/+1
| | | | | | | | | | | | | | | | The test takes over 12 hours to run. Remove it from vts-core suite. Bug: 144527956 Test: None Change-Id: If37a7b04e6d7b044d1594dcb4df07432236a1cf3
* | Merge "audio: add 'useForVolume' field to 'gain'."Treehugger Robot2019-11-184-0/+6
|\ \
| * | audio: add 'useForVolume' field to 'gain'.chenhg2019-11-154-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG: 144081761 Test: xmllint --noout --xinclude --schema \ hardware/interfaces/audio/5.0/config/audio_policy_configuration.xsd \ frameworks/av/services/audiopolicy/config/audio_policy_configuration*.xml xmllint --noout --schema \ hardware/interfaces/audio/5.0/config/audio_policy_configuration.xsd \ --xinclude out/target/product/*/vendor/etc/audio_policy_configuration.xml Change-Id: I0ee9114f750186b479a2ebee5dfcd946d9ef3196
* | | Merge "Convert VtsHalWifiSupplicantV1_0TargetTest to be parameterized test"Dan Shi2019-11-159-232/+386
|\ \ \
| * | | Convert VtsHalWifiSupplicantV1_0TargetTest to be parameterized testDan Shi2019-11-139-232/+386
| | |/ | |/| | | | | | | | | | | | | | | | | | | Bug: 142397658 Test: atest VtsHalWifiSupplicantV1_0TargetTest \ VtsHalWifiSupplicantP2pV1_0TargetTest Change-Id: I0cba2c29d90018d8248c583dec2354f9d3feba47
* | | Merge "Added LargeFinishInput test"Rob Barnes2019-11-151-0/+51
|\ \ \
| * | | Added LargeFinishInput testRob Barnes2019-11-141-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This tests passing a large input to finish. This should either succeed or fail with the right error code. Test: Run new VTS test Change-Id: Ic4ef90adc6274317796bbe752f95fc9efa5fdb07
* | | | Merge "Add gettid() to SELinux policy in prep for GWP-ASan."Treehugger Robot2019-11-151-0/+1
|\ \ \ \
| * | | | Add gettid() to SELinux policy in prep for GWP-ASan.Mitch Phillips2019-11-131-0/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GWP-ASan is a sampled allocator framework that is planned for rollout in Android R. It instruments the bionic allocator, and requires gettid() during its initialisation. Ensure that we can call gettid() from configstore. Bug: 135634846 Test: N/A Change-Id: I4a92c989ffde9051831e858e805fc20ae993dc01
* | | | Merge "Bug fix in wifi_hidl_test_utils"Treehugger Robot2019-11-151-1/+1
|\ \ \ \
| * | | | Bug fix in wifi_hidl_test_utilsDan Shi2019-11-121-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | Bug: 142397658 Test: atest VtsHalWifiSupplicantV1_0TargetTest Change-Id: Idc1560fa83471f79a2302746815117ff60c46c77
* | | | Merge "wifi(vts): Set the iface up as a part of setup"Treehugger Robot2019-11-145-1/+28
|\ \ \ \
| * | | | wifi(vts): Set the iface up as a part of setupRoshan Pius2019-11-135-1/+28
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Attempts to fix a VTS test failure reported by OEM's on devices supporting concurrent AP iface. Bug: 143096362 Test: make vts && vts-tradefed run commandAndExit vts --module VtsHalWifiV1_0Host Test: Will need to ask OEM to verify the fix. Change-Id: I0958d720411258761f4ac5bcccc823b06a55d518 Merged-In: I0958d720411258761f4ac5bcccc823b06a55d518
* | | | Merge "Adding test to check another ASN.1 Encoding Case"Treehugger Robot2019-11-141-19/+23
|\ \ \ \ | |_|/ / |/| | |
| * | | Adding test to check another ASN.1 Encoding CaseMax Bires2019-11-121-19/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This test will check that the length of the attestation application id field will be properly encoded in valid DER ASN.1 in cases where the length is long enough to require extra bytes to encode. In those cases, the encoding of that field should include: -A byte to specify how many bytes are required to enumerate the length -The bytes required to enumerate the length -The actual data that follows Bug: 142674020 Test: atest keymaster_hidl_hal_test Change-Id: I6d162efa4c8c6e0922989e234d0377caf3c1758e
* | | | Merge "Add Signal Strength Threshold HAL for 4G and 5G"Shuo Qian2019-11-147-4/+411
|\ \ \ \ | |_|/ / |/| | |
| * | | Add Signal Strength Threshold HAL for 4G and 5Gsqian2019-11-127-4/+411
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Test: Build Bug: 135717625 Change-Id: I324cfd592ca53a12ebe1161f242ae3b9c7fc59a4 Merged-In: I324cfd592ca53a12ebe1161f242ae3b9c7fc59a4 (cherry picked from commit 1f4012f417831ae076bb3861e1ac3f4c14fe2d7c)
* | | Merge "[vts-core] add VtsHalSoundtriggerV2_*TargetTest to vts-core"Treehugger Robot2019-11-136-111/+50
|\ \ \
| * | | [vts-core] add VtsHalSoundtriggerV2_*TargetTest to vts-corenelsonli2019-11-126-111/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert VtsHalSoundtriggerV2_*TargetTest to be parameterized test and add it to vts-core Bug: 142397658 Test: $atest VtsHalSoundtriggerV2_0TargetTest $atest VtsHalSoundtriggerV2_1TargetTest $atest VtsHalSoundtriggerV2_2TargetTest Change-Id: Ibd9dec2b1aaa5ea0f5ca3fe2976b500048b3e426
* | | | Merge "[vts-core] add VtsHalHealthStorageV1_0TargetTest to vts-core"Treehugger Robot2019-11-132-35/+13
|\ \ \ \ | |_|/ / |/| | |
| * | | [vts-core] add VtsHalHealthStorageV1_0TargetTest to vts-corenelsonli2019-11-072-35/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert VtsHalHealthStorageV1_0TargetTest to be parameterized test and add it to vts-core Bug: 142397658 Test: $atest VtsHalHealthStorageV1_0TargetTest Change-Id: I0e91e0958c2dc351a0e9af03fd977f55f418d1f5
* | | | Merge "Removing invalid HMAC tests."Treehugger Robot2019-11-121-83/+0
|\ \ \ \
| * | | | Removing invalid HMAC tests.Max Bires2019-11-071-83/+0
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per Keymaster 4.0 spec, TEE and StrongBox implementations are only required to support HMAC keys between 64 and 512 bits in length. StrongBox implementations additionally must not support anything larger than 512 bits. The tests removed in this CL specified key sizes larger than 512 bits. Bug: 143404829 Test: m VtsHalKeymasterV4_0TargetTest && adb sync data && \ adb shell data/nativetest64/VtsHalKeymasterV4_0TargetTest/VtsHalKeymasterV4_0TargetTest Change-Id: I96ee3a20b981c288d88366f536b9924f907268f3
* | | | Merge changes from topic "rm-vibrator-1-4"Steven Moreland2019-11-1211-65/+23
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: vibrator@1.4: remove from current.txt Remove vibrator@1.4 from VNDK. Restore vibrator@1.3 example service.
| * | | | vibrator@1.4: remove from current.txtSteven Moreland2019-11-101-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since it is being replaced by an AIDL HAL interface. Bug: 141828236 Test: N/A Change-Id: Ie46843cd17540665f0575798ea97355e174a359c Merged-In: Ie46843cd17540665f0575798ea97355e174a359c
| * | | | Remove vibrator@1.4 from VNDK.Steven Moreland2019-11-109-495/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because this HAL was converted to AIDL. Can't be completely removed until frameworks/base is refactored not to use it, but doing this so no more dependencies are accidentally taken downstream. Bug: 141828236 Test: N/A Change-Id: Ic920f59a1a0ad933e5c80c468700ef4514b4a9c9
| * | | | Restore vibrator@1.3 example service.Steven Moreland2019-11-107-0/+455
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To ensure we still have a HIDL vibrator service around for testing. This is from running command: git checkout 714220ef75707d826371c6c020c45663d6965f0c^ -- \ vibrator/1.3/example Bug: 141828236 Test: N/A Change-Id: Iffd5c8d4b95466f1b7b277c9f69d9a6001f12db8
* | | | | Merge changes from topic "upstream-vts-v6"Treehugger Robot2019-11-1214-366/+1081
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: audio: Run VTS tests for streams of non-primary modules for HAL V6 audio: Run VTS tests for non-primary modules for HAL V6 audio: Parametrize core VTS tests audio: Parametrize effect VTS tests for V6.0
| * | | | | audio: Run VTS tests for streams of non-primary modules for HAL V6Mikhail Naganov2019-11-117-119/+354
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | audio: Run VTS tests for non-primary modules for HAL V6Mikhail Naganov2019-11-084-153/+253
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement parsing of AudioPolicyManager config for finding out declared modules (IDevice instances) with permanently attached devices and run tests for them. This only applies when running tests for HAL V6. Change class hierarchy to use IDevice interface as much as possible, only use IPrimaryDevice for its specific methods. Fix the following issues found while running the tests for "r_submix" and "msd" modules: - IDevice::getMicrophones can return NOT_SUPPORTED status; - IDevice::get/setParameters can return NOT_SUPPORTED. Other changes: - Factor out common code for getting devices via DeviceManager; - Factor out AudioPolicyConfigTest.HasPrimaryModule test from SetUp code; - Add device parameter generator for primary device only. Bug: 141989952 Bug: 141847510 Test: atest VtsHalAudioV5_0TargetTest atest VtsHalAudioV6_0TargetTest also, run modified V5_0 test using generators for V6_0 Change-Id: I51cec21670120d8dce75609954a18b886cc0c18d Merged-In: I51cec21670120d8dce75609954a18b886cc0c18d
| * | | | | audio: Parametrize core VTS testsMikhail Naganov2019-11-087-200/+535
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Parametrize tests to accept IDevicesFactory instance name and IDevice instance name. For audio HAL versions 2..5 the factory instance name is taken from the VTS environment, and the device is always "primary". For the next versions the factories are discovered by the test, and the devices are taken from the audio policy configuration (to be implemented, see added FIXME comments). Split the Environment class into two versions: for HAL 2..5 and for next versions. They use different base class. Move device factories and device caching into dedicated classes DevicesFactoryManager and DeviceManager. They deal with instance caching and proper release of server resources. Bug: 141847510 Bug: 141989952 Test: atest VtsHalAudioV5_0TargetTest atest VtsHalAudioV6_0TargetTest Change-Id: I92c44e0c3f900164dded7e9c4bfc642ca2c335db Merged-In: I92c44e0c3f900164dded7e9c4bfc642ca2c335db
| * | | | | audio: Parametrize effect VTS tests for V6.0Mikhail Naganov2019-11-081-38/+83
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Parametrize tests to accept IEffectsFactory instance name. Discover the instances in the test. Bug: 141847510 Bug: 141989952 Test: atest VtsHalAudioEffectV5_0TargetTest atest VtsHalAudioEffectV6_0TargetTest Change-Id: Iaf19109fc77a93b211cc3da85c21c0584d4f2b88 Merged-In: Iaf19109fc77a93b211cc3da85c21c0584d4f2b88
* | | | | Merge "vibrator: clarify behavior for repeated commands"Steven Moreland2019-11-111-1/+8
|\ \ \ \ \
| * | | | | vibrator: clarify behavior for repeated commandsSteven Moreland2019-11-111-1/+8
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | Bug: 141828236 Test: VtsHalVibratorTargetTest Change-Id: I4077ca34cb037198df16149f944beba3c5633175
* | | | | Merge "Remove static vndk dep from vendor modules"Treehugger Robot2019-11-111-2/+2
|\ \ \ \ \
| * | | | | Remove static vndk dep from vendor modulesInseob Kim2019-09-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead, vendor modules should link against shared vndk. Bug: 137178339 Test: mma Change-Id: Idfce608a3d62de7c4c0e6b02b7cbd80de0a5207f
* | | | | | Merge "vibrator: fix VTS for effects"Steven Moreland2019-11-111-7/+19
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | vibrator: fix VTS for effectsSteven Moreland2019-11-081-7/+19
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A few issues were causing effects tests to fail: - invalid effects were not actually invalid - test for invalid effects improved to consider invalid effects and strengths separately - test sleeps for appropriate amount of time after requesting effect to be performed - logging used to diagnose issues left in place for convenience Bug: 141828236 Test: atest VtsHalVibratorTargetTest (on device which suffers from these issues that cf did not hit) Change-Id: Id220d36c27d85f068dce6b8961f705eef8dc6a4f
* | | | | Merge "Fix build with new googletest"Treehugger Robot2019-11-093-3/+3
|\ \ \ \ \
| * | | | | Fix build with new googletestHaibo Huang2019-11-083-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new googletest requires prefix to be non-empty. Change-Id: I3ebd13861c4803b53dbeb4ac5f247984814bef45
* | | | | | Merge "Replace -Weverything with -Wextra"Treehugger Robot2019-11-081-29/+1
|\ \ \ \ \ \
| * | | | | | Replace -Weverything with -WextraColin Cross2019-11-081-29/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -Weverything is not recommended, use -Wextra. Bug: 143713277 Test: mma Change-Id: Ic5957015ebc0030b8339b263730c8d0540cf088a
* | | | | | Merge "Convert VtsHalWifiHostapdV1_*TargetTest to be parameterized test"Dan Shi2019-11-0812-252/+154
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Convert VtsHalWifiHostapdV1_*TargetTest to be parameterized testDan Shi2019-11-0712-252/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 142397658 Test: atest VtsHalWifiHostapdV1_0TargetTest \ VtsHalWifiHostapdV1_1TargetTest Change-Id: I37ae0369daf145731eb6b00078b396e1a4415d3f
* | | | | | Merge changes from topic "upstream-hal-v6"Treehugger Robot2019-11-0853-95/+5912
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Allow device to have use Audio HAL V6 Introduce Audio V6 Change some formatting for better script parsing Script to generate new audio HAL version Convert audio HAL service mk to bp and rename the service Audio service: Refactor register interface Version dependant target should included version in name
| * | | | | | Allow device to have use Audio HAL V6Kevin Rocard2019-11-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This HAL is optional for now as breaking changed are planned. It might get required for new device before R release. Test: push V6 to device and check audio works fine Bug: 134940862 Change-Id: Ib4a906da1c1d3d489003a6642bfc55b142424155 Merged-In: Ib4a906da1c1d3d489003a6642bfc55b142424155 Signed-off-by: Kevin Rocard <krocard@google.com>
| * | | | | | Introduce Audio V6Kevin Rocard2019-11-0747-0/+5623
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generate with ./newHal.sh 5.0 + some typo fix in the .hal + some clang-tidy run This new HAL is an exact copy of the V5. It will be modified in following patches while R is developed. Test: push V6 to device and check audio works fine Bug: 134940862 Change-Id: Ic25d30175032e76e0d3208fb876451de9ae6b7b4 Merged-In: Ic25d30175032e76e0d3208fb876451de9ae6b7b4 Signed-off-by: Kevin Rocard <krocard@google.com>
| * | | | | | Change some formatting for better script parsingKevin Rocard2019-11-074-19/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: Compile Bug: 134940862 Change-Id: Ibbafdcaa6e0bfa8fd2b80f4a6c9ac6ac95058f93 Merged-In: Ibbafdcaa6e0bfa8fd2b80f4a6c9ac6ac95058f93 Signed-off-by: Kevin Rocard <krocard@google.com>