summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Add monostate to optional safe unions."Steven Moreland2018-10-112-3/+11
|\
| * Add monostate to optional safe unions.Steven Moreland2018-10-112-3/+11
| | | | | | | | | | | | Bug: 116156870 Test: hidl_test, hidl_test_java Change-Id: Ie17a80dee982775e267a39086016071ac2361fb5
* | Merge "tests IFoo: WithFmq is more complicated."Steven Moreland2018-10-101-1/+8
|\ \ | |/ |/|
| * tests IFoo: WithFmq is more complicated.Steven Moreland2018-10-091-1/+8
| | | | | | | | | | | | | | | | When an interface is in the struct, scatter gather isn't used. Bug: 117239572 Test: hidl_test Change-Id: I749dd7cce85d220c1908ad583b1744c799a105cc
* | Merge "tests: IBaz, nasty nesting struct"Treehugger Robot2018-10-091-0/+11
|\ \ | |/ |/|
| * tests: IBaz, nasty nesting structSteven Moreland2018-10-091-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | toString is broken in some cases because of recursive definitions. This exercises that case. Bug: 117342189 Test: hidl_test Test: m android.hardware.tests.baz@1.0 android.hardware.tests.baz-V1.0-java (this runs hidl-gen on this for both Java and C++ output) Test: manually inspected output Change-Id: Ic09ac133345f2d83d6f83d3d0af1f63e7e3250ee
* | IFoo: send struct with fmq.Steven Moreland2018-10-085-0/+20
|/ | | | | | Bug: 117239572 Test: hidl_test Change-Id: I968916a9d62e1c8f7a237bd24e6b4267dd013366
* IFoo: remove pointer from u.Steven Moreland2018-10-051-1/+0
| | | | | | | | | pointer needs a fixup (to abort) since they can't be used in remote transactions, so removing it from the union here. Bug: 117322722 Test: hidl_test Change-Id: Ie582f6b79a8176ca1585bf4b1f43ae9d5d97fa92
* ISafeUnion: add case w/ enumSteven Moreland2018-09-133-0/+29
| | | | | | | Bug: 115638948 Test: hidl_test Test: hidl_test_java Change-Id: I26b5cc25bd29c420160686b5572a005a7629784c
* Adding handle types to Java-compatible test HALsNirav Atre2018-08-104-2/+100
| | | | | | | | | This change adds HIDL handle types to the baz@1.0 and safeunion@1.0 test HALs to exercise native handles in Java. Bug: 35098567 Test: Ran the hidl_test (C++ and Java) suites Change-Id: Iddf1c269cbdc68ce337f1e787570f3810f7baad2
* Modified ITestMsgQ hal service interfaceHans Chen2018-07-173-22/+19
|\ | | | | | | | | | | am: 58d52f70b3 Change-Id: Iaea0a9ebef6ff4ef5a2cb0beedafd05376d0c09c
| * Modified ITestMsgQ hal service interfaceHans Chen2018-07-173-22/+19
| | | | | | | | | | | | | | | | Test: make vts -j; fmq_test Changes: * Modified method that configures the synchronized queue. Now this method takes in a descriptor of an existing queue and creates a queue on the HAL server side. Change-Id: I395d6311f3580af6a87556849b3e921fa9eaf097
* | Merge "Updated HALs to test structs/safe_unions containing interfaces"Nirav Atre2018-07-164-0/+29
|\| | | | | | | | | | | am: 76b383d5c2 Change-Id: Idbf119111f9d3a1e916b4753bc68aec35638a275
| * Updated HALs to test structs/safe_unions containing interfacesNirav Atre2018-07-144-0/+29
| | | | | | | | | | | | Bug: 111019943 Test: Ran the hidl_test suite (C++ and Java) Change-Id: I93e8fb9611327e263a02af8fccef1fc878746e02
* | Merge "Make safeunion@1.0 test HAL Java-compatible"Nirav Atre2018-07-134-57/+1
|\| | | | | | | | | | | am: 314f9503a9 Change-Id: Ieaad7392eb81605d1ae0b626db5c1f336eb6d10b
| * Make safeunion@1.0 test HAL Java-compatibleNirav Atre2018-07-074-57/+1
| | | | | | | | | | | | | | | | | | | | | | This change removes Java-incompatible types (memory, handle) from the safeunion@1.0 test HAL. Moving forward, the idea is to keep this HAL Java & C++-friendly, and create another version (likely safeunion@2.0) to regress on C++-only types; tracked by b/110269925. Bug: n/a Test: Ran the existing hidl_test suite Change-Id: Ic7458c3f5b571e77e5f894a9854a2b201f53fe18
* | Merge "Adding HIDL interface type to safeunion test HAL"Nirav Atre2018-07-066-92/+144
|\| | | | | | | | | | | am: 5f64ae9872 Change-Id: I232939e4bf2e846f44b948d540c27e0a42fc11a2
| * Adding HIDL interface type to safeunion test HALNirav Atre2018-07-026-92/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | This change adds a new HIDL safe union, InterfaceTypeSafeUnion (containing an interface+array) to the safeunion test HAL. Bug: 79878527 Bug: 110269925 Test: Existing hidl_test suite passes successfully. Added more test- cases to hidl_test_client.cpp to exercise InterfaceTypeSafeUnion (included in a separate CL). Change-Id: I04ffeeeabccc1dc2651aac9371569c36d37f4f87
* | Merge "Test HAL for HIDL safe_union construct"Nirav Atre2018-06-267-0/+419
|\| | | | | | | | | | | am: 0ee23b3c1b Change-Id: I64c8d51228908d996476665efde88f374ddc2d72
| * Test HAL for HIDL safe_union constructNirav Atre2018-06-267-0/+419
| | | | | | | | | | | | | | | | | | | | | | This change implements a basic HAL and server-side functionality to test the HIDL implementation of safe unions. Bug: 79878527 Test: Ran make, new tests in hidl_test/ pass successfully (included in a separate CL). Change-Id: Ia420137bc1dc0a188e04176081c7f5418e74449c
* | Merge "Remove extra space." am: 3a9680bd44 am: 958be72e31Steven Moreland2018-02-021-1/+1
|\| | | | | | | | | | | am: 5f6471ea6b Change-Id: I1e894c0e3c06b8886bb9d91256c674d5ec8e4d98
| * Remove extra space.Steven Moreland2018-02-021-1/+1
| | | | | | | | | | | | | | | | Pointed out to me. Bug/Test: none Change-Id: I2cd01c5d46525cda3cfe32a2bf79655e6f9b84bd
| * Update makefiles.Steven Moreland2018-01-171-2/+2
| | | | | | | | | | | | | | | | Some have missed being updated. Bug: N/A Test: N/A Change-Id: I0925e85701f6e8b98f9b09bfafbed73469d1d185
* | Merge "Add a test method to test interface in struct" am: c0204ee13d am: ↵Howard Chen2018-01-043-0/+14
|\| | | | | | | | | | | | | | | 932c93f52e am: 3495400a59 Change-Id: I6e58800fde8a6a44d342e15b9c79d02a9e5f7156
| * Merge "Add a test method to test interface in struct"Howard Chen2018-01-043-0/+14
| |\
| | * Add a test method to test interface in structHoward Chen2018-01-033-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | Add a test method to IBaz to test struct with a composed interface Test: hidl_test_java/ internal master Bug: 70529597 Change-Id: I73eaaf3dda6a24b88207729f31c75454c005c8cf
* | | Merge "Remove empty generates clause." am: 12517de51d am: 4160ed79a0Steven Moreland2018-01-041-1/+1
|\| | | | | | | | | | | | | | | | | am: bd45927b84 Change-Id: Ieef7a9ad258d3c783f833521e5d52754b8d3366c
| * | Remove empty generates clause.Steven Moreland2018-01-031-1/+1
| |/ | | | | | | | | | | | | | | Doesn't do anything, not part of the language. Bug: 71545356 Test: none Change-Id: I5fce87a9cf01ff546f2b7b177b60454b8bfbf106
* | Merge "Test for vec<union> vec<struct w/ union>." am: cd619af7bc am: bc3f5661c8Steven Moreland2017-12-145-0/+59
|\| | | | | | | | | | | am: dc3e125f54 Change-Id: Ibb3cf3d695feacfa3fbf905f5cf2e55a51bd1241
| * Test for vec<union> vec<struct w/ union>.Steven Moreland2017-12-145-0/+59
| | | | | | | | | | | | Bug: 31973802 Test: hidl_test Change-Id: I4367f1f525caa8d1edb95b7bfdac78f21b234576
* | Update makefiles.Steven Moreland2017-12-111-2/+2
| | | | | | | | | | | | | | | | Been seeing these in CLs. Some were forgotten. Test/Bug: none Change-Id: I678f9ef157a3631586a3d3a9cc503121eed5a703
* | Merge "Add more test methods to IMemoryTest" am: 4cd07b6e21 am: b4c725535eHoward Chen2017-12-025-2/+40
|\| | | | | | | | | | | am: e46a31d771 Change-Id: I5ea882cae7457afd82bc380a45e51535f0110315
| * Merge "Add more test methods to IMemoryTest"Howard Chen2017-12-025-2/+40
| |\
| | * Add more test methods to IMemoryTestHoward Chen2017-11-295-2/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add haveSomeMemoryBlock to test transport of the hidl_memory_block. Add set(hidl_memory) & get(IMemoryToken) to test IMemoryToken Test: hidl_test Bug: 68295540 Change-Id: I08bcfae256de9db7dd647cde0ccbee214b598f47
| * | Merge "Remove subdirs"Treehugger Robot2017-11-291-31/+0
| |\ \
| | * | Remove subdirsSteven Moreland2017-11-281-31/+0
| | |/ | | | | | | | | | | | | | | | | | | | | | Removing whenever I see these in code reviews. Test: none Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
* | | Merge "Update tests makefile for change." am: efbcd7de61 am: b56cfe36daSteven Moreland2017-11-291-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | am: 59e5bd7589 Change-Id: I55e43110275be28b7ec29118c2655b271e9c33d5
| * | | Merge "Update tests makefile for change."Steven Moreland2017-11-291-0/+1
| |\| | | | | | | | | | | | | | | | | | | | | | am: efbcd7de61 Change-Id: I4477b859167b1a6b787e18f2aa1bbf5886fc5a2a
| | * | Update tests makefile for change.Steven Moreland2017-11-281-0/+1
| | |/ | | | | | | | | | | | | | | | | | | Introduced in 4921bc2e13722ffe3f66b708cfd825b98da9b917. Test: manual Change-Id: I8b2b8fc27ebae55871c656816f87374c792a8ace
| * / Remove subdirsSteven Moreland2017-11-281-31/+0
| |/ | | | | | | | | | | | | | | Removing whenever I see these in code reviews. Test: none Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
* | Remove subdirsSteven Moreland2017-11-281-31/+0
| | | | | | | | | | | | | | | | Removing whenever I see these in code reviews. Test: none Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
* | Merge "Test for references to typedef'd enum." am: 6a5daf8cac am: 7b64abd011Steven Moreland2017-11-271-1/+3
|\| | | | | | | | | | | am: 3266a19ce4 Change-Id: I0eb90ffbd2fea8e2e94274974bc38199fa3951ab
| * Merge "Test for references to typedef'd enum."Treehugger Robot2017-11-271-1/+3
| |\
| | * Test for references to typedef'd enum.Steven Moreland2017-11-271-1/+3
| | | | | | | | | | | | | | | | | | | | | Allow using an enum even when it is typedef'd. Test: hidl-gen -Lcheck Change-Id: I45f8b40d67773c1cd34c9353b847dbae1cc4bdcd
* | | Merge "Additional tests for enum iteration." am: d10cb041bc am: 53541a71c2Steven Moreland2017-11-271-0/+27
|\| | | | | | | | | | | | | | | | | am: a110506924 Change-Id: I6c2ef27d9cb1996234b7d877fb88d7e7e7b1ba83
| * | Additional tests for enum iteration.Steven Moreland2017-11-171-0/+27
| |/ | | | | | | | | | | Bug: 68715899 Test: hidl_test Change-Id: I78ca51568a5380839782ead5698f4d0ac0a3a7dd
| * Update makefiles for hidl_interface.Steven Moreland2017-11-1013-2028/+111
| | | | | | | | | | | | Bug: 35570956 Test: manual Change-Id: I7a220b78ee081240e1dc30ef5672ba39e3e98375
* | Updating makefiles for hidl_interface.Steven Moreland2017-11-1313-2028/+111
| | | | | | | | | | | | | | Bug: 64487114 Test: manual Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812 Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
* | Adds test cases to stress marshaling of primitive array types and am: ↵Andreas Huber2017-10-313-0/+73
|\| | | | | | | | | | | | | | | aaa67596df am: 6445699dde am: 149ecdb239 Change-Id: I49abc53a8d7d04e0371b859f7f01c60cd10f7c5e
| * Adds test cases to stress marshaling of primitive array types andAndreas Huber2017-10-313-0/+73
| | | | | | | | | | | | | | | | vectors of thereof. Bug: 68654583 Test: hidl_test_java Change-Id: Id498fe9b1e153512be294c39aff783f7d0600219