Commit Graph

4900 Commits

Author SHA1 Message Date
Emilian Peev
8bdbf00a34 Camera: Remove binderized todo comment
The camera test cases already already run in binderized mode
for any devices that have this mode enabled.
Additionally remove the missing camera device todo as well.
This should be handled by the VTS infrastructure.
Camera provider service constant updated as well.

Bug: 38137798
Test: VtsHalCameraProviderV2_4TargetTest
Change-Id: I45ddf224dd4dac3ddfbbd751fa297e4631283537
2017-05-19 11:42:08 +01:00
TreeHugger Robot
33b92997c5 Merge "Update makefiles." 2017-05-17 03:16:06 +00:00
Grace Chen
2c4f67ae1f Merge "Support different SIM power states" am: f94eb06d32 am: b6e91f51f6 am: 22facb038d
am: a442f2873f  -s ours

Change-Id: I34bb5526fc8800431e1562c12f0a444163475349
2017-05-16 20:08:27 +00:00
Grace Chen
a442f2873f Merge "Support different SIM power states" am: f94eb06d32 am: b6e91f51f6
am: 22facb038d

Change-Id: Ib45036bead4fe35323f39fa7fa9bc882b73dd0de
2017-05-16 19:58:53 +00:00
Grace Chen
22facb038d Merge "Support different SIM power states" am: f94eb06d32
am: b6e91f51f6

Change-Id: Iee77b290f446423624b83526e332b668e358256a
2017-05-16 19:50:51 +00:00
Grace Chen
b6e91f51f6 Merge "Support different SIM power states"
am: f94eb06d32

Change-Id: I31103f6a6de332ab8a68df4f7d13cbb097a72e28
2017-05-16 19:42:46 +00:00
Kevin Rocard
6ade5e3c1b Merge changes from topic 'audio-primary-hal-vts-fix' into oc-dev am: c558ddf3fa
am: cdf142d8dd

Change-Id: I3429df38464282106bef8464a4852bd5b29f763d
2017-05-16 19:33:39 +00:00
Jeff Tinker
7a0385c44a Merge "Revert "Fix resource leaks in drm hal"" into oc-dev am: db15c4b6ee
am: ddd1c63569

Change-Id: Iab79f9667ed22427c11e133da60b3371723239bb
2017-05-16 19:33:23 +00:00
Grace Chen
f94eb06d32 Merge "Support different SIM power states" 2017-05-16 19:30:28 +00:00
Kevin Rocard
cdf142d8dd Merge changes from topic 'audio-primary-hal-vts-fix' into oc-dev
am: c558ddf3fa

Change-Id: I15868923cdfd165e20468d1c885a256fefd0eeca
2017-05-16 19:13:11 +00:00
TreeHugger Robot
c558ddf3fa Merge changes from topic 'audio-primary-hal-vts-fix' into oc-dev
* changes:
  Audio HAL: A speech volume outside of [0,1] is an error
  Audio HAL VTS: Some methods are not optional
2017-05-16 18:52:39 +00:00
Jeff Tinker
ddd1c63569 Merge "Revert "Fix resource leaks in drm hal"" into oc-dev
am: db15c4b6ee

Change-Id: Ib2b3078f95637fe3c4f4f6e0bd73498374f945f5
2017-05-16 18:50:29 +00:00
Howard Chen
2d39c5243b Add HIDL_FETCH_IScheduleTest declaration am: 82ddb247b2 am: 8acff9a619 am: c57ac16490
am: ff3e874519

Change-Id: Icd2999a5f0d39ce4eb5295c56ce60c11e1b52d71
2017-05-16 18:33:43 +00:00
Howard Chen
b062a9d671 Add IScheduleTest for VTS libhwbinder scheduler test am: 35ae446548 am: 5a42dc1812 am: 80080bf2df -s ours
am: d8765474f4  -s ours

Change-Id: Iae37fa2c80d86e4e0fd95321ffef7349c89ffbe0
2017-05-16 18:33:41 +00:00
Howard Chen
ff3e874519 Add HIDL_FETCH_IScheduleTest declaration am: 82ddb247b2 am: 8acff9a619
am: c57ac16490

Change-Id: I3471b2ff91acc53005fc391224de121c069437de
2017-05-16 18:30:21 +00:00
Howard Chen
d8765474f4 Add IScheduleTest for VTS libhwbinder scheduler test am: 35ae446548 am: 5a42dc1812
am: 80080bf2df  -s ours

Change-Id: Id5a06a05a2cdff43623ecd7975274b8ca9adc809
2017-05-16 18:30:19 +00:00
Howard Chen
c57ac16490 Add HIDL_FETCH_IScheduleTest declaration am: 82ddb247b2
am: 8acff9a619

Change-Id: I3ba552765de4332f97367efc223457c0b641c084
2017-05-16 18:26:49 +00:00
Howard Chen
80080bf2df Add IScheduleTest for VTS libhwbinder scheduler test am: 35ae446548
am: 5a42dc1812

Change-Id: I00a873e7233d6f29dd6c71bbac9d145d23038214
2017-05-16 18:26:47 +00:00
Jeff Tinker
db15c4b6ee Merge "Revert "Fix resource leaks in drm hal"" into oc-dev 2017-05-16 18:25:51 +00:00
Howard Chen
8acff9a619 Add HIDL_FETCH_IScheduleTest declaration
am: 82ddb247b2

Change-Id: Idb6e9dca36c6e7b455c62dbc66d09def5f51fd65
2017-05-16 18:24:18 +00:00
Howard Chen
5a42dc1812 Add IScheduleTest for VTS libhwbinder scheduler test
am: 35ae446548

Change-Id: I6e9b9866c0e7ab9e9beccd6137226a43dd33c858
2017-05-16 18:24:16 +00:00
Jeff Tinker
e3b6ae14f5 Revert "Fix resource leaks in drm hal"
This caused b/38343526 which is a chase list issue, reverting for now.

This reverts commit 4e1fe736af.

Change-Id: Ib9ffcd11e575e3f05f54cbea17fda2f2eb3780b5
2017-05-16 18:21:39 +00:00
TreeHugger Robot
8973d8f605 Merge "Remove unused lambda capture" 2017-05-16 17:56:19 +00:00
Grace Chen
91865c2173 Support different SIM power states
Test: Verify SIM power states
Bug:  35844036
Merged-In: I769f7eada97286680cb516c63d28da11bb69db4d
Change-Id: I769f7eada97286680cb516c63d28da11bb69db4d
2017-05-16 10:55:58 -07:00
Tomasz Wasilczyk
d6877b36e2 Merge "Fix getProgramList comment about possible result." 2017-05-16 16:25:12 +00:00
Howard Chen
82ddb247b2 Add HIDL_FETCH_IScheduleTest declaration
Fix the bug that makes the registerAsServer fail.
sp<IScheduleTest> server =
	IScheduleTest::getService(serviceName, true);
status_t status = server->registerAsService(serviceName);

Bug:38099333
Test: oc-dev on pixel sailfish with a vts test case
  "libhwbinder_latency -i 1"
Change-Id: I892835a25ef7df56a6424da41c0fc477b3a532d8
2017-05-16 16:22:05 +00:00
Howard Chen
35ae446548 Add IScheduleTest for VTS libhwbinder scheduler test
Add IScheduleTest.hal:
    send(cfg, callerSta)
cfg: 1 for verbose output
caller_status:  (caller_rt_priority <<16 )| caller_cpu

with the return value defined as:
((1 if no priority inheritance)<<16) | (1 if no cpu sync)
The implementation is in ScheduleTest.cpp

Bug:36705188
Test: sailfish/prebuilt kernel/oc-dev with the libhwbinder_latency
  vts test case
Merged-In: Ie2a837c8d0d4fa95c6fd0ebd50e76412cb808df8

Change-Id: Ic0498bc2b036cedced906963bb8e489dcca47a1a
2017-05-16 14:58:00 +08:00
TreeHugger Robot
fa619e5e7d Merge "Figure out what error returned in getLastCallFailCause" 2017-05-16 03:07:44 +00:00
Zhuoyao Zhang
ffd027f9d3 Merge "Omx vts tests." into oc-dev am: 1d619f743d
am: 640d3f330a

Change-Id: Ie96f6792c8db9c22f84979d1d6f355ea15e1abdc
2017-05-16 01:54:38 +00:00
Zhuoyao Zhang
640d3f330a Merge "Omx vts tests." into oc-dev
am: 1d619f743d

Change-Id: I80b3c97d186f56210b761e1cd642c209e5071358
2017-05-16 00:08:54 +00:00
sqian
3bfbed5a07 Figure out what error returned in getLastCallFailCause
( locally bug 38228792 is not reproduciable , have to make such change
to see what error returned in vts-web )

Test: vts-web
Bug: 38228792
Change-Id: Ieccb450324ae6b06d4e3e15726c837a9fede49fe
2017-05-15 16:38:53 -07:00
Zhuoyao Zhang
1d619f743d Merge "Omx vts tests." into oc-dev 2017-05-15 23:10:37 +00:00
Tomasz Wasilczyk
6ca90ed3cf Fix getProgramList comment about possible result.
Also change default implementation results for not implemented calls
to be less harsh.

Test: instrumentation
Bug: b/36863239
Change-Id: I7f9adea8aa5b84aec81be13f5614ba16c8b74b75
2017-05-15 15:39:00 -07:00
Ruchi Kandoi
64130ea641 NFC: vts: Add commands to reset the NFC controller before other commands am: 8e3c66e28b
am: 634650b836

Change-Id: Ia07d4aac04687adbdb7abf6c19ca96ce9ff91120
2017-05-15 22:27:47 +00:00
Ruchi Kandoi
634650b836 NFC: vts: Add commands to reset the NFC controller before other commands
am: 8e3c66e28b

Change-Id: Icc9fad4989d4d9e1b862f98bfcf3527476738366
2017-05-15 22:24:47 +00:00
Kevin Rocard
a1d6ea4ba7 Audio HAL: A speech volume outside of [0,1] is an error
Hals are supposed to received normalized volumes, between 0 and 1.
Previously volumes outside [0,1] were clamp to this range.
This clamping has the capability to hide bugs thus return an error if
such volume is received.

Test: vts-tradefed run vts --module VtsHalAudioV2_0Target
Test: call/play music/record/video...
Bug: 36311550
Change-Id: Iab70f9c651540ea2434d10939d28c1c842db19e0
Signed-off-by: Kevin Rocard <krocard@google.com>
2017-05-15 14:51:28 -07:00
Chih-Hung Hsieh
7eb57b60ab Remove unused lambda capture
New clang compiler gives warning to unused lambda captures.
Apply clang-format.

Bug: 37423073
Test: Build

Change-Id: Icdf019df1a6c9dcadeb35551377d7afa09eebb3e
2017-05-15 14:02:45 -07:00
Ruchi Kandoi
8e3c66e28b NFC: vts: Add commands to reset the NFC controller before other commands
Bandwidth and WriteInvalidAndThenValidCommand test assumes that the NFC
controller will be initialized before the test. This is not necessarily
true for all devices. Send CORE_RESET_CMD and CORE_INIT_CMD before
creating a loop-back connection.

CORE_RESET_RSP doesn't necessary return the configuration that was sent
in CORE_RESET_CMD. For instance, if CORE_RESET_CMD requested keeping
the configuration, and if the controller doesn't support that, the
configuration will be resetted and CORE_RESET_RSP will reflect that.

Bug: 38267593
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
      --primary-abi-only --skip-preconditions
      --module VtsHalNfcV1_0Target -l INFO
Change-Id: I65ae9746054ca767b928bdd461faa02f03719aea
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
(cherry picked from commit 209a274c31)
2017-05-15 20:39:11 +00:00
Jeff Tinker
24401aac69 Merge "Fix resource leaks in drm hal" into oc-dev am: 14b91049a7
am: fbe6eee2e5

Change-Id: Ied6aca47ea624dad2ae7778b4e70397dfaf02a4f
2017-05-15 20:14:20 +00:00
Jeff Tinker
fbe6eee2e5 Merge "Fix resource leaks in drm hal" into oc-dev
am: 14b91049a7

Change-Id: Iedefddb99f498e968a22b50fe09c589f43907ff6
2017-05-15 20:03:22 +00:00
TreeHugger Robot
14b91049a7 Merge "Fix resource leaks in drm hal" into oc-dev 2017-05-15 19:54:16 +00:00
Ruchi Kandoi
112b25f779 NFC: vts: Add commands to reset the NFC controller before other commands am: 209a274c31 am: cd825026ca am: b5beef1765
am: 8bc107b362

Change-Id: Ia071ac84ef9f6146bb15304eb9b125ff3f56015d
2017-05-15 17:36:39 +00:00
Ruchi Kandoi
8bc107b362 NFC: vts: Add commands to reset the NFC controller before other commands am: 209a274c31 am: cd825026ca
am: b5beef1765

Change-Id: I70dc4ec91c3ea52dec1bfddf6fc55634250b28fe
2017-05-15 17:27:27 +00:00
Ruchi Kandoi
b5beef1765 NFC: vts: Add commands to reset the NFC controller before other commands am: 209a274c31
am: cd825026ca

Change-Id: I743c32a2b475540ba9df2137d90415c11222ea7d
2017-05-15 17:20:24 +00:00
Ruchi Kandoi
cd825026ca NFC: vts: Add commands to reset the NFC controller before other commands
am: 209a274c31

Change-Id: I6d8cf3abf2dca69c984b313c593a01b282b23dd1
2017-05-15 17:17:55 +00:00
Ruchi Kandoi
209a274c31 NFC: vts: Add commands to reset the NFC controller before other commands
Bandwidth and WriteInvalidAndThenValidCommand test assumes that the NFC
controller will be initialized before the test. This is not necessarily
true for all devices. Send CORE_RESET_CMD and CORE_INIT_CMD before
creating a loop-back connection.

CORE_RESET_RSP doesn't necessary return the configuration that was sent
in CORE_RESET_CMD. For instance, if CORE_RESET_CMD requested keeping
the configuration, and if the controller doesn't support that, the
configuration will be resetted and CORE_RESET_RSP will reflect that.

Bug: 38267593
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
      --primary-abi-only --skip-preconditions
      --module VtsHalNfcV1_0Target -l INFO
Change-Id: I65ae9746054ca767b928bdd461faa02f03719aea
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2017-05-15 17:12:49 +00:00
Ram Mohan M
a558d9d5fd Omx vts tests.
Bug: 32023356
Test: make vts.

cover basic encoder & decoder test to all components

Till the previous commit, few components went untested.
This commit covers all softomx components.

Test: tested on softomx components

Change-Id: I4c996a3743a6190d9c6d4c835aa89daefdc14658

enumerate profile and level for encoder components

Change-Id: I4b9d3b3106d33a0241a7e36bd7189c1b3ef40ef0

bug fix: omx android compile as 32bit on 64bit platforms

thanks lajos

Change-Id: If11b20eeb6a75319f9e0cd6a62524dadab2ba8af

Add more VTS tests for IOmxStore and IOmxNode

Change-Id: I3401025b4f0b821f469222707c75b49fe4f0b0c5

avoid false flagging of errors

If testing of the given component is not supported application do not flag
an error, instead exit gracefully.

Change-Id: Ic91a92614d18b204cc50b7d8f6dc1a0ca81ff782

Add support for g711, gsm and raw audio decoder components

Change-Id: Ied70abdabb397a7a63e13293a8b35365a6b23e4f

split eos test

the eos test in decoders handles three different cases. These are now
separated in to different test fixtures.

Change-Id: I30c102109ce60a345f878d03d481337462fc817f

Change-Id: I3401025b4f0b821f469222707c75b49fe4f0b0c5
2017-05-14 14:55:57 -07:00
Kevin Rocard
fcf186bd59 Audio HAL VTS: Some methods are not optional
Some mandatory methods were allowed to return NOT_SUPPORTED
although their implementations is mandatory.

Test: vts-tradefed run vts --module VtsHalAudioV2_0Target
Test: call/play music/record/video...
Bug: 36311550
Change-Id: Ibe4b3cf73257309975ed11269a38315051fa9064
Signed-off-by: Kevin Rocard <krocard@google.com>
2017-05-12 16:02:30 -07:00
Steven Moreland
42fb6d9702 Merge "Update makefiles from anywhere." am: a24592b396 am: 1ad1c673db am: 40699c4d25
am: 62d4f7bd5d

Change-Id: I8ce6c7a937b28cb93c7bd6831a69042f18cce04a
2017-05-12 22:03:34 +00:00
Steven Moreland
62d4f7bd5d Merge "Update makefiles from anywhere." am: a24592b396 am: 1ad1c673db
am: 40699c4d25

Change-Id: I8ac3efdf6efa470fc21d301ecb2410ef22f85337
2017-05-12 21:55:18 +00:00