Commit graph

3370 commits

Author SHA1 Message Date
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
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
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
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
Jaesoo Lee
e3a0c607cd 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
2017-03-14 06:44:13 +00:00
Roshan Pius
e42ace2404 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
2017-03-13 17:12:32 -07:00
Myles Watson
69681761bd Merge "Bluetooth: No power off before power on" am: 2e429d6b64 am: 3805d65284
am: 0dba862f10

Change-Id: I2277fc9cae7055f3b915d9556e2a17ed657fecb3
2017-03-14 00:06:18 +00:00
Myles Watson
0dba862f10 Merge "Bluetooth: No power off before power on" am: 2e429d6b64
am: 3805d65284

Change-Id: I03d5b9fc13750baa4a771b645d032ce2331b1523
2017-03-14 00:01:25 +00:00
Myles Watson
3805d65284 Merge "Bluetooth: No power off before power on"
am: 2e429d6b64

Change-Id: If65b972e390b50add2412c1d91c259210405aa5c
2017-03-13 23:57:39 +00:00
Treehugger Robot
2e429d6b64 Merge "Bluetooth: No power off before power on" 2017-03-13 23:48:56 +00:00
Hridya Valsaraju
171603eaa9 Move FMQ benchmark/test services to hardware/interfaces
Bug: 32284445
Test: Built and ran FMQ benchmarks

Change-Id: Ia6bacf21d276b55e4e590dc96f348464f2098992
2017-03-13 23:31:04 +00:00
Subhani Shaik
56c00a941e wifi: Link the new libcld80211 library am: 48df739a4d am: 02354cb6b6
am: 50ad0c5171

Change-Id: I6d7ccaa1c960b3e650ee0cbea8cddd4bbb145ce5
2017-03-13 23:09:32 +00:00
Subhani Shaik
50ad0c5171 wifi: Link the new libcld80211 library am: 48df739a4d
am: 02354cb6b6

Change-Id: Ie1a5036050c5edc42597a1b70467b9da08c15183
2017-03-13 23:05:32 +00:00
Subhani Shaik
02354cb6b6 wifi: Link the new libcld80211 library
am: 48df739a4d

Change-Id: Ia0676ab9802360aaa67dcb0f67f478fa820e06d4
2017-03-13 23:01:02 +00:00
Subhani Shaik
48df739a4d wifi: Link the new libcld80211 library
Bug: 32775496
Change-Id: I700dec21bfc3a36b8a3b09251b3004449fd49de7
2017-03-13 20:34:29 +00:00
Myles Watson
c0aee0ce87 Bluetooth: No power off before power on
Test: Switch users (toggles Bluetooth under load)
Bug: 36026072
Change-Id: I7eef35e19fbb4cf825c2583ec0af573733b24f9d
2017-03-13 20:29:07 +00:00
Kevin Rocard
9c36914983 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>
2017-03-13 09:18:22 -07:00
Kevin Rocard
92ce35df94 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>
2017-03-13 09:18:19 -07:00
Kevin Rocard
ee771e9cfa 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>
2017-03-13 09:18:16 -07:00
Jaesoo Lee
c06c6873f6 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
2017-03-12 07:15:48 +09:00
Etan Cohen
13690d2315 Merge "[WIFI][HIDL] Add device-based feature flag support" am: 48b4ce2e99 am: d15376f05c
am: 733015b56e

Change-Id: Ia12e5aef8c2260a2a3b35da1318ee1a73f6a6728
2017-03-11 19:12:09 +00:00
Etan Cohen
733015b56e Merge "[WIFI][HIDL] Add device-based feature flag support" am: 48b4ce2e99
am: d15376f05c

Change-Id: If13d2a7e8993d93f23082fcd4ccf2732aaacba6f
2017-03-11 19:08:08 +00:00
Etan Cohen
d15376f05c Merge "[WIFI][HIDL] Add device-based feature flag support"
am: 48b4ce2e99

Change-Id: I74d285740511b9e8604a9bac5bcc8ab54688c0d8
2017-03-11 19:04:09 +00:00
Etan Cohen
48b4ce2e99 Merge "[WIFI][HIDL] Add device-based feature flag support" 2017-03-11 18:57:41 +00:00
TreeHugger Robot
19c1e106bf Merge "Revert "Revert "Add return status to IGraphicBufferSource methods""" 2017-03-11 10:43:53 +00:00
TreeHugger Robot
a9675ebfde Merge "EvsCamera: %zd -> %zu for size_t print" 2017-03-11 08:46:45 +00:00