OSDN Git Service
Jayachandran Chinnakkannu [Wed, 15 Mar 2017 21:40:40 +0000 (21:40 +0000)]
Merge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS" am:
14b82de6b2 am:
2bc10e9066
am:
460da89426
Change-Id: Idce0f559b0351da4b27ac9a3c0f9eb7b52db03ab
Jayachandran Chinnakkannu [Wed, 15 Mar 2017 21:38:02 +0000 (21:38 +0000)]
Merge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS" am:
14b82de6b2
am:
2bc10e9066
Change-Id: I38880a45cd8e9807a76d64129c6b44050fcd2ce4
Jayachandran Chinnakkannu [Wed, 15 Mar 2017 21:33:05 +0000 (21:33 +0000)]
Merge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS"
am:
14b82de6b2
Change-Id: I4e39842820113835bc57d0fdbe637030e2647d1e
Jayachandran Chinnakkannu [Wed, 15 Mar 2017 21:28:06 +0000 (21:28 +0000)]
Merge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS"
Roshan Pius [Wed, 15 Mar 2017 20:58:59 +0000 (20:58 +0000)]
Merge "supplicant(vts): More tests" am:
864cae3795 am:
f2bf393f6c
am:
d5de01439b
Change-Id: Iedf9ad1393d971cb91c11c4b905d3e55ddbd0a41
TreeHugger Robot [Wed, 15 Mar 2017 20:55:40 +0000 (20:55 +0000)]
Merge "Move IGraphicBufferProducer to graphics/bufferqueue."
Roshan Pius [Wed, 15 Mar 2017 20:50:30 +0000 (20:50 +0000)]
Merge "supplicant(vts): More tests" am:
864cae3795
am:
f2bf393f6c
Change-Id: I8e1ee5ce933d8406c7e43e1f3bb5b23d36756111
Roshan Pius [Wed, 15 Mar 2017 20:46:02 +0000 (20:46 +0000)]
Merge "supplicant(vts): More tests"
am:
864cae3795
Change-Id: I5d18829e16075d243a782824bef24081ed973c90
Roshan Pius [Wed, 15 Mar 2017 20:34:18 +0000 (20:34 +0000)]
Merge "supplicant(vts): More tests"
Pawin Vongmasa [Mon, 6 Mar 2017 23:09:19 +0000 (15:09 -0800)]
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
Myles Watson [Wed, 15 Mar 2017 18:40:06 +0000 (18:40 +0000)]
Bluetooth: Don't disable LPM at power off am:
3b2a29676b am:
2fe40fdd3c
am:
535f43a380
Change-Id: I277adfa8063013545f016d5590161fd22b0fb189
Myles Watson [Wed, 15 Mar 2017 18:35:36 +0000 (18:35 +0000)]
Bluetooth: Don't disable LPM at power off am:
3b2a29676b
am:
2fe40fdd3c
Change-Id: I41dd5394f1951770f8d6b2dc624a704ce8a6d893
TreeHugger Robot [Wed, 15 Mar 2017 18:33:04 +0000 (18:33 +0000)]
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
Myles Watson [Wed, 15 Mar 2017 18:30:42 +0000 (18:30 +0000)]
Bluetooth: Don't disable LPM at power off
am:
3b2a29676b
Change-Id: I6e933061680088a4f675ed9b1557877393f3e65f
Shubang Lu [Wed, 15 Mar 2017 17:29:08 +0000 (17:29 +0000)]
Merge "Add a field for auto cable plugin detection in TV Input HAL"
Bryan Eyler [Wed, 15 Mar 2017 17:19:36 +0000 (17:19 +0000)]
Merge "Fix log format specifier."
Myles Watson [Wed, 15 Mar 2017 13:28:09 +0000 (06:28 -0700)]
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
Etan Cohen [Wed, 15 Mar 2017 15:02:21 +0000 (15:02 +0000)]
Merge "[AWARE] Separate Aware (NAN) VTS tests into a separate test binary." am:
16ae0c8f86 am:
4623343ed4
am:
5f8eac9d15
Change-Id: I100b80d40658f1a6932faeebc3ca1785b3081499
Etan Cohen [Wed, 15 Mar 2017 14:56:20 +0000 (14:56 +0000)]
Merge "[AWARE] Separate Aware (NAN) VTS tests into a separate test binary." am:
16ae0c8f86
am:
4623343ed4
Change-Id: Icfc4eb32b0d5b52c0f918a2274c1ffecab74b0ec
Etan Cohen [Wed, 15 Mar 2017 14:50:52 +0000 (14:50 +0000)]
Merge "[AWARE] Separate Aware (NAN) VTS tests into a separate test binary."
am:
16ae0c8f86
Change-Id: Ib18f8ad75e9e8dc687e755da705314b3e924599f
Etan Cohen [Wed, 15 Mar 2017 14:42:44 +0000 (14:42 +0000)]
Merge "[AWARE] Separate Aware (NAN) VTS tests into a separate test binary."
Courtney Goeltzenleuchter [Tue, 14 Mar 2017 21:09:30 +0000 (15:09 -0600)]
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
Courtney Goeltzenleuchter [Thu, 9 Mar 2017 16:04:29 +0000 (09:04 -0700)]
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
Emilian Peev [Fri, 10 Mar 2017 12:34:44 +0000 (12:34 +0000)]
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
Emilian Peev [Fri, 10 Mar 2017 14:46:00 +0000 (14:46 +0000)]
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
Emilian Peev [Fri, 10 Mar 2017 13:24:53 +0000 (13:24 +0000)]
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
Emilian Peev [Thu, 9 Mar 2017 17:15:28 +0000 (17:15 +0000)]
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
TreeHugger Robot [Wed, 15 Mar 2017 02:02:59 +0000 (02:02 +0000)]
Merge "Add VTS tests for audio effects"
Roshan Pius [Wed, 15 Mar 2017 01:28:17 +0000 (01:28 +0000)]
Merge "wifi(implementation): Make a boolean flag atomic" am:
5bdf7a0ef7 am:
bdbc4162e3
am:
6a37a04653
Change-Id: Iee147c099291a004930a41691b71ad0aedd42241
Roshan Pius [Wed, 15 Mar 2017 01:23:16 +0000 (01:23 +0000)]
Merge "wifi(implementation): Make a boolean flag atomic" am:
5bdf7a0ef7
am:
bdbc4162e3
Change-Id: Ifafb945391cf9cec56e9ed5ed884dd74db6f6f84
Roshan Pius [Wed, 15 Mar 2017 01:18:44 +0000 (01:18 +0000)]
Merge "wifi(implementation): Make a boolean flag atomic"
am:
5bdf7a0ef7
Change-Id: Ibe597faf04c91cb437cb95faf96cae8713802ea8
Etan Cohen [Fri, 10 Mar 2017 18:43:31 +0000 (10:43 -0800)]
[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
Treehugger Robot [Wed, 15 Mar 2017 01:13:46 +0000 (01:13 +0000)]
Merge "wifi(implementation): Make a boolean flag atomic"
Mikhail Naganov [Thu, 23 Feb 2017 16:39:36 +0000 (08:39 -0800)]
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
Jayachandran C [Tue, 14 Mar 2017 02:23:52 +0000 (19:23 -0700)]
Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS
Updated documentation for INTERNAL_ERR & MODEM_ERR
Bug:
34102797
Change-Id: Ic3bf0c987dcb7dc04ab086aeb185c307685c0485
TreeHugger Robot [Tue, 14 Mar 2017 23:52:05 +0000 (23:52 +0000)]
Merge "Create configStore SF useContextPriority"
TreeHugger Robot [Tue, 14 Mar 2017 23:47:30 +0000 (23:47 +0000)]
Merge "Move camera hal imp to vendor partition"
Hridya Valsaraju [Tue, 14 Mar 2017 22:22:52 +0000 (22:22 +0000)]
Merge "Move FMQ benchmark/test services to hardware/interfaces" am:
178250d254 am:
c35f1e7bc1
am:
add0d3c8b8
Change-Id: I002bb4119971877061921bb260238c6dc2568fca
Hridya Valsaraju [Tue, 14 Mar 2017 22:15:22 +0000 (22:15 +0000)]
Merge "Move FMQ benchmark/test services to hardware/interfaces" am:
178250d254
am:
c35f1e7bc1
Change-Id: I7bb5aa7967d439ad3021b4bf4f79f5b4a4f1acf9
Hridya Valsaraju [Tue, 14 Mar 2017 22:10:54 +0000 (22:10 +0000)]
Merge "Move FMQ benchmark/test services to hardware/interfaces"
am:
178250d254
Change-Id: I29e411c3c53fd608ea21a0fc136eb0eb1ec8e1a4
Treehugger Robot [Tue, 14 Mar 2017 22:02:00 +0000 (22:02 +0000)]
Merge "Move FMQ benchmark/test services to hardware/interfaces"
Roshan Pius [Tue, 14 Mar 2017 20:07:18 +0000 (20:07 +0000)]
Merge "wifi: Add support for multiple radio stats" am:
c0fbd8fe63 am:
eaf6ed41dd
am:
0f93903c7c
Change-Id: If535abd69fa2e81f96943a526975d5462bdaa41a
Kevin Rocard [Tue, 14 Mar 2017 20:02:52 +0000 (20:02 +0000)]
Merge changes Id207ae31,Ib18c6d2e,I4af19080,I03686e55,Iea1d7d22, ...
* changes:
Audio HAL VTS: Add tests for IStreamIn
Audio HAL VTS: Add at least negative tests for IStream
Audio HAL VTS: Test IStream::debugDump
Audio HAL VTS: Split big test for better traceability
Audio hal VTS: pretty print AudioDevice and ChannelMask
Audio Hal VTS: Refactor ASSERT_RESULT helper
Audio hal VTS: generate names for parametrized tests
Audio hal VTS: factorize master volume test
Fix potentiel deadlock in audio VTS
Roshan Pius [Tue, 14 Mar 2017 20:01:45 +0000 (20:01 +0000)]
Merge "wifi: Add support for multiple radio stats" am:
c0fbd8fe63
am:
eaf6ed41dd
Change-Id: I17c637a274c26a28cf4331a7722c8a7c5bf26022
Roshan Pius [Tue, 14 Mar 2017 19:57:45 +0000 (19:57 +0000)]
Merge "wifi: Add support for multiple radio stats"
am:
c0fbd8fe63
Change-Id: Icca33f2745c8297d1f413e651fbf7506fc0521f6
Roshan Pius [Tue, 14 Mar 2017 19:53:44 +0000 (19:53 +0000)]
Merge "wifi: Add support for multiple radio stats"
Emilian Peev [Wed, 8 Mar 2017 19:35:40 +0000 (19:35 +0000)]
Camera: Add Hal version 1 video recording test cases
Tests involving Hal version 1 video recording APIs are
required. Several cases will be available:
- 'startStopRecording' - Verifies basic video recording
functionality. Metadata support will be tested if available.
- 'startRecordingFail' - Checks that recording can be enabled
only after preview starts.
Bug:
32022758
Test: compile and run the gtest binary on device
Change-Id: Id9dd8d3a554a1aa3bbbae9b836e4d14da5c4446b
Bryan Eyler [Tue, 14 Mar 2017 18:13:46 +0000 (11:13 -0700)]
Fix log format specifier.
size() returns size_t.
Change-Id: I015b407e26e2be9933558e9f8e2f6c02eba6568a
Fabien Sanglard [Mon, 13 Mar 2017 20:03:04 +0000 (13:03 -0700)]
Create configStore SF useContextPriority
Change-Id: I154604428488a5824f6aadd4a6b43a72b327e280
Roshan Pius [Fri, 16 Dec 2016 19:10:01 +0000 (11:10 -0800)]
supplicant(vts): More tests
These tests just invoke the HIDL interface API's and ensure
that they succeed or not. Some of these API's (especially P2P) need
multi device testing (AP, Peer) to ensure that they work.
Bug:
33457575
Test: adb shell /data/supplicant_hidl_test
Change-Id: Ibf547b5ed95895c429c8bcb59e4c43b3b436338f
Kevin Rocard [Sat, 11 Mar 2017 02:47:37 +0000 (18:47 -0800)]
Audio HAL VTS: Add tests for IStreamIn
For now most tests are negative.
Test: run test on board
Bug:
34170075
Change-Id: Id207ae310e0fa5a3ab4db49122249594cd2c2703
Signed-off-by: Kevin Rocard <krocard@google.com>
Kevin Rocard [Sat, 11 Mar 2017 02:47:37 +0000 (18:47 -0800)]
Audio HAL VTS: Add at least negative tests for IStream
Add negative test for the remaining methods of IStream
and positive one for most.
Test: run test on board
Bug:
34170075
Change-Id: Ib18c6d2e4d0a14ee4517f31319ddecf5e23ac8de
Signed-off-by: Kevin Rocard <krocard@google.com>
Kevin Rocard [Mon, 13 Mar 2017 19:20:54 +0000 (12:20 -0700)]
Audio HAL VTS: Test IStream::debugDump
Test: run it on target
Bug:
34170075
Change-Id: I4af190806f79e0c03b59e1cd60b6f58a08b05322
Signed-off-by: Kevin Rocard <krocard@google.com>
Kevin Rocard [Sat, 11 Mar 2017 02:37:46 +0000 (18:37 -0800)]
Audio HAL VTS: Split big test for better traceability
As some part of this big test were failing, it was difficult to actually
track on the dashboard what was wrong.
Split it in small independent equivalent tests.
Test: mm & run on target
Bug:
34170075
Change-Id: I03686e55ec112f0f0c0ef2683c5dc1ae79ff8d5e
Signed-off-by: Kevin Rocard <krocard@google.com>
Kevin Rocard [Sat, 11 Mar 2017 01:42:46 +0000 (17:42 -0800)]
Audio hal VTS: pretty print AudioDevice and ChannelMask
This eases the debuging of failing tests.
Also print hex value of the enums as well of their literal values.
Test: run the test on target
Bug:
34170075
Change-Id: Iea1d7d2269e0e5b413240aaa905daae755846e74
Signed-off-by: Kevin Rocard <krocard@google.com>
Kevin Rocard [Sat, 11 Mar 2017 01:10:43 +0000 (17:10 -0800)]
Audio Hal VTS: Refactor ASSERT_RESULT helper
ASSERT_INVALID_ARGUMENTS was a macro that asserted that a given Result
or Return contained INVALID_ARGUMENT. The problem was that a result can
have lots of other values like INVALID_STATE or NOT_SUPPORTED.
Additionally not all test expect only one possible result.
Introduce two overload of ASSERT_RESULT()
The first one takes an expected Result value and compare it to the
obtained one.
The second take a list and expect the obtained one to be in this list.
Test: run the test on target
Bug:
34170075
Change-Id: I798729f27f723c98292610bfb43dbdb2724ec2ca
Signed-off-by: Kevin Rocard <krocard@google.com>
Roshan Pius [Tue, 14 Mar 2017 15:30:45 +0000 (08:30 -0700)]
wifi(implementation): Make a boolean flag atomic
The flag |awaiting_event_loop_termination_| is accessed by multiple
threads, so make it atomic.
Bug:
33552618
Test: Compiles
Change-Id: I5ebe27fe88672565aae0daf34a89616d36f35f90
Jaesoo Lee [Tue, 14 Mar 2017 06:59:40 +0000 (06:59 +0000)]
Merge changes from topic 'configstore' am:
e3a0c607cd am:
fb64badb3e
am:
e0ca61a6be -s ours
Change-Id: I12c920d8b2e1a1734c822d3badc4195dee82bcfc
Jaesoo Lee [Tue, 14 Mar 2017 06:59:37 +0000 (06:59 +0000)]
configstore: add new configuration item am:
cb71410f16 am:
35ad8cf50d
am:
4b7759c251 -s ours
Change-Id: Ieb5e5416a3eecd1fde02cc3caaabeb95c1d8a7c8
Jaesoo Lee [Tue, 14 Mar 2017 06:59:34 +0000 (06:59 +0000)]
configstore: add utility library functions for configstore am:
ad54c30863 am:
71e1808de8
am:
20a8fde005 -s ours
Change-Id: I072c59bd3c543ea6fb3cb9cc26d6c24e6ed47914
Jiyong Park [Tue, 14 Mar 2017 06:59:31 +0000 (06:59 +0000)]
configstore: add configstore@1.0 HAL am:
c5d7c8a27a am:
06be01518b
am:
c5a9bd19f6 -s ours
Change-Id: I41c0b04abe4ffbf84ea7cd5581104543f3896190
Jaesoo Lee [Tue, 14 Mar 2017 06:55:41 +0000 (06:55 +0000)]
Merge changes from topic 'configstore' am:
e3a0c607cd
am:
fb64badb3e
Change-Id: Ia4da72dc31ec235dd3aa0710846fc1504a0fd884
Jaesoo Lee [Tue, 14 Mar 2017 06:55:38 +0000 (06:55 +0000)]
configstore: add new configuration item am:
cb71410f16
am:
35ad8cf50d
Change-Id: I66849f126efe18b86cd6010027d59909e67799c5
Jaesoo Lee [Tue, 14 Mar 2017 06:55:35 +0000 (06:55 +0000)]
configstore: add utility library functions for configstore am:
ad54c30863
am:
71e1808de8
Change-Id: I9acd3b567d8daa137f60eeb456e31be05e20a396
Jiyong Park [Tue, 14 Mar 2017 06:55:32 +0000 (06:55 +0000)]
configstore: add configstore@1.0 HAL am:
c5d7c8a27a
am:
06be01518b
Change-Id: Ifa830fa1d3128c9319e52152e20451b0886f6db8
Jaesoo Lee [Tue, 14 Mar 2017 06:51:13 +0000 (06:51 +0000)]
Merge changes from topic 'configstore'
am:
e3a0c607cd
Change-Id: I3b50189813bde7b84e9e545e37717a4e8bda5801
Jaesoo Lee [Tue, 14 Mar 2017 06:51:06 +0000 (06:51 +0000)]
configstore: add new configuration item
am:
cb71410f16
Change-Id: I9dcf29ba10593d3bca6d0db4269c072687d7ab51
Jaesoo Lee [Tue, 14 Mar 2017 06:50:56 +0000 (06:50 +0000)]
configstore: add utility library functions for configstore
am:
ad54c30863
Change-Id: I4d2fed4d6c46b4ab22c955f020f590f1f66f5927
Jiyong Park [Tue, 14 Mar 2017 06:50:44 +0000 (06:50 +0000)]
configstore: add configstore@1.0 HAL
am:
c5d7c8a27a
Change-Id: Id8da8ce348021dd6d8976071370c5d75118c2fa2
Jaesoo Lee [Tue, 14 Mar 2017 06:44:11 +0000 (06:44 +0000)]
Merge changes from topic 'configstore'
* changes:
configstore: build configstore-utils as header library
configstore: add new configuration item
configstore: add utility library functions for configstore
configstore: add configstore@1.0 HAL
Roshan Pius [Mon, 13 Mar 2017 17:44:20 +0000 (10:44 -0700)]
wifi: Add support for multiple radio stats
Previously, we've always assumed that we have only one instance of
radio stats fetched in link layer stats. This is no longer true for the
newer devices which support multiple radios.
Also,
Changed the timestamp member from uint32_t to uint64_t.
Bug:
36148086
Test: The error logs no longer seen on newer devices.
Change-Id: I048a1db7cc0bfb0dc0dacafff2156f42a8ae1e63
Myles Watson [Tue, 14 Mar 2017 00:06:18 +0000 (00:06 +0000)]
Merge "Bluetooth: No power off before power on" am:
2e429d6b64 am:
3805d65284
am:
0dba862f10
Change-Id: I2277fc9cae7055f3b915d9556e2a17ed657fecb3
Myles Watson [Tue, 14 Mar 2017 00:01:25 +0000 (00:01 +0000)]
Merge "Bluetooth: No power off before power on" am:
2e429d6b64
am:
3805d65284
Change-Id: I03d5b9fc13750baa4a771b645d032ce2331b1523
Myles Watson [Mon, 13 Mar 2017 23:57:39 +0000 (23:57 +0000)]
Merge "Bluetooth: No power off before power on"
am:
2e429d6b64
Change-Id: If65b972e390b50add2412c1d91c259210405aa5c
Treehugger Robot [Mon, 13 Mar 2017 23:48:56 +0000 (23:48 +0000)]
Merge "Bluetooth: No power off before power on"
Hridya Valsaraju [Wed, 8 Mar 2017 04:25:08 +0000 (20:25 -0800)]
Move FMQ benchmark/test services to hardware/interfaces
Bug:
32284445
Test: Built and ran FMQ benchmarks
Change-Id: Ia6bacf21d276b55e4e590dc96f348464f2098992
Subhani Shaik [Mon, 13 Mar 2017 23:09:32 +0000 (23:09 +0000)]
wifi: Link the new libcld80211 library am:
48df739a4d am:
02354cb6b6
am:
50ad0c5171
Change-Id: I6d7ccaa1c960b3e650ee0cbea8cddd4bbb145ce5
Subhani Shaik [Mon, 13 Mar 2017 23:05:32 +0000 (23:05 +0000)]
wifi: Link the new libcld80211 library am:
48df739a4d
am:
02354cb6b6
Change-Id: Ie1a5036050c5edc42597a1b70467b9da08c15183
Subhani Shaik [Mon, 13 Mar 2017 23:01:02 +0000 (23:01 +0000)]
wifi: Link the new libcld80211 library
am:
48df739a4d
Change-Id: Ia0676ab9802360aaa67dcb0f67f478fa820e06d4
Subhani Shaik [Wed, 1 Mar 2017 02:20:43 +0000 (18:20 -0800)]
wifi: Link the new libcld80211 library
Bug:
32775496
Change-Id: I700dec21bfc3a36b8a3b09251b3004449fd49de7
Myles Watson [Mon, 13 Mar 2017 19:35:25 +0000 (12:35 -0700)]
Bluetooth: No power off before power on
Test: Switch users (toggles Bluetooth under load)
Bug:
36026072
Change-Id: I7eef35e19fbb4cf825c2583ec0af573733b24f9d
Shubang [Wed, 22 Feb 2017 19:42:16 +0000 (11:42 -0800)]
Add a field for auto cable plugin detection in TV Input HAL
Test: make vts -j8;
Bug:
28715954
Change-Id: I4eb39cd88d9df751867400d3ee344ff781e3bb21
Kevin Rocard [Thu, 9 Mar 2017 01:17:25 +0000 (17:17 -0800)]
Audio hal VTS: generate names for parametrized tests
The gtest dashboard only shows test names, not their parameters.
This mean that parametrized tests are names 0,1,2...
Thus when one test fails, the dashboard info is not very useful.
This patch appends the audio config to the test name.
Test: run the test on target
Bug:
34170075
Change-Id: I77090a3a17e4a3e97ecb72a8a89ad2d88626d96f
Signed-off-by: Kevin Rocard <krocard@google.com>
Kevin Rocard [Thu, 9 Mar 2017 01:17:25 +0000 (17:17 -0800)]
Audio hal VTS: factorize master volume test
Master volume was the first pair of getter/setter tested
and did not use the generic test*Accessor function.
Test: run the corresponding vts test
Test: vts-tradefed r vts-hal-hidl -m VtsHalAudioV2_0Target
Bug:
34170075
Change-Id: I77080a3a17e4a3e97ecb72a8a89ad2d88626d96f
Signed-off-by: Kevin Rocard <krocard@google.com>
Kevin Rocard [Thu, 9 Mar 2017 01:17:25 +0000 (17:17 -0800)]
Fix potentiel deadlock in audio VTS
The IDevice::debugDump method dumps debug info in a file descriptor.
Such file descriptor was previously the writing end of a pipe.
As the test is not multithreaded, if the dump was bigger than the pipe
buffer, a deadlock would occur.
With this patch, the test uses a file instead of a pipe. Thus write
will never block infinitely.
Test: run the corresponding vts test
Test: vts-tradefed r vts-hal-hidl -m VtsHalAudioV2_0Target
Bug:
34170075
Change-Id: I928cae712a1cb4411f907b3a9583014ba6486abc
Signed-off-by: Kevin Rocard <krocard@google.com>
Emilian Peev [Wed, 8 Mar 2017 18:11:36 +0000 (18:11 +0000)]
Camera: Add Hal version 1 image capture test cases
Tests involving Hal version 1 image capture APIs are
required. Several cases cover this:
- 'takePicture' - Regular image capture after preview gets enabled.
- 'takePictureFail' - Checks correct behavior in case preview is not
running.
- 'cancelPicture' - Verifies that image capture can be cancelled.
- 'cancelPictureFail' - Checks that image capture cancel fails as
expected in case 'takePicture' didn't get called.
Switch to BufferItemConsumer instead of CpuConsumer and use GLConsumer
default usage flags.
Bug:
32022758
Test: compile and run the gtest binary on device
Change-Id: I8db60aa8a21b6f829574fc9538da5644a4051e49
Emilian Peev [Tue, 28 Feb 2017 16:54:13 +0000 (16:54 +0000)]
Camera: Add device ver. 1 preview test cases
Test cases enabling/disabling preview using version 1
camera devices are needed. Test case is also available
for "setPreviewWindow".
BUG:
32022758
Test: compile and run the gtest binary on device
Change-Id: I234881fe940309dbb6ac11bfee7d01cc76d09f59
Emilian Peev [Tue, 28 Feb 2017 11:32:55 +0000 (11:32 +0000)]
Camera: Extend camera test cases for camera 1.0 devices
Test cases involving camera version 1.0 devices are
required. The API methods which overlap between 3.x and 1.0
devices should be considered in the respective test cases.
BUG:
32022758
Test: compile and run the gtest binary on device
Change-Id: I044b6586b812aed14d66867d51f97123addcd718
Emilian Peev [Mon, 27 Feb 2017 15:54:15 +0000 (15:54 +0000)]
Camera: Add flush test cases
Camera should flush pending requets and buffers
correctly. Two new test cases will help with
the verification of this method:
- 'flushPreviewRequest' - Constructs a valid camera request
and sends it to camera. The test will not wait for the request
to complete instead it will call flush immediately. The results
and notifications that follow are checked for consistency with
expected behavior.
- 'flushEmpty' - Triggers flush without any pending request. Check
whether the camera behaves as expected.
BUG:
32022758
Test: compile and run the gtest binary on device
Change-Id: Iab9e37b3864491f970a783a68952a9c0c1703520
Emilian Peev [Mon, 27 Feb 2017 14:52:03 +0000 (14:52 +0000)]
Camera: Enable and check for torch callbacks
The expected torch callbacks can be verified during
the torch set test.
BUG:
32022758
Test: compile and run the gtest binary on device
Change-Id: Idaa1a4c6eb5306f1a2e1d126f54fcb26aaa1dc7c
Jaesoo Lee [Mon, 27 Feb 2017 04:43:11 +0000 (13:43 +0900)]
configstore: build configstore-utils as header library
This change makes android.hardware.configstore-utils library built as
a header-only library instead of a static library.
Design doc: go/design-confighal
Bug:
35397068
Test: build, run
Change-Id: I59c7c8802aeb1fb687af24cfdb2bbb38723e6221
Merged-In: Idee48816a1a271bdb9ba8cf907d98c3823925da4
Etan Cohen [Sat, 11 Mar 2017 19:12:09 +0000 (19:12 +0000)]
Merge "[WIFI][HIDL] Add device-based feature flag support" am:
48b4ce2e99 am:
d15376f05c
am:
733015b56e
Change-Id: Ia12e5aef8c2260a2a3b35da1318ee1a73f6a6728
Etan Cohen [Sat, 11 Mar 2017 19:08:08 +0000 (19:08 +0000)]
Merge "[WIFI][HIDL] Add device-based feature flag support" am:
48b4ce2e99
am:
d15376f05c
Change-Id: If13d2a7e8993d93f23082fcd4ccf2732aaacba6f
Etan Cohen [Sat, 11 Mar 2017 19:04:09 +0000 (19:04 +0000)]
Merge "[WIFI][HIDL] Add device-based feature flag support"
am:
48b4ce2e99
Change-Id: I74d285740511b9e8604a9bac5bcc8ab54688c0d8
Etan Cohen [Sat, 11 Mar 2017 18:57:40 +0000 (18:57 +0000)]
Merge "[WIFI][HIDL] Add device-based feature flag support"
TreeHugger Robot [Sat, 11 Mar 2017 10:43:53 +0000 (10:43 +0000)]
Merge "Revert "Revert "Add return status to IGraphicBufferSource methods"""
TreeHugger Robot [Sat, 11 Mar 2017 08:46:44 +0000 (08:46 +0000)]
Merge "EvsCamera: %zd -> %zu for size_t print"
Roshan Pius [Sat, 11 Mar 2017 07:05:30 +0000 (07:05 +0000)]
wifi(implementation): Add null checks for RTT result am:
78cfef9f0c am:
841ba1b367
am:
53c158606b
Change-Id: Ia36f323770af2f72bf416f686ac6e521adcf5ff4
Roshan Pius [Sat, 11 Mar 2017 07:00:59 +0000 (07:00 +0000)]
wifi(implementation): Add null checks for RTT result am:
78cfef9f0c
am:
841ba1b367
Change-Id: Id2ce5421a1d4ae08fbedb6983477c80542e90001
Roshan Pius [Sat, 11 Mar 2017 06:56:59 +0000 (06:56 +0000)]
wifi(implementation): Add null checks for RTT result
am:
78cfef9f0c
Change-Id: I9a58ca156d3e2f61fda8346d39b8de355302690f