OSDN Git Service
Myles Watson [Thu, 30 Mar 2017 22:58:45 +0000 (22:58 +0000)]
Merge "Enable the clang-format pre-submit hook" am:
3b9e23513e am:
68a27cc5ab am:
03ac2b1697
am:
dd8babf038
Change-Id: Id5517a6765aaee85fa9c26a5cec1b7ed45a59847
Myles Watson [Thu, 30 Mar 2017 22:51:40 +0000 (22:51 +0000)]
Merge "Enable the clang-format pre-submit hook" am:
3b9e23513e am:
68a27cc5ab
am:
03ac2b1697
Change-Id: I4b26f5ca596b0ed07d28367a58b086fb26459fd8
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:17:00 +0000 (20:17 +0000)]
Merge "Change sytle of radio and sap tests to clang google" am:
7441c791b6 am:
d0de215476 am:
22164f3d4b
am:
ba0e4a9886
Change-Id: Ide5ad681c2126154bddd86e7c4f4b0ae642a589c
Yuexi Ma [Thu, 30 Mar 2017 20:15:00 +0000 (20:15 +0000)]
Merge "Change sytle of radio and sap tests to clang google" am:
7441c791b6 am:
d0de215476
am:
22164f3d4b
Change-Id: Iacedf1a43dacc012bd68e184fc4256b29fed59d5
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
Mikhail Naganov [Thu, 30 Mar 2017 20:13:29 +0000 (20:13 +0000)]
audiohal: Fix UAF of HAL devices in Stream objects am:
936279e1ff
am:
7eef664e02
Change-Id: Ibe5bc6a66fac34aac952c1f87f1fc1ca94a9a246
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
Mikhail Naganov [Thu, 30 Mar 2017 20:08:29 +0000 (20:08 +0000)]
audiohal: Fix UAF of HAL devices in Stream objects
am:
936279e1ff
Change-Id: Id78777accd072722b04d6b0bdc8bf9c219cec861
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 19:42:42 +0000 (19:42 +0000)]
Merge "Revert "Revert "Fix build after ag/
2001747 breakage."""
Myles Watson [Thu, 30 Mar 2017 18:39:18 +0000 (18:39 +0000)]
Merge "Bluetooth: Replace assert() with CHECK()" am:
b26fea2629 am:
17c9a90e0a am:
5953a0a43b
am:
eca951afe9
Change-Id: Ibda23f7b476b8b856fa2ae318e98c1dff8032d6d
Myles Watson [Thu, 30 Mar 2017 18:31:24 +0000 (18:31 +0000)]
Merge "Bluetooth: Replace assert() with CHECK()" am:
b26fea2629 am:
17c9a90e0a
am:
5953a0a43b
Change-Id: If57ba4fbc2a9426170ed164de638b6546cedd063
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 17:03:54 +0000 (17:03 +0000)]
Merge "Add VTS tests for Sap Apis." am:
eb245db746 am:
4d7ec24e3e am:
8fe3f47882
am:
3d9b05e09e
Change-Id: Ic434f9034eba407e1edf7b6f00ff496389db6902
Shuo Qian [Thu, 30 Mar 2017 17:00:20 +0000 (17:00 +0000)]
Merge "Add VTS tests for Sap Apis." am:
eb245db746 am:
4d7ec24e3e
am:
8fe3f47882
Change-Id: Ic2f17907d19f258fd599e35c6e5c8e592e4c0894
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
Tomasz Wasilczyk [Thu, 30 Mar 2017 16:08:25 +0000 (16:08 +0000)]
Merge "Add analog force mode for analog/digital hybrid modes."
Mikhail Naganov [Wed, 29 Mar 2017 16:31:18 +0000 (09:31 -0700)]
audiohal: Fix UAF of HAL devices in Stream objects
Stream objects used to hold a pointer to underlying HAL device
object which they didn't own. Since destruction of server side
objects is asynchronous, it was possible that a Device object
gets destroyed before Stream objects, making all the HAL device
object pointer to become stale.
Fixed by adding a strong reference to Device objects into Stream
objects.
Bug:
36702804
Change-Id: I3da3611afbb91d6fd6410ac5b8af2a2eebfa6dac
Test: ran Loopback app and HAL VTS tests
(cherry picked from commit
96d3573cda6f76bcbfc277e69d94914a565218d8)
Shawn Willden [Thu, 30 Mar 2017 15:31:40 +0000 (15:31 +0000)]
Revert "Revert "Add keymaster VTS tests."" am:
63e15f0790
am:
4de26e4c06
Change-Id: I1218c7c2459f239d0c0ad3e9982f75f9eb3de6be
Shawn Willden [Thu, 30 Mar 2017 15:27:10 +0000 (15:27 +0000)]
Revert "Revert "Add keymaster VTS tests.""
am:
63e15f0790
Change-Id: Ic93a1b3587a0d8edbdc13ca4a831b77ce75d8b14
Yuexi Ma [Thu, 30 Mar 2017 15:17:12 +0000 (15:17 +0000)]
Bluetooth VTS test use VtsHalHidlCallbackBase for callback wait and notify am:
51d023c48e am:
c6578f0d30 am:
c0af573e8c
am:
407acbf618
Change-Id: I8a5ff6985a10dd49d6486110b7b96147bff63882
Yuexi Ma [Thu, 30 Mar 2017 15:15:12 +0000 (15:15 +0000)]
Bluetooth VTS test use VtsHalHidlCallbackBase for callback wait and notify am:
51d023c48e am:
c6578f0d30
am:
c0af573e8c
Change-Id: I318f0c6cb5de5024de58883b28b968ba22e4d2b2
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
Shawn Willden [Thu, 30 Mar 2017 03:27:12 +0000 (21:27 -0600)]
Revert "Revert "Add keymaster VTS tests.""
This reverts commit
8e10baee45a1bfab4094869159b8ede270b6d416.
Test: Tests pass, except known failures with in-progress vendor fixes
Change-Id: Ia95c1444100e123fa65d095b001878cf9040d0c4
Michael Butler [Thu, 30 Mar 2017 03:15:06 +0000 (03:15 +0000)]
RenderScript VTS cleanup and fixes am:
da8c2c1e2a
am:
6b95bddebc
Change-Id: I3682f0de6f618cbc5a187e35656ec06ac435efb8
Michael Butler [Thu, 30 Mar 2017 03:15:03 +0000 (03:15 +0000)]
Fix RS HIDL server, pass data by bytes instead of by elements. am:
1791d9bfab
am:
d234a12bed
Change-Id: I99a8df7641695f970ab88bb20df41712f557c768
Michael Butler [Thu, 30 Mar 2017 03:11:34 +0000 (03:11 +0000)]
RenderScript VTS cleanup and fixes
am:
da8c2c1e2a
Change-Id: I41227692b20c8833134b0130d1ff90d650cf29d9
Michael Butler [Thu, 30 Mar 2017 03:11:32 +0000 (03:11 +0000)]
Fix RS HIDL server, pass data by bytes instead of by elements.
am:
1791d9bfab
Change-Id: I0b6c83825db9bda2f263b3604483e5e798994b15
TreeHugger Robot [Thu, 30 Mar 2017 03:03:28 +0000 (03:03 +0000)]
Merge "audiohal: Fix UAF of HAL devices in Stream objects"
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:52:15 +0000 (00:52 +0000)]
Merge "RenderScript VTS cleanup and fixes" am:
7b36175068 am:
1a2850fbc4 am:
643c439e89
am:
b95d5c6bca
Change-Id: I40006b057ab430cdb7bb76b6b2a14ab40778833a
Michael Butler [Thu, 30 Mar 2017 00:51:51 +0000 (00:51 +0000)]
Merge "Fix RS HIDL server, pass data by bytes instead of by elements." am:
f2b214dc8d am:
1e7e3611e7 am:
815ab992ef
am:
23d78fc78e
Change-Id: I0d17fc36975a3f1313216959c57a397c127e35b5
Michael Butler [Thu, 30 Mar 2017 00:50:19 +0000 (00:50 +0000)]
Merge "RenderScript VTS cleanup and fixes" am:
7b36175068 am:
1a2850fbc4
am:
643c439e89
Change-Id: I211e1f18f8b35cb7826ae5d390074c520c2ffcc4
Michael Butler [Thu, 30 Mar 2017 00:49:54 +0000 (00:49 +0000)]
Merge "Fix RS HIDL server, pass data by bytes instead of by elements." am:
f2b214dc8d am:
1e7e3611e7
am:
815ab992ef
Change-Id: Ida0d3c5cbae560c1587488ef64b5cddfbc07eb10
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 [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
(cherry picked from commit
54fa8d428552a6202d196b6abf6a844bb277ac98)
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
(cherry picked from commit
fd14e27b8997da6b453174af2af2e1cf66e01b5d)
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
Tomasz Wasilczyk [Mon, 27 Mar 2017 21:29:16 +0000 (14:29 -0700)]
Add analog force mode for analog/digital hybrid modes.
Bug: b/
32621193
Test: existing VTS pass, none added.
Change-Id: I240829d9aea553f450a0530aa1cfaa7a317134fd
Keun Soo Yim [Wed, 29 Mar 2017 20:36:18 +0000 (20:36 +0000)]
Merge "Revert "Add keymaster VTS tests."" into oc-dev am:
bf0f670580
am:
700c418e8b
Change-Id: I5a7d4a7f1685fb1815a98e3569d2c7dabf6609ef
Keun Soo Yim [Wed, 29 Mar 2017 20:31:05 +0000 (20:31 +0000)]
Merge "Revert "Add keymaster VTS tests."" into oc-dev
am:
bf0f670580
Change-Id: I28bfff5b7e2a1109d32f43a84cfa362562c13bd5
Keun Soo Yim [Wed, 29 Mar 2017 20:19:28 +0000 (20:19 +0000)]
Merge "Revert "Add keymaster VTS tests."" into oc-dev
Keun Soo Yim [Wed, 29 Mar 2017 20:18:52 +0000 (20:18 +0000)]
Revert "Add keymaster VTS tests."
This reverts commit
dda22ea8845f6906d4bccc13bf142d96a43976c5.
Change-Id: Ie6a60e17ed5258840eba3d3f6b8092636160b2c2
bohu [Wed, 29 Mar 2017 19:21:27 +0000 (12:21 -0700)]
Revert "Revert "Fix build after ag/
2001747 breakage.""
This reverts commit
430d0510e6ada9fdbed7dcdd9d70d8bb1208c855.
Test: I build full-eng successfully
Change-Id: I77166a8a36e893be476a1067356124914a607c39
Andreas Huber [Wed, 29 Mar 2017 19:04:07 +0000 (19:04 +0000)]
Merge "Convert all comments into "doxygen-ready" comments." into oc-dev am:
8074912d8c
am:
dda8e88d3f
Change-Id: I292a512e234be1de0dafa100b13798de840e8c5e
Andreas Huber [Wed, 29 Mar 2017 18:52:53 +0000 (18:52 +0000)]
Merge "Convert all comments into "doxygen-ready" comments." into oc-dev
am:
8074912d8c
Change-Id: Ic81578a5730c614e31c529b04fe96a2852da89ea
Andreas Huber [Wed, 29 Mar 2017 18:48:36 +0000 (18:48 +0000)]
Merge "Convert all comments into "doxygen-ready" comments." into oc-dev
Shawn Willden [Wed, 29 Mar 2017 18:33:20 +0000 (18:33 +0000)]
Add keymaster VTS tests. am:
dda22ea884
am:
e5f6d22f2d
Change-Id: Ic4e1edce2e9a3176ba56b3dfea45f6e5e0a2ee14
Shawn Willden [Wed, 29 Mar 2017 18:31:20 +0000 (18:31 +0000)]
Add keymaster VTS tests.
am:
dda22ea884
Change-Id: I6d683d35598134e29cf4f2083050282f6fba2718
Mikhail Naganov [Wed, 29 Mar 2017 16:31:18 +0000 (09:31 -0700)]
audiohal: Fix UAF of HAL devices in Stream objects
Stream objects used to hold a pointer to underlying HAL device
object which they didn't own. Since destruction of server side
objects is asynchronous, it was possible that a Device object
gets destroyed before Stream objects, making all the HAL device
object pointer to become stale.
Fixed by adding a strong reference to Device objects into Stream
objects.
Bug:
36702804
Change-Id: I3da3611afbb91d6fd6410ac5b8af2a2eebfa6dac
Test: ran Loopback app and HAL VTS tests
Andreas Huber [Tue, 28 Mar 2017 23:19:16 +0000 (16:19 -0700)]
Convert all comments into "doxygen-ready" comments.
Bug:
36453077
Test: mma
Change-Id: I0b1f77dfae5d2258969e33d85ecf45401ffbdfaa
Shawn Willden [Fri, 2 Dec 2016 12:07:02 +0000 (05:07 -0700)]
Add keymaster VTS tests.
Note: Recent Google devices have keymaster implementations that don't
pass this test suite. See https://goo.gl/6hsGwa for a summary.
Bug:
32022681
Test: This is the test suite.
Change-Id: Ib200b68e0c7844df02eb9f086385d6c36e306d45
Andreas Huber [Wed, 29 Mar 2017 01:19:51 +0000 (01:19 +0000)]
Convert all comments into "doxygen-ready" comments. am:
675ae49ab1
am:
84051e76c1
Change-Id: Ica9adbd241eba56e0848fbf4e3a9d23688af5ccc
Andreas Huber [Wed, 29 Mar 2017 01:15:51 +0000 (01:15 +0000)]
Convert all comments into "doxygen-ready" comments.
am:
675ae49ab1
Change-Id: I86aa5511421ad5bd7ec29776fbc8738b0437219b
Andreas Huber [Wed, 29 Mar 2017 01:07:37 +0000 (01:07 +0000)]
Convert all comments into "doxygen-ready" comments. am:
3e4acb8b3a am:
64fcbfe9aa am:
211c03e585
am:
c8f36d267e
Change-Id: Idea1cde201ede7fffad433df567dee0f9d5fd1f4
Andreas Huber [Wed, 29 Mar 2017 01:05:31 +0000 (01:05 +0000)]
Convert all comments into "doxygen-ready" comments. am:
3e4acb8b3a am:
64fcbfe9aa
am:
211c03e585
Change-Id: If163f588c87dff16b2f1173871c85d6ce4b0e422
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
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
bohu [Tue, 28 Mar 2017 21:54:16 +0000 (14:54 -0700)]
Revert "Fix build after ag/
2001747 breakage."
This reverts commit
2b3b590ff62c432c93d006767409f93ed2c6e53f.
This change is being reverted because it broke the git_master build
for full-eng and other targets.
Jesse Hall [Tue, 28 Mar 2017 21:15:19 +0000 (21:15 +0000)]
Merge "Use gralloc usage conversion library" into oc-dev am:
2f44ec6c86
am:
112daef624
Change-Id: I0c21e06d8beb480171b462068d2747c538bca238
Jesse Hall [Tue, 28 Mar 2017 21:04:31 +0000 (21:04 +0000)]
Merge "Use gralloc usage conversion library" into oc-dev
am:
2f44ec6c86
Change-Id: I692ea8e24c0d87e7729e52c1e35d7d40eab12a0f
Tomasz Wasilczyk [Tue, 28 Mar 2017 20:33:02 +0000 (13:33 -0700)]
Fix build after ag/
2001747 breakage.
Test: it builds now.
Change-Id: I895d592bf4a64ad3e3c928c20b7c7c172c12081d
TreeHugger Robot [Tue, 28 Mar 2017 20:55:50 +0000 (20:55 +0000)]
Merge "Use gralloc usage conversion library" into oc-dev
Tomasz Wasilczyk [Tue, 28 Mar 2017 19:55:05 +0000 (19:55 +0000)]
Merge "Add background scan capability callback broadcast radio HAL."
Steven Moreland [Tue, 28 Mar 2017 18:42:40 +0000 (18:42 +0000)]
Update makefiles for hwtypes.h am:
561b602a99
am:
b350bbe7b8
Change-Id: I576373180f51c1657547ca0290549acf203c3514
Steven Moreland [Tue, 28 Mar 2017 18:32:22 +0000 (18:32 +0000)]
Update makefiles for hwtypes.h
am:
561b602a99
Change-Id: I11a2aa2bfeca6a60bc13f768e98abacc69b97df8
Tomasz Wasilczyk [Mon, 27 Mar 2017 22:18:58 +0000 (15:18 -0700)]
Add background scan capability callback broadcast radio HAL.
Bug: b/
34054813
Test: it builds.
Change-Id: Idf931f2f5fd280c0af6f0154170a79f7e57747ab
Jesse Hall [Thu, 23 Mar 2017 23:40:59 +0000 (16:40 -0700)]
Use gralloc usage conversion library
Converting from ..graphics.allocator@2.0 usage to gralloc0 usage isn't
quite as simple as ORing and truncating, which is what the default
implementation was doing. Switch to using library functions that do it
correctly.
Test: boot bullhead
Change-Id: I40ae00e9aad92b374f281569207972b7461a3e55
Steven Moreland [Mon, 27 Mar 2017 18:48:14 +0000 (11:48 -0700)]
Update makefiles for hwtypes.h
Test: pass
Change-Id: I8e17eb8fec5d2f04c526476a866c8dd54ccb556c
TreeHugger Robot [Tue, 28 Mar 2017 07:17:04 +0000 (07:17 +0000)]
Merge "graphics: Update RAW16 format comments"
Ben Fennema [Tue, 28 Mar 2017 04:29:31 +0000 (04:29 +0000)]
Merge "Add missing LOW_LATENCY_OFFBODY_DETECT handling"
TreeHugger Robot [Tue, 28 Mar 2017 04:17:46 +0000 (04:17 +0000)]
Merge "Fingerprint vts tests."
TreeHugger Robot [Tue, 28 Mar 2017 02:37:45 +0000 (02:37 +0000)]
Merge "Revert "Add auth token parsing to IKeymasterDevice.hal""
Shawn Willden [Tue, 28 Mar 2017 00:40:57 +0000 (00:40 +0000)]
Revert "Add auth token parsing to IKeymasterDevice.hal"
This reverts commit
62f63c7ddbd08737e298a97975754225e5da0126.
Reason for revert: b/
36637075
Bug:
36637075
Change-Id: Ie0e8d0b480047a7c68f266e7e5d8a31722f85128
TreeHugger Robot [Tue, 28 Mar 2017 00:02:18 +0000 (00:02 +0000)]
Merge "Sync the constants in HAL and framework"
Roshan Pius [Mon, 27 Mar 2017 22:36:14 +0000 (22:36 +0000)]
wifi(implementation): Stop loading vendor library statically am:
34e4bc4dd2 am:
c17e4e07ac
am:
0e5e51175c
Change-Id: Ib1e6cc90a4388e49fda3608fb193e15fb66aef80
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
Kevin Chyn [Tue, 21 Mar 2017 20:36:24 +0000 (13:36 -0700)]
Fingerprint vts tests.
Fix callback mechanism. Add tests for uncovered interfaces.
Test: make vts && adb push
out/host/linux-x86/vts/android-vts/testcases/DATA/nativetest64/VtsHalBiometricsFingerprintV2_1TargetTest/VtsHalBiometricsFingerprintV2_1TargetTest
/data/local/tmp/ && adb shell
./data/local/tmp/VtsHalBiometricsFingerprintV2_1TargetTest
Bug:
32022721
Change-Id: Ibeb955bfb937d9f23f98a2e073235aa745183e94