Commit graph

5594 commits

Author SHA1 Message Date
Android Build Merger (Role)
71a744665c [automerger] Allow partially dynamic profile in the audio policy config am: e54b381d9d -s ours am: b9cd8a6512
Change-Id: Ic461b6036f2addeebf65a79c3f3bf54d3cec42b8
2018-01-23 22:43:34 +00:00
Kevin Rocard
b9cd8a6512 Allow partially dynamic profile in the audio policy config
am: e54b381d9d  -s ours

Change-Id: Ifb61d1c43421127151ea3da6765a7485779e9536
2018-01-23 22:43:14 +00:00
Android Build Merger (Role)
ca1295e93a [automerger] bug fix: restore support for broken flag am: 8d009afdbb -s ours am: 368589ea3d
Change-Id: If59793229ee92fe1c0268ef6b8bf750b9c76752f
2018-01-23 22:42:41 +00:00
Ram Mohan M
368589ea3d bug fix: restore support for broken flag
am: 8d009afdbb  -s ours

Change-Id: I722a103539af432e07daf6303baadc9bad27521c
2018-01-23 22:42:19 +00:00
Android Build Merger (Role)
8a52e9fd39 [automerger] bug fix: handle multiple port settings change events signalled at once am: 0a542276f8 -s ours am: e1a544dcbd
Change-Id: I7e2a828e3b63dd67d0340a00f2ac4e2a3b874e90
2018-01-23 22:40:53 +00:00
Ram Mohan M
e1a544dcbd bug fix: handle multiple port settings change events signalled at once
am: 0a542276f8  -s ours

Change-Id: Iba54b734ed7db87801d49d568a8d127ee9d1da74
2018-01-23 22:40:36 +00:00
Android Build Merger (Role)
f083dbcaf0 [automerger] Merge "Audio VTS: Look for Audio policy config in all supported folders" into oreo-vts-dev am: 5e74540849 -s ours am: e27e897c14
Change-Id: I46c381d5c6142af1977486fdafdb756994c68eb1
2018-01-23 22:38:31 +00:00
Kevin Rocard
e27e897c14 Merge "Audio VTS: Look for Audio policy config in all supported folders" into oreo-vts-dev
am: 5e74540849  -s ours

Change-Id: If8b360a55a9919804098690132ae784c2487642d
2018-01-23 22:38:03 +00:00
Android Build Merger (Role)
f51fa5a308 [automerger] Merge "Don't send more than 2K to addRngEntropy" into oreo-vts-dev am: b461eafa23 -s ours am: 96e3ce2be9
Change-Id: I8158dc47258f7415793a00b00835ffc5d3adaa1a
2018-01-23 22:37:11 +00:00
Shawn Willden
96e3ce2be9 Merge "Don't send more than 2K to addRngEntropy" into oreo-vts-dev
am: b461eafa23  -s ours

Change-Id: I0132541fbbd292f1c0c8e4d4461671b3c7983f39
2018-01-23 22:36:51 +00:00
Android Build Merger (Role)
f314f75c80 [automerger] bug fix: disable timestamp deviation test for audio decoder am: c4e3cc8b51 -s ours am: 3daee142d1
Change-Id: I03dd901c2308a2f4f9f3f7c1ba3278521a205e41
2018-01-23 22:36:09 +00:00
Ram Mohan M
3daee142d1 bug fix: disable timestamp deviation test for audio decoder
am: c4e3cc8b51  -s ours

Change-Id: I64e1e95d84d500ce6742ad1df012c4ebf0b8fd75
2018-01-23 22:35:57 +00:00
Android Build Merger (Role)
a609e5d5f2 [automerger] Merge "Allow clearkey tests to run if no vendor modules" into oreo-vts-dev am: d5c6411aeb -s ours am: 6790aafb8e
Change-Id: I974d210170cc7e914931081df15927040a42969c
2018-01-23 22:35:26 +00:00
Jeff Tinker
6790aafb8e Merge "Allow clearkey tests to run if no vendor modules" into oreo-vts-dev
am: d5c6411aeb  -s ours

Change-Id: Ia8f537e7c016e761737d0203476c50ed35368b13
2018-01-23 22:35:00 +00:00
Android Build Merger (Role)
1ea0680545 [automerger] bug fix: output colorformat configuration fixed am: 56906949cc -s ours am: 53189885dc
Change-Id: Ie85899b80919a05e92d6cab6819bf6fbca239cfa
2018-01-23 22:34:28 +00:00
Ram Mohan M
53189885dc bug fix: output colorformat configuration fixed
am: 56906949cc  -s ours

Change-Id: Ia3eb83ce9081c728f82030635f77e5765678ba47
2018-01-23 22:34:02 +00:00
Android Build Merger (Role)
12985904f0 [automerger] Merge "bug fix: configure input port buffer size" into oreo-vts-dev am: ccc3c36c88 -s ours am: a72601c004
Change-Id: I5a4f21006aa7fc63b2f5d204a969487e4e450cd5
2018-01-23 22:33:33 +00:00
Ram Mohan M
a72601c004 Merge "bug fix: configure input port buffer size" into oreo-vts-dev
am: ccc3c36c88  -s ours

Change-Id: If260ff1f14213b1385adc6972c92864ab46cad87
2018-01-23 22:33:07 +00:00
Android Build Merger (Role)
511828fe70 [automerger] Update broadcastradio HAL 1.0 VTS tests. am: aab4a1a574 -s ours am: 9744916435
Change-Id: I13948dcfedb86a4102b25ed043ffbbae24f34ba5
2018-01-23 22:32:37 +00:00
Tomasz Wasilczyk
9744916435 Update broadcastradio HAL 1.0 VTS tests.
am: aab4a1a574  -s ours

Change-Id: If08158895488e52ce773526beebfa47270d32b0e
2018-01-23 22:32:21 +00:00
Android Build Merger (Role)
b260181c34 [automerger] bug fix: handle OMX_EventBufferFlag events am: 7409a9312d -s ours am: 9fb681b7a1
Change-Id: I52c95d0bfda6c7129a711aefc6988944a745820e
2018-01-23 22:31:52 +00:00
Ram Mohan M
9fb681b7a1 bug fix: handle OMX_EventBufferFlag events
am: 7409a9312d  -s ours

Change-Id: Iac466c1449cce26cc9030ab0e2d3c064fb4e6d1c
2018-01-23 22:31:43 +00:00
Android Build Merger (Role)
b5b3f5fafd [automerger] Skip direct report test if sensor is not available am: c9c4ba222b -s ours am: 9e79c83432
Change-Id: I3a94e21b3e20d5e118b8ed92c213ab36dc73dd57
2018-01-23 22:30:46 +00:00
Peng Xu
9e79c83432 Skip direct report test if sensor is not available
am: c9c4ba222b  -s ours

Change-Id: I47e938342444d4ee6141ae3a82920d6ca474acb6
2018-01-23 22:30:36 +00:00
Android Build Merger (Role)
9838c48dfe [automerger] Reduce max keymaster message size to 2K am: a0b9b39647 -s ours am: 065e4397cd
Change-Id: Ie0d0c2115c6f5998abfebc27f372a6e7ae73c5a3
2018-01-23 22:29:17 +00:00
Shawn Willden
065e4397cd Reduce max keymaster message size to 2K
am: a0b9b39647  -s ours

Change-Id: I712fffc9a246583b648b2db60de9d08c53a4c553
2018-01-23 22:29:00 +00:00
Android Build Merger (Role)
a6063c6e36 [automerger] nfc: NCI 2.0: Add CORE_INIT_CMD for NCI 2.0 am: 6753a9be72 -s ours am: 822bef5322
Change-Id: I0126c689f4d70241dac732930783e3e32105b8b2
2018-01-23 22:28:14 +00:00
Ruchi Kandoi
822bef5322 nfc: NCI 2.0: Add CORE_INIT_CMD for NCI 2.0
am: 6753a9be72  -s ours

Change-Id: Ic106e45942084fdd611e1ba81aee4b5948f04fd0
2018-01-23 22:28:06 +00:00
Kevin Rocard
e54b381d9d Allow partially dynamic profile in the audio policy config
The audio policy configuration deserializer supports fully dynamic
profiles by not setting a profile in a port.
It also supports partially dynamic profile by
not setting @format, @samplingRates or @channelMasks

Nevertheless this last feature of partial dynamic profile
was mistakenly not allowed by the configuration xsd.

Bug: 63541622
Change-Id: I78f77a77a3c62bba28a7da5a0e3c8c608b5a01d9
Merged-In: I78f77a77a3c62bba28a7da5a0e3c8c608b5a01d9
Signed-off-by: Kevin Rocard <krocard@google.com>
(cherry picked from commit 43d25f2f26)
(cherry picked from commit 3092b31b14)
2018-01-23 22:27:22 +00:00
Android Build Merger (Role)
ef18025535 [automerger] Add EMPTY_RECORD for getDeviceIdentity am: 40d93997b5 -s ours am: 1474a76d2c
Change-Id: Ifefbba374ed25da983d7f55a15a8215ae69a064a
2018-01-23 22:27:03 +00:00
sqian
1474a76d2c Add EMPTY_RECORD for getDeviceIdentity
am: 40d93997b5  -s ours

Change-Id: I747e06817063b9b23e9586f48508996b9472fb55
2018-01-23 22:26:45 +00:00
Ram Mohan M
8d009afdbb bug fix: restore support for broken flag
timestampDevTest flag can be used to disable timestamp deviation
tests. The flag is not working as intended. This is corrected.

Test: make vts -j99 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 \
&& vts-tradefed run commandAndExit vts \
--skip-all-system-status-check --primary-abi-only \
--skip-preconditions --module VtsHalMediaOmxV1_0Test -l INFO

Bug: 64743270
Bug: 65166112

Merged-In: I611e96498a4677b6ccbff33c291d56eed7b48f6f
Change-Id: I611e96498a4677b6ccbff33c291d56eed7b48f6f
(cherry picked from commit dc6270ecc1)
2018-01-23 22:26:15 +00:00
Android Build Merger (Role)
5133fbf12a [automerger] Audio policy config xsd: add missing gains and address in ports am: 69ad0a9c6f -s ours am: 2a0a8da1cc
Change-Id: I1b7b7c7e3d89fb147b9e99107cd1bd49032329c3
2018-01-23 22:26:11 +00:00
Kevin Rocard
2a0a8da1cc Audio policy config xsd: add missing gains and address in ports
am: 69ad0a9c6f  -s ours

Change-Id: I95315f7ff2357919a75bb87240bdb5f31a0757c0
2018-01-23 22:25:55 +00:00
Ram Mohan M
0a542276f8 bug fix: handle multiple port settings change events signalled at once
Components can send various kinds of port settings changed events all
at once. During a full port reconfiguration this is causing problems
due to limited flexibility in the message handling design. For now,
before committing to a full port reconfiguration defer any events
waiting in the queue to be addressed to a later point.

Test: make vts -j99 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 \
&& vts-tradefed run commandAndExit vts \
--skip-all-system-status-check --primary-abi-only \
--skip-preconditions --module VtsHalMediaOmxV1_0Test -l INFO

Bug: 64468705

Merged-In: I537cdd3e7d92cdc6d54168f091d7897afe541599
Change-Id: I537cdd3e7d92cdc6d54168f091d7897afe541599
(cherry picked from commit a230bad8d4)
2018-01-23 22:25:50 +00:00
Treehugger Robot
5e74540849 Merge "Audio VTS: Look for Audio policy config in all supported folders" into oreo-vts-dev 2018-01-23 22:24:10 +00:00
Treehugger Robot
b461eafa23 Merge "Don't send more than 2K to addRngEntropy" into oreo-vts-dev 2018-01-23 22:24:08 +00:00
Ram Mohan M
c4e3cc8b51 bug fix: disable timestamp deviation test for audio decoder
Test: make vts -j99 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 \
&& vts-tradefed run commandAndExit vts \
--skip-all-system-status-check --primary-abi-only \
--skip-preconditions --module VtsHalMediaOmxV1_0Test -l INFO

Bug: 64128634
Bug: 65166112

Merged-In: I8a08a8da7dd203cd16cbfbfd3f15e27966db711f
Change-Id: I8a08a8da7dd203cd16cbfbfd3f15e27966db711f
(cherry picked from commit eb9e25a3e2)
2018-01-23 22:23:27 +00:00
Treehugger Robot
d5c6411aeb Merge "Allow clearkey tests to run if no vendor modules" into oreo-vts-dev 2018-01-23 22:23:14 +00:00
Shawn Willden
7f9b29b9e2 Don't send more than 2K to addRngEntropy
Bug: 63745893
Test: VtsHalKeymasterV3_0TargetTest
Merged-In: I136920d3b62e026b22fbe06594bc40ccddc57dc3
Change-Id: I136920d3b62e026b22fbe06594bc40ccddc57dc3
(cherry picked from commit 3e1267edf0)
(cherry picked from commit 02ffb2be41)
2018-01-23 22:23:11 +00:00
Kevin Rocard
d6bcee4018 Audio VTS: Look for Audio policy config in all supported folders
audio_policy_configuration.xml can be loaded from the following places:
 - /system/etc/
 - /vendor/etc
 - /odm/etc
Nevertheless the config validation test was expecting it to be in
/vendor/etc exclusively.

This patch changes the test logic to:
 - look for the config files in all 3 folders
 - make sure the config is unique

Test: run the following script to check for regressions and test that
      invalid config make the test fail.
  (
  set -xe
  runVTS() { vts-tradefed run commandAndExit vts \
        --skip-all-system-status-check --primary-abi-only \
        --skip-preconditions --module VtsHalAudioV2_0Target \
        -t CheckConfig.audioPolicyConfigurationValidation; }

  echo "# Test valid config"
  runVTS

  echo "# Test multiple invalid match"
  adb shell touch /system/etc/audio_policy_configuration.xml
  ! runVTS
  adb shell rm /system/etc/audio_policy_configuration.xml

  echo "# Test multiple valid match"
  adb shell cp /{vendor,system}/etc/audio_policy_configuration.xml
  ! runVTS
  adb shell rm /system/etc/audio_policy_configuration.xml

  echo "# Test invalid config"
  adb shell sed -i /defaultOutputDevice/p /vendor/etc/audio_policy_configuration.xml
  ! runVTS
  adb shell sed -i '"/defaultOutputDevice/{p;N;d}"' /vendor/etc/audio_policy_configuration.xml

  echo "# Test that the test did not break the config"
  runVTS
  )

Bug: 64881365
Merged-In: I9db5e6f727d19fd654a3cc543a2aaab196682001
Change-Id: I9db5e6f727d19fd654a3cc543a2aaab196682001
Signed-off-by: Kevin Rocard <krocard@google.com>
(cherry picked from commit 6dcc713281)
2018-01-23 22:22:54 +00:00
Ram Mohan M
56906949cc bug fix: output colorformat configuration fixed
The eColorFormat field in OMX_PARAM_PORTDEFINITIONTYPE structure
has no effect on the component. This has to be configured from
OMX_VIDEO_PARAM_PORTFORMATTYPE. This is corrected. This color format
information is passed to graphic buffer during its allocation

Bug: 63796949

Merged-In: I51b1e59631647d1291ecfac373781ac5e5a0ffd5
Change-Id: I51b1e59631647d1291ecfac373781ac5e5a0ffd5
(cherry picked from commit 1441864f4c)
2018-01-23 22:22:39 +00:00
Treehugger Robot
ccc3c36c88 Merge "bug fix: configure input port buffer size" into oreo-vts-dev 2018-01-23 22:22:31 +00:00
Jeff Tinker
95cf540a79 Allow clearkey tests to run if no vendor modules
DRM cannot skip all tests when vendor modules are
not present. Currently even the clearkey tests are
skipping when there is no vendor lib. This can be
replicated by just pushing the DRM VTS test binary
build from master (or DR or MR) and executing the
binary without VTS. All test cases skip (including
clearkey).

This change prevents exiting when no vendor
modules are found.

Test: Push the test binary and confirm that the
clearkey tests run.

bug:64459011
Merged-In: Ic5f554d9b223d6ca4bf26f92f072254cc18f4620
Change-Id: Ic5f554d9b223d6ca4bf26f92f072254cc18f4620
(cherry picked from commit 5db2e67293)
2018-01-23 22:22:25 +00:00
Ram Mohan M
9a18ceb557 bug fix: configure input port buffer size
In video decoders, size of a single input frame (elementary-stream)
is dependent on width, height, color format, profile settings, ...
Most of this information is part of sps, pps and requires parsing.
But as the max size of the stream is known ahead, use it to configure
the input buffer size requirements

Bug: 63875287
Bug: 63796949

Merged-In: Ib760c4f55b094260a0abd120f852dcf1899df4e0
Change-Id: Ib760c4f55b094260a0abd120f852dcf1899df4e0
(cherry picked from commit 9ce313a7b3)
2018-01-23 22:22:12 +00:00
Android Build Merger (Role)
2733bf2f53 [automerger] Merge "Add corresponding error code to fix vts test" into oreo-vts-dev am: 91c4ebbd6f -s ours am: bfbbf84893
Change-Id: Ie227376c0186814d03323ce7fb299b903f6de741
2018-01-23 22:22:06 +00:00
Tomasz Wasilczyk
aab4a1a574 Update broadcastradio HAL 1.0 VTS tests.
This is a cherry-pick of the following VTS changes from O MR1 to O:
 - ag/2462390: Fix Broadcast radio 1.0 VTS to not fail on
   other radio types than AM/FM.
 - ag/2477726: Make tuned field description more precise and
   fix VTS tests to obey it.
 - ag/2549733: Implement out-of-band metadata images (a test for in-band).

Additionally, it fixes config callback handling in OpenTunerTwice test.

Bug: b/64324703
Test: VTS
Change-Id: I590b9b4d927fb0cd41f92e919343b5b94ad0e246
Merged-In: I590b9b4d927fb0cd41f92e919343b5b94ad0e246
(cherry picked from commit 9e7774c3b9)
2018-01-23 22:22:02 +00:00
sqian
bfbbf84893 Merge "Add corresponding error code to fix vts test" into oreo-vts-dev
am: 91c4ebbd6f  -s ours

Change-Id: I1a16454045c617db500ba66ce082b68144f91a84
2018-01-23 22:21:58 +00:00
Ram Mohan M
7409a9312d bug fix: handle OMX_EventBufferFlag events
OMX_EventBufferFlag event is sent when the component has processed a buffer
with its EOS flag set. This event is not sent by soft omx components.
Vendor components can send this. From IOMX point of view, this event is
not sent for processing

bug:64102197
Merged-In: I3a978a885b1e4446f82f2356ae677f70ea6f8150
Change-Id: I3a978a885b1e4446f82f2356ae677f70ea6f8150
(cherry picked from commit c8df8940e1)
2018-01-23 22:21:33 +00:00
Android Build Merger (Role)
99534c0809 [automerger] Merge "supplicant(vts): Remove start/stop framework" into oreo-vts-dev am: d29136680b am: 41ab08fa83
Change-Id: I79be79c9dbf4ebba911a4f4eb37c339667902271
2018-01-23 22:21:27 +00:00