Commit Graph

4866 Commits

Author SHA1 Message Date
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
Zhuoyao Zhang
1d619f743d Merge "Omx vts tests." into oc-dev 2017-05-15 23:10:37 +00: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
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
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
Steven Moreland
40699c4d25 Merge "Update makefiles from anywhere." am: a24592b396
am: 1ad1c673db

Change-Id: I40076615df8cd0b520f19c496e5d8ee8de5f6094
2017-05-12 21:49:39 +00:00
Steven Moreland
1ad1c673db Merge "Update makefiles from anywhere."
am: a24592b396

Change-Id: I48f496f85a7da83e4506634ee9b90792471fac6c
2017-05-12 21:43:29 +00:00
Steven Moreland
a24592b396 Merge "Update makefiles from anywhere." 2017-05-12 21:33:38 +00:00
Ying Xu
6ab125c7e5 Merge "Add the new RIL requests to start/stop network scan" 2017-05-12 20:56:40 +00:00
Chia-I Wu
2c3a6cd3cd Merge "graphics: set maxThreads to 4 for the composer" into oc-dev am: 15e33c6d17
am: b8b218b88b

Change-Id: Icb85078986c8453498c1ef2ee5dbb5c58f7fc6a0
2017-05-12 20:02:37 +00:00
Chia-I Wu
b8b218b88b Merge "graphics: set maxThreads to 4 for the composer" into oc-dev
am: 15e33c6d17

Change-Id: I4e5c759f467d6085e9dc1d57ca65db0273343eef
2017-05-12 19:59:18 +00:00
Chia-I Wu
15e33c6d17 Merge "graphics: set maxThreads to 4 for the composer" into oc-dev 2017-05-12 19:50:57 +00:00
TreeHugger Robot
060e3c72b4 Merge "Eliminate redundant #includes and a missing one" 2017-05-12 19:24:57 +00:00
TreeHugger Robot
95c62992c0 Merge "Add evs and vehicle hal to compatibility matrix" 2017-05-12 18:29:13 +00:00
Myles Watson
eb4bbc7933 Merge "Bluetooth: Add a second thread for the scheduler" am: 2709c56ad5 am: 31f6040908 am: f56e2909f9
am: 79e7dd9fca

Change-Id: I084dcfb0470131348ac7c6dfea3e1c1430e74b74
2017-05-12 18:23:54 +00:00
Myles Watson
79e7dd9fca Merge "Bluetooth: Add a second thread for the scheduler" am: 2709c56ad5 am: 31f6040908
am: f56e2909f9

Change-Id: Icd6191fb8f079126c1a4991683d9ee6b1015f18c
2017-05-12 18:15:30 +00:00
Myles Watson
ebce2c3822 Bluetooth: Add a second thread for the scheduler am: 33f36706d0
am: 6c4020d1d0

Change-Id: If5d7a2cbd6a32f6675c3b7c85abacc4170c2bf59
2017-05-12 18:13:55 +00:00
Myles Watson
f56e2909f9 Merge "Bluetooth: Add a second thread for the scheduler" am: 2709c56ad5
am: 31f6040908

Change-Id: I4fb1e8f7a8d011b4c1cb59245dce5c9d20a05b2d
2017-05-12 18:10:27 +00:00
Myles Watson
31f6040908 Merge "Bluetooth: Add a second thread for the scheduler"
am: 2709c56ad5

Change-Id: I0375940ba054d6b12d00957e96e0de860625c273
2017-05-12 18:08:28 +00:00
Treehugger Robot
2709c56ad5 Merge "Bluetooth: Add a second thread for the scheduler" 2017-05-12 18:03:56 +00:00
Myles Watson
6c4020d1d0 Bluetooth: Add a second thread for the scheduler
am: 33f36706d0

Change-Id: I4730416f799b0947690d4a4544be41bfed191afb
2017-05-12 18:01:57 +00:00
Chia-I Wu
ec71f00148 graphics: set maxThreads to 4 for the composer
There are implmentations that can dead lock when calling certain
functions in certain states.  It works fine before HIDL because
SurfaceFlinger calls those functions in another thread.  We allow
for 4 hwbinder threads in this commit to simulate how SurfaceFlinger
calls hwcomposer.

Bug: 38183197
Test: camera, videos, multi windows, screencap, screenrecord
Change-Id: Ie05b2ca349b8c1ed9a3ac962981434f2efee92d9
2017-05-12 08:40:48 -07:00
Kevin Rocard
38f4c6dff3 Merge changes from topic 'audio-primary-hal-vts-fix' into oc-dev am: 257c2f1a43
am: c8e1b1dadc

Change-Id: Ifb57505618923484ea469dcbf117f90d2cdd1f4b
2017-05-12 09:08:46 +00:00
Jaesoo Lee
e4b2eba30b configstore: include types.h instead of ISurfaceFlingerConfigs.h am: 92c77bd6e7 am: 4b1848247f am: d21a105380
am: 4c15eccb92

Change-Id: I99d8db9341bc683d87dea0149e46267587abf0c9
2017-05-12 09:08:21 +00:00
Kevin Rocard
c8e1b1dadc Merge changes from topic 'audio-primary-hal-vts-fix' into oc-dev
am: 257c2f1a43

Change-Id: Ic8850d915b5672e7529f99e7d57845b2de44857a
2017-05-12 06:57:47 +00:00
Jaesoo Lee
4c15eccb92 configstore: include types.h instead of ISurfaceFlingerConfigs.h am: 92c77bd6e7 am: 4b1848247f
am: d21a105380

Change-Id: I1a674bd0827b0dccdb01fded168cf3122de81afa
2017-05-12 05:16:36 +00:00
Jaesoo Lee
d21a105380 configstore: include types.h instead of ISurfaceFlingerConfigs.h am: 92c77bd6e7
am: 4b1848247f

Change-Id: I7563d66174d3fd5c6c7a35389bb5d5ed78c7ac3c
2017-05-12 05:12:35 +00:00
Jaesoo Lee
4b1848247f configstore: include types.h instead of ISurfaceFlingerConfigs.h
am: 92c77bd6e7

Change-Id: I2782872f927b8fa9a0cc1da877d0f1cac3680150
2017-05-12 05:10:34 +00:00
Scott Randolph
3446440623 Eliminate redundant #includes and a missing one
Minor cleanup that fell out of a debugging effort.
Test:  Build and run vehicle hal on gordon peak

Change-Id: I29bcb74f3eac96df303139b2717b06c8dfedb839
2017-05-11 17:43:14 -07:00
Myles Watson
33f36706d0 Bluetooth: Add a second thread for the scheduler
Test: service call bluetooth_manager 6 # (Stop Bluetooth)
      /data/nativetest64/VtsHalBluetoothV1_0TargetTest/\
          VtsHalBluetoothV1_0TargetTest
Bug: 38178265, 34461621
Change-Id: Ia8f6683ca47c9deac43d1047846caee5688f1eca
(cherry picked from commit 74c601361c)
2017-05-11 17:28:06 -07:00
yinxu
b187e9f95e Add the new RIL requests to start/stop network scan
The CL defines the RIL API including the methods and structs which will
be used start and stop the network scan.

Test: Telephony Sanity Test
Bug: 30954762

Change-Id: I18462bf4aa5e8a9497d5eb214d905e4e7c827a04
2017-05-11 17:09:26 -07:00
Myles Watson
74c601361c Bluetooth: Add a second thread for the scheduler
Test: service call bluetooth_manager 6 # (Stop Bluetooth)
      /data/nativetest64/VtsHalBluetoothV1_0TargetTest/\
          VtsHalBluetoothV1_0TargetTest
Bug: 38178265, 34461621
Change-Id: Ia8f6683ca47c9deac43d1047846caee5688f1eca
2017-05-11 16:57:01 -07:00
Steven Moreland
8e91873df3 Update makefiles from anywhere.
Test: with update-all-google-makefiles.sh
Change-Id: I373e270b481d9074f440c3c0826199a207e654f7
2017-05-11 15:42:32 -07:00
Kevin Rocard
257c2f1a43 Merge changes from topic 'audio-primary-hal-vts-fix' into oc-dev
* changes:
  Audio HAL: A volume/gain outside of [0,1] is an error
  Audio HAL VTS: Log test unexpected behaviour
  Audio HAL VTS: Improve ASSERT of Result and Return
  Audio HAL VTS: stopped stream state getters may return INVALID_STATE
  Audio HAL VTS: setGain allow -0.0
  Audio HAL VTS: Some methods are optional
  Audio HAL VTS: GetPresentationPosition may return 0 on stop stream
  Audio HAL VTS: getDevice() == NONE => not supported
  Audio HAL VTS: Getter test assert logic was incorrect
  Audio HAL VTS: debugDump can only test for crash
  Audio HAL VTS: Sanitize prepareFor{Writing,Reading} input size
  Audio HAL VTS: refactor prepareFor{Reading,Writing}
  Audio HAL VTS: Sanitize setMode input
  Audio HAL VTS: Allow OK when setting a non existing parameter
  Audio HAL VTS: differentiate getParam success/failure/not_implemented
  Audio HAL VTS: Fix style on modified files
2017-05-11 22:34:40 +00:00
Scott Randolph
005d9767f8 Add evs and vehicle hal to compatibility matrix
Test:  none
Change-Id: I61dcc985d1d4dde4b4b53e36b0de1d4dcff8d3f4
2017-05-11 10:16:12 -07:00
Steven Moreland
eaebef21f0 Fix side branch build breakage.
Some branch is complaining:
error: undefined reference to 'android::hardware::power::V1_0::IPower::unlinkToDeath(android::sp<android::hardware::hidl_death_recipient> const&)'

Test: N/A
Test: works on master branch
Change-Id: Ifbd47fd47312e02e25eb326f374c71c7dceb2944
2017-05-11 09:16:25 -07:00
Steven Moreland
431de3ae0a Merge changes from topic 'fix-hidl-generate' into oc-dev am: 4be51a8512 -s ours
am: da36690e9b  -s ours

Change-Id: I2a0776d045cca8967c29643b4d3b4507f88384a9
2017-05-11 01:46:22 +00:00
Steven Moreland
d1de25c372 Update makefiles for c++-sources and c++-headers. am: 8716f3063e -s ours
am: 2b6a9e2213  -s ours

Change-Id: I9337dd2e4686519c9e955ccf685073ef4640ff85
2017-05-11 01:38:23 +00:00