Commit graph

183 commits

Author SHA1 Message Date
Steven Moreland
66816de87f Remove useless Android.mk files.
Test: none
Change-Id: I99f4d3e5b943742009e366b13bee2c32e38a3fba
2017-01-18 11:49:08 -08:00
Yifan Hong
cad2f77b0e Merge "Add test for type resolution." am: 5835d9ea59 am: 168bb896b7 am: 6cc9f50bd3
am: 63a36d7b62

Change-Id: I0477b4dc3e782752a556003ddaced227d2271b06
2017-01-17 21:12:01 +00:00
Yifan Hong
5835d9ea59 Merge "Add test for type resolution." 2017-01-17 21:03:05 +00:00
Martijn Coenen
4226670424 Merge "Testing struct that has vector of other struct" am: 0bb0ba5f79 am: a69c3034fa am: dabf160073
am: 98d537ec95

Change-Id: Ia384675237edd335e117991607e1a39f6f46dd74
2017-01-17 06:50:54 +00:00
Martijn Coenen
0bb0ba5f79 Merge "Testing struct that has vector of other struct" 2017-01-16 14:48:11 +00:00
Hridya Valsaraju
e18ded9775 Merge "Add a new method to trigger a blocking read." am: 31265c5312 am: ba6c8445b1 am: 134cb728f7
am: 5cb077fac0

Change-Id: Iff0bac56b002082e1f037ccd1b2ff5650de90902
2017-01-14 08:26:42 +00:00
Treehugger Robot
31265c5312 Merge "Add a new method to trigger a blocking read." 2017-01-14 08:07:25 +00:00
Hridya Valsaraju
586bed1c17 Add a new method to trigger a blocking read.
The new method will request the service to trigger a blocking
read with the default Event Flag notification bitmask defined
by the MessageQueue class.

Test: FMQ unit tests
Change-Id: I5a61e2b4527ba31cd5ea6521c553a87904af8056
2017-01-13 20:58:17 -08:00
Steven Moreland
7c8d9bbaf1 Revert "move VTS HIDL HAL tests to the corresponding interface directories"
This reverts commit ec7746fa80.

Test: no test
Merged-In: I9ec4493403d71419df99fe9761211eab057cdb0a
Change-Id: I39f2acaa5ee376b90bcddd0891ac6f309cb40a2b
2017-01-14 00:20:11 +00:00
Steven Moreland
96232e327f Revert "Revert "move VTS HIDL HAL tests to the corresponding interface directories""
This reverts commit 070e8d2116.

Change-Id: I66dd4e6cf875e39e58b0d91724a603b37d32c0ac
2017-01-14 00:00:26 +00:00
Ruchi Kandoi
070e8d2116 Revert "move VTS HIDL HAL tests to the corresponding interface directories"
Test: No
This reverts commit ec7746fa80.

Change-Id: I9ec4493403d71419df99fe9761211eab057cdb0a
2017-01-13 15:17:32 -08:00
Yifan Hong
97973c69c8 Add test for type resolution.
Test: make hidl_test

Bug: 31971432

Change-Id: I5c058079d54e1b480f21550a76ccfd53f54bd0c4
2017-01-13 10:11:08 -08:00
Pavel Maltsev
af9aec427d Testing struct that has vector of other struct
Test: hidl_java_test

Bug: b/34255213
Change-Id: I6a861f0fec32d5f7d541860bfe7bc3a45d37f1be
2017-01-13 11:35:36 +01:00
Ruchi Kandoi
aeb3de7b3f Merge changes from topic 'port-nfc-vts-AOSP'
* changes:
  Fix VTS paths on 32-bit target
  Remove obsolete references to IPCThreadState/ProcessState.
  Update Android.bp of Nfc with make rule for profiler.
  Use lowercase booleans in VTS test configs.
  Update to use the correct logging library.
  Update coverage configs with new format.
  Update NFC VTS configs to reflect new source paths
  increase the timeouts to 10mins for nfc target-side tests
  enable profiling directly from AndroidTest.xml
  NFC: vts: Update VTS driver files as per HAL changes
  NFC: Add target-side VTS tests for NFC
  use svc nfc enable/disable which is always the same.
  move VTS HIDL HAL tests to the corresponding interface directories
  Build target-side NFC test with coverage.
  Remove -DENABLE_TREBLE from vts test LOCAL_CFLAGS.
  Nfc: Split libhidl into base and transport.
  NFC: Update vts files to include the Annotations.
  NFC HAL target-side test (template)
  Update vts files for nfc hidl file style change.
  VTS driver build target for NFC 1.0
  add nfc vts files and vts profiler build rule
2017-01-12 23:13:44 +00:00
Steven Moreland
7c6612ad30 MemoryTest: add method for testing am: 6de0aa81a3 am: f0a0b645e9 am: fa37fc89cd
am: 90d16fdd99

Change-Id: I31f12c061b20bc8c1fa09ce10bb9e90aa3afab84
2017-01-12 20:13:20 +00:00
Keun Soo Yim
ec7746fa80 move VTS HIDL HAL tests to the corresponding interface directories
Bug: 32783461
Test: vts-tradefed; run vts-hal-hidl
Change-Id: Iead44eaf65dcd4de2286267467c4a4a322a88205
(cherry picked from commit 8a36c0b01c)
2017-01-12 11:02:22 -08:00
Steven Moreland
6de0aa81a3 MemoryTest: add method for testing
Bug: 34134129
Test: compiles
Change-Id: If0d2a9c00f93f548da5e9261a93d4715412620c3
2017-01-12 16:27:43 +01:00
Treehugger Robot
cb5989d239 Merge "Bp/n/sFoo -> Bp/n/sHwFoo" 2017-01-12 01:50:58 +00:00
TreeHugger Robot
a8d358fb63 Merge changes from topic 'bphwfoo'
* changes:
  Bp/nFoo -> Bp/nHwFoo.
  Bp/nFoo -> Bp/nHwFoo
2017-01-11 23:43:16 +00:00
Yifan Hong
4bc69c918f Bp/nFoo -> Bp/nHwFoo
Bug: 33554989
Test: hidl_test
Change-Id: I748181e9eaf5b78318054b9fd99ac1a43d00498a
2017-01-11 13:04:15 -08:00
Mark Salyzyn
5ec14ad8dd Merge "liblog: use log/log.h when utilizing ALOG macros" am: 818ffb15a6 am: ca5117d1f3 am: 7c3240795a
am: d4acfd7503

Change-Id: I477c45fec225f4712051b2ff42b6f55614403531
2017-01-11 15:57:46 +00:00
Yifan Hong
10ac9b44f5 Bp/n/sFoo -> Bp/n/sHwFoo
Bug: 33554989
Test: hidl_test
Change-Id: I748181e9eaf5b78318054b9fd99ac1a43d00498a
2017-01-10 16:01:46 -08:00
Mark Salyzyn
a4842ace39 liblog: use log/log.h when utilizing ALOG macros
Test: compile
Bug: 30465923
Change-Id: I67046a75be057e7905570748a1ed6bfd03c0e1c8
2017-01-10 15:02:14 -08:00
Yifan Hong
309ccc1d26 Add test for putting different types in a struct / union. am: 04e53a1ca2 am: 049439eb1f am: ce1420670c
am: b76db3e2e7

Change-Id: I878b7f2a7ba449d3330dd14fdd9be3d55554a1a2
2017-01-10 03:22:30 +00:00
Yifan Hong
04e53a1ca2 Add test for putting different types in a struct / union.
Test: hidl_test
Change-Id: Icf1f40b1c92f76a45a3792e8c5d359031ad719bc
2017-01-06 11:06:14 -08:00
Yifan Hong
810b9b4838 Merge "move foocallback to hidl_test" am: 0270fefc48 am: 7f3dc0e7b3 am: 586e13de99
am: 82f0ce3e09

Change-Id: I5e3a1a1ac7018eb36401c17bf29b49d131289ae6
2017-01-05 19:37:58 +00:00
Yifan Hong
0270fefc48 Merge "move foocallback to hidl_test" 2017-01-05 19:24:25 +00:00
Martijn Coenen
ddfd2b832d Callback elision for HIDL interfaces. am: e8b0161713 am: 04bd96f989 am: c8a4f398c2
am: a5cb4f042f

Change-Id: I32cb28fb4acc7d69059b8dd3e80946e2e2963b9c
2017-01-05 10:04:23 +00:00
Martijn Coenen
e8b0161713 Callback elision for HIDL interfaces.
Test: mma, hidl_test
Bug: 31380743
Change-Id: Ic5390d49a9493d1180bdd8a15bc47e891637890e
2017-01-05 08:48:23 +01:00
Hridya Valsaraju
93a896744c Merge "Add a method to trigger multiple FMQ blocking reads." am: 9bfe0894b9 am: b494c004e8 am: f549b70bbd
am: 3fc5d42017

Change-Id: I205f66015e8c2228750c17ef433768689bfaf551
2017-01-05 02:48:18 +00:00
Hridya Valsaraju
9ba9244e5f Add a method to trigger multiple FMQ blocking reads.
Test: FMQ unit tests
Bug: 33815422
Change-Id: Idcd1fd79232a1b0caa5784e8dd4f3a929f52fded
2017-01-04 16:19:36 -08:00
Yifan Hong
b500bc6189 move foocallback to hidl_test
Fix: 32778024

Test: hidl_test

Change-Id: Icec3bd23c30dea635c315ec3b98f3a72447e840a
2017-01-04 13:39:13 -08:00
Hridya Valsaraju
f70884cf4b Templatize MQDescriptor
Bug: 33948735
Test: FMQ unit tests and benchmarks

Merged-In: I5c3beff2c6a69e151e0cb11af299956638cc441b
Change-Id: I5c3beff2c6a69e151e0cb11af299956638cc441b
2016-12-29 22:33:40 -08:00
TreeHugger Robot
573ec06d23 Merge "Templatize MQDescriptor and rename to fmq_sync/fmq_unsync" 2016-12-30 06:23:06 +00:00
Hridya Valsaraju
33351dae85 Templatize MQDescriptor and rename to fmq_sync/fmq_unsync
Bug: 33948735
Test: builds, FMQ unit tests and benchmarks pass.
Change-Id: I5c3beff2c6a69e151e0cb11af299956638cc441b
2016-12-29 14:52:16 -08:00
Martijn Coenen
4ea3c731a9 Add test method to IBaz. am: 73f99f6e1f am: a0cf52d74b am: 66ec896c3b
am: e411341409

Change-Id: I5242b0ed727b672bc658d1c792a1a3d6beb55a09
2016-12-29 09:27:27 +00:00
Martijn Coenen
73f99f6e1f Add test method to IBaz.
For testing death recipients.

Test: mma, hidl_test_java
Bug: 31632518
Change-Id: Ib359c790f68132484fbcd1a5522f45b99d1131f8
2016-12-28 17:44:15 +00:00
Hridya Valsaraju
a13ec5a81c Merge "Add a method to test EventFlag configuration and usage" am: ac7f1d21e8 am: adbae29ef1 am: 2ba1ec5a64
am: deb31d4ba1

Change-Id: I60be1640e820f35de9b5096e04c936d7d8e7f8dd
2016-12-22 22:19:13 +00:00
Treehugger Robot
ac7f1d21e8 Merge "Add a method to test EventFlag configuration and usage" 2016-12-22 21:55:07 +00:00
Hridya Valsaraju
710e4a3f0d Add a method to test EventFlag configuration and usage
Bug: 31223612 33295104

Test: FMQ unit tests.

Change-Id: Idbddd38730edd0ec14c37d3cb5e67f78705c3d4a
2016-12-21 14:16:10 -08:00
Yifan Hong
4162ceee43 Merge "Add test for Java GC for binder objects." am: eb0db2c920 am: b96d0d1f68 am: 92f29042a3
am: 7092c9f249

Change-Id: Ia2857326f6e7c74fd49c453bbab2111db25e5ade
2016-12-21 18:53:11 +00:00
Yifan Hong
d9389bb3d5 Add test for Java GC for binder objects.
Test: hidl_test_java

Bug: 33042939
Change-Id: I87d9de63834c617a568f7d1795c901fdd4c6f8e0
2016-12-19 18:17:33 -08:00
Yifan Hong
7f6bfcc606 Merge "Test for echoed interfaces." am: f5f75be7b6 am: a175fa4b4a am: c63c36ceaf
am: abaee80220

Change-Id: I8c38c43e04e47aa834cb381fe41addc6751f4076
2016-12-19 22:47:21 +00:00
Yifan Hong
87cc71c9fa Test for echoed interfaces.
Test: hidl_test

Bug: 33173166

Change-Id: I0b8b8553b7d3f7b1800d0970a9fc17d01084dfcf
2016-12-16 15:49:39 -08:00
Martijn Coenen
a86dab68ad Revert "Fix tests for using IBase instead of IBinder." am: 0dbb9903cd am: 666a5dcafe am: 8723856c45
am: d1fd31018f

Change-Id: Ifad04fe3804826f97f1c228e666bb6760aa19f5f
2016-12-16 01:46:03 +00:00
Martijn Coenen
0dbb9903cd Revert "Fix tests for using IBase instead of IBinder."
This reverts commit 1d747311b3.
Bug: 33173166
Test: builds, hidl_test
2016-12-15 21:34:38 +01:00
Yifan Hong
b85d8763c7 Update makefiles for Java package path.
use V1_0 instead of 1.0.

Bug: 33554192

Test: hidl_test_java
Change-Id: Ic2d95265df10914a60a5bb743d75e839948838c3
2016-12-13 18:06:24 -08:00
Yifan Hong
0f73b9eb59 Merge "Revert "Revert "Update makefiles for Java package path.""" 2016-12-13 22:20:51 +00:00
Yifan Hong
f35ee3b192 Revert "Revert "Update makefiles for Java package path.""
This reverts commit a8789f27cb.

Change-Id: I69980b580a556188ba868bb096ae1590b01759f5
2016-12-13 22:20:16 +00:00
Yifan Hong
b998a6c49c Merge "Revert "Update makefiles for Java package path."" 2016-12-13 22:19:23 +00:00