OSDN Git Service
Steven Moreland [Wed, 12 Apr 2017 17:25:05 +0000 (17:25 +0000)]
Merge "Update makefiles." am:
bbf39eb0b9
am:
3334081377
Change-Id: Ib76fd65166dd7358b11225a3bf7e1c1b0338fe08
Steven Moreland [Wed, 12 Apr 2017 17:20:03 +0000 (17:20 +0000)]
Merge "Update makefiles."
am:
bbf39eb0b9
Change-Id: I4f7ae72b65dabedbea7da5d80f2cb454959bd9f1
Sanket Padawe [Wed, 12 Apr 2017 17:19:51 +0000 (17:19 +0000)]
Merge "Update Radio and Sap service name in VTS." am:
f7c337546a
am:
ff75143a7a
Change-Id: I76b9a4c0b1fde16109d5209254060204381ec1dc
Sanket Padawe [Wed, 12 Apr 2017 17:14:21 +0000 (17:14 +0000)]
Merge "Update Radio and Sap service name in VTS."
am:
f7c337546a
Change-Id: I88432432ca7bc23e8b4a1e7d216a3abf90b512dc
Treehugger Robot [Wed, 12 Apr 2017 17:13:50 +0000 (17:13 +0000)]
Merge "Update makefiles."
Sanket Padawe [Wed, 12 Apr 2017 17:08:01 +0000 (17:08 +0000)]
Merge "Update Radio and Sap service name in VTS."
Steven Moreland [Tue, 11 Apr 2017 16:57:11 +0000 (09:57 -0700)]
Update makefiles.
Test: pass
Change-Id: I5cf42c8ff1e11207394e4852ba0bd03e4e3b7d2e
Amit Mahajan [Tue, 11 Apr 2017 21:44:08 +0000 (21:44 +0000)]
Merge "Add p2 option in OpenLogicalChannel" am:
ca59e7f3ca
am:
c0e1a4d4e5
Change-Id: I95a6f6de1e24d55e9aec7d6e0a73740b5ed3b181
Amit Mahajan [Tue, 11 Apr 2017 21:34:56 +0000 (21:34 +0000)]
Merge "Add p2 option in OpenLogicalChannel"
am:
ca59e7f3ca
Change-Id: Icc00d5644db5266ed82735ae0065a5fe802f9075
Amit Mahajan [Tue, 11 Apr 2017 21:25:41 +0000 (21:25 +0000)]
Merge "Add p2 option in OpenLogicalChannel"
Sanket Padawe [Mon, 10 Apr 2017 17:34:58 +0000 (10:34 -0700)]
Update Radio and Sap service name in VTS.
Bug:
37164398
Test: VTS tests pass.
Change-Id: I71562e5b9709166695d08a96a04928027dcb4ee7
Merged-in: I71562e5b9709166695d08a96a04928027dcb4ee7
Andrew Scull [Mon, 10 Apr 2017 19:52:53 +0000 (19:52 +0000)]
Merge "Revert "Weaver HAL"" am:
085aca0ee3
am:
3db17451c4
Change-Id: Iddcddaaef1665beb0c733d1e32fe02e10cfbeaeb
Andrew Scull [Mon, 10 Apr 2017 19:48:21 +0000 (19:48 +0000)]
Merge "Revert "Weaver HAL""
am:
085aca0ee3
Change-Id: I3de24c85b2113e38baa413f1992577710c630c80
Treehugger Robot [Mon, 10 Apr 2017 18:59:55 +0000 (18:59 +0000)]
Merge "Revert "Weaver HAL""
Andrew Scull [Mon, 10 Apr 2017 16:56:43 +0000 (16:56 +0000)]
Revert "Weaver HAL"
This reverts commit
694beec5d73d34cbf1dc56d2b2193f832777e676.
Reason for revert: This will not be in O.
Change-Id: I301f265785815689e9cfc8412db1966a4565b561
Jaesoo Lee [Fri, 7 Apr 2017 02:16:57 +0000 (02:16 +0000)]
Merge changes from topic 'configstore-utils-log' am:
e8600fe892
am:
725cbd866c
Change-Id: Ia3379660fc8f21170c09ec98d95ac6f223b566d3
Jaesoo Lee [Fri, 7 Apr 2017 02:12:29 +0000 (02:12 +0000)]
Merge changes from topic 'configstore-utils-log'
am:
e8600fe892
Change-Id: I28f7348da2c6656db4c0ac27bb3fa066d1396d9e
Jaesoo Lee [Fri, 7 Apr 2017 02:06:43 +0000 (02:06 +0000)]
Merge changes from topic 'configstore-utils-log'
* changes:
print log message for values retrieved from configstore
Handle hidl transaction errors in ConfigStore
Andrew Scull [Thu, 6 Apr 2017 20:49:19 +0000 (20:49 +0000)]
Merge "Weaver HAL" am:
2f5a5e10f7
am:
e3f5387b42
Change-Id: Iec3b2d31c58862819c0a1db9d8051f509731617b
Andrew Scull [Thu, 6 Apr 2017 20:45:51 +0000 (20:45 +0000)]
Merge "Weaver HAL"
am:
2f5a5e10f7
Change-Id: Ibe908202b5f86478dcea71b4eb75d9a1fca6f825
Treehugger Robot [Thu, 6 Apr 2017 20:31:49 +0000 (20:31 +0000)]
Merge "Weaver HAL"
Andreas Huber [Thu, 6 Apr 2017 18:53:55 +0000 (18:53 +0000)]
Merge "Empty interface IQuux which is completely unrelated to IBase and IBaz." am:
931ca54208
am:
9af34a0c10
Change-Id: I29cc2b5225bc24f364f9ca399f8a728d7078c953
Andreas Huber [Thu, 6 Apr 2017 18:49:56 +0000 (18:49 +0000)]
Merge "Empty interface IQuux which is completely unrelated to IBase and IBaz."
am:
931ca54208
Change-Id: I3746b93cae3231117cd00ed84735aaf0b754a930
Andreas Huber [Thu, 6 Apr 2017 18:47:15 +0000 (18:47 +0000)]
Merge "Empty interface IQuux which is completely unrelated to IBase and IBaz."
Andrew Scull [Mon, 27 Mar 2017 13:24:18 +0000 (14:24 +0100)]
Weaver HAL
Weaver is used to harden the user authentication flow by securely
storing secrets which can only be read by presenting the associated key
secret. The key secret is derived from the user's credential.
Bug:
35628284
Test: Implement HAL, boot and call from system_server
Change-Id: Ia72fd537670c08d27320c944a0fe91243137bf6c
Jaesoo Lee [Fri, 24 Mar 2017 05:08:24 +0000 (14:08 +0900)]
print log message for values retrieved from configstore
This CL adds a code for printing log messages in clients-side utility
library functions (getXXX) for configstore so that the developer can
figure out which configuration values are actually retrieved from the configstore.
Bug:
36275627
Test: Built and check the log message appears
Change-Id: I7d5d80ca7a0317816c71016e013f9e73ad23ee08
Merged-In: I2c0895f8afbbb2947b62164acaf62a491c451dc0
(cherry picked from commit
0dc72ecbb798971d6f394d7f4dbc9d1f4006da5f)
Pavel Maltsev [Mon, 20 Mar 2017 21:58:59 +0000 (14:58 -0700)]
Handle hidl transaction errors in ConfigStore
Test: surface flinger not failing, android now bootsup
Bug: b/
36445794
Change-Id: I64cc404bec71f5e4eea2e0034f07b86fb60a3e32
Merged-In: I22fa7aab9fa92bc04333aaa0eef45891ebeba8e7
(cherry picked from commit
076b792ade608a7fdf4e600a42550ad17296a39e)
Michael Butler [Thu, 6 Apr 2017 01:51:47 +0000 (01:51 +0000)]
Merge "Added protections for RenderScript VTS tests." am:
792ec065e0
am:
f251028320
Change-Id: I60ad212ce37b90e65ae034e5080cee8bc44e9185
Michael Butler [Thu, 6 Apr 2017 01:48:47 +0000 (01:48 +0000)]
Merge "Added protections for RenderScript VTS tests."
am:
792ec065e0
Change-Id: Icc2e3fca4a3f9d9368ec22303588bec0d6653532
Treehugger Robot [Thu, 6 Apr 2017 01:45:56 +0000 (01:45 +0000)]
Merge "Added protections for RenderScript VTS tests."
Etan Cohen [Wed, 5 Apr 2017 22:19:33 +0000 (22:19 +0000)]
Merge "[AWARE] Legacy HAL update: reduce host wakeup" am:
6ae199efa4
am:
c6e4705e9d
Change-Id: Id7c2cf6440b21f14d4fd766cc82edc8a92a76e99
Etan Cohen [Wed, 5 Apr 2017 22:17:03 +0000 (22:17 +0000)]
Merge "[AWARE] Legacy HAL update: reduce host wakeup"
am:
6ae199efa4
Change-Id: I5a868d9c738e4c826bfeb5d6bc9e5c329bcb932e
Etan Cohen [Wed, 5 Apr 2017 22:09:35 +0000 (22:09 +0000)]
Merge "[AWARE] Legacy HAL update: reduce host wakeup"
Andreas Huber [Tue, 4 Apr 2017 21:39:58 +0000 (14:39 -0700)]
Empty interface IQuux which is completely unrelated to IBase and IBaz.
Used to verify that it's not possible to obtain an IQuux interface from an
IBase/IBaz binder, i.e. IHwBinder.asInterface(...) properly respects the
interfaceChain.
Bug:
36749201
Test: hidl_test_java
Change-Id: I84419e78db22acdfcc7d9972d22d139641469bde
Joel Fernandes [Wed, 5 Apr 2017 16:02:06 +0000 (16:02 +0000)]
Bluetooth HAL: Add to foreground schedtune group am:
1b8f6f7c77
am:
887448f949
Change-Id: I5d8af23d7fae64e9ebb385e3f2fceb37ac6adc3c
Joel Fernandes [Wed, 5 Apr 2017 15:59:05 +0000 (15:59 +0000)]
Bluetooth HAL: Add to foreground schedtune group
am:
1b8f6f7c77
Change-Id: I04b1ba8e8d6151b4421d63171ab12cb46e71c793
Joel Fernandes [Tue, 4 Apr 2017 02:19:30 +0000 (19:19 -0700)]
Bluetooth HAL: Add to foreground schedtune group
EAS (Energy-Aware Scheduler) tends to cluster tasks together unless
they're marked to prefer an idle CPU (prefer-idle) during placement.
This is to save energy however it increases latencies. This is
noticeable when the Binder driver demotes the RT task to CFS and when
we try to do load balance in this path, the selection path still selects
a busy CPU. Add Bluetooth HAL service to the foreground schedtune group
to fix this as its critical for tasks like bluetooth audio playback.
Test: Boot and verify bluetooth HAL is in the foreground stune group
Bug:
36867985
Change-Id: Ib3c43cca4a2049af3700978b58a05989cc20b6ac
Signed-off-by: Joel Fernandes <joelaf@google.com>
Etan Cohen [Tue, 4 Apr 2017 20:00:14 +0000 (13:00 -0700)]
[AWARE] Legacy HAL update: reduce host wakeup
Legacy HAL update to add indications when a solicited publisher
receives a match. Not used in current HAL. However, also added a
control bit to turn off host notification which is now enabled.
Bug:
35195773
Test: integration (sl4a) tests
Change-Id: I8ff378abaae11d4feaa42a9901abb1b48069dc4f
Wileen Chiu [Fri, 3 Mar 2017 19:57:48 +0000 (11:57 -0800)]
Add p2 option in OpenLogicalChannel
- Adding support for P2 parameter
- Needed to support OMAPI 3.0 defined
by SIM Alliance
Bug:
27360148
Change-Id: I88134eded001e14c12e1f2a18efd0a2b51bc22fe
Etan Cohen [Tue, 4 Apr 2017 17:52:23 +0000 (17:52 +0000)]
Merge "[AWARE] Create true translations between legacy and hidl enums" am:
24ff2036ce
am:
945fbf8434
Change-Id: Iedc43ae7d9292131c814752458a2ec6728bb85df
Etan Cohen [Tue, 4 Apr 2017 17:48:53 +0000 (17:48 +0000)]
Merge "[AWARE] Create true translations between legacy and hidl enums"
am:
24ff2036ce
Change-Id: I00c0d5dce8a57ce76656c8521d93a974308b7c94
Etan Cohen [Tue, 4 Apr 2017 17:40:24 +0000 (17:40 +0000)]
Merge "[AWARE] Create true translations between legacy and hidl enums"
Ruchi Kandoi [Tue, 4 Apr 2017 00:45:52 +0000 (00:45 +0000)]
Merge "nfc: vts: Correct parameters going for CoreInitialized" am:
4133401913
am:
f372f6ec51
Change-Id: I1a498608ca41e70ac1b3bd319dde1fbdaa1f368c
Ruchi Kandoi [Tue, 4 Apr 2017 00:41:51 +0000 (00:41 +0000)]
Merge "nfc: vts: Correct parameters going for CoreInitialized"
am:
4133401913
Change-Id: Ie205284f3adcfd7f662c1d26dea1a01eb48a12e8
Treehugger Robot [Tue, 4 Apr 2017 00:36:14 +0000 (00:36 +0000)]
Merge "nfc: vts: Correct parameters going for CoreInitialized"
Etan Cohen [Mon, 3 Apr 2017 23:10:54 +0000 (16:10 -0700)]
[AWARE] Create true translations between legacy and hidl enums
Replace implicits translations between legacy and hidl enums (using
casts) with explicit translations.
Bug:
35767620
Test: integration (sl4a) tests
Change-Id: I4ae4cd691226ce29bc0e92f9890fbb343a064505
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
Yifan Hong [Mon, 3 Apr 2017 22:15:44 +0000 (22:15 +0000)]
Merge "Test for getHashChain() in IBase." am:
c8c7ab74a1
am:
2699ac5b94
Change-Id: I11a8c5a68426d87e59cb1b7d0e72ce352d9f9cff
Yifan Hong [Mon, 3 Apr 2017 22:12:13 +0000 (22:12 +0000)]
Merge "Test for getHashChain() in IBase."
am:
c8c7ab74a1
Change-Id: I6519da67d36565da408240d2f59a547330971c06
Yifan Hong [Mon, 3 Apr 2017 22:05:24 +0000 (22:05 +0000)]
Merge "Test for getHashChain() in IBase."
Yuexi Ma [Sun, 2 Apr 2017 07:39:02 +0000 (07:39 +0000)]
Merge "Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3" am:
177171f305
am:
ed25e56551
Change-Id: I68e0e2baf6c441671006e5f2cb3377cd88da82b8
Yuexi Ma [Sun, 2 Apr 2017 07:39:00 +0000 (07:39 +0000)]
NFC VTS test use VtsHalHidlCallbackBase for callback wait and notify am:
bfefc5ef10
am:
410d04e44c
Change-Id: Ib2afe351bf9d3a0dfbad84fcc32cd32648e589b2
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
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
Treehugger Robot [Sun, 2 Apr 2017 07:30:43 +0000 (07:30 +0000)]
Merge "Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3"
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
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
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
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
Myles Watson [Thu, 30 Mar 2017 22:49:10 +0000 (22:49 +0000)]
Merge "Enable the clang-format pre-submit hook" am:
3b9e23513e
am:
68a27cc5ab
Change-Id: Idb9ac5526f341064982be84fb44f523fbef4521d
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
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
Yuexi Ma [Thu, 30 Mar 2017 20:13:30 +0000 (20:13 +0000)]
Merge "Change sytle of radio and sap tests to clang google" am:
7441c791b6
am:
d0de215476
Change-Id: I3ad7fd7d584a2b6ffd8a2050680dd4479c9b0343
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
Treehugger Robot [Thu, 30 Mar 2017 20:04:53 +0000 (20:04 +0000)]
Merge "Change sytle of radio and sap tests to clang google"
Myles Watson [Thu, 30 Mar 2017 18:29:22 +0000 (18:29 +0000)]
Merge "Bluetooth: Replace assert() with CHECK()" am:
b26fea2629
am:
17c9a90e0a
Change-Id: Iec662c64cbe65038c6399837b1b4361da6ab8749
Myles Watson [Thu, 30 Mar 2017 18:27:23 +0000 (18:27 +0000)]
Merge "Bluetooth: Replace assert() with CHECK()"
am:
b26fea2629
Change-Id: If0285fbce60e230fa947d8400fa0387dbb1bc551
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:57:48 +0000 (16:57 +0000)]
Merge "Add VTS tests for Sap Apis." am:
eb245db746
am:
4d7ec24e3e
Change-Id: I8f4fdb2b70972d4052dd3b04c63cf37718389f0e
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
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 [Thu, 30 Mar 2017 15:12:42 +0000 (15:12 +0000)]
Bluetooth VTS test use VtsHalHidlCallbackBase for callback wait and notify am:
51d023c48e
am:
c6578f0d30
Change-Id: I997b319b75d00e69a96b0057de6e0c22867a5258
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
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:47:45 +0000 (00:47 +0000)]
Merge "RenderScript VTS cleanup and fixes" am:
7b36175068
am:
1a2850fbc4
Change-Id: I1c6e607430a4e597400f0a61a04b98840238567a
Michael Butler [Thu, 30 Mar 2017 00:47:21 +0000 (00:47 +0000)]
Merge "Fix RS HIDL server, pass data by bytes instead of by elements." am:
f2b214dc8d
am:
1e7e3611e7
Change-Id: I2e821b90ca667689e2ceb71d618de8ab41ec6af2
Michael Butler [Thu, 30 Mar 2017 00:46:14 +0000 (00:46 +0000)]
Merge "RenderScript VTS cleanup and fixes"
am:
7b36175068
Change-Id: I03e7a64f197e7b47f7f7dbcd893cc3125fc06850
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
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 [Wed, 29 Mar 2017 01:03:18 +0000 (01:03 +0000)]
Convert all comments into "doxygen-ready" comments. am:
3e4acb8b3a
am:
64fcbfe9aa
Change-Id: I9c97cfecf806ebe0e33d9b92c0a5e923cd8c560b
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
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 22:33:13 +0000 (22:33 +0000)]
wifi(implementation): Stop loading vendor library statically am:
34e4bc4dd2
am:
c17e4e07ac
Change-Id: I843085db6544dd9c14feb611b709f48e6284c901
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
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 [Mon, 27 Mar 2017 17:48:27 +0000 (17:48 +0000)]
Update makefiles. am:
e90c31f125
am:
f11981de68
Change-Id: Icf25d969d83dff9653435d5fff0edb6b274a9d9f
Steven Moreland [Mon, 27 Mar 2017 17:45:26 +0000 (17:45 +0000)]
Update makefiles.
am:
e90c31f125
Change-Id: I370a9a20b005d7510463594b24e5c4fc8791116a
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:27:54 +0000 (17:27 +0000)]
Merge "Remove GENERIC_FAILURE and INVALID_ARGUMENT for Api documentation" am:
2d0b636b29
am:
0efe019342
Change-Id: I6a2cc30754413eccb59ba775c14863852a89fefc
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
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:15:13 +0000 (16:15 +0000)]
Merge "[WIFI] Restore initialization code" am:
8f4416aabb
am:
3ae14f0ead
Change-Id: I96f5c77e7f9ee3b84f4a6cf7973638d3d4bba68d
Etan Cohen [Fri, 24 Mar 2017 16:12:43 +0000 (16:12 +0000)]
Merge "[WIFI] Restore initialization code"
am:
8f4416aabb
Change-Id: I9f0f828d542e337f185c4a423748f57ef53a00ce