diff options
author | Casey Dahlin <sadmac@google.com> | 2015-11-03 13:52:38 -0800 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-11-05 21:04:10 +0000 |
commit | 7ecd69f2cc3c31cf569840e9c2d53ed352328d18 (patch) | |
tree | d118197444843bc0b72b9a388364fe4d22e6a19b /tests/aidl_test_service.cpp | |
parent | 63bce2a1090a11d82a98d4463ddf0c82e1b8a6e6 (diff) | |
download | android_system_tools_aidl-7ecd69f2cc3c31cf569840e9c2d53ed352328d18.tar.gz android_system_tools_aidl-7ecd69f2cc3c31cf569840e9c2d53ed352328d18.tar.bz2 android_system_tools_aidl-7ecd69f2cc3c31cf569840e9c2d53ed352328d18.zip |
Support List<IBinder> type
Change-Id: Ia84cf258702b161f3e7857925b8c2be7b1dfd60e
Test: Expanded unit and integration tests pass
Bug: 24470786
Signed-off-by: Casey Dahlin <sadmac@google.com>
Diffstat (limited to 'tests/aidl_test_service.cpp')
-rw-r--r-- | tests/aidl_test_service.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/aidl_test_service.cpp b/tests/aidl_test_service.cpp index ca21b5d..b41cac7 100644 --- a/tests/aidl_test_service.cpp +++ b/tests/aidl_test_service.cpp @@ -258,6 +258,12 @@ class NativeService : public BnTestService { return ReverseArray(input, repeated, _aidl_return); } + status_t ReverseNamedCallbackList(const vector<sp<IBinder>>& input, + vector<sp<IBinder>>* repeated, + vector<sp<IBinder>>* _aidl_return) override { + return ReverseArray(input, repeated, _aidl_return); + } + private: map<String16, sp<INamedCallback>> service_map_; }; |