Commit graph

3327 commits

Author SHA1 Message Date
Hridya Valsaraju
56fbe8aef2 Merge "Move FMQ tests to hardware/interfaces" am: 96b3cce92c
am: 35b5786cd7

Change-Id: Ic58fe49fb0ebe482f591174d8594ab9956e0b2f6
2017-03-08 00:09:56 +00:00
Hridya Valsaraju
35b5786cd7 Merge "Move FMQ tests to hardware/interfaces"
am: 96b3cce92c

Change-Id: I951fc763614f1f39a622c864d1a999c4a584fced
2017-03-08 00:07:25 +00:00
Treehugger Robot
96b3cce92c Merge "Move FMQ tests to hardware/interfaces" 2017-03-08 00:01:29 +00:00
Roshan Pius
f12f1ee288 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
2017-03-07 23:24:16 +00:00
Chia-I Wu
d412d7b1d2 graphics: initialize count to 0 in initCapabilities
Be more defensive against HALs that do not initialize count.

Test: manual
Change-Id: I8b70454a1a3134c01d225be504579fc2e81ca88b
2017-03-07 14:45:33 -08:00
Chia-I Wu
e86947e848 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
2017-03-07 22:37:26 +00:00
TreeHugger Robot
858a03292a Merge "camera/device/3.2: Add custom vendor operating modes" 2017-03-07 22:19:48 +00:00
Zach Johnson
917efb1c0e Bring multi-channel transport into the glorious new age
Some devices still use MCT as their UART protocol, so
we need to bring it forward to the fresh new HAL.

Also, adding tests for H4 while I'm here.

Test: new unit tests pass and a device using MCT now
boots BT again \o/
Fixes: 34992730
Change-Id: Idb8e536a2779929ad8a0d4bac492c3011995cd79
2017-03-07 22:16:24 +00:00
Chia-I Wu
c2e949ec5f graphics: add a basic test for IMapper::lockFlex
Bug: 32023011
Test: manual
Change-Id: Iae143d11056f6ab169d1068fdaa62e889051b16e
2017-03-07 12:26:03 -08:00
Chia-I Wu
8cc5a15410 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
2017-03-07 12:26:03 -08:00
Chia-I Wu
89d09ddb0a 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
2017-03-07 12:24:26 -08:00
Chia-I Wu
69505c6842 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
2017-03-07 12:23:25 -08:00
Connor O'Brien
7d39766157 memtrack: eliminate dependency on surfaceflinger in VTS test
VTS tests need to be able to run without the framework or native
servers. Call getMemory() on the test process instead of on
surfaceflinger to facilitate this.

Bug: 35945712
Test: Test passes on marlin and bullhead.
Change-Id: Ie847da708a95360ed5f2b444973e45b091e912a0
Signed-off-by: Connor O'Brien <connoro@google.com>
2017-03-07 12:16:00 -08:00
Tomasz Wasilczyk
d5c63c8730 Merge "Extend configChange and tuneComplete callbacks with checking the carried value." 2017-03-07 19:57:49 +00:00
Shuoq
064ee51e07 Initial Target-side VTS tests for Short Message Service(SMS) Radio Hal Apis
Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Bug: 32022332

Change-Id: Ia630493e0501e75a5c327aab77d6a0af59587128
2017-03-07 19:24:23 +00:00
Antonio Cortes
10ccd94f7f Placeholder for future implementation of VMS property in the default hal.
Test: build and flash Mojave board.
Bug: 35628104
Change-Id: I865d943b00b46ca1dd632ff3803702faec38f3f4
2017-03-07 10:51:54 -08:00
Myles Watson
287adc9897 Merge "Bluetooth: Watch multiple FDs with AsyncFdWatcher" am: 1143a3fec6 am: 14d63bfc76
am: 23a50f3906

Change-Id: Id641325482bf1f1ab4fd647777433fd8a9da5263
2017-03-07 18:50:14 +00:00
Roshan Pius
ccb69f8e3a Merge "wifi(implementation): Allow wifi hal to access gps" am: fd3f9ea031 am: d1d0f1c24e
am: e2c6bb4207

Change-Id: I30e2216869837a1108386b906ce339310621a99c
2017-03-07 18:46:53 +00:00
Myles Watson
23a50f3906 Merge "Bluetooth: Watch multiple FDs with AsyncFdWatcher" am: 1143a3fec6
am: 14d63bfc76

Change-Id: I992a89661832064ec1ec3a8128acc3c51421ba79
2017-03-07 17:39:06 +00:00
Roshan Pius
e2c6bb4207 Merge "wifi(implementation): Allow wifi hal to access gps" am: fd3f9ea031
am: d1d0f1c24e

Change-Id: Ic6b54a979fac2c64cbefe39cdb2d1034c2454e5f
2017-03-07 17:35:58 +00:00
Myles Watson
14d63bfc76 Merge "Bluetooth: Watch multiple FDs with AsyncFdWatcher"
am: 1143a3fec6

Change-Id: Ib0f1a7f2a87eb82896d69501b5c33bbddebdf154
2017-03-07 17:32:23 +00:00
Treehugger Robot
1143a3fec6 Merge "Bluetooth: Watch multiple FDs with AsyncFdWatcher" 2017-03-07 17:30:03 +00:00
Keun Soo Yim
89dc24e624 Merge "Add VTS tests for the primary audio hal" 2017-03-07 17:29:41 +00:00
Roshan Pius
d1d0f1c24e Merge "wifi(implementation): Allow wifi hal to access gps"
am: fd3f9ea031

Change-Id: Ia776e9d3af9158f2ffd6d1d285d56a12a7ee909b
2017-03-07 17:29:18 +00:00
Roshan Pius
fd3f9ea031 Merge "wifi(implementation): Allow wifi hal to access gps" 2017-03-07 17:24:32 +00:00
Ruchi Kandoi
a0f7e75172 Merge "Add Test cases to Nfc VTS" am: eed21780a1 am: 8c3a44084c
am: 4b0901e29b

Change-Id: Ia689cadc4104acb4340d37ccefadea6753ff2a3b
2017-03-07 17:13:58 +00:00
Ruchi Kandoi
4b0901e29b Merge "Add Test cases to Nfc VTS" am: eed21780a1
am: 8c3a44084c

Change-Id: I6a7eae8ecdcc9e67f563b2674c39124f423af4ca
2017-03-07 17:11:58 +00:00
Ruchi Kandoi
8c3a44084c Merge "Add Test cases to Nfc VTS"
am: eed21780a1

Change-Id: I6d42d2e5fc0691469f561b26444798d84e243042
2017-03-07 17:09:58 +00:00
Ruchi Kandoi
eed21780a1 Merge "Add Test cases to Nfc VTS" 2017-03-07 17:05:39 +00:00
Hridya Valsaraju
8a7086296c Move FMQ tests to hardware/interfaces
Test: FMQ unit tests pass
Bug: 32284445

Change-Id: I1daf563560d12fc7a4433ae98876331c37509980
2017-03-07 09:02:23 -08:00
Tomasz Wasilczyk
f3c036d7d6 Extend configChange and tuneComplete callbacks with checking the carried value.
Bug: b/33382424
Test: VTS
Change-Id: I52f4b0641f01fcd120e43d235b7747b7c9ca739a
2017-03-07 08:19:56 -08:00
Tomasz Wasilczyk
c2a7548b5b Merge "Test ITuner::tune failing when channel out of the range is provided." 2017-03-07 15:55:25 +00:00
Hsin-Yi Chen
724cca05cb Merge "Add VTS test for ISoundTriggerHw::loadSoundModel" 2017-03-07 05:33:46 +00:00
TreeHugger Robot
143d6a7f83 Merge "Use default argument to getService." 2017-03-07 04:12:16 +00:00
Jeff Tinker
7e0a4e54ad 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
2017-03-07 02:55:27 +00:00
Jack Yu
8f79d9e36c Merge "Removed the deprecated screen state API" am: c438414190 am: 243047c574
am: 1fd613fedb

Change-Id: I11ddba206b9e2a56a9aa804878415f33c334d970
2017-03-07 02:49:13 +00:00
Jack Yu
1fd613fedb Merge "Removed the deprecated screen state API" am: c438414190
am: 243047c574

Change-Id: If29c615413ae327bd5423c0b97fd4873e04881d7
2017-03-07 02:45:50 +00:00
Jack Yu
243047c574 Merge "Removed the deprecated screen state API"
am: c438414190

Change-Id: Idde6a83cd75012b96e911b01d1993a3b6ca73973
2017-03-07 02:43:33 +00:00
TreeHugger Robot
f410228abc Merge "Add continuous property infrastructure to VHAL" 2017-03-07 02:10:05 +00:00
Eric Laurent
0e3ae991b6 Merge "audio: add missing flags and devices" 2017-03-07 01:22:40 +00:00
Roshan Pius
814b765a09 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
2017-03-06 17:18:48 -08:00
Ruchi Kandoi
3d7c5f974c 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>
2017-03-06 17:03:08 -08:00
Tri Vo
f869c0cec4 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
2017-03-06 17:02:33 -08:00
TreeHugger Robot
5d6a91ccce Merge "Fix sensor event in vehicle HAL emulator" 2017-03-07 00:59:24 +00:00
Jack Yu
c438414190 Merge "Removed the deprecated screen state API" 2017-03-07 00:30:11 +00:00
Hridya Valsaraju
d59b0cab70 Merge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests""" am: 38f2a8495f am: ca72971fea
am: da8bf19fe4

Change-Id: Iebe5c0d1ccb3d0185ae5b686ec826f65b83494b2
2017-03-07 00:26:04 +00:00
Hridya Valsaraju
da8bf19fe4 Merge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests""" am: 38f2a8495f
am: ca72971fea

Change-Id: I539fd6adbae57a17c33b7503ca34f8d2e67178b5
2017-03-07 00:24:04 +00:00
Hridya Valsaraju
ca72971fea Merge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests"""
am: 38f2a8495f

Change-Id: I85c6f7b8494d70c30ccdc222760e45964230c347
2017-03-07 00:22:04 +00:00
Scott Randolph
8342279a79 Move EVS HAL under automotive folder
Test:  Build locally
Change-Id: I76aa7eb52497169d0edcb6d756e0a7ca31bb0b46
2017-03-06 15:59:50 -08:00
Mikhail Naganov
cd4837f5f9 Merge "Revert "audiohal: Add diagnostic message to check the number of bytes written"" 2017-03-06 23:54:39 +00:00