Commit graph

18499 commits

Author SHA1 Message Date
Treehugger Robot
b09819f2da Merge "Removing invalid HMAC tests." 2019-11-12 22:30:34 +00:00
Steven Moreland
c6fc3fc315 [automerger skipped] Merge changes from topic "rm-vibrator-1-4" am: 5aca9f6f40 am: 143d67ee10
am: 2069ec9363 -s ours
am skip reason: change_id Ie46843cd17540665f0575798ea97355e174a359c with SHA1 b14c364004 is in history

Change-Id: Ibf868a0201409950535a92a93d8bea652301463c
2019-11-12 14:09:51 -08:00
Steven Moreland
55accab4d9 Remove vibrator@1.4 from VNDK. am: 1784b9a3cf am: 4b159da70a
am: 693dc6646d

Change-Id: I7a03ab864b28a865b6c8581ce1b3c08c3f2c7954
2019-11-12 14:09:45 -08:00
Steven Moreland
6e1badf17f Restore vibrator@1.3 example service. am: cb5d107734 am: 56116c76fa
am: f5a3749a02

Change-Id: Id63411ecebce23697ae5c5907ef48462df41fa9b
2019-11-12 14:09:42 -08:00
Steven Moreland
2069ec9363 Merge changes from topic "rm-vibrator-1-4" am: 5aca9f6f40
am: 143d67ee10

Change-Id: Ic3d30d57f647acf269214ca9cb00d2b8497d455e
2019-11-12 14:05:06 -08:00
Steven Moreland
693dc6646d Remove vibrator@1.4 from VNDK. am: 1784b9a3cf
am: 4b159da70a

Change-Id: I3a39dfe9ca210c8367298929693d15ae249c469e
2019-11-12 14:05:01 -08:00
Steven Moreland
f5a3749a02 Restore vibrator@1.3 example service. am: cb5d107734
am: 56116c76fa

Change-Id: I961e22109b1872cb87d4c00c8178d0476ce148d7
2019-11-12 14:04:57 -08: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
Nick Desaulniers
6f4a232928 hardware: interfaces: sensors: fix -Wreorder-init-list
C++20 is stricter about member ordering in designated initializers than
C99.

Bug: 139945549
Test: mm
Change-Id: I22179dfb829c328462c9b31caf543692d3cf57d9
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
2019-11-12 13:48:58 -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
Lev Proleev
66f598e10d Combine test parameters into TestConfig structure
Test: VtsHalNeuralnetworksV1_2TargetTest --gtest_filter="GeneratedTests*"
Change-Id: I928aaa42e4745b4a8e0e461046e9632b052d0135
2019-11-12 15:38:36 +00: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
Hao Chen
86e5880d82 Log and return error if failed to listen to a socket
Test: build by `mm`

Change-Id: I5cf38c4011274ff70a02ac7472a10670b779aa85
2019-11-11 22:51:03 -08:00
Mikhail Naganov
2b0be27caf [automerger skipped] Merge changes from topic "upstream-vts-v6" am: 460be58661 am: 384a44b838
am: f22cc29da9 -s ours
am skip reason: change_id If0d330881901908e546baab89f63d3333003e355 with SHA1 5b8fc1298a is in history

Change-Id: I918441638e0071a1b85ae9ab9e267d5159b59670
2019-11-11 18:37:31 -08:00
Mikhail Naganov
9ade21beb1 [automerger skipped] audio: Run VTS tests for non-primary modules for HAL V6 am: 686af1cc43 am: 936010d0b3
am: 4739585e88 -s ours
am skip reason: change_id I51cec21670120d8dce75609954a18b886cc0c18d with SHA1 0479020425 is in history

Change-Id: I1cf8dc1425e68bfbb1303ea72671959e91565ddf
2019-11-11 18:37:25 -08:00
Mikhail Naganov
0fbd1d7c60 [automerger skipped] audio: Parametrize core VTS tests am: ccd484bb80 am: 51a1ee3c24
am: c88b96fe3e -s ours
am skip reason: change_id I92c44e0c3f900164dded7e9c4bfc642ca2c335db with SHA1 8613f809fa is in history

Change-Id: I8f1ae84e85f1857e36e83ea9783204ed481de9b3
2019-11-11 18:37:19 -08:00
Mikhail Naganov
d165a1c7f1 [automerger skipped] audio: Parametrize effect VTS tests for V6.0 am: 315ce41a5d am: edd6a1b7dd
am: 32fb6825e2 -s ours
am skip reason: change_id Iaf19109fc77a93b211cc3da85c21c0584d4f2b88 with SHA1 bc1d5aa08e is in history

Change-Id: I834f0644397144c92785bbf6e3f3e832cfea408f
2019-11-11 18:37:14 -08:00
Mikhail Naganov
f22cc29da9 Merge changes from topic "upstream-vts-v6" am: 460be58661
am: 384a44b838

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

Change-Id: Ie548a544a21a2805b6b08ae4e4921b608da1370e
2019-11-11 18:33:23 -08:00
Mikhail Naganov
c88b96fe3e audio: Parametrize core VTS tests am: ccd484bb80
am: 51a1ee3c24

Change-Id: I9acd77cca413c95ceea6538ae04206999b2243d5
2019-11-11 18:33:17 -08:00
Mikhail Naganov
32fb6825e2 audio: Parametrize effect VTS tests for V6.0 am: 315ce41a5d
am: edd6a1b7dd

Change-Id: I519ffc9ea7d210ab98f79e2a6500fa5cdfa39be4
2019-11-11 18:33:12 -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
Lev Proleev
8774f10b76 Add NNAPI 1.3 OperationType
* Add 1.3 OperationType.
* Remove "using V1_2::OperationType" from 1.3 VTS tests.
* Update current.txt

Test: mma
Change-Id: Ieaede9b7a6cecb16dbcc753f347f7ff04c009f20
2019-11-11 18:11:50 +00:00
Xusong Wang
cf6a591772 Merge "NN HAL: Upgrade IPreparedModel::execute to 1.3." 2019-11-11 18:01:28 +00:00
TreeHugger Robot
d76fafbae8 Merge "audio vts: Remove explicit dependency on the new types" 2019-11-11 18:00:34 +00:00
Steven Moreland
a0c08bbd72 Merge "vibrator: clarify behavior for repeated commands" am: ea49733bb4 am: 3f92e5526e
am: 2b8ffb99d9

Change-Id: Ib18a2fde0b77029f678a7b5394b2e15868dd6d0d
2019-11-10 23:16:36 -08:00
Steven Moreland
2b8ffb99d9 Merge "vibrator: clarify behavior for repeated commands" am: ea49733bb4
am: 3f92e5526e

Change-Id: I4ee1b3ef4936ea7eb38c4a4855fe57b8b468a143
2019-11-10 23:12:35 -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
TreeHugger Robot
54e9ec9cfa Merge "vibrator@1.4: remove from current.txt" 2019-11-11 06:42:42 +00:00
Inseob Kim
d86992f29a Merge "Remove static vndk dep from vendor modules" am: 437baabfde am: 5d5fee2ef2
am: 936efb8177

Change-Id: Ifb7b89378fd22a8c8cf8a89b41845339c3e0c60f
2019-11-10 22:37:37 -08:00
Inseob Kim
936efb8177 Merge "Remove static vndk dep from vendor modules" am: 437baabfde
am: 5d5fee2ef2

Change-Id: I42aac9039542e01e230aef0d306ea30ae0221fc5
2019-11-10 22:33:03 -08: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
e21490f72b Merge "vibrator: fix VTS for effects" am: d13b7577e1 am: 6dd798db7e
am: 649f8e1548

Change-Id: I250d06b98e4b8069d7ba24de3849823b8aa209dc
2019-11-10 21:44:55 -08:00
Steven Moreland
649f8e1548 Merge "vibrator: fix VTS for effects" am: d13b7577e1
am: 6dd798db7e

Change-Id: Ic9280ad1df39ea381b42b89a2fa95c0c3db80780
2019-11-10 21:40:54 -08: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
b14c364004 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
2019-11-10 20:24:46 -08: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