Commit graph

3648 commits

Author SHA1 Message Date
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
Treehugger Robot
178250d254 Merge "Move FMQ benchmark/test services to hardware/interfaces" 2017-03-14 22:02:01 +00:00
Shuzhen Wang
145e135bd9 Camera: Update HAL interface doc for high speed video batching
Now cameraservice only sends one shutter notify and capture result to
the application per batch. Update the HAL interface doc to reflect this.

Test: Compiles
Bug: 35775704
Change-Id: I3a7967f0342213699989c70f485b379ccb94a1ff
2017-03-14 14:14:04 -07:00
Roshan Pius
13bab51c5e Merge "wifi: Add support for multiple radio stats" am: c0fbd8fe63 am: eaf6ed41dd
am: 0f93903c7c

Change-Id: If535abd69fa2e81f96943a526975d5462bdaa41a
2017-03-14 20:07:18 +00:00
Kevin Rocard
90909c320a 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
2017-03-14 20:02:53 +00:00
Roshan Pius
0f93903c7c Merge "wifi: Add support for multiple radio stats" am: c0fbd8fe63
am: eaf6ed41dd

Change-Id: I17c637a274c26a28cf4331a7722c8a7c5bf26022
2017-03-14 20:01:45 +00:00
Roshan Pius
eaf6ed41dd Merge "wifi: Add support for multiple radio stats"
am: c0fbd8fe63

Change-Id: Icca33f2745c8297d1f413e651fbf7506fc0521f6
2017-03-14 19:57:45 +00:00
Roshan Pius
c0fbd8fe63 Merge "wifi: Add support for multiple radio stats" 2017-03-14 19:53:45 +00:00
Pavel Maltsev
3fc25be745 Fix config map in default Vehicle HAL impl
Test: tested through VTS
Change-Id: Ibcf607d0ad5cc39291b0d8a159ca3ad849bea8ce
2017-03-14 12:15:46 -07:00
Pavel Maltsev
fb6617935a Fix HvacPowerOn vehicle property
Test: VTS test is now passing
Change-Id: I815645310822bf24c8ee3a37f00c9d78a1e9b666
2017-03-14 11:58:22 -07:00
Emilian Peev
cf7b797926 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
2017-03-14 18:21:34 +00:00
Bryan Eyler
06e939be44 Fix log format specifier.
size() returns size_t.

Change-Id: I015b407e26e2be9933558e9f8e2f6c02eba6568a
2017-03-14 11:13:46 -07:00
Fabien Sanglard
cbece28ae1 Create configStore SF useContextPriority
Change-Id: I154604428488a5824f6aadd4a6b43a72b327e280
2017-03-14 10:54:51 -07:00
Tomasz Wasilczyk
a8dec0f907 Set skipSubChannel both to true and false when testing scan and step methods.
Bug: b/33382424, b/32022455
Test: VTS
Change-Id: If61fef78555c69a10e3b239ec8cc61bb199e399c
2017-03-14 10:20:53 -07:00
Roshan Pius
036da68261 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
2017-03-14 10:10:12 -07:00
Mikhail Naganov
9f61b29a62 audiohal: Rename output flag VOIP_CALL_RX -> VOIP_RX
Makes the constant name consistent with non-Pixel HALs

Change-Id: I42d0f6eea2408ebd155848b85582a844687f106a
Test: make
2017-03-14 09:57:19 -07:00
Kevin Rocard
c9963526d9 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>
2017-03-14 09:49:15 -07:00
Kevin Rocard
8878b4ba1f 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>
2017-03-14 09:49:15 -07:00
Kevin Rocard
b903124b36 Audio HAL VTS: Test IStream::debugDump
Test: run it on target
Bug: 34170075
Change-Id: I4af190806f79e0c03b59e1cd60b6f58a08b05322
Signed-off-by: Kevin Rocard <krocard@google.com>
2017-03-14 09:49:15 -07:00
Kevin Rocard
a7df7fc097 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>
2017-03-14 09:49:15 -07:00
Kevin Rocard
de8cbffd47 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>
2017-03-14 09:49:15 -07:00
Kevin Rocard
20e7af6159 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>
2017-03-14 09:49:15 -07:00
Roshan Pius
d32a43f464 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
2017-03-14 08:30:45 -07:00
Jaesoo Lee
cd7bc8ff94 Merge changes from topic 'configstore' am: e3a0c607cd am: fb64badb3e
am: e0ca61a6be  -s ours

Change-Id: I12c920d8b2e1a1734c822d3badc4195dee82bcfc
2017-03-14 06:59:40 +00:00
Jaesoo Lee
91df961a72 configstore: add new configuration item am: cb71410f16 am: 35ad8cf50d
am: 4b7759c251  -s ours

Change-Id: Ieb5e5416a3eecd1fde02cc3caaabeb95c1d8a7c8
2017-03-14 06:59:37 +00:00
Jaesoo Lee
f0b57fbd44 configstore: add utility library functions for configstore am: ad54c30863 am: 71e1808de8
am: 20a8fde005  -s ours

Change-Id: I072c59bd3c543ea6fb3cb9cc26d6c24e6ed47914
2017-03-14 06:59:34 +00:00
Jiyong Park
28138810d4 configstore: add configstore@1.0 HAL am: c5d7c8a27a am: 06be01518b
am: c5a9bd19f6  -s ours

Change-Id: I41c0b04abe4ffbf84ea7cd5581104543f3896190
2017-03-14 06:59:31 +00:00
Jaesoo Lee
e0ca61a6be Merge changes from topic 'configstore' am: e3a0c607cd
am: fb64badb3e

Change-Id: Ia4da72dc31ec235dd3aa0710846fc1504a0fd884
2017-03-14 06:55:41 +00:00
Jaesoo Lee
4b7759c251 configstore: add new configuration item am: cb71410f16
am: 35ad8cf50d

Change-Id: I66849f126efe18b86cd6010027d59909e67799c5
2017-03-14 06:55:38 +00:00
Jaesoo Lee
20a8fde005 configstore: add utility library functions for configstore am: ad54c30863
am: 71e1808de8

Change-Id: I9acd3b567d8daa137f60eeb456e31be05e20a396
2017-03-14 06:55:35 +00:00
Jiyong Park
c5a9bd19f6 configstore: add configstore@1.0 HAL am: c5d7c8a27a
am: 06be01518b

Change-Id: Ifa830fa1d3128c9319e52152e20451b0886f6db8
2017-03-14 06:55:32 +00:00
Jaesoo Lee
fb64badb3e Merge changes from topic 'configstore'
am: e3a0c607cd

Change-Id: I3b50189813bde7b84e9e545e37717a4e8bda5801
2017-03-14 06:51:13 +00:00
Jaesoo Lee
35ad8cf50d configstore: add new configuration item
am: cb71410f16

Change-Id: I9dcf29ba10593d3bca6d0db4269c072687d7ab51
2017-03-14 06:51:06 +00:00
Jaesoo Lee
71e1808de8 configstore: add utility library functions for configstore
am: ad54c30863

Change-Id: I4d2fed4d6c46b4ab22c955f020f590f1f66f5927
2017-03-14 06:50:56 +00:00
Jiyong Park
06be01518b configstore: add configstore@1.0 HAL
am: c5d7c8a27a

Change-Id: Id8da8ce348021dd6d8976071370c5d75118c2fa2
2017-03-14 06:50:44 +00:00