OSDN Git Service
Treehugger Robot [Thu, 30 Mar 2017 22:43:39 +0000 (22:43 +0000)]
Merge "Enable the clang-format pre-submit hook"
Myles Watson [Thu, 30 Mar 2017 16:13:50 +0000 (09:13 -0700)]
Enable the clang-format pre-submit hook
Bug:
36699008
Test: Try to upload a patch with formatting errors.
Change-Id: I4af7d142ccbbaf39eb236547487c59c5ff8f2cd6
Treehugger Robot [Thu, 30 Mar 2017 20:04:53 +0000 (20:04 +0000)]
Merge "Change sytle of radio and sap tests to clang google"
Treehugger Robot [Thu, 30 Mar 2017 18:22:05 +0000 (18:22 +0000)]
Merge "Bluetooth: Replace assert() with CHECK()"
Yuexi Ma [Thu, 30 Mar 2017 17:58:23 +0000 (10:58 -0700)]
Change sytle of radio and sap tests to clang google
Test: make VtsHalRadioV1_0TargetTest, make VtsHalSapV1_0TargetTest
Change-Id: Ie13efe0d049ade7839881c14ed2904d8acd99b93
Shuo Qian [Thu, 30 Mar 2017 16:49:40 +0000 (16:49 +0000)]
Merge "Add VTS tests for Sap Apis."
Myles Watson [Thu, 23 Feb 2017 23:50:54 +0000 (15:50 -0800)]
Bluetooth: Replace assert() with CHECK()
Test: Bluetooth starts/stops, VtsHalBluetoothV1_0TargetTest passes
Change-Id: I1ecdf4ed7507fc8e2f00c35f136cb13e145713e5
Yuexi Ma [Wed, 29 Mar 2017 23:49:59 +0000 (16:49 -0700)]
Bluetooth VTS test use VtsHalHidlCallbackBase for callback wait and notify
VtsHalBluetoothV1_0TargetTest uses VtsHalHidlCallbackBase.
Callback class extends VtsHalHidlCallbackBase and use waitForCallback, notifyFromCallback, and setWaitTimeout
The original Bluetooth test contains the following use cases:
* Wait for specific callback
* Set timeout for specific callback waiting
The modified version supports the above use cases.
Bug:
36036059
Test: Test pass locally
Change-Id: I961baaf7f1b09fa9c134629cc7280565a2664ed5
Michael Butler [Thu, 30 Mar 2017 00:40:00 +0000 (00:40 +0000)]
Merge "RenderScript VTS cleanup and fixes"
Michael Butler [Thu, 30 Mar 2017 00:39:21 +0000 (00:39 +0000)]
Merge "Fix RS HIDL server, pass data by bytes instead of by elements."
Michael Butler [Mon, 27 Mar 2017 21:14:18 +0000 (14:14 -0700)]
Fix RS HIDL server, pass data by bytes instead of by elements.
Our current stack:
API->API_TO_HAL_translator->HAL
->HAL_TO_Implementation_translator->Implementation
For most APIs:
- API passes objectCount.
- HAL expects objectCount.
- Implementation expects objectCount.
For APIs like ScriptGroupCreate:
- API passes byteCount. And unfortunately, these APIs are part of
NDK, we could not make them also passing objectCount like others.
- HAL expects objectCount.
- Implementation expects byteCount.
So that both API_TO_HAL_translator and
HAL_TO_Implementation_translator should correctly convert input
objectCount/byteCount to byteCount/objectCount.
This CL only fixes the HAL_TO_Implementation_translator part,
whereas aosp/356395 fixes the API_TO_HAL_translator part. Both
parts were mistakenly using byteCount as objectCount, causing
potential out-of-bound access.
Bug:
36404879
Test: mm on angler
Change-Id: I28541a8926aeafece40e2a3f664bda67e26a34a2
Shuoq [Fri, 24 Mar 2017 00:22:50 +0000 (17:22 -0700)]
Add VTS tests for Sap Apis.
Bug:
32022332
Test: vts
Change-Id: I9a55978aa485a59510090f46a8e5edfb87bccc0e
Andreas Huber [Tue, 28 Mar 2017 21:40:58 +0000 (14:40 -0700)]
Convert all comments into "doxygen-ready" comments.
Bug:
36453077
Test: make
Change-Id: Ic77394d4d2e1ccedba3a28230d870c5d6108bd40
Roshan Pius [Mon, 27 Mar 2017 16:23:12 +0000 (09:23 -0700)]
wifi(implementation): Stop loading vendor library statically
libwifi-hal statically imports the vendor implementation of the legacy
HAL. Since the HIDL daemon is dynamically linking against libwif-hal,
there is no need for it to statically import the vendor implementation
library (one pointed to by: $LIBWIFI-HAL variable).
Bug:
36169790
Test: Compiles & device is able to connect to wifi networks with the
change.
Change-Id: Ie44b58328f9bdde011ba6d4a4d26f786c2d097e7
Michael Butler [Fri, 17 Mar 2017 20:02:53 +0000 (13:02 -0700)]
RenderScript VTS cleanup and fixes
This CL fixes the remaining VTS test cases for the RenderScript
vts-hidl-hal test and cleans up and improves the working test cases.
The goal is to have at least one passing test case per HIDL HAL entry.
Bug:
35915961
Test: mm and run on angler
Change-Id: I4b6e25831ce7d2abb3148c39eb48bde10ed04646
Steven Moreland [Sat, 25 Mar 2017 04:50:45 +0000 (21:50 -0700)]
Update makefiles.
Test: pass
Change-Id: I925baccbe51a32b7b7f3f66cf2918d017ee6b039
Shuo Qian [Fri, 24 Mar 2017 17:21:17 +0000 (17:21 +0000)]
Merge "Remove GENERIC_FAILURE and INVALID_ARGUMENT for Api documentation"
Etan Cohen [Fri, 24 Mar 2017 16:08:55 +0000 (16:08 +0000)]
Merge "[WIFI] Restore initialization code"
Jaesoo Lee [Fri, 24 Mar 2017 03:23:26 +0000 (03:23 +0000)]
Merge "removed unused function (HIDL_FETCH_ISurfaceFlingerConfigs)"
Etan Cohen [Thu, 23 Mar 2017 15:11:47 +0000 (08:11 -0700)]
[WIFI] Restore initialization code
Restore the usage of WIFI-specific main function. The main
function was inadvertantly disabled by moving it into a static
library - which caused the default main to be used.
Need a custom main since need to stop WIFI before tests start
to enforce a clean starting point.
Bug:
35276551
Test: confirms custom main routine is called
Change-Id: I978827bc0f0f16d9ca4f159fbf42d0bc53f5df99
Treehugger Robot [Thu, 23 Mar 2017 19:20:25 +0000 (19:20 +0000)]
Merge "Nfc: Null ptr checks in HAL"
Jaesoo Lee [Tue, 21 Mar 2017 06:02:14 +0000 (15:02 +0900)]
removed unused function (HIDL_FETCH_ISurfaceFlingerConfigs)
HIDL_FETCH_... is required only for passthrough mode, but Configstore
does not provide passthrough mode.
Bug:
35325577
Test: build and check configstore works
Change-Id: I35e916ad4a6c321303a3888dabb4884b17146e16
Merged-In: Iac3ed57568f18c3a8a7f7423a361b0fe45aa54ab
Etan Cohen [Thu, 23 Mar 2017 00:10:33 +0000 (00:10 +0000)]
Merge "[AWARE] Add Passphrase data-path security"
Treehugger Robot [Wed, 22 Mar 2017 23:59:57 +0000 (23:59 +0000)]
Merge "Bluetooth: Protect pointers and callbacks"
Ruchi Kandoi [Mon, 13 Mar 2017 21:58:36 +0000 (14:58 -0700)]
Nfc: Null ptr checks in HAL
Adds null pointer checks in the default implementation.
Test: compiles
Bug:
36149477
Change-Id: I6195ce92f5cefd4b82874866d08014830f400192
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
Treehugger Robot [Wed, 22 Mar 2017 22:49:37 +0000 (22:49 +0000)]
Merge "use toString instead of to_string"
Myles Watson [Thu, 16 Mar 2017 23:23:23 +0000 (16:23 -0700)]
Bluetooth: Protect pointers and callbacks
Test: kill com.android.bluetooth
Bug:
36150800
Change-Id: I9533731c9ce3776c84e6c1d3fdf3e266b328a084
Sanket Padawe [Wed, 22 Mar 2017 21:29:12 +0000 (21:29 +0000)]
Merge "Add VTS for couple of missing APIs and some cleanup for earlier APIs."
Hridya Valsaraju [Fri, 10 Mar 2017 17:19:54 +0000 (09:19 -0800)]
use toString instead of to_string
Bug:
35703683
Test: hidl_test_java passes
Change-Id: Ib7d6807f6b9ddcd7b0271b17a0a52be0ee07ec6c
Shuoq [Mon, 20 Mar 2017 22:51:04 +0000 (15:51 -0700)]
Remove GENERIC_FAILURE and INVALID_ARGUMENT for Api documentation
Remove GENERIC_FAILURE for the documentation of the apis
in the IRadioResponse.hal, which should not be
returned in any case.
Remove INVALID_ARGUMENT for the documentation of the apis
in IRadioResponse.hal if it is not present in the ril.h file.
Bug:
36385785
Test: No change to behavior
Change-Id: Iab0976ddc6b10863cdbdbfb8a8f213d7d9b17cb5
Jaesoo Lee [Wed, 22 Mar 2017 00:42:32 +0000 (00:42 +0000)]
Merge "disabled passthrough mode for Configstore"
Etan Cohen [Tue, 14 Mar 2017 21:54:40 +0000 (14:54 -0700)]
[AWARE] Add Passphrase data-path security
Add mechanism to configure data-path security using Passphrase
(as an alternative to PMK).
Bug:
35866810
Test: integration (sl4a) tests passing.
Change-Id: If7094a44af1996d3caf5b776d492797f14a7be11
Sanket Padawe [Tue, 21 Mar 2017 21:48:41 +0000 (14:48 -0700)]
Add VTS for couple of missing APIs and some cleanup for earlier APIs.
Bug:
32022332
Test: vts
Change-Id: I361af4a37985e5bc686a2d7302917afa134ebc24
Roshan Pius [Mon, 20 Mar 2017 22:55:30 +0000 (15:55 -0700)]
supplicant(interface): Add an event for bssid changes
This is useful in debugging (& collecting metrics) when the active bssid changes.
Bug:
36451639
Test: Compiles & manual tests using the framework changes.
Change-Id: I5676dfb9ec9c13ae900c315eb8dfacb857e70fc1
Jaesoo Lee [Mon, 20 Mar 2017 04:57:10 +0000 (13:57 +0900)]
disabled passthrough mode for Configstore
This change removes target "android.hardware.configstore@1.0-impl" to
disable passthrough mode.
Bug:
35325577
Test: android.hardware.configstore@1.0-impl.so not exist in outputs and
configstore works in binderized mode
Change-Id: Ieedb6fea179d50ac35fc32b0e21752b2334558ae
Roshan Pius [Mon, 20 Mar 2017 17:15:18 +0000 (10:15 -0700)]
wifi(implementation): Return proper status code on initialize
The fallback HAL will return |WIFI_ERROR_NOT_SUPPORTED| when
|init_wifi_vendor_hal_func_table| is invoked. This should be sent as is
to the HIDL interface instead of sending |WIFI_ERROR_UNKNOWN|.
Bug:
34859006
Test: Compiles
Change-Id: I5fd132368715bd158e617ad3cf2e6f88d147cef7
Steven Moreland [Mon, 20 Mar 2017 22:08:04 +0000 (22:08 +0000)]
Merge "Use simplified update-makefiles.sh script."
Treehugger Robot [Mon, 20 Mar 2017 21:34:56 +0000 (21:34 +0000)]
Merge "supplicant(interface): Correct the WFD info length"
Roshan Pius [Mon, 20 Mar 2017 21:30:42 +0000 (21:30 +0000)]
Merge "supplicant(interface): Support for P2P client list and save config"
Treehugger Robot [Mon, 20 Mar 2017 17:02:54 +0000 (17:02 +0000)]
Merge "configstore: respect service registration status."
Roshan Pius [Fri, 17 Mar 2017 22:44:56 +0000 (15:44 -0700)]
supplicant(interface): Correct the WFD info length
Error logs from test:
03-17 18:34:34.303 1781 1781 E wpa_supplicant: Unexpected WFD device
info len: 6
Bug:
36401779
Test: Compiles
Change-Id: I65805599f8f3242a5c1f6ba8c0a1b9da05df79b4
Roshan Pius [Thu, 16 Mar 2017 16:38:26 +0000 (09:38 -0700)]
supplicant(interface): Support for P2P client list and save config
Bug:
36042785
Test: Compiles
Change-Id: Ib47b47762c05e6252f692c1456e9b8d5dd8c051a
Steven Moreland [Mon, 20 Mar 2017 12:02:14 +0000 (05:02 -0700)]
Versioning, add additional package import.
Added versioning@2.4. This tests the same as 2.2->2.3, but also repros
an issue in hidl-gen where triple inheritance isn't allowed.
Test: minor version inheritance doesn't fail, triple inheritance works
Bug:
36162559
Change-Id: Id5518621cd068b1b623f30f6f6762a1bf8ae6a80
Steven Moreland [Mon, 20 Mar 2017 11:19:10 +0000 (04:19 -0700)]
Use simplified update-makefiles.sh script.
Test: update-makefiles
Bug:
35870521
Change-Id: I652db1f458f07f0b254966c2acee0b441a0bcae1
Treehugger Robot [Sun, 19 Mar 2017 23:45:57 +0000 (23:45 +0000)]
Merge "Bluetooth: Do not die quietly on binder death"
Steven Moreland [Sun, 19 Mar 2017 21:38:20 +0000 (14:38 -0700)]
configstore: respect service registration status.
Bug:
36424561
Test: pass
Change-Id: I546af49d589e455b6dd97ca45d2330aa82059a4a
Treehugger Robot [Fri, 17 Mar 2017 23:15:13 +0000 (23:15 +0000)]
Merge "Add VTS test for misc RIL apis."
Jayachandran Chinnakkannu [Fri, 17 Mar 2017 22:18:22 +0000 (22:18 +0000)]
Merge "Add new precise call fail causes and OEM causes"
Andre Eisenbach [Fri, 17 Mar 2017 20:28:09 +0000 (20:28 +0000)]
Revert "Bluetooth: Don't disable LPM at power off"
Causes power regression on Angler.
This reverts commit
3b2a29676b2efbc828ae3db272b347f553909d94.
Bug:
36358814
Bug:
36026072
Change-Id: I9bbe218a87c7d092851c400739bc5740bcf13336
Sanket Padawe [Thu, 16 Mar 2017 18:49:39 +0000 (11:49 -0700)]
Add VTS test for misc RIL apis.
Bug:
32022332
Test: vts
Change-Id: Ic898cc536bd13dfa1443fd3a70aa1b4b21c9d108
Andre Eisenbach [Fri, 17 Mar 2017 05:19:19 +0000 (22:19 -0700)]
Bluetooth: Do not die quietly on binder death
Log if the Bluetooth service has died.
Also check the return status for Bluetooth service binder callbacks to
avoid DEAD_OBJECT exception when com.android.bluetooth crashes.
Bug:
36026072
Test: unit tests; Bluetooth off/on/off; kill -6 com.android.bluetooth
Change-Id: Ia28e6777ee7b78f06db8d5214324e696441d00f7
Shuo Qian [Fri, 17 Mar 2017 17:01:53 +0000 (17:01 +0000)]
Merge "Add initial target-side VTS tests for Data, Cell broadcast, STK, IMS radio telephony apis."
Jayachandran C [Tue, 14 Mar 2017 00:00:33 +0000 (17:00 -0700)]
Add new precise call fail causes and OEM causes
Bug:
35609963
Change-Id: I235269ee0c224f9b2c9afb9d96dec08bc7594b53
Roshan Pius [Wed, 15 Mar 2017 23:28:02 +0000 (16:28 -0700)]
supplicant(interface): Add support for disabling auto connect
Adding a new API to prevent wpa_supplicant from initiating auto
reconnects.
Bug:
36282386
Test: Compiles & manual tests.
Change-Id: I81d7b1a3677cb26c6e9dc35b7302cc6b00d9a6a2
Treehugger Robot [Thu, 16 Mar 2017 23:11:35 +0000 (23:11 +0000)]
Merge "RenderScript VTS implementation"
Michael Butler [Wed, 1 Mar 2017 23:32:30 +0000 (15:32 -0800)]
RenderScript VTS implementation
Contains the gtest for the vts-hidl-hal test. The goal is to have
1 test case for each HIDL HAL entry by 3/15/17. There are still a few
tests with bugs, so they have been commented out and will be fixed by
3/17/17.
Bug:
34396220
Bug:
35915961
Test: mm and run on angler
Change-Id: I20462432a42e3aa307b98e728f30f20f5aa1e921
Roshan Pius [Thu, 16 Mar 2017 19:53:52 +0000 (12:53 -0700)]
supplicant(interface): List out all status/reason codes
List out all the association/disconnect reason codes exposed in the
IEEE80211 spec.
Bug:
36363830
Test: Compiles
Change-Id: I27168bfb67fbc658339bc5fc9310ffdc9aec5ec6
Treehugger Robot [Thu, 16 Mar 2017 00:39:15 +0000 (00:39 +0000)]
Merge "Fix MCT data transport for the BT HAL"
Shuoq [Fri, 10 Mar 2017 01:44:08 +0000 (17:44 -0800)]
Add initial target-side VTS tests for Data, Cell broadcast, STK, IMS radio
telephony apis.
Bug:
32022332
Test: vts
Change-Id: Iad55b40f7349bcb8e34ffd275088dce0626beddf
Jayachandran Chinnakkannu [Wed, 15 Mar 2017 21:28:06 +0000 (21:28 +0000)]
Merge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS"
Zach Johnson [Wed, 15 Mar 2017 20:23:54 +0000 (13:23 -0700)]
Fix MCT data transport for the BT HAL
The vendor open interface command returns the total number
of FDs opened. (2 or 4 if the interface is MCT)
However, the list of FDs is always 4 in either case. If the
open command returns 2, the FDs are shared cmd/event and
data in/out.
2 FDs example
[41, 41, 42, 42]
4 FDs example
[41, 42, 43, 44]
If we condition the registration of ACL_IN on the total
number of FDs, then 2 FD MCT interfaces will not get data.
Fixes:
36067612,
36035039,
36188793
Test: manual, pairing is quick and data does transfer
Change-Id: Icc8728239ba81426d5fc0e678c5c5480fd9b5081
Roshan Pius [Wed, 15 Mar 2017 20:34:18 +0000 (20:34 +0000)]
Merge "supplicant(vts): More tests"
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 14:42:44 +0000 (14:42 +0000)]
Merge "[AWARE] Separate Aware (NAN) VTS tests into a separate test binary."
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"
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 22:02:00 +0000 (22:02 +0000)]
Merge "Move FMQ benchmark/test services to hardware/interfaces"
Roshan Pius [Tue, 14 Mar 2017 19:53:44 +0000 (19:53 +0000)]
Merge "wifi: Add support for multiple radio stats"
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
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: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
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 [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
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 18:57:40 +0000 (18:57 +0000)]
Merge "[WIFI][HIDL] Add device-based feature flag support"
Roshan Pius [Sat, 11 Mar 2017 05:12:11 +0000 (21:12 -0800)]
wifi(implementation): Add null checks for RTT result
According to the legacy HAL header file, the LCI & LCR fields may not
always be populated. So, add null checks for them.
Bug:
36141536
Test: Compiles
Change-Id: Id2a5f5fd0eaf21b3a4d5cfcd26124c9fb6c90869
Yuexi Ma [Fri, 10 Mar 2017 20:58:03 +0000 (20:58 +0000)]
Merge "Change vts target base test class name"
Etan Cohen [Thu, 9 Mar 2017 00:43:38 +0000 (16:43 -0800)]
[WIFI][HIDL] Add device-based feature flag support
Add mechanism to define feature support flags to
configure set of Wi-Fi features supported on a particular
device.
Bug:
32997844
Test: integration tests
Change-Id: Iffbf3ba237013f1030b24c0173641234a9c27e5c
Myles Watson [Fri, 10 Mar 2017 17:10:51 +0000 (09:10 -0800)]
Bluetooth: Power off after closing the UART
Bug:
36084266
Test: angler & marlin switch users (Toggle Bluetooth under load)
Change-Id: I1e0c34e334d11b9dcf9df62cbde3d5556c537bd7
Yuexi Ma [Fri, 10 Mar 2017 08:42:13 +0000 (00:42 -0800)]
Change vts target base test class name
Test: make vts succeed, vts kernel tests and nfc hal tests passed
Change-Id: I38ae6cc940d0f17bb3352f360efdf9c70697c76b
Jaesoo Lee [Mon, 23 Jan 2017 10:09:02 +0000 (19:09 +0900)]
configstore: add new configuration item
This change adds to configstore@1.0 HAL a new configuration item
for surfaceflinger; useTripleFramebuffer()
In the default implementation, useTripleFramebuffer() will return true
only if the build flag NUM_FRAMEBUFFER_SURFACE_BUFFERS is defined as 3.
Bug:
34723491
Test: build & run. log message "SurfaceFlinger FrameBuffer: ?"
should be seen.
Change-Id: I7ab9f17f43d68ee7b37b5db8c24b542db4d1c216
Merged-In: Iac97e25cd69717c73a135f6b2a44538124544987
Jaesoo Lee [Mon, 23 Jan 2017 10:09:02 +0000 (19:09 +0900)]
configstore: add utility library functions for configstore
this change adds a set of library functions to facilitate
accessing(retrieving) configuration items.
Specifically, added template functions for accessing configuration
items for following types:
OptionalBool, OptionalInt32, OptionalUInt32, OptionalInt64,
OptionalUInt64, OptionalString
Bug:
34724435
Test: build, run
Change-Id: I28d565dcfc04bb71bf891d1b48ce2ec6192eb21f
Merged-in: Icca56d0d9e086b9d94c9b1168df041bf7d418698
Jiyong Park [Sat, 14 Jan 2017 10:40:33 +0000 (19:40 +0900)]
configstore: add configstore@1.0 HAL
This change adds configstore@1.0 HAL which provides static configuration values
to the framework. As a first attempt, a configuration item in the
surfaceflinger (VSYNC_EVENT_PHASE_OFFSET_NS) is choosen and converted to
a HAL function named vsyncEventPhaseoffsetNs().
Bug:
34314793
Test: build & run. make sure that configstore is up and running.
$ ps -A | grep configstore
Change-Id: I0692190180cadc8e3f64ee840c737e05b519a135
Merged-in: Ibc70b14176d2e0144a5745d71ceba49ebc3ca706
Roshan Pius [Fri, 10 Mar 2017 01:16:48 +0000 (01:16 +0000)]
Merge changes If83c1cbe,I12ad2665
* changes:
wifi(implementation): Move out clearing on stop complete
wifi(vts): Some IWifiChip/IWifiStaIface tests
Roshan Pius [Thu, 9 Mar 2017 21:09:49 +0000 (13:09 -0800)]
wifi(implementation): Move out clearing on stop complete
Currently, we invoke WifiLegacyHal.invalidate() inside the
|on_stop_complete_internal_callback| std::function. |invalidate|
nulls out |on_stop_complete_internal_callback| inside it which might be
considered a violation since we're deleting the std::function object
as we're executing it.
Bug:
36095153
Test: Compiles, start/stop wifi multiple times.
Test: Verified that a crash is not seen in asan build.
Change-Id: If83c1cbee78a1b6eca12686fcc1ec1de67134f13
Etan Cohen [Thu, 9 Mar 2017 23:13:29 +0000 (23:13 +0000)]
Merge "[AWARE] Relocate ranging field in legacy HAL - match in HIDL impl"
Sanket Padawe [Thu, 9 Mar 2017 21:35:05 +0000 (21:35 +0000)]
Merge "Add VTS for voice telephony apis."
Myles Watson [Thu, 9 Mar 2017 18:39:31 +0000 (10:39 -0800)]
Bluetooth: Protect callbacks during shutdown
- Hold the mutex during callbacks
- Disable power mode before deleting hci_
Bug:
36084266
Test: Switch users repeatedly (toggles Bluetooth)
Change-Id: I7e4d405e9028c3363c112a8b09c03b8aea652b7a
Sanket Padawe [Thu, 9 Mar 2017 19:05:46 +0000 (11:05 -0800)]
Add VTS for voice telephony apis.
Bug:
32022332
Test: vts
Change-Id: I94f86f48d0c227f00c84051d14e6116d0bf2d1b3
Roshan Pius [Fri, 9 Dec 2016 22:28:42 +0000 (14:28 -0800)]
wifi(vts): Some IWifiChip/IWifiStaIface tests
These tests basically just ensure that we can call the corresponding
API's successfully. More tests will be added in further CL's.
Bug:
33459306
Test: mmm -j32 hardware/interfaces/wifi/1.0/vts/functional/
&& adb push out/target/product/angler/data/nativetest64/
VtsHalWifiV1_0TargetTest/VtsHalWifiV1_0TargetTest /data/ &&
adb shell /data/VtsHalWifiV1_0TargetTest
Change-Id: I12ad26653993ce7167d007a887e7aff07fd0a5ce
Steven Moreland [Wed, 8 Mar 2017 23:58:46 +0000 (15:58 -0800)]
Add hidl_default and make modules use hidl_default.
find hardware/interfaces -type f -not -path "*/.git/*" \
-exec sed -i -e '/cc_[A-Za-z_]\+/ { N; s/$/\n defaults:
\["hidl_defaults"\],/ }' {} \;
./hardware/interfaces/update-makefiles.sh
Test: no warnings
Bug:
35840847
Change-Id: I468b76893bf3f4b62ad610d1d9603bcb8797a702
Steven Moreland [Wed, 8 Mar 2017 23:55:57 +0000 (15:55 -0800)]
IBaz: remove unused function
Test: pass
Change-Id: I5bc806b4780cfadd9f0c35df60c43203c90d7244
Steven Moreland [Wed, 8 Mar 2017 23:52:50 +0000 (15:52 -0800)]
renderscript: fix unused variable warning
Test: pass
Change-Id: I1f87c4430a908a41f7fd117de0d669420d508a69
Steven Moreland [Wed, 8 Mar 2017 23:50:47 +0000 (15:50 -0800)]
Ir test: remove warnings
Test: pass
Change-Id: If13d93872f0a6eae8914371f78a568f798fd5f93
Steven Moreland [Wed, 8 Mar 2017 23:45:07 +0000 (15:45 -0800)]
bluetooth: remove warnings
Remove unused variables and commented out some unused APIs.
Test: pass
Change-Id: Ic191997d7db25277776417fd0069241ee01529e0
Steven Moreland [Wed, 8 Mar 2017 23:33:31 +0000 (15:33 -0800)]
update-makefiles.sh: wifi
Test: pass
Change-Id: If43aa789381ed43120e0a075587a89c0076c8433