OSDN Git Service
TreeHugger Robot [Wed, 21 Jun 2017 00:45:16 +0000 (00:45 +0000)]
Merge "Check return from DeleteKey correctly." into oc-dev
TreeHugger Robot [Tue, 20 Jun 2017 10:59:01 +0000 (10:59 +0000)]
Merge "Clear notification count to handle different flows" into oc-dev
Wyatt Riley [Mon, 19 Jun 2017 21:42:34 +0000 (14:42 -0700)]
Clear notification count to handle different flows
Notifiation count now cleared in Setup (and
discarded messages warned about in Teardown.)
Fixes:
62645164
Test: passes on device
Change-Id: I7e88da7251464f281d7c98140d7a9b5a73d79542
(cherry picked from commit
6ec696b7fed0c597707762a6d5f5ecd709408aae)
Peng Xu [Mon, 19 Jun 2017 18:43:24 +0000 (11:43 -0700)]
Zero uninitialized field in conversion and fix vts bug
Zero uninitialized sensor event field to zero to avoid undefined
value being passed to framework.
Correct sensor report type check bug in vts.
Bug:
37793558
Bug:
37710268
Test: sensor vts passes
Change-Id: I5042975fea8fe28ae130367ba083a4e4f4e5657e
Ruchi Kandoi [Mon, 19 Jun 2017 16:33:33 +0000 (16:33 +0000)]
Merge "Nfc: Vts: modify WriteInvalidAndThenValidCommand" into oc-dev
Ruchi Kandoi [Thu, 15 Jun 2017 20:22:51 +0000 (13:22 -0700)]
Nfc: Vts: modify WriteInvalidAndThenValidCommand
Invalid Data packets are ignored by the NFC controller in case there
isn't an active RF Interface. The test expects response for the invalid
data packet without any active RF Interface. This patch modifies the
test to send an invalid command instead which will guarantee a response.
Test: run vts test
Bug:
62400568
Change-Id: I7db1d5209b6ef2240ac248f3aba0e27e0a285018
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
(cherry picked from commit
c86df4dcb74224ea7befc2cb610e43d0df6814ae)
TreeHugger Robot [Fri, 16 Jun 2017 19:22:04 +0000 (19:22 +0000)]
Merge "Camera: fix camera_metadata address expectation" into oc-dev
Ruchi Kandoi [Thu, 15 Jun 2017 22:59:23 +0000 (22:59 +0000)]
Merge "Support NCI 2.0 for NFC VTS" into oc-dev
Yin-Chia Yeh [Thu, 15 Jun 2017 00:29:47 +0000 (17:29 -0700)]
Camera: fix camera_metadata address expectation
On 32bits architecture, binder driver might allocate
non-8 bytes aligned buffers.
Test: compile (problem not reproducible on 64bit SOCs)
Bug:
62637461
Change-Id: I8ef2b3ecba783a8d189ebe18733082d32cff4899
TreeHugger Robot [Wed, 14 Jun 2017 02:22:13 +0000 (02:22 +0000)]
Merge "Purge unsupported RSA key sizes from VTS tests" into oc-dev
TreeHugger Robot [Wed, 14 Jun 2017 01:26:29 +0000 (01:26 +0000)]
Merge "Fixed flaky RenderScript VTS Test" into oc-dev
Janis Danisevskis [Tue, 6 Jun 2017 17:11:07 +0000 (10:11 -0700)]
Purge unsupported RSA key sizes from VTS tests
Support for 256 bit RSA keys are not mandated by keymaster specs and
must not be used in the VTS tests.
Bug:
62581389
Change-Id: If315088db2752ac2efe31fdb95db7ca13c3ce225
Michael Butler [Tue, 23 May 2017 00:01:24 +0000 (17:01 -0700)]
Fixed flaky RenderScript VTS Test
Added missing synchronization before context destroy
Bug:
62535730
Bug:
38385848
Test: make vts, does not fail with multiple tests
Change-Id: Ib0d038969e9a1d6f5ea555ccb60fed55b69e05dc
(cherry picked from commit
076f69aa2bc2301e3c93150503d469c02ed2458c)
Ruchi Kandoi [Thu, 8 Jun 2017 17:27:08 +0000 (10:27 -0700)]
Support NCI 2.0 for NFC VTS
Bug:
62322170
Test: Run vts test
Change-Id: I7ed331dac9d5918675c091620f099b6250e20700
(cherry picked from commit
ff8068d160b642c757f29ee56540dff0af468fe7)
TreeHugger Robot [Mon, 12 Jun 2017 22:50:33 +0000 (22:50 +0000)]
Merge "Bluetooth: Call vendor cleanup() in Close()" into oc-dev
Shuo Qian [Mon, 12 Jun 2017 04:44:15 +0000 (04:44 +0000)]
Merge "Fix vts tests:" into oc-dev
Ram Mohan M [Sat, 10 Jun 2017 02:55:39 +0000 (08:25 +0530)]
Increase Timeout for dequeue message
In vp9 encoder component, the callback responses are being recevied
after timeout. This is seen only in vp9. Even when no buffer processing
is done, Flush test, state transitions test fail due to slow responses.
This behavior is not seen in other components. This requires deeper
understanding of what is main culprit. But for now increase the timeout
Test: VtsHalMediaOmxV1_0Host
Bug:
37501531
Change-Id: I08abfefcf0cb38d312a4a2dc10908e24f88c54fd
TreeHugger Robot [Sat, 10 Jun 2017 01:23:28 +0000 (01:23 +0000)]
Merge "bug fix: fix encoder input port configuration issues" into oc-dev
TreeHugger Robot [Sat, 10 Jun 2017 01:23:28 +0000 (01:23 +0000)]
Merge "bug fix: configure input port format before setInputSurface" into oc-dev
Myles Watson [Thu, 8 Jun 2017 15:38:58 +0000 (08:38 -0700)]
Bluetooth: Call vendor cleanup() in Close()
Bug:
62453652
Test: sailfish and angler start/stop Bluetooth, pair
Change-Id: I8ba80ae1802d1f524acb1d8e26b5bb41fc1612d0
(cherry picked from commit
9eee83093faf0edd023920b16f5251a17ae97f00)
sqian [Fri, 9 Jun 2017 16:24:26 +0000 (09:24 -0700)]
Fix vts tests:
- setCdmaSubscriptionSource
- nvReadItem
- nvWriteItem
- nvWriteCdmaPrl
- getHardwareConfig
- sendEnvelope
- sendTerminalResponseToSim
Apply ag/
2373104/ to prevent merge conflicts
Will update .hal file seperately.
Test: adb shell <vts_binary>
Bug:
35671595
Bug:
35800570
Change-Id: I651af50f122f37721778b1088df40fa6e12ac6e4
Merged-In: I651af50f122f37721778b1088df40fa6e12ac6e4
Ram Mohan M [Thu, 8 Jun 2017 15:31:03 +0000 (21:01 +0530)]
choose input color format between 420p, 420sp
Test: VtsHalMediaOmxV1_0Host
Bug:
37501531
Change-Id: I5fc2f5c69ca545f2ca0b444ce89a8c970f2ff98e
TreeHugger Robot [Fri, 9 Jun 2017 03:12:07 +0000 (03:12 +0000)]
Merge "AudioDec Test: Ignore output port configuration" into oc-dev
TreeHugger Robot [Fri, 9 Jun 2017 03:12:07 +0000 (03:12 +0000)]
Merge "VideoEnc Test: extend lockYCbCr() to hal yuv formats" into oc-dev
TreeHugger Robot [Fri, 9 Jun 2017 03:12:07 +0000 (03:12 +0000)]
Merge "Vts AudioDec Test: Disable EOSTest_M" into oc-dev
Shuo Qian [Fri, 9 Jun 2017 02:07:34 +0000 (02:07 +0000)]
Merge "Fix vts tests:" into oc-dev
Ram Mohan M [Thu, 8 Jun 2017 16:11:05 +0000 (21:41 +0530)]
bug fix: configure input port format before setInputSurface
Test: VtsHalMediaOmxV1_0Host
Bug:
37501531
Change-Id: I7b48bf240a243b0b25c1c5e0f36c858b04271194
Ram Mohan M [Thu, 8 Jun 2017 16:05:18 +0000 (21:35 +0530)]
bug fix: fix encoder input port configuration issues
1. Number of P frames being INT_MAX - 1 is misleading few components.
avoid this value
2. enumerate level: The level information is obtained from
enumerateProfileandLevel. Now the component supports up to this level
or 1 step below this level is unclear. This is causing few problems in
the configuration of input port.
3. Disable few error checks for index types that are not universally
supported
Test: VtsHalMediaOmxV1_0Host
Bug:
37501531
Change-Id: I0c3220ec8d17d3527fa5fdae1a2f9c5add11a5de
TreeHugger Robot [Thu, 8 Jun 2017 22:47:01 +0000 (22:47 +0000)]
Merge "audiohal: Prevent logspam when calling get_presentation_position" into oc-dev
sqian [Thu, 1 Jun 2017 19:39:22 +0000 (12:39 -0700)]
Fix vts tests:
Fixed with QC updated documentation:
- setGsmBroadcastConfig
- getGsmBroadcastConfig
- setGsmBroadcastActivation
- getImsRegistrationState
- pullLceData
- deleteSmsOnSim
- deleteSmsOnRuim
- sendDtmf
- startDtmf
- stopDtmf
- sendBurstDtmf
Try to increase timeout to 75 to fix (suggest by QC in b/
35671595 #62):
- dial
Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Bug:
35671595,
35800570
Change-Id: Idd50bf71ae4c4490722d88d7cba0485b9d49073b
Zhuoyao Zhang [Thu, 8 Jun 2017 16:22:38 +0000 (16:22 +0000)]
Merge "Vts Omx Tests: Disable test that are not IOMX compatible" into oc-dev
Zhuoyao Zhang [Thu, 8 Jun 2017 16:22:27 +0000 (16:22 +0000)]
Merge "Omx vts tests" into oc-dev
Ram Mohan M [Thu, 8 Jun 2017 06:13:59 +0000 (11:43 +0530)]
AudioDec Test: Ignore output port configuration
audio dec components vorbis, opus and raw undergo auto output port
configuration and donot allow client to configure. By pass output port
configuration for these components
Test: VtsHalMediaOmxV1_0Host
Bug:
37501531
Change-Id: Ib1539b36589db5bdf1b6d82fcd0c50ba420a0299
Ram Mohan M [Wed, 7 Jun 2017 12:07:42 +0000 (17:37 +0530)]
VideoEnc Test: extend lockYCbCr() to hal yuv formats
Test: VtsHalMediaOmxV1_0Host
Bug:
37501531
Change-Id: I4661f41a92aac44e8a8d2721dfebbd25045fbe1c
Ram Mohan M [Thu, 8 Jun 2017 11:26:55 +0000 (16:56 +0530)]
Vts AudioDec Test: Disable EOSTest_M
Sending first buffer as EOS, is not supported across all components.
We will revisit this fixture at a later stage
Test: VtsHalMediaOmxV1_0Host
Bug:
37501531
Change-Id: Ic9f59f7b0a5291710bc50710ef054b0c0c49ca98
Ram Mohan M [Wed, 7 Jun 2017 15:49:47 +0000 (21:19 +0530)]
Vts Omx Tests: Disable test that are not IOMX compatible
Android IOMX differs slightly from OMX. Disable tests that are not
needed (for now). We will revisit them at a later stage
Bug:
32023356
Bug:
37501531
Test: make vts.
Change-Id: Iad71d72a4a66d621f415731d2c0e1a3794ed3524
Ram Mohan M [Fri, 2 Jun 2017 06:28:53 +0000 (11:58 +0530)]
Omx vts tests
Bug:
32023356
Test: make vts.
cleanup: move duplicate code to common
moved code shared across application to common and
removed duplicate code
Change-Id: I2dacb9d72bdf545addd2cc377dd4342c92f50f11
restrict secure component testing to VTS*ComponentTest
Change-Id: I1d2878408df2e4cbe31b3b47a3d6500a90692a7a
Master Test: test component node alloc/dealloc
Change-Id: I89ef853cf5a9f6b0a0af9e25ef484968aec614f6
Component Test: fix dispatchMsg test fixture
Change-Id: Ie1068a5d73a3a573e552cf023c9c7dc78a43ea59
AudioDec Test : missing csd in opus resource files
opus decoder test resource files have a missing csd. This is causing
timestamp list empty test to fail. This is fixed
Change-Id: I6ae3b241fbf3e384943a0e6e80838a45c1fc6687
Change-Id: Ie7775456542f12d5f5d87dded4b0a57fd0723037
Janis Danisevskis [Wed, 7 Jun 2017 18:31:23 +0000 (11:31 -0700)]
Fix expected attestation version.
The attestation version cannot be infered from the keymaster version
because we provide software attestation for legacy keymaster 1 keys.
This patch changes the attestation test to expect either attestation
version 1 or 2.
Bug:
37351644
Test: VtsHalKeymasterV3_0TargetTest
Change-Id: I4db83a543db20191d288b2ca8308aa6597cd8e22
Zhuoyao Zhang [Tue, 6 Jun 2017 18:29:14 +0000 (18:29 +0000)]
Merge "Omx vts tests." into oc-dev
Brian Duddie [Tue, 6 Jun 2017 16:28:37 +0000 (16:28 +0000)]
Merge "contexthub: Handle service death" into oc-dev
Kevin Rocard [Tue, 6 Jun 2017 02:55:22 +0000 (02:55 +0000)]
Merge changes from topic 'vts-validate-policy-conf' into oc-dev
* changes:
Audio VTS: Enforce policy configuration format
Audio VTS: Test now use Android.mk
Brian Duddie [Fri, 2 Jun 2017 01:51:22 +0000 (18:51 -0700)]
contexthub: Handle service death
Register for notification of service death for callbacks registered with
the context hub HAL. Upon this notification, unregister the callback to
avoid crashing if an event occurs prior to the service coming back up.
Bug:
36202367
Test: adb shell stop, confirm death notification received via log;
vts-tradefed run commandAndExit vts --module VtsHalContexthubV1_0Target
Change-Id: I3c25229806cb9f2a116007939c752841edbf0985
Sanket Padawe [Wed, 31 May 2017 23:06:04 +0000 (16:06 -0700)]
Fix some stk api Radio Vts tests.
Bug:
37502436
Test: Manual vts
Change-Id: Idd9a1fd38413aed89aaa152cb9a91c001f18b339
Merged-in: Idd9a1fd38413aed89aaa152cb9a91c001f18b339
Kevin Rocard [Wed, 24 May 2017 18:01:34 +0000 (11:01 -0700)]
Audio VTS: Enforce policy configuration format
Validate the audio_policy_configuration.xml supplied in /vendor against
the format schema.
Test: Run the VTS test on target
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalAudioV2_0Target -t CheckConfig.audioPolicyConfigurationValidation
Bug:
35700978
Change-Id: I800e692a6ff4f64655007c33af7e34d879ee1132
Signed-off-by: Kevin Rocard <krocard@google.com>
Kevin Rocard [Wed, 31 May 2017 00:15:28 +0000 (17:15 -0700)]
Audio VTS: Test now use Android.mk
To validate the audio_policy_configuration.xml against a schema,
libxml2 is used.
Unfortunately, libxml2 uses Android.mk in oc-dev thus can not be used
from the tests which uses Android.bp.
It has been deemed safer to transform the tests to use Android.mk rather
than backporting the Android.bp patch from master.
Test: Compile
Bug:
35700978
Merged-In: I800e692a6ff4f64655007c33af7e34d879ee1132
Change-Id: Ie3f2069d60be369b4c37c27e9c1cf9372323a19c
Signed-off-by: Kevin Rocard <krocard@google.com>
Miao Wang [Fri, 2 Jun 2017 23:20:57 +0000 (23:20 +0000)]
Merge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation." into oc-dev
Miao Wang [Tue, 16 May 2017 22:36:54 +0000 (15:36 -0700)]
[RenderScript] Use OVERRIDE_RS_DRIVER string in the default
implementation.
Bug:
37035983
Test: mm
Test: manually push to sailfish & angler, verify GPU driver successfully
load, and tests are passing.
Change-Id: Ic55c74228e7eae599702365c513009aa3454656b
Merged-In: Ic55c74228e7eae599702365c513009aa3454656b
Mikhail Naganov [Thu, 1 Jun 2017 16:58:06 +0000 (09:58 -0700)]
VTS Audio Effect: Do not check the result of IEffect::offload method
HAL may not support offloading, and a call to IEffect::offload
is allowed to return an error code.
Update the test to only check that the call to the method doesn't
crash.
Bug:
38437110
Test: still passes
Change-Id: I6cfd25998edb9c68d2e585e572ba8ba3a3427e98
TreeHugger Robot [Thu, 1 Jun 2017 22:07:00 +0000 (22:07 +0000)]
Merge "Compile manager-lib shared library" into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 19:56:20 +0000 (19:56 +0000)]
Merge "Audio: Add XML schema for audio policy configuration" into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 16:32:28 +0000 (16:32 +0000)]
Merge "Revert "audiohal: Add diagnostics to investigate HAL call crashes"" into oc-dev
Shawn Willden [Mon, 24 Apr 2017 16:48:16 +0000 (10:48 -0600)]
Annotate DeleteKey test with bug number.
Bug:
37623742
Change-Id: I2cb4bb39bacb3aabf5fff7937f60c7355c9636e3
Test: VTS test, manually run
Shawn Willden [Thu, 1 Jun 2017 13:44:27 +0000 (07:44 -0600)]
Check return from DeleteKey correctly.
DeleteKey may legitimately return ErrorCode::UNIMPLEMENTED rather than
ErrorCode::OK, but the VTS test didn't allow that in all cases. In many
case the return code was also left unchecked.
Test: adb shell/data/nativetest64/VtsHalKeymasterV3_0TargetTest/VtsHalKeymasterV3_0TargetTest
Bug:
62193967
Change-Id: I19a90a87850675b0700baf7409e57098e0584d54
Mikhail Naganov [Fri, 19 May 2017 23:46:28 +0000 (16:46 -0700)]
audiohal: Prevent logspam when calling get_presentation_position
get_presentation_position can return ENODATA if the stream
has stopped but the write is still querying the position.
Bug:
38376424
Change-Id: I9d516a19fb347843a8ec8e8e9a0f5eab0b0798e6
Test: no log messages from StreamHAL about get_presentation_position
(cherry picked from commit
96a3a19beda45bef7c34fc06a0048174f3a7e362)
Eric Laurent [Thu, 18 May 2017 01:32:36 +0000 (18:32 -0700)]
Audio: Add XML schema for audio policy configuration
The schema describes the XML format for audio policy
configuration.
It will be enforced in a follow up vts test.
Bug:
35700978
Test: schema is parsed with xmllint with no errors
Test: xmllint --xinclude --noout --schema audio_policy_configuration.xsd out/target/product/sailfish/vendor/etc/audio_policy_configuration.xml
Change-Id: Ic6830446b54b3e02e4bca9b0a392523a8fb359e1
Signed-off-by: Kevin Rocard <krocard@google.com>
sqian [Wed, 31 May 2017 21:04:36 +0000 (14:04 -0700)]
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.
Cherry-pick from:
https://googleplex-android-review.git.corp.google.com/#/c/
2330821/
Bug:
38499889
Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Change-Id: I491db829cca607fad9f6a21987de92269d115253
Merged-In: I491db829cca607fad9f6a21987de92269d115253
(cherry picked from commit
0e8a3be41c7c0b0a8de9740524b8cac49c685c99)
Mikhail Naganov [Wed, 31 May 2017 19:59:21 +0000 (19:59 +0000)]
Revert "audiohal: Add diagnostics to investigate HAL call crashes"
This reverts commit
6c0f76a684bc58eb10181f71d9f45c5799ca7c6a.
Since the root cause of the crash has been established, there is no need to keep this code around.
Bug:
36225019
Change-Id: I74e570e863a0cdec5d9029f1672e2e8066c246b5
Ram Mohan M [Mon, 29 May 2017 13:20:01 +0000 (18:50 +0530)]
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
Jayant Chowdhary [Wed, 31 May 2017 03:59:44 +0000 (03:59 +0000)]
Merge "configstore-utils: vendor_available" into oc-dev
TreeHugger Robot [Wed, 31 May 2017 03:56:10 +0000 (03:56 +0000)]
Merge "GNSS HAL radio group for E911 SUPL" into oc-dev
Steven Moreland [Fri, 28 Apr 2017 01:32:39 +0000 (18:32 -0700)]
configstore-utils: vendor_available
Test: with BOARD_VNDK_VERSION := current
(cherry picked from commit
65af0612ce5bd5f8d86e489b83971c2bd17badb2)
Merged-In: Ied49d6affe69099bc08a58e1d5e38052d018a2e8
Change-Id: I6278d659957829bce4ebdf44615ad25b371658d8
TreeHugger Robot [Tue, 30 May 2017 22:27:58 +0000 (22:27 +0000)]
Merge "Camera: fix release fence FD leaks" into oc-dev
Alex Yakavenka [Fri, 12 May 2017 00:18:13 +0000 (17:18 -0700)]
Compile manager-lib shared library
bug:
38424350
Test: Local build
Change-Id: Idd03b8bac365f17b7fc418016d2c250a199384fe
Wyatt Riley [Tue, 2 May 2017 00:07:26 +0000 (17:07 -0700)]
GNSS HAL radio group for E911 SUPL
Bug:
37730994
Test: Builds, boots, basic GPS works
Change-Id: I2ceda822d6414348f61c183765f68068764d36cc
Merged-In: I2ceda822d6414348f61c183765f68068764d36cc
Yin-Chia Yeh [Fri, 26 May 2017 21:01:32 +0000 (14:01 -0700)]
Camera: fix release fence FD leaks
Test: use sw_sync to fake release fence FDs, GCA, CTS
Bug:
62070085
Change-Id: Iae77a2e112df5363e55e4177656a5dd41b830cbd
Myles Watson [Fri, 26 May 2017 17:09:07 +0000 (10:09 -0700)]
Bluetooth: Remove scheduler-service dependency
Bug:
38178265
Test: Bluetooth enable/disable
adb shell stop && adb shell VtsHalBluetoothV1_TargetTest
Change-Id: I7f892bad73f72b46b7b1720bda267fdddad21948
Zhuoyao Zhang [Fri, 26 May 2017 00:15:41 +0000 (00:15 +0000)]
Merge "Omx vts test." into oc-dev
TreeHugger Robot [Fri, 26 May 2017 00:14:46 +0000 (00:14 +0000)]
Merge "Fix typos in IEvsEnumerator descriptive comment" into oc-dev
Ram Mohan M [Thu, 11 May 2017 13:22:47 +0000 (18:52 +0530)]
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
1da607c513c74612127cd18e83dcca53afb2f38f)
Shuzhen Wang [Thu, 25 May 2017 17:34:13 +0000 (10:34 -0700)]
Camera: Silence log spam
HAL is allowed to return captureResult from different thread contexts.
Do not do ALOGW if this is the case.
Test: Run camera and check logspam is gone
Bug:
62068207
Change-Id: I86e77fc578953cefecf10ebc4d395edf33627e8c
TreeHugger Robot [Thu, 25 May 2017 17:06:28 +0000 (17:06 +0000)]
Merge "Fix more radio VTS test." into oc-dev
TreeHugger Robot [Thu, 25 May 2017 01:50:45 +0000 (01:50 +0000)]
Merge "camera.device@3.2 wrapper: Close release fence FDs" into oc-dev
Eino-Ville Talvala [Wed, 24 May 2017 22:05:56 +0000 (15:05 -0700)]
camera.device@3.2 wrapper: Close release fence FDs
Freeing the native handle isn't enough; we need to close the fence FDs
after sending them to the camera service, since that's the behavior
that the legacy HAL interface requires.
Test: Camera CTS continues to pass.
Bug:
38482274
Change-Id: I879de566dcafecc1b899d79e68b38ea39b91a37e
Yifan Hong [Tue, 23 May 2017 22:35:10 +0000 (22:35 +0000)]
Merge changes from topic 'vintf_compat_mat_update' into oc-dev
* changes:
Add <kernel> entry to framework compat mat
Update framework compatibility matrix
Fix automotive.* hals for oc-dev
Add evs and vehicle hal to compatibility matrix
TreeHugger Robot [Tue, 23 May 2017 21:39:10 +0000 (21:39 +0000)]
Merge "Temporary disable tests failing tests for O" into oc-dev
Sanket Padawe [Wed, 10 May 2017 18:29:33 +0000 (11:29 -0700)]
Fix more radio VTS test.
+ Increase timeout to 65s to fix some tests failing because of timeouts.
Bug:
35800570
Test: vts
Change-Id: Idf0204908592eac5f2a954d4425123df75999b1c
Peng Xu [Tue, 23 May 2017 20:33:28 +0000 (20:33 +0000)]
Merge "Increase poll max size, avoid performance issue when batching" into oc-dev
Yifan Hong [Tue, 16 May 2017 01:04:06 +0000 (18:04 -0700)]
Add <kernel> entry to framework compat mat
3.18, 4.4 and 4.9 are the supported kernels in O.
Test: builds
Test: adb shell vintf (RuntimeInfo is compatible with
framework compat mat)
Bug:
38324908
Change-Id: I8b2c98e8168af651215a309c8b0b93d3c342f97d
Yifan Hong [Tue, 23 May 2017 00:35:52 +0000 (17:35 -0700)]
Update framework compatibility matrix
Test: builds (compat check passes with assemble_vintf)
Change-Id: I23a8b3ab1db2344c8f246349aabd99ed42a4ac92
Peng Xu [Thu, 4 May 2017 23:36:37 +0000 (16:36 -0700)]
Increase poll max size, avoid performance issue when batching
Vts polls sensor events with max size of 1, which can cause
performance issue when batching. Increase it to 64 to help eliminate
potential performance issue.
Note this CL has no change in behavior of test.
Test: VTS target test pass on several devices
Bug:
62027156
Change-Id: I04a6791f407ec0a54eb6cd8df4d4ef41e8a89c12
Merged-In: I04a6791f407ec0a54eb6cd8df4d4ef41e8a89c12
(cherry picked from commit
e337dfe3d250dabcbdc9d4c8e9620f76b96b4562)
Yifan Hong [Tue, 23 May 2017 18:16:20 +0000 (11:16 -0700)]
Fix automotive.* hals for oc-dev
Test: builds
Change-Id: I12795a37d3bbd1508e059a79bb61e1b4bc1a9a3f
Scott Randolph [Thu, 11 May 2017 17:16:12 +0000 (10:16 -0700)]
Add evs and vehicle hal to compatibility matrix
Test: builds
Change-Id: I61dcc985d1d4dde4b4b53e36b0de1d4dcff8d3f4
Merged-In: I61dcc985d1d4dde4b4b53e36b0de1d4dcff8d3f4
TreeHugger Robot [Tue, 23 May 2017 00:25:30 +0000 (00:25 +0000)]
Merge "wifi(vts): Add retry for HAL start" into oc-dev
Scott Randolph [Mon, 22 May 2017 23:35:39 +0000 (16:35 -0700)]
Fix typos in IEvsEnumerator descriptive comment
IEvsEnumerator::openCamera had a typo and the incorrect name of a related
interface in one of the descriptive comments. This fixes those issues
and updates the checksum for the interface.
Bug:
38508696
Test: build evs_app and evs default driver.
Change-Id: I24f3ca2bc3652711a4ee2ea9a37428d4bdafc509
TreeHugger Robot [Mon, 22 May 2017 23:53:33 +0000 (23:53 +0000)]
Merge "Move media_profiles_V1_0.dtd to hardware/interfaces" into oc-dev
Roshan Pius [Mon, 22 May 2017 21:16:06 +0000 (14:16 -0700)]
wifi(vts): Add retry for HAL start
Port of the retry logic added in HalDeviceManager for temporary IWifi.start()
failures when invoked immediately after IWifi.stop().
Bug:
38342536
Test: Run VTS tests
Change-Id: Ie58a08c45979bafa0c61fa1c8536a2c0a0cd8ed9
Steven Moreland [Fri, 19 May 2017 22:52:22 +0000 (15:52 -0700)]
Update makefiles. (2/2)
Adds default configuration for all hals.
Bug:
38415912
Test: pass
Change-Id: Idd1f3a2b7b16ad956d31784a513e93a066cdd02e
Steven Moreland [Thu, 18 May 2017 23:14:16 +0000 (16:14 -0700)]
Update makefiles.
Adds default configuration to all hals.
Test: pass
Merged-In: Icdf6b56df82c4b7b7de815e7febea9a07ab96856
Change-Id: Icdf6b56df82c4b7b7de815e7febea9a07ab96856
TreeHugger Robot [Fri, 19 May 2017 20:28:08 +0000 (20:28 +0000)]
Merge "VTS Audio Effect: Allow 'NOT_SUPPORTED' from IEffect::offload method" into oc-dev
Mikhail Naganov [Fri, 19 May 2017 17:55:17 +0000 (10:55 -0700)]
VTS Audio Effect: Allow 'NOT_SUPPORTED' from IEffect::offload method
HAL may not support offloading, and a call to IEffect::offload
is allowed to return an error code.
Update the test to accept either OK or NOT_SUPPORTED.
Bug:
38437110
Test: still passes
Change-Id: I1822010eed73f61bb0e0ae1852739b47fa72eade
Yifan Hong [Fri, 19 May 2017 16:36:14 +0000 (16:36 +0000)]
Merge "Add <interface> / <instance> to fwk compat mat" into oc-dev
Pawin Vongmasa [Thu, 18 May 2017 11:07:59 +0000 (04:07 -0700)]
Move media_profiles_V1_0.dtd to hardware/interfaces
Test: media_profiles_V1_0.dtd exists in system/etc
Bug:
36430270
Merged-In: I43d6eb68cc866a280cbe24fcf0f0af75a3c3ae67
Change-Id: I43d6eb68cc866a280cbe24fcf0f0af75a3c3ae67
Shuo Qian [Thu, 18 May 2017 22:56:14 +0000 (22:56 +0000)]
Merge changes from topic 'fix-vts-test' into oc-dev
* changes:
update .hal file to fix vts test
Fix vts tests
sqian [Wed, 17 May 2017 03:29:19 +0000 (20:29 -0700)]
update .hal file to fix vts test
Test: Manual
Bug:
35671595
Change-Id: Ic97cc8e9a713bfa22f9986c18ddb5af624142b17
sqian [Tue, 16 May 2017 20:01:20 +0000 (13:01 -0700)]
Fix vts tests
- apduReq
(with QC UIM document)
- handleStkCallSetupRequestFromSim
- supplyNetworkDepersonalization
Test: make vts; vts-tradefed; run vts -m VtsHalRadioV1_0Target
Bug:
35671595
Change-Id: Ie7427e027eb93e89a9790260cfdbbb2d01c50cc1
Yifan Hong [Thu, 18 May 2017 20:46:57 +0000 (13:46 -0700)]
Add <interface> / <instance> to fwk compat mat
Test: bullhead, m manifest.xml -j
Test: marlin, m manifest.xml -j
Test: new devices, m manifest.xml -j
(for marlin and new devices, assemble_vintf
is invoked to check compatibility)
Bug:
38395193
Change-Id: I4201bec4753e7efe41678a736dd0a124b995fbf9
TreeHugger Robot [Thu, 18 May 2017 17:24:29 +0000 (17:24 +0000)]
Merge "audio HAL: fix getParameters status check." into oc-dev
Eric Laurent [Thu, 18 May 2017 01:32:36 +0000 (18:32 -0700)]
audio HAL: fix getParameters status check.
Bug:
38326193
Test: VTS tests for module VtsHalAudioV2_0TargetTest.
Change-Id: If4109cea68120d722a3b1084ad583170e950cfa0
Kevin Rocard [Fri, 12 May 2017 22:25:09 +0000 (15:25 -0700)]
Temporary disable tests failing tests for O
Those tests are failing because their fix
(I0ea1a4bf952527ac0711ed3cdd31c6aa53db4d2e) is dangerous to merge in O
so close to the final release.
The fix implements a rejection feature for unsupported audio format.
This rejection is required by the hal interface
but was only partially implemented in the hal.
The problem is that the framework was never tested with a hal supporting
this behavior nor some calls implemented with this requirement.
As a result I do not feel confident in merging it in oc-dev,
it might complex, hard to detect bugs.
The fix will be merged in master thus will be part of mr1.
The current patch will be reverted in master after the fix is merged.
Test: vts-tradefed run vts --module VtsHalAudioV2_0Target
Test: call/play music/record/video...
Bug:
36311550
Change-Id: Ia9e1dcec5442e2755f0bcb13d8d502663f507dbe
Signed-off-by: Kevin Rocard <krocard@google.com>
Eric Laurent [Wed, 17 May 2017 19:50:15 +0000 (12:50 -0700)]
sound trigger VTS: used default HAL service name
Bug:
37864311
Test: run VTS for module VtsHalSoundtriggerV2_0Target on marlin
Change-Id: If727dcc5921742ece6252dff839ce8100f24ccd1