Commit Graph

17053 Commits

Author SHA1 Message Date
Rob Barnes
2b7a5caaf1 Merge "Added LargeFinishInput test"
am: 0cd9dd3893

Change-Id: Icbee15dfb693ac1e39fcdfd6007bddcdd9edf294
2019-11-15 12:16:00 -08:00
Rob Barnes
0cd9dd3893 Merge "Added LargeFinishInput test" 2019-11-15 19:56:44 +00:00
Mitch Phillips
1b76ac0606 Merge "Add gettid() to SELinux policy in prep for GWP-ASan."
am: dca3711d86

Change-Id: Ia1b0a759f16151f35ffaa5f2f020ed13f5f4355c
2019-11-15 09:25:29 -08:00
Treehugger Robot
dca3711d86 Merge "Add gettid() to SELinux policy in prep for GWP-ASan." 2019-11-15 17:03:35 +00:00
Dan Shi
438d2791cc Merge "Bug fix in wifi_hidl_test_utils"
am: 2bba1b3211

Change-Id: I6ddea41a0af9c0e40c6d39b1280ae2cc978c9162
2019-11-14 19:16:06 -08:00
Treehugger Robot
2bba1b3211 Merge "Bug fix in wifi_hidl_test_utils" 2019-11-15 03:03:11 +00:00
Rob Barnes
f5fc7c640b Added LargeFinishInput test
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
2019-11-14 18:05:25 -07:00
Roshan Pius
fafbbc9826 Merge "wifi(vts): Set the iface up as a part of setup"
am: bf23b7b60c

Change-Id: I7549f986865466ecc342bf3d183bea7c4feba96c
2019-11-14 15:28:03 -08:00
Treehugger Robot
bf23b7b60c Merge "wifi(vts): Set the iface up as a part of setup" 2019-11-14 23:16:55 +00:00
Max Bires
2e220a7507 Merge "Adding test to check another ASN.1 Encoding Case"
am: 8fb7cbd26b

Change-Id: I5dc31965558053c018df874e68816a8aa3e4be8e
2019-11-14 14:11:40 -08:00
Treehugger Robot
8fb7cbd26b Merge "Adding test to check another ASN.1 Encoding Case" 2019-11-14 21:54:44 +00:00
Shuo Qian
3610f3f007 Merge "Add Signal Strength Threshold HAL for 4G and 5G"
am: 9854f58ede

Change-Id: I63ef1302b5f18b47a28fe96cd859a10ce2814f68
2019-11-13 18:27:16 -08:00
Shuo Qian
9854f58ede Merge "Add Signal Strength Threshold HAL for 4G and 5G" 2019-11-14 02:19:35 +00:00
Roshan Pius
958dee87b8 wifi(vts): Set the iface up as a part of setup
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
2019-11-13 12:55:53 -08:00
Mitch Phillips
7f3cdad0f1 Add gettid() to SELinux policy in prep for GWP-ASan.
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
2019-11-13 10:45:12 -08:00
Dan Shi
beddeb4dc4 Bug fix in wifi_hidl_test_utils
Bug: 142397658
Test: atest VtsHalWifiSupplicantV1_0TargetTest
Change-Id: Idc1560fa83471f79a2302746815117ff60c46c77
2019-11-12 22:22:48 -08:00
nelsonli
df7711e8d7 Merge "[vts-core] add VtsHalSoundtriggerV2_*TargetTest to vts-core"
am: bbdd5e32fd

Change-Id: Ib84c502360fc5efb9004b9f5c7dab8ea605baae7
2019-11-12 18:40:34 -08:00
Treehugger Robot
bbdd5e32fd Merge "[vts-core] add VtsHalSoundtriggerV2_*TargetTest to vts-core" 2019-11-13 02:32:46 +00:00
sqian
f1850bf050 Add Signal Strength Threshold HAL for 4G and 5G
Test: Build
Bug: 135717625

Change-Id: I324cfd592ca53a12ebe1161f242ae3b9c7fc59a4
Merged-In: I324cfd592ca53a12ebe1161f242ae3b9c7fc59a4
(cherry picked from commit 1f4012f417)
2019-11-12 18:26:30 -08:00
nelsonli
20c3cab692 Merge "[vts-core] add VtsHalHealthStorageV1_0TargetTest to vts-core"
am: 7a83bc5d27

Change-Id: I2d712df2a566e406730c7877189df64a8cbb8b32
2019-11-12 18:06:11 -08:00
Treehugger Robot
7a83bc5d27 Merge "[vts-core] add VtsHalHealthStorageV1_0TargetTest to vts-core" 2019-11-13 01:48:21 +00:00
Max Bires
2557502d5e Merge "Removing invalid HMAC tests."
am: b09819f2da

Change-Id: I06e8734f2b4a6514731e8c91c5f51373ba735afd
2019-11-12 14:51:46 -08:00
Treehugger Robot
b09819f2da Merge "Removing invalid HMAC tests." 2019-11-12 22:30:34 +00:00
Steven Moreland
143d67ee10 Merge changes from topic "rm-vibrator-1-4"
am: 5aca9f6f40

Change-Id: I9bdf4e7983c05fbc0d6114cc4fb7b94f34bcb77c
2019-11-12 13:54:55 -08:00
Steven Moreland
4b159da70a Remove vibrator@1.4 from VNDK.
am: 1784b9a3cf

Change-Id: Iabef3d7791d0019700aea416a716f0cca1455e46
2019-11-12 13:54:42 -08:00
Steven Moreland
56116c76fa Restore vibrator@1.3 example service.
am: cb5d107734

Change-Id: Ieefa15a03a13c5a11e3a6af66a81896514720f7d
2019-11-12 13:54:34 -08:00
Steven Moreland
5aca9f6f40 Merge changes from topic "rm-vibrator-1-4"
* changes:
  vibrator@1.4: remove from current.txt
  Remove vibrator@1.4 from VNDK.
  Restore vibrator@1.3 example service.
2019-11-12 21:39:26 +00:00
Max Bires
ff02baaca9 Adding test to check another ASN.1 Encoding Case
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
2019-11-12 09:35:18 -08:00
nelsonli
4aa11b1637 [vts-core] add VtsHalSoundtriggerV2_*TargetTest to vts-core
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
2019-11-12 15:04:09 +08:00
Mikhail Naganov
384a44b838 Merge changes from topic "upstream-vts-v6"
am: 460be58661

Change-Id: I0be902d9c228cbcde9ffb130c899e72ea4ddccfe
2019-11-11 18:29:59 -08:00
Mikhail Naganov
936010d0b3 audio: Run VTS tests for non-primary modules for HAL V6
am: 686af1cc43

Change-Id: I5ab9eabab63dd19db68e143e337b765db937086f
2019-11-11 18:29:52 -08:00
Mikhail Naganov
51a1ee3c24 audio: Parametrize core VTS tests
am: ccd484bb80

Change-Id: I71b14a85ad85263bd232d43c3d9937d8169ae7b1
2019-11-11 18:29:41 -08:00
Mikhail Naganov
edd6a1b7dd audio: Parametrize effect VTS tests for V6.0
am: 315ce41a5d

Change-Id: Ia64ba59b97154fc09bc417bb496711fb282c367d
2019-11-11 18:29:27 -08:00
Treehugger Robot
460be58661 Merge changes from topic "upstream-vts-v6"
* 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
2019-11-12 02:20:38 +00:00
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
Steven Moreland
3f92e5526e Merge "vibrator: clarify behavior for repeated commands"
am: ea49733bb4

Change-Id: I6b2641fc78a086bb6d76ea6ce19f8dac436527f8
2019-11-10 23:07:50 -08:00
Steven Moreland
ea49733bb4 Merge "vibrator: clarify behavior for repeated commands" 2019-11-11 06:58:07 +00:00
Inseob Kim
5d5fee2ef2 Merge "Remove static vndk dep from vendor modules"
am: 437baabfde

Change-Id: I75a47428508efbaa060d9c72a51b3e5f47472ec5
2019-11-10 22:29:38 -08:00
Treehugger Robot
437baabfde Merge "Remove static vndk dep from vendor modules" 2019-11-11 06:15:14 +00:00
Steven Moreland
6dd798db7e Merge "vibrator: fix VTS for effects"
am: d13b7577e1

Change-Id: I5cc82d115c0e299f8f76f78ab5af0461be5e5d4b
2019-11-10 21:36:55 -08:00
Steven Moreland
d13b7577e1 Merge "vibrator: fix VTS for effects" 2019-11-11 05:28:38 +00:00
Steven Moreland
5bd756e62e vibrator@1.4: remove from current.txt
Since it is being replaced by an AIDL HAL interface.

Bug: 141828236
Test: N/A
Change-Id: Ie46843cd17540665f0575798ea97355e174a359c
Merged-In: Ie46843cd17540665f0575798ea97355e174a359c
2019-11-10 20:22:34 -08:00
Steven Moreland
1784b9a3cf Remove vibrator@1.4 from VNDK.
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
2019-11-10 20:21:23 -08:00
Steven Moreland
cb5d107734 Restore vibrator@1.3 example service.
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
2019-11-10 20:20:48 -08:00
Steven Moreland
c02bc05977 vibrator: clarify behavior for repeated commands
Bug: 141828236
Test: VtsHalVibratorTargetTest
Change-Id: I4077ca34cb037198df16149f944beba3c5633175
2019-11-11 04:04:11 +00:00
Haibo Huang
2fa0ae67f8 Merge "Fix build with new googletest"
am: a7e5d5fd5b

Change-Id: Iabaa2f58c1274cf8c8f38c0ef8ab1c9438a5b7fc
2019-11-08 17:29:00 -08:00
Treehugger Robot
a7e5d5fd5b Merge "Fix build with new googletest" 2019-11-09 01:06:56 +00:00
Colin Cross
1ec7613f7f Merge "Replace -Weverything with -Wextra"
am: 8c63655c3d

Change-Id: Ib2d509d96e7edd40a54cbf16049bf4ebb3b3a469
2019-11-08 15:18:08 -08:00
Treehugger Robot
8c63655c3d Merge "Replace -Weverything with -Wextra" 2019-11-08 22:53:44 +00:00
Dan Shi
b392aa109f Merge "Convert VtsHalWifiHostapdV1_*TargetTest to be parameterized test"
am: 9361c70c9b

Change-Id: Iadff8983280b631f21bc5632cc16605ebe52a5a1
2019-11-08 14:30:16 -08:00