History log of /system/tools/aidl/tests/test_data_ping_responder.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b7e0117281fde01c6fca3a26f1daed800ff80fa8 29-Jan-2016 Christopher Wiley <wiley@google.com> Add support for C++ @utf8InCpp strings

Developers may now annotate String types as being @utf8InCpp. This
causes generated code to generate a std::string or appropriate
variation.

Bug: 26729450
Test: Unittest pass, added new ones

Change-Id: I0daf5234e212ab22d568a0910652f510542f7341
/system/tools/aidl/tests/test_data_ping_responder.cpp
e9351ccad61f2f7fc4a0721480119112c97f049e 22-Jan-2016 Christopher Wiley <wiley@google.com> aidl-cpp: Reject parcelable import without C++ header

Bug: 26251671
Test: built AOSP ToT for angler-userdebug, ran unittests

Change-Id: Iea2d2a8f710a10210ddbe580899a6379f758434a
/system/tools/aidl/tests/test_data_ping_responder.cpp
3a9911cc8fd881effadbdf51e8f4cf721a1d9601 19-Jan-2016 Christopher Wiley <wiley@google.com> Write C++ and Java specific dependency files

The dependency file for C++ encodes that generated .cpp and .h files
depend on the source aidl and imported aidl files. This is unlike
Java which only has a single .java file.

Bug: 26409006
Test: Unittests continue to pass

Change-Id: I97f3646cd28803a6dadc7bd0bd35632218dae559
/system/tools/aidl/tests/test_data_ping_responder.cpp
1095712f27931cb64d398d77201036cdcef0a296 04-Dec-2015 Christopher Wiley <wiley@google.com> Always set generated status_t to safe default value

In functions that return void and read nothing from the parcel, this
temporary never gets set before being returned.

Bug: 26024740
Test: unittests pass

Change-Id: Ie1a20a7bd907e6a074360aef59f26fac33f701a7
/system/tools/aidl/tests/test_data_ping_responder.cpp
b8d9e8898c34da45027e56be88d5c9238ea88203 24-Nov-2015 Casey Dahlin <sadmac@google.com> Proper namespacing in generated C++ code

We have now explicitly namespaced all of our types from the root, and,
while we're at it, given all local identifiers the _aidl prefix

Change-Id: I0b2de7a2ebccc18a1c80e5fad8bc5e948062635f
Test: Unit and integration tests pass
Bug: 25748263
Signed-off-by: Casey Dahlin <sadmac@google.com>
/system/tools/aidl/tests/test_data_ping_responder.cpp
433c8bbdfa1ee6db10b7f08d3c50eafd49ad2687 12-Nov-2015 Christopher Wiley <wiley@google.com> Implement error handling for C++ services

Bug: 25615695
Test: unit tests continue to pass.

Change-Id: I24f4f3a5a7b95438ab7daa707d2b4598b33b8302
/system/tools/aidl/tests/test_data_ping_responder.cpp
864bc0936d95410b06a3709e1559c884258bc52c 10-Nov-2015 Christopher Wiley <wiley@google.com> Correct ! placement in C++ conditionals

Bug: None
Test: integration/unit tests pass

Change-Id: Ie0bda3a77254e47348a7ddacec69a80799285a59
/system/tools/aidl/tests/test_data_ping_responder.cpp
19059cb70c5330787ba88f3860444e6da3ef3ca0 06-Nov-2015 Christopher Wiley <wiley@google.com> Generate a dependency file for C++ output

Bug: 23600457
Test: unittests, added another

Change-Id: Ic1834badc396d444057a58f3868bcf343dcc933d
/system/tools/aidl/tests/test_data_ping_responder.cpp
389781f56bb6b4363e9eb03acf915ba297f607d5 22-Oct-2015 Casey Dahlin <sadmac@google.com> Add support for passing binders in C++

Change-Id: I6f7003b4c320897bada8f225943a50825d6c26e7
Test: Unit tests (several new), Integration tests (several new)
Bug: 23600713
Signed-off-by: Casey Dahlin <sadmac@google.com>
/system/tools/aidl/tests/test_data_ping_responder.cpp
8993cb5f297f9e329470d75f02a7b3e3a4bc64a5 21-Oct-2015 Christopher Wiley <wiley@google.com> Add interface enforcement logic to generated C++

Bug: 25078043
Test: java client is now able to correctly receive echoed data
native client continues to function

Change-Id: Iee1535a4e182a407d30afd32ea4ccbb632b188cc
/system/tools/aidl/tests/test_data_ping_responder.cpp
2aaeda8b140de83f2cb2d51405ea27ccf1eefc13 20-Oct-2015 Christopher Wiley <wiley@google.com> Prefix responses with "no exception header"

Bug: 24862905
Test: java client correctly parses return code,
native client continues to work

Change-Id: Idea68eb78fc92a4dfccf4ff70b737884c59b541c
/system/tools/aidl/tests/test_data_ping_responder.cpp
0eb903eff2376941ad7e947bd5d3a32e15d89f69 21-Oct-2015 Christopher Wiley <wiley@google.com> Add IfStatement C++ AST node

Replace existing places we used a literal for this purpose.

Bug: 24862905
Test: unittests continue to pass

Change-Id: I7bcc3f06d36701d5277bc7b6364a0a91d245e1ac
/system/tools/aidl/tests/test_data_ping_responder.cpp
af2d510018c546961e502b61682eaf8a019cc974 18-Oct-2015 Christopher Wiley <wiley@google.com> Add end to end test for C++ generation

Bug: None
Test: Unit tests pass

Change-Id: If3e49a6053d9945f6a6da2a9832e9120d6be5b03
/system/tools/aidl/tests/test_data_ping_responder.cpp