Commit graph

3732 commits

Author SHA1 Message Date
TreeHugger Robot
93c7e13a12 Merge "Create present timestamp offset for SF" 2017-03-16 01:07:52 +00:00
Zach Johnson
1e0bf3a7e3 Merge "Fix MCT data transport for the BT HAL" am: a8dce86cd8 am: 346ee4e2c8
am: eff4007fb5

Change-Id: Id2542183f2de78fd2c2ebb2458f5dc98b6353ed2
2017-03-16 00:50:19 +00:00
Zach Johnson
eff4007fb5 Merge "Fix MCT data transport for the BT HAL" am: a8dce86cd8
am: 346ee4e2c8

Change-Id: I5343ae1cdbfe436a29e20b59ea038334f3ef8afe
2017-03-16 00:47:40 +00:00
Zach Johnson
346ee4e2c8 Merge "Fix MCT data transport for the BT HAL"
am: a8dce86cd8

Change-Id: I2f25b7caa0c1a40ed5dad2f7b955ffdc13ecba7e
2017-03-16 00:45:40 +00:00
Treehugger Robot
a8dce86cd8 Merge "Fix MCT data transport for the BT HAL" 2017-03-16 00:39:16 +00:00
Shuoq
59bac4dba3 Add initial target-side VTS tests for Data, Cell broadcast, STK, IMS radio
telephony apis.

Bug: 32022332
Test: vts
Change-Id: Iad55b40f7349bcb8e34ffd275088dce0626beddf
2017-03-15 23:13:24 +00:00
Jayachandran Chinnakkannu
222cf72efa Merge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS" am: 14b82de6b2 am: 2bc10e9066
am: 460da89426

Change-Id: Idce0f559b0351da4b27ac9a3c0f9eb7b52db03ab
2017-03-15 21:40:40 +00:00
Jayachandran Chinnakkannu
460da89426 Merge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS" am: 14b82de6b2
am: 2bc10e9066

Change-Id: I38880a45cd8e9807a76d64129c6b44050fcd2ce4
2017-03-15 21:38:02 +00:00
Fabien Sanglard
8d7e31ee6a Create present timestamp offset for SF
Change-Id: Ic6435cca06739f749c6041c0925ca235dcc7f51e
2017-03-15 14:33:52 -07:00
Jayachandran Chinnakkannu
2bc10e9066 Merge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS"
am: 14b82de6b2

Change-Id: I4e39842820113835bc57d0fdbe637030e2647d1e
2017-03-15 21:33:05 +00:00
Jayachandran Chinnakkannu
14b82de6b2 Merge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS" 2017-03-15 21:28:07 +00:00
Roshan Pius
ba62310d62 Merge "supplicant(vts): More tests" am: 864cae3795 am: f2bf393f6c
am: d5de01439b

Change-Id: Iedf9ad1393d971cb91c11c4b905d3e55ddbd0a41
2017-03-15 20:58:59 +00:00
TreeHugger Robot
52efd43eee Merge "Move IGraphicBufferProducer to graphics/bufferqueue." 2017-03-15 20:55:46 +00:00
Zach Johnson
fed25ad256 Fix MCT data transport for the BT HAL
The vendor open interface command returns the total number
of FDs opened. (2 or 4 if the interface is MCT)

However, the list of FDs is always 4 in either case. If the
open command returns 2, the FDs are shared cmd/event and
data in/out.

2 FDs example
[41, 41, 42, 42]

4 FDs example
[41, 42, 43, 44]

If we condition the registration of ACL_IN on the total
number of FDs, then 2 FD MCT interfaces will not get data.

Fixes: 36067612, 36035039, 36188793
Test: manual, pairing is quick and data does transfer
Change-Id: Icc8728239ba81426d5fc0e678c5c5480fd9b5081
2017-03-15 13:50:36 -07:00
Roshan Pius
d5de01439b Merge "supplicant(vts): More tests" am: 864cae3795
am: f2bf393f6c

Change-Id: I8e1ee5ce933d8406c7e43e1f3bb5b23d36756111
2017-03-15 20:50:30 +00:00
Roshan Pius
f2bf393f6c Merge "supplicant(vts): More tests"
am: 864cae3795

Change-Id: I5d18829e16075d243a782824bef24081ed973c90
2017-03-15 20:46:02 +00:00
Jeff Tinker
e5fbc46ef2 Fix CTS post submit failures
MediaCodecTest.android.media.cts.MediaCodecTest.testCryptoError
was failing due to incorrect error code translation introduced
by the drm hidl hal.

bug: 35137940
Change-Id: Ibd02425a55194f3cb0acc0e53f90b156023fb1ab
2017-03-15 20:35:37 +00:00
Roshan Pius
864cae3795 Merge "supplicant(vts): More tests" 2017-03-15 20:34:19 +00:00
Pawin Vongmasa
4a3cd13ddc Move IGraphicBufferProducer to graphics/bufferqueue.
Test: With CtsMediaTestCases.apk installed,
adb shell am instrument -e size small -w
'android.media.cts/android.support.test.runner.AndroidJUnitRunner'

Bug: 35442034
Change-Id: Ia1ef0eb069fcd97f7afcf42bf3bb16c8c6a752c4
2017-03-15 11:42:40 -07:00
Myles Watson
dc314a30ee Bluetooth: Don't disable LPM at power off am: 3b2a29676b am: 2fe40fdd3c
am: 535f43a380

Change-Id: I277adfa8063013545f016d5590161fd22b0fb189
2017-03-15 18:40:06 +00:00
Myles Watson
535f43a380 Bluetooth: Don't disable LPM at power off am: 3b2a29676b
am: 2fe40fdd3c

Change-Id: I41dd5394f1951770f8d6b2dc624a704ce8a6d893
2017-03-15 18:35:36 +00:00
TreeHugger Robot
360cad209a Merge changes from topic 'vts_camera_tests'
* changes:
  Camera: Check for transport errors during VTS
  Camera: Add Hal version 1 get-/setParameter tests
  Camera: Add Hal version 1 sendcommand tests
  Camera: Add Hal version 1 autofocus test cases
  Camera: Add Hal version 1 video recording test cases
  Camera: Add Hal version 1 image capture test cases
  Camera: Add device ver. 1 preview test cases
  Camera: Extend camera test cases for camera 1.0 devices
  Camera: Add flush test cases
  Camera: Enable and check for torch callbacks
2017-03-15 18:33:05 +00:00
Myles Watson
2fe40fdd3c Bluetooth: Don't disable LPM at power off
am: 3b2a29676b

Change-Id: I6e933061680088a4f675ed9b1557877393f3e65f
2017-03-15 18:30:42 +00:00
Pavel Maltsev
7005f9f643 Fix typo CELCIUS -> CELSIUS in Vehicle HAL
Test: typo in comments only.
Change-Id: I1610beb9cb44b3b50e9a86fcff41d3421c6ad849
2017-03-15 10:49:28 -07:00
Shubang Lu
08216a5777 Merge "Add a field for auto cable plugin detection in TV Input HAL" 2017-03-15 17:29:11 +00:00
Bryan Eyler
dca2095a8c Merge "Fix log format specifier." 2017-03-15 17:19:36 +00:00
Myles Watson
3b2a29676b Bluetooth: Don't disable LPM at power off
The power mode should be unimportant if power off succeeds.

Test: Switch users (Toggles Bluetooth under CPU load)
Bug: 36026072
Change-Id: I09fafe4d4f9a466a7e12e617925f98ef3805c738
2017-03-15 16:01:46 +00:00
Etan Cohen
76bcd12d73 Merge "[AWARE] Separate Aware (NAN) VTS tests into a separate test binary." am: 16ae0c8f86 am: 4623343ed4
am: 5f8eac9d15

Change-Id: I100b80d40658f1a6932faeebc3ca1785b3081499
2017-03-15 15:02:21 +00:00
Etan Cohen
5f8eac9d15 Merge "[AWARE] Separate Aware (NAN) VTS tests into a separate test binary." am: 16ae0c8f86
am: 4623343ed4

Change-Id: Icfc4eb32b0d5b52c0f918a2274c1ffecab74b0ec
2017-03-15 14:56:20 +00:00
Etan Cohen
4623343ed4 Merge "[AWARE] Separate Aware (NAN) VTS tests into a separate test binary."
am: 16ae0c8f86

Change-Id: Ib18f8ad75e9e8dc687e755da705314b3e924599f
2017-03-15 14:50:52 +00:00
Etan Cohen
16ae0c8f86 Merge "[AWARE] Separate Aware (NAN) VTS tests into a separate test binary." 2017-03-15 14:42:46 +00:00
Courtney Goeltzenleuchter
a3023d9b44 Update Display-P3 transfer function
Decided to use same transfer function that Apple is
using for their Display-P3 devices. Difference between
sRGB transfer function and Display-P3 is very small.
We will treat them an synonymous.

Test: make

Change-Id: Id4e52058f2b810b70c46821c5fe6830e623c5491
2017-03-15 08:11:25 -06:00
Courtney Goeltzenleuchter
3670b44926 configstore: Add display configuration items
This adds to configstore@1.0 HAL two new configuration
items that indicate if the display support WideColor
or HDR.
Configuration is controlled by TARGET_HAS_WIDE_COLOR_DISPLAY
and TARGET_HAS_HDR_DISPLAY in the board config file.

Test: make tests in libs/gui/tests/
Test: adb sync
Test: adb shell /data/nativetest/libgui_test/libgui_test

Change-Id: I442febc602851577c470c038a7fbf056c8ed25a7
2017-03-15 08:11:25 -06:00
Emilian Peev
afc6723e86 Camera: Check for transport errors during VTS
- Check for transport errors during IPC calls.
- Some code clean up and refactoring.

BUG: 32022758
Test: compile and run the gtest binary on device
Change-Id: I71f96704f82db629d1982997940d8d1b7525ffea
2017-03-15 08:36:27 +00:00
Emilian Peev
ff8da298b9 Camera: Add Hal version 1 get-/setParameter tests
Tests are required for checking the basic camera parameters
functionality.

BUG: 32022758
Test: compile and run the gtest binary on device
Change-Id: I5725fef0bb4f5ac08ecae94def5cae66a640409a
2017-03-15 08:36:27 +00:00
Emilian Peev
9c8c26965b Camera: Add Hal version 1 sendcommand tests
Tests are needed for verifying 'sendCommand' API call.
Several new test cases will be available:
"sendCommandFaceDetection" - This will check whether face detection is
available and try to enable&disable it.
"sendCommandSmoothZoom" - Will try to verify whether smooth zoom can
be enabled&disabled in case the camera supports it.

BUG: 32022758
Test: compile and run the gtest binary on device
Change-Id: Ib56f363126907f24b1af04187b093aa6c8e8ac99
2017-03-15 08:36:27 +00:00
Emilian Peev
5a81965a10 Camera: Add Hal version 1 autofocus test cases
Tests should be available for autofocus verification. The new
cases include:
"autoFocus" - Check whether the camera supports autofocus. In case
 auto is supported it will continue and test all available modes that
allow 'autoFocus' calls.
"cancelAutoFocus" - In case auto is supported, the test will trigger
full AF scan and cancel it immediately.
'CameraParameters' functionality is also required and should be included.

BUG: 32022758
Test: compile and run the gtest binary on device
Change-Id: I3bef25c5fdb6bbfa87517e6d255e4e6e01544d7d
2017-03-15 08:36:21 +00:00
TreeHugger Robot
ef92f74a55 Merge "Add VTS tests for audio effects" 2017-03-15 02:03:00 +00:00
Roshan Pius
de5aa0b759 Merge "wifi(implementation): Make a boolean flag atomic" am: 5bdf7a0ef7 am: bdbc4162e3
am: 6a37a04653

Change-Id: Iee147c099291a004930a41691b71ad0aedd42241
2017-03-15 01:28:17 +00:00
Roshan Pius
6a37a04653 Merge "wifi(implementation): Make a boolean flag atomic" am: 5bdf7a0ef7
am: bdbc4162e3

Change-Id: Ifafb945391cf9cec56e9ed5ed884dd74db6f6f84
2017-03-15 01:23:16 +00:00
Roshan Pius
bdbc4162e3 Merge "wifi(implementation): Make a boolean flag atomic"
am: 5bdf7a0ef7

Change-Id: Ibe597faf04c91cb437cb95faf96cae8713802ea8
2017-03-15 01:18:44 +00:00
Etan Cohen
a49579b43a [AWARE] Separate Aware (NAN) VTS tests into a separate test binary.
Aware (NAN) VTS need to be in a separate test binary since whether
they run depends on the feature being supported by the device.

Bug: 36003265
Test: confirms separate binary built
Change-Id: If237e21e72a7c65f5587e40d98acb3146eae45a1
2017-03-15 01:14:13 +00:00
Treehugger Robot
5bdf7a0ef7 Merge "wifi(implementation): Make a boolean flag atomic" 2017-03-15 01:13:46 +00:00
Mikhail Naganov
9f2890458a Add VTS tests for audio effects
Added tests covering IEffect, IEqualizerEffect, and
ILoudnessEnhancer interfaces.

Minor corrections in the interface definitions and implementations:

 - fixed descriptions and @callflow annotations in IEffect;

 - fixed type used for band levels in IEqualizerEffect;

 - fixed specification of frequencies in IEqualizerEffect;

 - fixed some bugs in previously non-execrices Effects code;

 - warning messages changed to error messages.

Test: this is a test
Bug: 32022706
Change-Id: I0e0bc111b07d944ad8a0321e8b1ec703f8d1a73e
2017-03-14 17:25:17 -07:00
Jayachandran C
fbb1ea5a2e Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS
Updated documentation for INTERNAL_ERR & MODEM_ERR

Bug: 34102797
Change-Id: Ic3bf0c987dcb7dc04ab086aeb185c307685c0485
2017-03-14 16:53:09 -07:00
TreeHugger Robot
1cbc13cb44 Merge "Create configStore SF useContextPriority" 2017-03-14 23:52:06 +00:00
TreeHugger Robot
30666ba2c6 Merge "Move camera hal imp to vendor partition" 2017-03-14 23:47:32 +00:00
Hridya Valsaraju
af81f21044 Merge "Move FMQ benchmark/test services to hardware/interfaces" am: 178250d254 am: c35f1e7bc1
am: add0d3c8b8

Change-Id: I002bb4119971877061921bb260238c6dc2568fca
2017-03-14 22:22:52 +00:00
Hridya Valsaraju
add0d3c8b8 Merge "Move FMQ benchmark/test services to hardware/interfaces" am: 178250d254
am: c35f1e7bc1

Change-Id: I7bb5aa7967d439ad3021b4bf4f79f5b4a4f1acf9
2017-03-14 22:15:22 +00:00
Hridya Valsaraju
c35f1e7bc1 Merge "Move FMQ benchmark/test services to hardware/interfaces"
am: 178250d254

Change-Id: I29e411c3c53fd608ea21a0fc136eb0eb1ec8e1a4
2017-03-14 22:10:54 +00:00