OSDN Git Service

android-x86/hardware-interfaces.git
7 years agonfc: vts: Correct parameters going for CoreInitialized
Ruchi Kandoi [Fri, 31 Mar 2017 23:32:15 +0000 (16:32 -0700)]
nfc: vts: Correct parameters going for CoreInitialized

Core Initialized with parameters 1-3 leads the device into recovery
mode. Which causes the test to fail.

Bug: 36751759
Test: Test passes
Change-Id: I1375546cc66c147f26c315a042ca0afb49f0ce06

7 years agoMerge "Test for getHashChain() in IBase."
Yifan Hong [Mon, 3 Apr 2017 22:12:13 +0000 (22:12 +0000)]
Merge "Test for getHashChain() in IBase."
am: c8c7ab74a1

Change-Id: I6519da67d36565da408240d2f59a547330971c06

7 years agoMerge "Test for getHashChain() in IBase."
Yifan Hong [Mon, 3 Apr 2017 22:05:24 +0000 (22:05 +0000)]
Merge "Test for getHashChain() in IBase."

7 years agoMerge "Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3"
Yuexi Ma [Sun, 2 Apr 2017 07:36:32 +0000 (07:36 +0000)]
Merge "Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3"
am: 177171f305

Change-Id: Iafecfba9ace2188d2a21f927b6afe2691ebfcdbc

7 years agoNFC VTS test use VtsHalHidlCallbackBase for callback wait and notify
Yuexi Ma [Sun, 2 Apr 2017 07:36:30 +0000 (07:36 +0000)]
NFC VTS test use VtsHalHidlCallbackBase for callback wait and notify
am: bfefc5ef10

Change-Id: I0b40ae10c42b0e0a4f0696792c707ba0f990aadf

7 years agoMerge "Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3"
Treehugger Robot [Sun, 2 Apr 2017 07:30:43 +0000 (07:30 +0000)]
Merge "Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3"

7 years agoNFC VTS test use VtsHalHidlCallbackBase for callback wait and notify
Yuexi Ma [Thu, 30 Mar 2017 01:11:01 +0000 (18:11 -0700)]
NFC VTS test use VtsHalHidlCallbackBase for callback wait and notify

VtsHalNfcV1_0TargetTest uses VtsHalHidlCallbackBase.
Callback class extends VtsHalHidlCallbackBase and use waitForCallback and notifyFromCallback

The original NFC test contains the following use cases:
  * Callback notify happens before wait
  * Multiple waiting in serial
The modified version added the following use cases:
  * Wait for specific callback function
  * Passing callback arg data along wait and notify functions

Bug: 36036059
Test: make VtsHalNfcV1_0TargetTest, adb push & adb shell
Change-Id: Ic6668a18254661d07c4ff37309cd96ea5f786d29

7 years agoUpdates bluetooth hal test to use VtsHalHidlTargetTestBase v3
Yuexi Ma [Fri, 31 Mar 2017 23:26:18 +0000 (16:26 -0700)]
Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3

Test: pass
Change-Id: Ia5237a27800010174f2b23a3a4b1157f1c48781f

7 years agoTest for getHashChain() in IBase.
Yifan Hong [Wed, 29 Mar 2017 22:46:12 +0000 (15:46 -0700)]
Test for getHashChain() in IBase.

Each interface has a getHashChain() method that
returns the hash of all .hal files from the rtti
of the interface up to IBase.

Test: hidl_test

Bug: 36602587
Change-Id: I53a79ba69edd109f169c37dbe0fd10e302eb929c

7 years agoAdded protections for RenderScript VTS tests.
Michael Butler [Fri, 31 Mar 2017 00:20:12 +0000 (17:20 -0700)]
Added protections for RenderScript VTS tests.

Changed many EXPECT_NE to ASSERT_NE for objects that are required later
in the test which would potentially cause a segfault. Additionally updated
a few descriptions.

Bug: 35915961

Test: mm and run on angler
Change-Id: I17c85b2c774688d82b59be2f0b383447e03349e0

7 years agoMerge "Enable the clang-format pre-submit hook"
Myles Watson [Thu, 30 Mar 2017 22:46:39 +0000 (22:46 +0000)]
Merge "Enable the clang-format pre-submit hook"
am: 3b9e23513e

Change-Id: Idf1651f9e76c8b7e6dfbc70dab8ae567a5f53937

7 years agoMerge "Enable the clang-format pre-submit hook"
Treehugger Robot [Thu, 30 Mar 2017 22:43:39 +0000 (22:43 +0000)]
Merge "Enable the clang-format pre-submit hook"

7 years agoEnable 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

7 years agoMerge "Change sytle of radio and sap tests to clang google"
Yuexi Ma [Thu, 30 Mar 2017 20:10:59 +0000 (20:10 +0000)]
Merge "Change sytle of radio and sap tests to clang google"
am: 7441c791b6

Change-Id: I0aa6ad8fcf24862278705a1f0a9b43cb08370c80

7 years agoMerge "Change sytle of radio and sap tests to clang google"
Treehugger Robot [Thu, 30 Mar 2017 20:04:53 +0000 (20:04 +0000)]
Merge "Change sytle of radio and sap tests to clang google"

7 years agoMerge "Bluetooth: Replace assert() with CHECK()"
Myles Watson [Thu, 30 Mar 2017 18:27:23 +0000 (18:27 +0000)]
Merge "Bluetooth: Replace assert() with CHECK()"
am: b26fea2629

Change-Id: If0285fbce60e230fa947d8400fa0387dbb1bc551

7 years agoMerge "Bluetooth: Replace assert() with CHECK()"
Treehugger Robot [Thu, 30 Mar 2017 18:22:05 +0000 (18:22 +0000)]
Merge "Bluetooth: Replace assert() with CHECK()"

7 years agoChange sytle of radio and sap tests to clang google
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

7 years agoMerge "Add VTS tests for Sap Apis."
Shuo Qian [Thu, 30 Mar 2017 16:55:46 +0000 (16:55 +0000)]
Merge "Add VTS tests for Sap Apis."
am: eb245db746

Change-Id: I6aaeba6da6cb43639e434e2f0ecc10a5731c2b47

7 years agoMerge "Add VTS tests for Sap Apis."
Shuo Qian [Thu, 30 Mar 2017 16:49:40 +0000 (16:49 +0000)]
Merge "Add VTS tests for Sap Apis."

7 years agoBluetooth: Replace assert() with CHECK()
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

7 years agoBluetooth VTS test use VtsHalHidlCallbackBase for callback wait and notify
Yuexi Ma [Thu, 30 Mar 2017 15:10:44 +0000 (15:10 +0000)]
Bluetooth VTS test use VtsHalHidlCallbackBase for callback wait and notify
am: 51d023c48e

Change-Id: Ifaad9a1c7d0994b43c208ca4c7899daab2baf9ec

7 years agoBluetooth VTS test use VtsHalHidlCallbackBase for callback wait and notify
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

7 years agoMerge "RenderScript VTS cleanup and fixes"
Michael Butler [Thu, 30 Mar 2017 00:46:14 +0000 (00:46 +0000)]
Merge "RenderScript VTS cleanup and fixes"
am: 7b36175068

Change-Id: I03e7a64f197e7b47f7f7dbcd893cc3125fc06850

7 years agoMerge "Fix RS HIDL server, pass data by bytes instead of by elements."
Michael Butler [Thu, 30 Mar 2017 00:45:51 +0000 (00:45 +0000)]
Merge "Fix RS HIDL server, pass data by bytes instead of by elements."
am: f2b214dc8d

Change-Id: I753fcfd32f0837a099bf157c837b6e7759a9ab45

7 years agoMerge "RenderScript VTS cleanup and fixes"
Michael Butler [Thu, 30 Mar 2017 00:40:00 +0000 (00:40 +0000)]
Merge "RenderScript VTS cleanup and fixes"

7 years agoMerge "Fix RS HIDL server, pass data by bytes instead of by elements."
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."

7 years agoFix 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

7 years agoAdd VTS tests for Sap Apis.
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

7 years agoConvert all comments into "doxygen-ready" comments.
Andreas Huber [Wed, 29 Mar 2017 01:01:48 +0000 (01:01 +0000)]
Convert all comments into "doxygen-ready" comments.
am: 3e4acb8b3a

Change-Id: I615de8ebda7c08f29e52dc78f65c5408d3a7d58f

7 years agoConvert all comments into "doxygen-ready" comments.
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

7 years agowifi(implementation): Stop loading vendor library statically
Roshan Pius [Mon, 27 Mar 2017 22:30:43 +0000 (22:30 +0000)]
wifi(implementation): Stop loading vendor library statically
am: 34e4bc4dd2

Change-Id: I614a2074fbc2d82618eeb72002724830cf888dab

7 years agowifi(implementation): Stop loading vendor library statically
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

7 years agoRenderScript VTS cleanup and fixes
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

7 years agoUpdate makefiles.
Steven Moreland [Mon, 27 Mar 2017 17:45:26 +0000 (17:45 +0000)]
Update makefiles.
am: e90c31f125

Change-Id: I370a9a20b005d7510463594b24e5c4fc8791116a

7 years agoUpdate makefiles.
Steven Moreland [Sat, 25 Mar 2017 04:50:45 +0000 (21:50 -0700)]
Update makefiles.

Test: pass
Change-Id: I925baccbe51a32b7b7f3f66cf2918d017ee6b039

7 years agoMerge "Remove GENERIC_FAILURE and INVALID_ARGUMENT for Api documentation"
Shuo Qian [Fri, 24 Mar 2017 17:26:26 +0000 (17:26 +0000)]
Merge "Remove GENERIC_FAILURE and INVALID_ARGUMENT for Api documentation"
am: 2d0b636b29

Change-Id: I342068f8bbcf6a97c322bcf0049fed83b519bcda

7 years agoMerge "Remove GENERIC_FAILURE and INVALID_ARGUMENT for Api documentation"
Shuo Qian [Fri, 24 Mar 2017 17:21:17 +0000 (17:21 +0000)]
Merge "Remove GENERIC_FAILURE and INVALID_ARGUMENT for Api documentation"

7 years agoMerge "[WIFI] Restore initialization code"
Etan Cohen [Fri, 24 Mar 2017 16:12:43 +0000 (16:12 +0000)]
Merge "[WIFI] Restore initialization code"
am: 8f4416aabb

Change-Id: I9f0f828d542e337f185c4a423748f57ef53a00ce

7 years agoMerge "[WIFI] Restore initialization code"
Etan Cohen [Fri, 24 Mar 2017 16:08:55 +0000 (16:08 +0000)]
Merge "[WIFI] Restore initialization code"

7 years agoMerge "removed unused function (HIDL_FETCH_ISurfaceFlingerConfigs)"
Jaesoo Lee [Fri, 24 Mar 2017 03:27:35 +0000 (03:27 +0000)]
Merge "removed unused function (HIDL_FETCH_ISurfaceFlingerConfigs)"
am: d5934d06f1

Change-Id: I958c1285dbb5e3c6db8145ac743cedfb61cd544c

7 years agoMerge "removed unused function (HIDL_FETCH_ISurfaceFlingerConfigs)"
Jaesoo Lee [Fri, 24 Mar 2017 03:23:26 +0000 (03:23 +0000)]
Merge "removed unused function (HIDL_FETCH_ISurfaceFlingerConfigs)"

7 years ago[WIFI] Restore initialization code
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

7 years agoMerge "Nfc: Null ptr checks in HAL"
Ruchi Kandoi [Thu, 23 Mar 2017 19:24:19 +0000 (19:24 +0000)]
Merge "Nfc: Null ptr checks in HAL"
am: 3b4d423d42

Change-Id: Icede34b74cd253d6921ce38c5abb0d3f80ee1bd7

7 years agoMerge "Nfc: Null ptr checks in HAL"
Treehugger Robot [Thu, 23 Mar 2017 19:20:25 +0000 (19:20 +0000)]
Merge "Nfc: Null ptr checks in HAL"

7 years agoremoved unused function (HIDL_FETCH_ISurfaceFlingerConfigs)
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

7 years agoMerge "[AWARE] Add Passphrase data-path security"
Etan Cohen [Thu, 23 Mar 2017 00:26:21 +0000 (00:26 +0000)]
Merge "[AWARE] Add Passphrase data-path security"
am: 9e71d7d44f

Change-Id: I4f0e514d2f49156942c6818379347c369c79889b

7 years agoMerge "Bluetooth: Protect pointers and callbacks"
Myles Watson [Thu, 23 Mar 2017 00:26:03 +0000 (00:26 +0000)]
Merge "Bluetooth: Protect pointers and callbacks"
am: 54906b6ccf

Change-Id: Idb2e6f6fc796c95552b112060b9866a81073dc37

7 years agoMerge "[AWARE] Add Passphrase data-path security"
Etan Cohen [Thu, 23 Mar 2017 00:10:33 +0000 (00:10 +0000)]
Merge "[AWARE] Add Passphrase data-path security"

7 years agoMerge "Bluetooth: Protect pointers and callbacks"
Treehugger Robot [Wed, 22 Mar 2017 23:59:57 +0000 (23:59 +0000)]
Merge "Bluetooth: Protect pointers and callbacks"

7 years agoNfc: Null ptr checks in HAL
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>
7 years agoMerge "use toString instead of to_string"
Hridya Valsaraju [Wed, 22 Mar 2017 22:59:50 +0000 (22:59 +0000)]
Merge "use toString instead of to_string"
am: 6a73f61b96

Change-Id: Ia28bfdf70b7a79c96822aa3f0402bc0290ad7b3d

7 years agoMerge "use toString instead of to_string"
Treehugger Robot [Wed, 22 Mar 2017 22:49:37 +0000 (22:49 +0000)]
Merge "use toString instead of to_string"

7 years agoMerge "Add VTS for couple of missing APIs and some cleanup for earlier APIs."
Sanket Padawe [Wed, 22 Mar 2017 21:39:42 +0000 (21:39 +0000)]
Merge "Add VTS for couple of missing APIs and some cleanup for earlier APIs."
am: 60449e68d1

Change-Id: I0bcc97f30baf408e6eb6b96f7f37b3b536953fc7

7 years agoBluetooth: Protect pointers and callbacks
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

7 years agoMerge "Add VTS for couple of missing APIs and some cleanup for earlier APIs."
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."

7 years agouse toString instead of to_string
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

7 years agoRemove GENERIC_FAILURE and INVALID_ARGUMENT for Api documentation
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

7 years agoMerge "disabled passthrough mode for Configstore"
Jaesoo Lee [Wed, 22 Mar 2017 01:04:17 +0000 (01:04 +0000)]
Merge "disabled passthrough mode for Configstore"
am: 7f8b76a322

Change-Id: Ib7e37189c90752d8c536cb2e5bdf0a2518865981

7 years agoMerge "disabled passthrough mode for Configstore"
Jaesoo Lee [Wed, 22 Mar 2017 00:42:32 +0000 (00:42 +0000)]
Merge "disabled passthrough mode for Configstore"

7 years ago[AWARE] Add Passphrase data-path security
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

7 years agoAdd VTS for couple of missing APIs and some cleanup for earlier APIs.
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

7 years agosupplicant(interface): Add an event for bssid changes
Roshan Pius [Tue, 21 Mar 2017 21:44:09 +0000 (21:44 +0000)]
supplicant(interface): Add an event for bssid changes
am: c314841614

Change-Id: I587c0c479708448492dce329c267f2b3761911d8

7 years agowifi(implementation): Return proper status code on initialize
Roshan Pius [Tue, 21 Mar 2017 21:43:57 +0000 (21:43 +0000)]
wifi(implementation): Return proper status code on initialize
am: a1c76e4d53

Change-Id: Ia6e18ee9f9543fb4059dd349c8a0f9ef286ad14d

7 years agosupplicant(interface): Add an event for bssid changes
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

7 years agodisabled passthrough mode for Configstore
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

7 years agowifi(implementation): Return proper status code on initialize
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

7 years agoMerge "Use simplified update-makefiles.sh script."
Steven Moreland [Tue, 21 Mar 2017 01:43:03 +0000 (01:43 +0000)]
Merge "Use simplified update-makefiles.sh script."
am: 04ff4a07eb

Change-Id: I947819188949b34426b4766d64943f8d5ce96742

7 years agoMerge "Use simplified update-makefiles.sh script."
Steven Moreland [Mon, 20 Mar 2017 22:08:04 +0000 (22:08 +0000)]
Merge "Use simplified update-makefiles.sh script."

7 years agoMerge "supplicant(interface): Correct the WFD info length"
Roshan Pius [Mon, 20 Mar 2017 21:38:09 +0000 (21:38 +0000)]
Merge "supplicant(interface): Correct the WFD info length"
am: d51c817675

Change-Id: I05c077fbdfb2c0b085e869101c5548318ade3eaf

7 years agoMerge "supplicant(interface): Support for P2P client list and save config"
Roshan Pius [Mon, 20 Mar 2017 21:35:20 +0000 (21:35 +0000)]
Merge "supplicant(interface): Support for P2P client list and save config"
am: 91c2cb3284

Change-Id: Id18d9ad5427703f3b975691d8995ea641b9405d2

7 years agoMerge "supplicant(interface): Correct the WFD info length"
Treehugger Robot [Mon, 20 Mar 2017 21:34:56 +0000 (21:34 +0000)]
Merge "supplicant(interface): Correct the WFD info length"

7 years agoMerge "supplicant(interface): Support for P2P client list and save config"
Roshan Pius [Mon, 20 Mar 2017 21:30:42 +0000 (21:30 +0000)]
Merge "supplicant(interface): Support for P2P client list and save config"

7 years agoMerge "configstore: respect service registration status."
Steven Moreland [Mon, 20 Mar 2017 17:14:54 +0000 (17:14 +0000)]
Merge "configstore: respect service registration status."
am: e8e87df57f

Change-Id: I528fc4914ab9b1da49825b425bd5672e0b117add

7 years agoMerge "configstore: respect service registration status."
Treehugger Robot [Mon, 20 Mar 2017 17:02:54 +0000 (17:02 +0000)]
Merge "configstore: respect service registration status."

7 years agoVersioning, add additional package import.
Steven Moreland [Mon, 20 Mar 2017 16:53:25 +0000 (16:53 +0000)]
Versioning, add additional package import.
am: a233c182be

Change-Id: I5d84ccd57530fa7086f50e469ab75a05d40ad800

7 years agosupplicant(interface): Correct the WFD info length
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

7 years agosupplicant(interface): Support for P2P client list and save config
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

7 years agoVersioning, add additional package import.
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

7 years agoUse simplified update-makefiles.sh script.
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

7 years agoMerge "Bluetooth: Do not die quietly on binder death"
Andre Eisenbach [Sun, 19 Mar 2017 23:48:45 +0000 (23:48 +0000)]
Merge "Bluetooth: Do not die quietly on binder death"
am: e5796ef7a6

Change-Id: Iac0bbc32f414e13a21c338400a49fde08af47455

7 years agoMerge "Bluetooth: Do not die quietly on binder death"
Treehugger Robot [Sun, 19 Mar 2017 23:45:57 +0000 (23:45 +0000)]
Merge "Bluetooth: Do not die quietly on binder death"

7 years agoconfigstore: respect service registration status.
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

7 years agoMerge "Add VTS test for misc RIL apis."
Sanket Padawe [Fri, 17 Mar 2017 23:24:38 +0000 (23:24 +0000)]
Merge "Add VTS test for misc RIL apis."
am: 69c546ba21

Change-Id: Ib4edda9c989f0b4b2c9a88e875ff723f9a775cb1

7 years agoMerge "Add VTS test for misc RIL apis."
Treehugger Robot [Fri, 17 Mar 2017 23:15:13 +0000 (23:15 +0000)]
Merge "Add VTS test for misc RIL apis."

7 years agoMerge "Add new precise call fail causes and OEM causes"
Jayachandran Chinnakkannu [Fri, 17 Mar 2017 22:27:18 +0000 (22:27 +0000)]
Merge "Add new precise call fail causes and OEM causes"
am: 3928ae4117

Change-Id: Ia74e54f7e57c55c24cc4a2cf0d299d46f3005629

7 years agoMerge "Add new precise call fail causes and OEM causes"
Jayachandran Chinnakkannu [Fri, 17 Mar 2017 22:18:22 +0000 (22:18 +0000)]
Merge "Add new precise call fail causes and OEM causes"

7 years agoRevert "Bluetooth: Don't disable LPM at power off"
Andre Eisenbach [Fri, 17 Mar 2017 20:38:29 +0000 (20:38 +0000)]
Revert "Bluetooth: Don't disable LPM at power off"
am: 8a9efb6e35

Change-Id: I2016ba4ec58a6151395d60073370636f7f2efd6a

7 years agoRevert "Bluetooth: Don't disable LPM at power off"
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

7 years agoAdd VTS test for misc RIL apis.
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

7 years agoBluetooth: Do not die quietly on binder death
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

7 years agoMerge "Add initial target-side VTS tests for Data, Cell broadcast, STK, IMS radio...
Shuo Qian [Fri, 17 Mar 2017 17:04:54 +0000 (17:04 +0000)]
Merge "Add initial target-side VTS tests for Data, Cell broadcast, STK, IMS radio telephony apis."
am: 7a3bce0b7f

Change-Id: I1e0d5d5ef7678e7bd5ec5b7743fe34b4324bff12

7 years agoMerge "Add initial target-side VTS tests for Data, Cell broadcast, STK, IMS radio...
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."

7 years agosupplicant(interface): Add support for disabling auto connect
Roshan Pius [Fri, 17 Mar 2017 16:31:34 +0000 (16:31 +0000)]
supplicant(interface): Add support for disabling auto connect
am: 39c2609065

Change-Id: Id0c634ea70952d9bdc1c1de3f1ec3e4c502a7121

7 years agoAdd new precise call fail causes and OEM causes
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

7 years agosupplicant(interface): Add support for disabling auto connect
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

7 years agoMerge "RenderScript VTS implementation"
Michael Butler [Thu, 16 Mar 2017 23:20:12 +0000 (23:20 +0000)]
Merge "RenderScript VTS implementation"
am: eb8d93e4b2

Change-Id: I47b5c3b014dd13a50c147766e839e82dce650a10

7 years agoMerge "RenderScript VTS implementation"
Treehugger Robot [Thu, 16 Mar 2017 23:11:35 +0000 (23:11 +0000)]
Merge "RenderScript VTS implementation"

7 years agosupplicant(interface): List out all status/reason codes
Roshan Pius [Thu, 16 Mar 2017 22:47:11 +0000 (22:47 +0000)]
supplicant(interface): List out all status/reason codes
am: d23068fac6

Change-Id: I9a435da9ed4adcceda8c80c4c53e9230d49d0ab0

7 years agoRenderScript 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