From 76dd1951ae9924f225d7ddae63e1cb7ef7106ddf Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Mon, 28 Nov 2016 16:09:46 -0800 Subject: [PATCH] Use IBase instead of IBinder for interface keyword. Test: hidl_test Change-Id: Id51d1957f311d1025dac57d40d4dd5c24d328a6c --- tests/bar/1.0/default/Bar.cpp | 2 +- tests/bar/1.0/default/Bar.h | 2 +- tests/foo/1.0/default/Foo.cpp | 2 +- tests/foo/1.0/default/Foo.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/bar/1.0/default/Bar.cpp b/tests/bar/1.0/default/Bar.cpp index b3f971a18b..d3f6b91a75 100644 --- a/tests/bar/1.0/default/Bar.cpp +++ b/tests/bar/1.0/default/Bar.cpp @@ -123,7 +123,7 @@ Return Bar::haveAVectorOfInterfaces( } Return Bar::haveAVectorOfGenericInterfaces( - const hidl_vec > &in, + const hidl_vec > &in, haveAVectorOfGenericInterfaces_cb _hidl_cb) { _hidl_cb(in); diff --git a/tests/bar/1.0/default/Bar.h b/tests/bar/1.0/default/Bar.h index d23c1e161f..0400b9847b 100644 --- a/tests/bar/1.0/default/Bar.h +++ b/tests/bar/1.0/default/Bar.h @@ -57,7 +57,7 @@ struct Bar : public IBar { haveAVectorOfInterfaces_cb _hidl_cb) override; Return haveAVectorOfGenericInterfaces( - const hidl_vec > &in, + const hidl_vec > &in, haveAVectorOfGenericInterfaces_cb _hidl_cb) override; Return echoNullInterface(const sp &cb, echoNullInterface_cb _hidl_cb) override; diff --git a/tests/foo/1.0/default/Foo.cpp b/tests/foo/1.0/default/Foo.cpp index 850d716cea..cdfdecc38a 100644 --- a/tests/foo/1.0/default/Foo.cpp +++ b/tests/foo/1.0/default/Foo.cpp @@ -310,7 +310,7 @@ Return Foo::haveAVectorOfInterfaces( } Return Foo::haveAVectorOfGenericInterfaces( - const hidl_vec > &in, + const hidl_vec > &in, haveAVectorOfGenericInterfaces_cb _hidl_cb) { _hidl_cb(in); return Void(); diff --git a/tests/foo/1.0/default/Foo.h b/tests/foo/1.0/default/Foo.h index 84629db2dd..4558a734a5 100644 --- a/tests/foo/1.0/default/Foo.h +++ b/tests/foo/1.0/default/Foo.h @@ -54,7 +54,7 @@ struct Foo : public IFoo { haveAVectorOfInterfaces_cb _hidl_cb) override; Return haveAVectorOfGenericInterfaces( - const hidl_vec > &in, + const hidl_vec > &in, haveAVectorOfGenericInterfaces_cb _hidl_cb) override; Return echoNullInterface(const sp &cb, echoNullInterface_cb _hidl_cb) override;