Commit graph

5225 commits

Author SHA1 Message Date
Mikhail Naganov
f811acf049 Revert "audiohal: Add diagnostics to investigate HAL call crashes"
This reverts commit 6c0f76a684.

Since the root cause of the crash has been established, there is no need to keep this code around.

Bug: 36225019
Change-Id: I74e570e863a0cdec5d9029f1672e2e8066c246b5
2017-05-31 19:59:21 +00:00
Ram Mohan M
92fb9ab603 Omx vts tests.
Bug:32023356
Test: make vts.

bug fix : fix issues in port reconfiguration

soft and vendor omx components communicate differently. The existing
design doesnt cover this. This is now fixed

Change-Id: I898e60c93961f468e749ab5f13db996c5fd53967

add support for additional color formats

tested encoder for bgra & 420sp color format inputs.
added code to get/set encoder latency.
some more necessary code cleanup.

Change-Id: I05b79d0a7706e20afaf91c88caf3e523c98b4540

IOmxBufferSource callback tests

Change-Id: I2826597c6ab110a0bf52290e3c52ff3fb3c6ea23
2017-05-31 12:53:37 -07:00
TreeHugger Robot
da470ab143 Merge "Validate certificate names." 2017-05-31 19:42:24 +00:00
TreeHugger Robot
4b3d4c4413 Merge "Verify that attestation root is a valid self-signed cert." 2017-05-31 19:24:58 +00:00
TreeHugger Robot
9844374ef5 Merge "Check HAL return codes." 2017-05-31 19:19:04 +00:00
Kevin Rocard
b88602af08 Merge "Revert "Temporary disable tests failing tests for O"" 2017-05-31 17:28:40 +00:00
Jayant Chowdhary
faba3187d9 Merge "configstore-utils: vendor_available" into oc-dev am: 3dca679b80 -s ours
am: d40b89d117  -s ours

Change-Id: I770e5dd74698ef5dc10158e2664ac9fd847db813
2017-05-31 04:25:18 +00:00
Jayant Chowdhary
d40b89d117 Merge "configstore-utils: vendor_available" into oc-dev
am: 3dca679b80  -s ours

Change-Id: Ic88ab64c96a097bbaa032f4ac6ce82cfc2c669db
2017-05-31 04:14:07 +00:00
Steven Moreland
aa50b3f42e configstore-utils: vendor_available am: 632579d979 -s ours
am: ecb931ab78  -s ours

Change-Id: Ia1fcc648e4826ad18ace8ff1c24b8562a5b2799a
2017-05-31 04:12:15 +00:00
Wyatt Riley
a2e68df7a6 Merge "GNSS HAL radio group for E911 SUPL" into oc-dev am: 2888555e9f
am: 22d5682994  -s ours

Change-Id: I0b550579cf28e3ff668375cb39b1a8a399d5f503
2017-05-31 04:07:31 +00:00
Steven Moreland
ecb931ab78 configstore-utils: vendor_available
am: 632579d979  -s ours

Change-Id: I2e05066b5e95a7abf46e17ac1a658775f5f7d366
2017-05-31 04:05:11 +00:00
Wyatt Riley
22d5682994 Merge "GNSS HAL radio group for E911 SUPL" into oc-dev
am: 2888555e9f

Change-Id: I4de153702f9df1a34fedaa4267192ae35e2498d4
2017-05-31 04:03:35 +00:00
Jayant Chowdhary
3dca679b80 Merge "configstore-utils: vendor_available" into oc-dev 2017-05-31 03:59:47 +00:00
TreeHugger Robot
2888555e9f Merge "GNSS HAL radio group for E911 SUPL" into oc-dev 2017-05-31 03:56:12 +00:00
Scott Randolph
e70dd7a71a Put correct user/group in EVS mock driver .rc file
If this module is included on a target platform, it will start at boot
time (but not very early) since it isn't actually need for backing up a
real car.  This makes it available for testing.

Test: build gordon_peak
Change-Id: I79bc2dafa1a8db579a1c3cc801bac8e4e1d01872
2017-05-30 18:53:46 -07:00
Steven Moreland
632579d979 configstore-utils: vendor_available
Test: with BOARD_VNDK_VERSION := current

(cherry picked from commit 65af0612ce)

Merged-In: Ied49d6affe69099bc08a58e1d5e38052d018a2e8
Change-Id: I6278d659957829bce4ebdf44615ad25b371658d8
2017-05-31 01:45:57 +00:00
TreeHugger Robot
20e8cec7e0 Merge "Generate serial number randomly in VTS unit test" 2017-05-31 01:44:59 +00:00
TreeHugger Robot
49a880c52c Merge "Compile manager-lib shared library" 2017-05-31 01:44:55 +00:00
sqian
42c66f700a Generate serial number randomly in VTS unit test
Any fixed integer can be returned by vendor's APIs response.
Ideally it should be a random value for testing a vendor library.

Applying this to all the unit tests serial number.

Bug: 38499889
Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Change-Id: I491db829cca607fad9f6a21987de92269d115253
2017-05-30 17:13:59 -07:00
Yin-Chia Yeh
2912d05274 Merge "Camera: fix release fence FD leaks" into oc-dev am: 6e7ca4e166
am: a9576758e2

Change-Id: I3fe086caa15f5ab3fd065cba312b6693f8da828d
2017-05-30 22:47:14 +00:00
Yin-Chia Yeh
a9576758e2 Merge "Camera: fix release fence FD leaks" into oc-dev
am: 6e7ca4e166

Change-Id: I82df851760e0d85890fcc85496afb302f38d3ed7
2017-05-30 22:39:03 +00:00
TreeHugger Robot
6e7ca4e166 Merge "Camera: fix release fence FD leaks" into oc-dev 2017-05-30 22:27:59 +00:00
Alex Yakavenka
e99ae12e62 Compile manager-lib shared library
bug: 38424350
Test: Local build
Change-Id: Idd03b8bac365f17b7fc418016d2c250a199384fe
2017-05-30 21:47:03 +00:00
Daniel Nicoara
d47f4a9d65 Move utility classes in a separate static target
Split up utility classes that can be re-used in other IComposer related
tests (such as the IVrComposerClient tests).

Changes:
 * Move GraphicsComposerCallback into separate module
 * Extract TestCommandReader in separate module
 * Extract Composer::execute() from test class

Bug: 38203529
Test: Compiled
Change-Id: I0d1193469e9dd94c477a63058f98111c162dfa99
2017-05-30 15:53:19 -04:00
TreeHugger Robot
2a36305759 Merge "GNSS HAL radio group for E911 SUPL" 2017-05-30 19:30:43 +00:00
Wyatt Riley
1ed15c4375 GNSS HAL radio group for E911 SUPL
Bug: 37730994
Test: Builds, boots, basic GPS works
Change-Id: I2ceda822d6414348f61c183765f68068764d36cc
Merged-In: I2ceda822d6414348f61c183765f68068764d36cc
2017-05-30 08:29:04 -07:00
Wyatt Riley
2180b6bc51 GNSS HAL radio group for E911 SUPL
Bug: 37730994
Test: Builds, boots, basic GPS works
Change-Id: I2ceda822d6414348f61c183765f68068764d36cc
2017-05-30 08:23:31 -07:00
Myles Watson
589f804d26 Bluetooth: Remove scheduler-service dependency am: 8c71c85252
am: 0af2996160

Change-Id: I12db4cbe34af45bbd7b67daa3ec9340db57a5549
2017-05-27 02:26:13 +00:00
Myles Watson
0af2996160 Bluetooth: Remove scheduler-service dependency
am: 8c71c85252

Change-Id: I2c1a8cd403930270110ca5854aca8c01c9327134
2017-05-27 02:14:18 +00:00
Kevin Rocard
07fb7363bc Revert "Temporary disable tests failing tests for O"
This commit was never intended to be merged in master but it could not
be avoided due to an automerger limitation.

This reverts commit fd297c6f8e.
Test: Run VTS
Bug: 36311550

Change-Id: I6ee23a6282c29b125e53cced0cfcc6b697754ce0
2017-05-26 17:41:31 -07:00
Yin-Chia Yeh
aa6993121e Camera: fix release fence FD leaks
Test: use sw_sync to fake release fence FDs, GCA, CTS
Bug: 62070085
Change-Id: Iae77a2e112df5363e55e4177656a5dd41b830cbd
2017-05-26 16:28:45 -07:00
Myles Watson
8c71c85252 Bluetooth: Remove scheduler-service dependency
Bug: 38178265
Test: Bluetooth enable/disable
      adb shell stop && adb shell VtsHalBluetoothV1_TargetTest

Change-Id: I7f892bad73f72b46b7b1720bda267fdddad21948
2017-05-26 20:34:12 +00:00
Steven Moreland
4833a88bd7 Remove versioning tests interfaces. am: 1cb1e14fae am: 45b2a58130 am: ca4611d6c2
am: 44b99959b0

Change-Id: I064cfb7c33e643bf604e64957d22c380ba18a890
2017-05-26 19:20:51 +00:00
Steven Moreland
44b99959b0 Remove versioning tests interfaces. am: 1cb1e14fae am: 45b2a58130
am: ca4611d6c2

Change-Id: Ie6ba94cf1386eedcd1b53d08f697af83c57f39d6
2017-05-26 19:15:52 +00:00
Steven Moreland
ca4611d6c2 Remove versioning tests interfaces. am: 1cb1e14fae
am: 45b2a58130

Change-Id: I4686963cb5744a7b375c509694dc13c77487b273
2017-05-26 19:13:50 +00:00
Steven Moreland
45b2a58130 Remove versioning tests interfaces.
am: 1cb1e14fae

Change-Id: I8d8df3dc8ef933f0e355e35b5699cd5334802652
2017-05-26 19:10:23 +00:00
Alex Yakavenka
773bf5aa08 Compile manager-lib shared library
bug: 38424350
Test: Local build
Change-Id: Idd03b8bac365f17b7fc418016d2c250a199384fe
2017-05-26 17:41:01 +00:00
Steven Moreland
1cb1e14fae Remove versioning tests interfaces.
These are moved to system/tools/hidl/test in
a form that can have build time tests added
and which don't affect checkbuild time by
adding various Java targets.

Test: none
Bug: 38242758
Change-Id: I747619389e667f5660cdc0bf2cccd9df6bbb8eb4
2017-05-26 16:46:59 +00:00
TreeHugger Robot
0c2a8f7d73 Merge "Camera: Remove binderized todo comment" 2017-05-26 15:23:25 +00:00
Zhuoyao Zhang
121a59c319 Merge "Omx vts test." into oc-dev am: 9a9c8da39b
am: 77a91e8f08  -s ours

Change-Id: I3f0bf20f114aec39ff3a2a88e98c969a8abed327
2017-05-26 00:28:22 +00:00
Scott Randolph
6471d6cd43 Merge "Fix typos in IEvsEnumerator descriptive comment" into oc-dev am: fd8da20eca
am: 34d7fe47aa

Change-Id: I0b64b1fb1c4c87d7d2ede832c20fa8d173440a2c
2017-05-26 00:28:07 +00:00
Zhuoyao Zhang
77a91e8f08 Merge "Omx vts test." into oc-dev
am: 9a9c8da39b

Change-Id: I4ac6e9ffe3ccd4b473d7355c1c18df14f31cfc3e
2017-05-26 00:26:02 +00:00
Scott Randolph
34d7fe47aa Merge "Fix typos in IEvsEnumerator descriptive comment" into oc-dev
am: fd8da20eca

Change-Id: I0c1dcb81b0f2afb2d7065ceee72125af9d7980ee
2017-05-26 00:25:42 +00:00
Zhuoyao Zhang
9a9c8da39b Merge "Omx vts test." into oc-dev 2017-05-26 00:15:41 +00:00
TreeHugger Robot
fd8da20eca Merge "Fix typos in IEvsEnumerator descriptive comment" into oc-dev 2017-05-26 00:14:47 +00:00
Ram Mohan M
ccc194cffd Omx vts test.
Bug:32023356
Test: make vts.

Merged-In: I83b454b999203fb94bc4cc50c91bd99f788131b3

secure buffer allocation for secure components

As of now, we see a crash in encoder test application on secure components
This is due to nullptr access. setting property media.mediadrmservice.enable
to 1 causes a different crash sigabrt(). In decoder securebufferallocation
call passes but we havent done anything with it. This commit needs more work.

Change-Id: I19127e39ad7daf66ac5277406e3857ec45c99e0a

add debug code

This can come in handy to view the decoded/encoded content or
for computation of psnr

Change-Id: I80e60349c76c02e5098df667223a0227f59b8324

video encoder test with anw input buffer

In this commit, anw buffers are provided as input for encoding
as opposed to byte buffers. In process IOmxNode, IGraphicBufferSource api
calls are tested

Change-Id: I7ec4af0746fe59221de42e56b344852d8fadc4f2

add support for additional color formats

Change-Id: Ia88ef9c95882958a68fee5cc68e146c3502a1b48

add eos and timestamp deviation test to video encoder

Change-Id: I9ebeaa53a986ec3f8a2ef55306877aec808d2add

add metamode support for video decoders

Change-Id: I7d6d6991cdc0ed36241d0e99c7a23675664acb10

add a timeout while processing input buffers

do not wait on input buffers processing to complete for an
indefinite amount of time. wait for a predefined duration and
leave

Change-Id: Icceaf0737a52e62f47bc052367e7ddbdc1868a46

move duplicate code to a library

move routines common across audio, video, component folders to a static
library

Change-Id: I55bf21e47571490e989b52b82c48c6e9a4b23745

add end of stream test for audio encoder

add eos test for audio encoder and some more code cleanup

Change-Id: I9d670ed53f6bba5802f919ec915e67bb0fa83518

Ensure all the buffers allocated are cycled

use all buffers provided by the component (even if it is greater than the
number of buffers needed by the bitstream)

Change-Id: I83b454b999203fb94bc4cc50c91bd99f788131b3

move duplicate code to a library - II

Change-Id: I375603feb9da303adc6a2d75ef59e43a11c3bd6d

Change-Id: I83b454b999203fb94bc4cc50c91bd99f788131b3
(cherry picked from commit 1da607c513)
2017-05-25 17:07:10 -07:00
Shuzhen Wang
32f0b047dc Camera: Silence log spam am: 207867716a
am: 6ccc129e91

Change-Id: Ida70914135764b034aff9c09b288df5a31cb9c60
2017-05-25 23:16:58 +00:00
Shuzhen Wang
6ccc129e91 Camera: Silence log spam
am: 207867716a

Change-Id: I697d551878713f56ed5845b3ebd87db76e1b513e
2017-05-25 22:57:13 +00:00
Zhuoyao Zhang
c9fea65cf0 Merge "Omx vts test." 2017-05-25 21:21:03 +00:00
Steven Moreland
40d477cf96 Merge "libhwbinder test: Android.mk -> Android.bp" am: 154040c0ca am: e7d4e66030 am: ce443e0b23
am: e5a50aa9d2

Change-Id: Id279641092ad7585d4c250d407907144f5ef850f
2017-05-25 21:18:09 +00:00