OSDN Git Service
Eric Laurent [Wed, 8 Mar 2017 16:42:33 +0000 (16:42 +0000)]
Merge "audio: fix IStream.createMmapBuffer()"
Tomasz Wasilczyk [Wed, 8 Mar 2017 15:51:30 +0000 (15:51 +0000)]
Merge "Add getProgramList call."
Jeff Tinker [Wed, 8 Mar 2017 08:13:07 +0000 (08:13 +0000)]
Merge "Allow drm hal implementations to not require provisioning"
Roshan Pius [Wed, 8 Mar 2017 03:00:28 +0000 (03:00 +0000)]
Merge "wifi: Fetch the gscan bucket idx from request" am:
f297caedd7 am:
3f08d19f90
am:
b7cffe3266
Change-Id: I96cc6283ba4d9bd6ac59c67f3a9eb68a7ee59d53
Roshan Pius [Wed, 8 Mar 2017 02:59:48 +0000 (02:59 +0000)]
supplicant(interface): Add timedOut param in assoc reject am:
7bf6dc8193 am:
91c12e3ce6
am:
f75584ca66
Change-Id: I1d515163afe03f7e2eee6940e464c39066b5f6e8
Roshan Pius [Wed, 8 Mar 2017 02:57:50 +0000 (02:57 +0000)]
Merge "wifi: Fetch the gscan bucket idx from request" am:
f297caedd7
am:
3f08d19f90
Change-Id: I01abda5debed55f8e980578b7a36f8a402627ee3
Roshan Pius [Wed, 8 Mar 2017 02:57:14 +0000 (02:57 +0000)]
supplicant(interface): Add timedOut param in assoc reject am:
7bf6dc8193
am:
91c12e3ce6
Change-Id: I42cf5f23e423d90e396cbb6032e13ec862657c7d
Roshan Pius [Wed, 8 Mar 2017 02:55:48 +0000 (02:55 +0000)]
Merge "wifi: Fetch the gscan bucket idx from request"
am:
f297caedd7
Change-Id: I3255643eec01d0a6283b247fef5cf934aa0f2d6f
Roshan Pius [Wed, 8 Mar 2017 02:55:14 +0000 (02:55 +0000)]
supplicant(interface): Add timedOut param in assoc reject
am:
7bf6dc8193
Change-Id: Id3baec3ea5a222d67f06d5e51a5d45ac8d26a2c3
Treehugger Robot [Wed, 8 Mar 2017 02:53:30 +0000 (02:53 +0000)]
Merge "wifi: Fetch the gscan bucket idx from request"
Tomasz Wasilczyk [Wed, 1 Mar 2017 22:21:07 +0000 (14:21 -0800)]
Add getProgramList call.
Test: existing VTS tests pass, but none added.
Bug: b/
34054813
Change-Id: I33891256c0b7ba7edd8ca42074e65900169e2952
Roshan Pius [Tue, 7 Mar 2017 19:23:19 +0000 (11:23 -0800)]
supplicant(interface): Add timedOut param in assoc reject
This is needed to indicate if the association failed due to a timeout
instead of AP explicitly rejecting us.
Bug:
34280407
Test: Compiles
Change-Id: Ib287ea8e45c28356bf9e3271962fc015761651fd
Roshan Pius [Tue, 7 Mar 2017 19:17:08 +0000 (11:17 -0800)]
wifi: Fetch the gscan bucket idx from request
We can't rely on the ordering of these buckets to populate their
indexes. So, send them explicitly from the caller.
Bug:
35989680
Test: Compiles
Change-Id: Ife09440935eb3526636c27bfdd40c37c69c7ade2
TreeHugger Robot [Wed, 8 Mar 2017 01:17:37 +0000 (01:17 +0000)]
Merge "Move EVS HAL under automotive folder"
Roshan Pius [Wed, 8 Mar 2017 00:53:28 +0000 (00:53 +0000)]
Merge "wifi(implementation): Clear the chip immediately on IWifi.stop()" am:
09258a2afb am:
dc74684b36
am:
547d5082cd
Change-Id: I0b3e5bd7332161d8c703704a55a074a0f83d472d
Roshan Pius [Wed, 8 Mar 2017 00:46:58 +0000 (00:46 +0000)]
Merge "wifi(implementation): Clear the chip immediately on IWifi.stop()" am:
09258a2afb
am:
dc74684b36
Change-Id: Ib234d4f0e8b2ec1c15286878cdc173367b64b520
Roshan Pius [Wed, 8 Mar 2017 00:42:27 +0000 (00:42 +0000)]
Merge "wifi(implementation): Clear the chip immediately on IWifi.stop()"
am:
09258a2afb
Change-Id: I992e5519459b274bc0666ee2776b4ba3b5767afe
Roshan Pius [Wed, 8 Mar 2017 00:33:43 +0000 (00:33 +0000)]
Merge "wifi(implementation): Clear the chip immediately on IWifi.stop()"
TreeHugger Robot [Wed, 8 Mar 2017 00:22:56 +0000 (00:22 +0000)]
Merge "graphics: initialize count to 0 in initCapabilities"
Hridya Valsaraju [Wed, 8 Mar 2017 00:11:57 +0000 (00:11 +0000)]
Merge "Move FMQ tests to hardware/interfaces" am:
96b3cce92c am:
35b5786cd7
am:
56fbe8aef2
Change-Id: Ic97ea0e01ff430806cc96cf89c4205b4bb044778
Hridya Valsaraju [Wed, 8 Mar 2017 00:09:56 +0000 (00:09 +0000)]
Merge "Move FMQ tests to hardware/interfaces" am:
96b3cce92c
am:
35b5786cd7
Change-Id: Ic58fe49fb0ebe482f591174d8594ab9956e0b2f6
Hridya Valsaraju [Wed, 8 Mar 2017 00:07:25 +0000 (00:07 +0000)]
Merge "Move FMQ tests to hardware/interfaces"
am:
96b3cce92c
Change-Id: I951fc763614f1f39a622c864d1a999c4a584fced
Treehugger Robot [Wed, 8 Mar 2017 00:01:29 +0000 (00:01 +0000)]
Merge "Move FMQ tests to hardware/interfaces"
Roshan Pius [Tue, 7 Mar 2017 20:45:56 +0000 (12:45 -0800)]
wifi(implementation): Clear the chip immediately on IWifi.stop()
Currently, we wait for the legacy HAL callback to complete to clear and
invalidate the chip objects and it's derivatives. This may cause us to
access the wifi legacy HAL in a indeterminate state (as it's processing stop)
on subsequent HIDL calls.
So, clear up the chip object and derivatives immediately after we
process the stop to prevent any subsequent calls from sneaking in.
Also,
Added a couple of logs when wifi HAL is started/stopped to help debug
such issues later.
Bug:
36026601
Test: Turn on/off wifi and switch to softap mode multiple times.
Change-Id: Id5c2c9a90a335b2de4ae331ac8610b1a4e7875da
Chia-I Wu [Tue, 7 Mar 2017 22:44:04 +0000 (14:44 -0800)]
graphics: initialize count to 0 in initCapabilities
Be more defensive against HALs that do not initialize count.
Test: manual
Change-Id: I8b70454a1a3134c01d225be504579fc2e81ca88b
Chia-I Wu [Tue, 7 Mar 2017 22:37:25 +0000 (22:37 +0000)]
Merge changes Iae143d11,I400c347b,I0639df17,I6d56160d
* changes:
graphics: add a basic test for IMapper::lockFlex
graphics: clean up composer VTS tests
graphics: clean up mapper VTS tests
graphics: clean up allocator VTS tests
TreeHugger Robot [Tue, 7 Mar 2017 22:19:47 +0000 (22:19 +0000)]
Merge "camera/device/3.2: Add custom vendor operating modes"
Chia-I Wu [Tue, 28 Feb 2017 19:06:17 +0000 (11:06 -0800)]
graphics: add a basic test for IMapper::lockFlex
Bug:
32023011
Test: manual
Change-Id: Iae143d11056f6ab169d1068fdaa62e889051b16e
Chia-I Wu [Fri, 24 Feb 2017 22:34:02 +0000 (14:34 -0800)]
graphics: clean up composer VTS tests
Add libVtsHalGraphicsComposerUtils which provides a wrapper to
IComposer. Port tests to be based on
libVtsHalGraphicsComposerUtils.
Test: manual
Change-Id: I400c347b54702c3d45954e6cdc101d3dc1241efd
Chia-I Wu [Fri, 24 Feb 2017 18:41:35 +0000 (10:41 -0800)]
graphics: clean up mapper VTS tests
Add libVtsHalGraphicsMapperUtils which provides a wrapper to
IMapper. Port tests to be based on libVtsHalGraphicsMapperUtils.
Test: manual
Change-Id: I0639df178fd0a94153b48733930bb13f2d0aa930
Chia-I Wu [Tue, 21 Feb 2017 21:06:58 +0000 (13:06 -0800)]
graphics: clean up allocator VTS tests
Add libVtsHalGraphicsAllocatorUtils which provides a wrapper to
IAllocator. Port tests to be based on
libVtsHalGraphicsAllocatorUtils.
Test: manual
Change-Id: I6d56160dc4fa6e5106cc55e75cdd923f15635317
Tomasz Wasilczyk [Tue, 7 Mar 2017 19:57:49 +0000 (19:57 +0000)]
Merge "Extend configChange and tuneComplete callbacks with checking the carried value."
Myles Watson [Tue, 7 Mar 2017 18:50:14 +0000 (18:50 +0000)]
Merge "Bluetooth: Watch multiple FDs with AsyncFdWatcher" am:
1143a3fec6 am:
14d63bfc76
am:
23a50f3906
Change-Id: Id641325482bf1f1ab4fd647777433fd8a9da5263
Roshan Pius [Tue, 7 Mar 2017 18:46:53 +0000 (18:46 +0000)]
Merge "wifi(implementation): Allow wifi hal to access gps" am:
fd3f9ea031 am:
d1d0f1c24e
am:
e2c6bb4207
Change-Id: I30e2216869837a1108386b906ce339310621a99c
Myles Watson [Tue, 7 Mar 2017 17:39:06 +0000 (17:39 +0000)]
Merge "Bluetooth: Watch multiple FDs with AsyncFdWatcher" am:
1143a3fec6
am:
14d63bfc76
Change-Id: I992a89661832064ec1ec3a8128acc3c51421ba79
Roshan Pius [Tue, 7 Mar 2017 17:35:58 +0000 (17:35 +0000)]
Merge "wifi(implementation): Allow wifi hal to access gps" am:
fd3f9ea031
am:
d1d0f1c24e
Change-Id: Ic6b54a979fac2c64cbefe39cdb2d1034c2454e5f
Myles Watson [Tue, 7 Mar 2017 17:32:23 +0000 (17:32 +0000)]
Merge "Bluetooth: Watch multiple FDs with AsyncFdWatcher"
am:
1143a3fec6
Change-Id: Ib0f1a7f2a87eb82896d69501b5c33bbddebdf154
Treehugger Robot [Tue, 7 Mar 2017 17:30:02 +0000 (17:30 +0000)]
Merge "Bluetooth: Watch multiple FDs with AsyncFdWatcher"
Keun Soo Yim [Tue, 7 Mar 2017 17:29:41 +0000 (17:29 +0000)]
Merge "Add VTS tests for the primary audio hal"
Roshan Pius [Tue, 7 Mar 2017 17:29:18 +0000 (17:29 +0000)]
Merge "wifi(implementation): Allow wifi hal to access gps"
am:
fd3f9ea031
Change-Id: Ia776e9d3af9158f2ffd6d1d285d56a12a7ee909b
Roshan Pius [Tue, 7 Mar 2017 17:24:30 +0000 (17:24 +0000)]
Merge "wifi(implementation): Allow wifi hal to access gps"
Ruchi Kandoi [Tue, 7 Mar 2017 17:13:58 +0000 (17:13 +0000)]
Merge "Add Test cases to Nfc VTS" am:
eed21780a1 am:
8c3a44084c
am:
4b0901e29b
Change-Id: Ia689cadc4104acb4340d37ccefadea6753ff2a3b
Ruchi Kandoi [Tue, 7 Mar 2017 17:11:58 +0000 (17:11 +0000)]
Merge "Add Test cases to Nfc VTS" am:
eed21780a1
am:
8c3a44084c
Change-Id: I6a7eae8ecdcc9e67f563b2674c39124f423af4ca
Ruchi Kandoi [Tue, 7 Mar 2017 17:09:58 +0000 (17:09 +0000)]
Merge "Add Test cases to Nfc VTS"
am:
eed21780a1
Change-Id: I6d42d2e5fc0691469f561b26444798d84e243042
Ruchi Kandoi [Tue, 7 Mar 2017 17:05:39 +0000 (17:05 +0000)]
Merge "Add Test cases to Nfc VTS"
Hridya Valsaraju [Mon, 6 Mar 2017 22:10:42 +0000 (14:10 -0800)]
Move FMQ tests to hardware/interfaces
Test: FMQ unit tests pass
Bug:
32284445
Change-Id: I1daf563560d12fc7a4433ae98876331c37509980
Tomasz Wasilczyk [Fri, 3 Mar 2017 23:07:50 +0000 (15:07 -0800)]
Extend configChange and tuneComplete callbacks with checking the carried value.
Bug: b/
33382424
Test: VTS
Change-Id: I52f4b0641f01fcd120e43d235b7747b7c9ca739a
Tomasz Wasilczyk [Tue, 7 Mar 2017 15:55:24 +0000 (15:55 +0000)]
Merge "Test ITuner::tune failing when channel out of the range is provided."
Hsin-Yi Chen [Tue, 7 Mar 2017 05:33:45 +0000 (05:33 +0000)]
Merge "Add VTS test for ISoundTriggerHw::loadSoundModel"
TreeHugger Robot [Tue, 7 Mar 2017 04:12:16 +0000 (04:12 +0000)]
Merge "Use default argument to getService."
Jeff Tinker [Tue, 7 Mar 2017 01:08:19 +0000 (17:08 -0800)]
Allow drm hal implementations to not require provisioning
Not all drm schemes require provisioning. This change
updates the documentation to explicitly support it.
bug:
36007160
Change-Id: Ia4dc471314d2cce92ce8d69258bf1d16d5104302
Jack Yu [Tue, 7 Mar 2017 02:49:13 +0000 (02:49 +0000)]
Merge "Removed the deprecated screen state API" am:
c438414190 am:
243047c574
am:
1fd613fedb
Change-Id: I11ddba206b9e2a56a9aa804878415f33c334d970
Jack Yu [Tue, 7 Mar 2017 02:45:50 +0000 (02:45 +0000)]
Merge "Removed the deprecated screen state API" am:
c438414190
am:
243047c574
Change-Id: If29c615413ae327bd5423c0b97fd4873e04881d7
Jack Yu [Tue, 7 Mar 2017 02:43:33 +0000 (02:43 +0000)]
Merge "Removed the deprecated screen state API"
am:
c438414190
Change-Id: Idde6a83cd75012b96e911b01d1993a3b6ca73973
TreeHugger Robot [Tue, 7 Mar 2017 02:10:05 +0000 (02:10 +0000)]
Merge "Add continuous property infrastructure to VHAL"
Eric Laurent [Tue, 7 Mar 2017 01:22:40 +0000 (01:22 +0000)]
Merge "audio: add missing flags and devices"
Roshan Pius [Sat, 4 Mar 2017 12:38:42 +0000 (04:38 -0800)]
wifi(implementation): Allow wifi hal to access gps
Wifi Hal uses some gps components (LOWI) for gscans (location scans).
So, grant it gps group permission.
Denials:
03-03 16:56:03.845 623 6924 I QCALOG : [MessageQ_Client] connecting
to server [/data/misc/location/mq/location-mq-s]
03-03 16:56:03.845 623 6924 E QCALOG : [MessageQ_Client] connect
error: 13, [Permission denied]
Bug:
35959128
Test: Denials no longer seen.
Change-Id: Iddfddb46a585c7c15a26b1fa01889181e4a3cce1
Ruchi Kandoi [Thu, 26 Jan 2017 01:08:35 +0000 (17:08 -0800)]
Add Test cases to Nfc VTS
- Call close() after close()
- Call open() after open()
- Call powerCycle() after close()
- Call preDiscover() after close()
- Call controlGranted() after close()
- Call coreInitialized() with different data
Test: VTS test passes
Bug:
32024301
Change-Id: I7cd986887ccbf2774d5eace9c975a9a55ee46364
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
Tri Vo [Tue, 7 Mar 2017 01:02:25 +0000 (17:02 -0800)]
Use default argument to getService.
Bug:
35769988
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--primary-abi-only --skip-preconditions --module
VtsHalContextHubV1_0Target -l VERBOSE
Change-Id: I3919226a7f0c6f2c5475fcba15f026297f93dcc3
TreeHugger Robot [Tue, 7 Mar 2017 00:59:23 +0000 (00:59 +0000)]
Merge "Fix sensor event in vehicle HAL emulator"
Jack Yu [Tue, 7 Mar 2017 00:30:11 +0000 (00:30 +0000)]
Merge "Removed the deprecated screen state API"
Hridya Valsaraju [Tue, 7 Mar 2017 00:26:04 +0000 (00:26 +0000)]
Merge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests""" am:
38f2a8495f am:
ca72971fea
am:
da8bf19fe4
Change-Id: Iebe5c0d1ccb3d0185ae5b686ec826f65b83494b2
Hridya Valsaraju [Tue, 7 Mar 2017 00:24:04 +0000 (00:24 +0000)]
Merge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests""" am:
38f2a8495f
am:
ca72971fea
Change-Id: I539fd6adbae57a17c33b7503ca34f8d2e67178b5
Hridya Valsaraju [Tue, 7 Mar 2017 00:22:04 +0000 (00:22 +0000)]
Merge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests"""
am:
38f2a8495f
Change-Id: I85c6f7b8494d70c30ccdc222760e45964230c347
Scott Randolph [Thu, 2 Mar 2017 04:32:59 +0000 (20:32 -0800)]
Move EVS HAL under automotive folder
Test: Build locally
Change-Id: I76aa7eb52497169d0edcb6d756e0a7ca31bb0b46
Mikhail Naganov [Mon, 6 Mar 2017 23:54:38 +0000 (23:54 +0000)]
Merge "Revert "audiohal: Add diagnostic message to check the number of bytes written""
Eric Laurent [Mon, 6 Mar 2017 23:09:48 +0000 (15:09 -0800)]
audio: fix IStream.createMmapBuffer()
Do not close the native fd for shared memory passed by
the legacy HAL as it is owned by tinyalsa implementation.
Test: test MMAP NO IRQ playback and capture streams
Bug:
31458351
Change-Id: Ie0c2a38574e5ac5c13fdb8a5c81fd02cf7d0e47a
TreeHugger Robot [Mon, 6 Mar 2017 22:54:16 +0000 (22:54 +0000)]
Merge "Add return status to IGraphicBufferSource methods"
Roshan Pius [Mon, 6 Mar 2017 22:14:36 +0000 (22:14 +0000)]
Merge "wifi(implementation): Allow wifi hal to access gps"
Hridya Valsaraju [Mon, 6 Mar 2017 21:21:17 +0000 (21:21 +0000)]
Merge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests"""
Pavel Maltsev [Fri, 27 Jan 2017 19:48:29 +0000 (11:48 -0800)]
Add continuous property infrastructure to VHAL
Implemented RecurrentTimer class that can be used in VHAL
implementations to trigger an event every X amount of time.
This make sense for continous properties.
Also added linkToDeath for VHAL listeners.
Test: unit tests added and ran
Change-Id: I4a2e0607ff6b15b3e7babbe3fbb9fff8d4e28838
Etan Cohen [Mon, 6 Mar 2017 16:57:55 +0000 (16:57 +0000)]
Merge "[AWARE] VTS baseline" am:
89145d5849 am:
8d875546a3
am:
0bd07635e4
Change-Id: I98751b7b94f9989a5a7cb13441e56f3d1aecd709
Etan Cohen [Mon, 6 Mar 2017 16:54:23 +0000 (16:54 +0000)]
Merge "[AWARE] VTS baseline" am:
89145d5849
am:
8d875546a3
Change-Id: Ib0629ffee37feb9ed1311a7bcdf31b57a5912791
Etan Cohen [Mon, 6 Mar 2017 16:50:56 +0000 (16:50 +0000)]
Merge "[AWARE] VTS baseline"
am:
89145d5849
Change-Id: If4b0b17e1c5867835ec412f7e063f45c52bc4e97
Etan Cohen [Mon, 6 Mar 2017 16:46:59 +0000 (16:46 +0000)]
Merge "[AWARE] VTS baseline"
Roshan Pius [Sat, 4 Mar 2017 12:38:42 +0000 (04:38 -0800)]
wifi(implementation): Allow wifi hal to access gps
Wifi Hal uses some gps components (LOWI) for gscans (location scans).
So, grant it gps group permission.
Denials:
03-03 16:56:03.845 623 6924 I QCALOG : [MessageQ_Client] connecting
to server [/data/misc/location/mq/location-mq-s]
03-03 16:56:03.845 623 6924 E QCALOG : [MessageQ_Client] connect
error: 13, [Permission denied]
Bug:
35959128
Test: Denials no longer seen.
Change-Id: Iddfddb46a585c7c15a26b1fa01889181e4a3cce1
TreeHugger Robot [Sat, 4 Mar 2017 00:52:43 +0000 (00:52 +0000)]
Merge "fallout of cleaning-up libutils includes"
Myles Watson [Thu, 2 Mar 2017 17:26:53 +0000 (09:26 -0800)]
Bluetooth: Watch multiple FDs with AsyncFdWatcher
Test: AsyncFdWatcherSocketTest.WatchTwoFileDescriptors
Change-Id: I2444515541e9be01720341c693012a580b3cb04f
Eric Laurent [Sat, 4 Mar 2017 00:39:48 +0000 (16:39 -0800)]
audio: add missing flags and devices
Add missing devices for USB headset to allow distinction
between USB sound cards and simple USB headsets.
Add output and input flags indicating special output
and input profiles to used for VoIP streams.
Test: make.
Change-Id: I7967866e15991dbf2f4349daa3ff3baa87c1c062
Etan Cohen [Mon, 13 Feb 2017 21:59:07 +0000 (13:59 -0800)]
[AWARE] VTS baseline
Modified Wi-Fi test setup/tear-down to shutdown and start the
Android framework. The framework competes with the VTS to control
the HAL and so must be disabled for the duration of the test.
Added framework to support VTS testing with the Wi-Fi Aware (NAN)
interface.
Added all callback types (notifications, events) with ability to
wait for such callbacks.
Bug:
35276551
Test: gtest pass
Change-Id: I50847fccad457c2b225ba7f2e1760b4dbb4d363f
Robert Shih [Wed, 1 Mar 2017 23:17:52 +0000 (15:17 -0800)]
Add return status to IGraphicBufferSource methods
Bug:
35449087
Test: Manual
Change-Id: I0a44630f2b5b07cfd62f41764d0ca43a924d221a
Kevin Rocard [Sat, 11 Feb 2017 00:19:28 +0000 (16:19 -0800)]
Add VTS tests for the primary audio hal
Test: run the vts test on target
Test: vts-tradefed r vts-hal-hidl -m VtsHalAudioV2_0Target
Bug:
34170075
Change-Id: I4bd6cb0aa5b7cc628537cd7c024542c4db8b592d
Signed-off-by: Kevin Rocard <krocard@google.com>
Hridya Valsaraju [Fri, 3 Mar 2017 22:10:04 +0000 (14:10 -0800)]
Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests""
Test: built and ran FMQ benchmarks
This reverts commit
8b34b1a547af33b7ae3b3a4013deb089c949a60b.
Change-Id: I7d8884b9de97980b5bdb7a4355a61b00bbd396b4
Bryan Eyler [Fri, 3 Mar 2017 22:06:47 +0000 (22:06 +0000)]
Merge "Add a continuous property to default implementation."
Tomasz Wasilczyk [Fri, 3 Mar 2017 21:02:15 +0000 (13:02 -0800)]
Test ITuner::tune failing when channel out of the range is provided.
Test: VTS
Bug: b/
32022455
Change-Id: I8eac71ef1ec8628cfaa9fcd0c668ce79e845b3d6
Roshan Pius [Fri, 3 Mar 2017 20:55:36 +0000 (20:55 +0000)]
Merge changes I5c32ab58,Ie480f9d6 am:
5a0706d429 am:
857fb76af1
am:
2567e401e6
Change-Id: I4ab9d75ee1bb66283ff026649e2ce2731c48afea
Roshan Pius [Fri, 3 Mar 2017 20:52:34 +0000 (20:52 +0000)]
Merge changes I5c32ab58,Ie480f9d6 am:
5a0706d429
am:
857fb76af1
Change-Id: Ie8acf90170a48239ab7e21175606f6091199db4a
Roshan Pius [Fri, 3 Mar 2017 20:49:37 +0000 (20:49 +0000)]
Merge changes I5c32ab58,Ie480f9d6
am:
5a0706d429
Change-Id: I6834ea8dd31f12934abf71d406a4f1eb7c460dae
Roshan Pius [Fri, 3 Mar 2017 20:46:32 +0000 (20:46 +0000)]
Merge changes I5c32ab58,Ie480f9d6
* changes:
wifi(implementation): Clear all structs before conversion
wifi(implementation): Use strlen for size of ssid
Mathias Agopian [Wed, 1 Mar 2017 00:26:29 +0000 (16:26 -0800)]
fallout of cleaning-up libutils includes
Test: run & compile
Bug: n/a
Change-Id: I9ad9f3358cceb15d3d8c97d2444fb74ee04bd9f8
Mikhail Naganov [Fri, 3 Mar 2017 19:01:44 +0000 (19:01 +0000)]
Revert "audiohal: Add diagnostic message to check the number of bytes written"
Diagnostic logging can be removed now as we have figured out that the problem isn't with the legacy hal.
This reverts commit
8d391c8eed27b14eab1f9fde0cb22a5c5d925a6a.
Change-Id: I70a3454c05a0f49f3a3bed06e5a11616ed90ddf3
Tomasz Wasilczyk [Thu, 22 Dec 2016 19:49:17 +0000 (11:49 -0800)]
Extend broadcast radio VTS tests by tuner reopening scenario.
Bug: b/
33779707, b/
33382424
Test: VTS
Change-Id: Icd60ed9109a379d7c7ae385f479c08fd5011ed7f
Antonio Cortes Perez [Fri, 3 Mar 2017 15:11:24 +0000 (15:11 +0000)]
Merge "Post-O. Move VMS property to hal 2.1."
Courtney Goeltzenleuchter [Fri, 3 Mar 2017 14:44:07 +0000 (14:44 +0000)]
Merge "Add dataspace to match upstream EGL extension"
Hsin-Yi Chen [Mon, 27 Feb 2017 11:29:42 +0000 (19:29 +0800)]
Add VTS test for ISoundTriggerHw::loadSoundModel
Add a negative test for loading generic sound model with random data.
Test: vts-tradefed run commandAndExit vts -m VtsHalSoundtriggerV2_0Target
Bug:
35409266
Change-Id: I0bb6dd758d114bd094c88899abf06accdefb8efa
Ashutosh Joshi [Fri, 3 Mar 2017 00:18:24 +0000 (00:18 +0000)]
Merge "Prevent framework from stucking at communicating with HIDL HAL"
Peng Xu [Thu, 2 Mar 2017 21:36:45 +0000 (13:36 -0800)]
Prevent framework from stucking at communicating with HIDL HAL
Sensor hidl service has two threads quota. One is used for sending
commands down to hardware, and the other for retrieving sensor events
from hardware. The second is usually blocked on poll().
When system server quits abnormaly, the poll thread may still be
blocked in HAL implementation and holding that thread. There won't be
enough available threads for framework sensor service to function
correctly when system service restarts, resulting in a deadlock at
enableSensor() or getService() until the hidl service is restarted.
This fix detects a second connection from framework sensor service
and kills the hidl service in case that happens. The system will restart
the hidl service with clean state and return system to normal operation.
Bug:
35727090
Bug:
35843387
Bug:
35702298
Bug:
35919167
Bug:
35848670
Bug:
35903635
Test: Restart device works in normal case.
Restart also works with the following scenario (reproducing error)
"adb root && adb shell dumpsys sensorservice restrict random &&
adb shell stop && adb shell start"
Change-Id: Ibffa87d93b2d24af2803be9281e7141d0a221e3e
Antonio Cortes [Wed, 22 Feb 2017 15:30:13 +0000 (07:30 -0800)]
Post-O. Move VMS property to hal 2.1.
Test: build and flash Mojave board with TARGET_USES_CAR_FUTURE_FEATURES=true.
Test: check that the property is displayed in the logs during startup.
Bug:
35628104
Change-Id: I8b5327ae255cd94ac78a0436aac06b32e3168c28
Greg Hartman [Thu, 2 Mar 2017 23:47:23 +0000 (23:47 +0000)]
Merge "Revert "Move android.hardware.benchmarks into android.hardware.tests"" am:
b59f873ab9 am:
19de6f7815
am:
a25c53a2a4
Change-Id: I3b1a764c1e0c818685cbf09b4e88bafc459c63ac
Greg Hartman [Thu, 2 Mar 2017 23:44:52 +0000 (23:44 +0000)]
Merge "Revert "Move android.hardware.benchmarks into android.hardware.tests"" am:
b59f873ab9
am:
19de6f7815
Change-Id: I1cc467152a0308b877a261a89480eef6e09e38cf