Commit graph

5207 commits

Author SHA1 Message Date
Ruchi Kandoi
ec553ff9a7 Merge "Nfc: Vts: modify WriteInvalidAndThenValidCommand" into oc-dev
am: 55f3ddf53b

Change-Id: I4a925e2c92572b20e85b8a6604d3af6e7f8f30ea
2017-06-19 16:39:05 +00:00
Ruchi Kandoi
55f3ddf53b Merge "Nfc: Vts: modify WriteInvalidAndThenValidCommand" into oc-dev 2017-06-19 16:33:35 +00:00
Jesse Hall
96a81c3347 Merge "Load the gralloc module at library load" into oc-dr1-dev 2017-06-16 22:45:38 +00:00
Ruchi Kandoi
36193658d2 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)
2017-06-16 12:53:45 -07:00
Yin-Chia Yeh
8bc10783a9 Merge "Camera: fix camera_metadata address expectation" into oc-dev
am: e812feb56f

Change-Id: Id3e433048cf25e8c50aa20e97dca6e3112f0fb57
2017-06-16 19:37:00 +00:00
TreeHugger Robot
e812feb56f Merge "Camera: fix camera_metadata address expectation" into oc-dev 2017-06-16 19:22:05 +00:00
Jesse Hall
33c08a53ac Load the gralloc module at library load
In the a.h.graphics.mapper default implementation, load the gralloc
module in a static constructor that runs when the library is loaded.
This causes Zygote to load the gralloc module and its dependencies
when it loads a.h.graphics.mapper, so that it doesn't have to be
loaded during each activity launch.

Bug: 62353585
Test: boot to launcher, run calculator, confirm gralloc library is in
      /proc/`pid zygote64`/maps

Change-Id: I56defd76b0ba0fba71dea48e2b0d338511563d1f
2017-06-16 00:48:36 +00:00
TreeHugger Robot
9424e9d541 Merge "[AWARE] Actually shut-down functionality when destroying NAN iface" into oc-dr1-dev 2017-06-16 00:04:36 +00:00
Ruchi Kandoi
ada528db46 Merge "Support NCI 2.0 for NFC VTS" into oc-dev
am: 5ed63181a9

Change-Id: I65cd9c3d9818871130eea5351f02d655bac44988
2017-06-15 23:06:12 +00:00
Ruchi Kandoi
5ed63181a9 Merge "Support NCI 2.0 for NFC VTS" into oc-dev 2017-06-15 22:59:24 +00:00
Yin-Chia Yeh
92d885b558 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
2017-06-15 14:27:13 -07:00
Etan Cohen
c4d9f87f66 [AWARE] Actually shut-down functionality when destroying NAN iface
Destroying the interface doesn't actually execute any functions on
the legacy HAL - i.e. on the HAL side. This may leave state around -
a problem when next "re-enabling" the interface as well as possibly
a power issue.

Add code to actually disable Aware and to destroy interfaces. There
is no need to check on current status since calls will simply fail
quietly if there's nothing to disable and nothing to destroy.

Bug: 62632805
Test: integration non-concurrence test cases NonConcurrencyTest
Change-Id: I11e5bd6f3ed47f6d709ff360c9f4adf5f40234a5
2017-06-15 08:59:51 -07:00
Janis Danisevskis
eb5a6056bc Merge "Purge unsupported RSA key sizes from VTS tests" into oc-dev
am: bc970b089f

Change-Id: Id5c16a9a8a2ff95e18254da4b8568d68e15e5834
2017-06-14 02:32:40 +00:00
TreeHugger Robot
bc970b089f Merge "Purge unsupported RSA key sizes from VTS tests" into oc-dev 2017-06-14 02:22:15 +00:00
Michael Butler
4294386d9b Merge "Fixed flaky RenderScript VTS Test" into oc-dev
am: d8e99f75cb

Change-Id: Ib8bc975063564100258bef9f805aff6e6832db56
2017-06-14 01:34:05 +00:00
TreeHugger Robot
d8e99f75cb Merge "Fixed flaky RenderScript VTS Test" into oc-dev 2017-06-14 01:26:29 +00:00
Janis Danisevskis
39daaa0f96 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
2017-06-13 13:30:15 -07:00
Chia-I Wu
1029762eef Merge "graphics: fix gralloc1 usage flags in default impl" into oc-dr1-dev 2017-06-13 16:21:12 +00:00
Michael Butler
64ac76b226 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 076f69aa2b)
2017-06-12 19:45:20 -07:00
Ruchi Kandoi
d695ccfa5d Support NCI 2.0 for NFC VTS
Bug: 62322170
Test: Run vts test
Change-Id: I7ed331dac9d5918675c091620f099b6250e20700
(cherry picked from commit ff8068d160)
2017-06-12 17:10:55 -07:00
Myles Watson
76f5c505bf Merge "Bluetooth: Call vendor cleanup() in Close()" into oc-dev
am: 32ee110269

Change-Id: I6e361c5cb186730ff25ff17d0418c9f01b944359
2017-06-12 22:59:29 +00:00
TreeHugger Robot
32ee110269 Merge "Bluetooth: Call vendor cleanup() in Close()" into oc-dev 2017-06-12 22:50:34 +00:00
Chia-I Wu
2d02d91f7f graphics: fix gralloc1 usage flags in default impl
BufferUsage::SENSOR_DIRECT_DATA should be filtered out for consumer
usage.  BufferUsage::GPU_DATA_BUFFER should be filtered out for
producer usage and be translated to
GRALLOC1_CONSUMER_USAGE_GPU_DATA_BUFFER for consumer usage.

Bug: 62491483
Test: boots
Change-Id: I171712adf45ae80dadeed7997fb9872ff176fa1a
2017-06-12 15:19:42 -07:00
Shuo Qian
7a5dad06bf Merge "Fix vts tests:" into oc-dev
am: 14b34e19d6  -s ours

Change-Id: I20b62dd5c93feb863ddfcb042aa55ff7020dccf0
2017-06-12 04:48:26 +00:00
Shuo Qian
14b34e19d6 Merge "Fix vts tests:" into oc-dev 2017-06-12 04:44:16 +00:00
Shuo Qian
8ee9a9f01e Merge "Fix vts tests:" into oc-dr1-dev 2017-06-12 03:41:01 +00:00
Ram Mohan M
9fe2d4c99d Increase Timeout for dequeue message
am: 4e39ff9235

Change-Id: Ia6fc966e66668b944c4a484ea413f0bc0982082f
2017-06-10 05:19:54 +00:00
Ram Mohan M
4e39ff9235 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
2017-06-09 20:08:13 -07:00
Ram Mohan M
0eb102a18b Merge "bug fix: fix encoder input port configuration issues" into oc-dev
am: 7d1592a732

Change-Id: I697e916574fc20e1bb9cad79d1e948854078f6bf
2017-06-10 01:28:44 +00:00
Ram Mohan M
4dc4fa7340 Merge "bug fix: configure input port format before setInputSurface" into oc-dev
am: bd5b6f8535

Change-Id: If5ee86d7d1203019b565743057c77baf1ffb96a8
2017-06-10 01:28:40 +00:00
Ram Mohan M
0113be3ac3 choose input color format between 420p, 420sp
am: 1d273b3bcf

Change-Id: I95ff1be5ec0e0f2b99a5fc21329b45b87a0f0077
2017-06-10 01:28:36 +00:00
TreeHugger Robot
7d1592a732 Merge "bug fix: fix encoder input port configuration issues" into oc-dev 2017-06-10 01:23:30 +00:00
TreeHugger Robot
bd5b6f8535 Merge "bug fix: configure input port format before setInputSurface" into oc-dev 2017-06-10 01:23:30 +00:00
sqian
a009cd5b03 Fix vts tests:
- setCdmaSubscriptionSource
- nvReadItem
- nvWriteItem
- nvWriteCdmaPrl
- getHardwareConfig
- sendEnvelope
- sendTerminalResponseToSim

Will update .hal file seperately.

Test: adb shell <vts_binary>
Bug: 35671595
Bug: 35800570
Change-Id: I651af50f122f37721778b1088df40fa6e12ac6e4
2017-06-09 18:01:29 -07:00
Myles Watson
5082bca12e Bluetooth: Call vendor cleanup() in Close()
Bug: 62453652
Test: sailfish and angler start/stop Bluetooth, pair
Change-Id: I8ba80ae1802d1f524acb1d8e26b5bb41fc1612d0
(cherry picked from commit 9eee83093f)
2017-06-09 15:39:26 -07:00
sqian
10a619ab6d 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
2017-06-09 14:47:24 -07:00
Ram Mohan M
1d273b3bcf choose input color format between 420p, 420sp
Test: VtsHalMediaOmxV1_0Host
Bug: 37501531
Change-Id: I5fc2f5c69ca545f2ca0b444ce89a8c970f2ff98e
2017-06-09 07:48:25 -07:00
Ram Mohan M
7e4b5758b7 Merge "AudioDec Test: Ignore output port configuration" into oc-dev
am: 11e9b588c4

Change-Id: Ic9b93340791209553374de705101a2e02aed4d09
2017-06-09 03:17:20 +00:00
Ram Mohan M
9c7ba7deaf Merge "VideoEnc Test: extend lockYCbCr() to hal yuv formats" into oc-dev
am: 452fe6aef2

Change-Id: I67002961c875a6caaa8f3ffde78ca68ded46471f
2017-06-09 03:17:16 +00:00
Ram Mohan M
7b106b9c5a Merge "Vts AudioDec Test: Disable EOSTest_M" into oc-dev
am: a12a573955

Change-Id: I90035e92beb470f7910f1f43cc203c4e84d43e29
2017-06-09 03:17:13 +00:00
TreeHugger Robot
11e9b588c4 Merge "AudioDec Test: Ignore output port configuration" into oc-dev 2017-06-09 03:12:08 +00:00
TreeHugger Robot
452fe6aef2 Merge "VideoEnc Test: extend lockYCbCr() to hal yuv formats" into oc-dev 2017-06-09 03:12:08 +00:00
TreeHugger Robot
a12a573955 Merge "Vts AudioDec Test: Disable EOSTest_M" into oc-dev 2017-06-09 03:12:08 +00:00
Shuo Qian
c1feed1128 Merge "Fix vts tests:" into oc-dev
am: dda2e8cdc2

Change-Id: I48640bc1b6225e39309f2832613986fce4a43754
2017-06-09 02:13:08 +00:00
Shuo Qian
dda2e8cdc2 Merge "Fix vts tests:" into oc-dev 2017-06-09 02:07:34 +00:00
TreeHugger Robot
40834bbf0e Merge "Use different versions for framework compatibility matrix" into oc-dr1-dev 2017-06-09 00:46:20 +00:00
Ram Mohan M
951c9212fb bug fix: configure input port format before setInputSurface
Test: VtsHalMediaOmxV1_0Host
Bug: 37501531
Change-Id: I7b48bf240a243b0b25c1c5e0f36c858b04271194
2017-06-08 16:13:22 -07:00
Ram Mohan M
79312c8aa2 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
2017-06-08 16:11:09 -07:00
Mikhail Naganov
8699602bf3 Merge "audiohal: Prevent logspam when calling get_presentation_position" into oc-dev
am: 80e9912183

Change-Id: I112ef606ce564c9cf53e67a2c84ded5e6958da88
2017-06-08 22:52:52 +00:00
TreeHugger Robot
80e9912183 Merge "audiohal: Prevent logspam when calling get_presentation_position" into oc-dev 2017-06-08 22:47:02 +00:00