Use IBase instead of IBinder for interface keyword.

Test: hidl_test
Change-Id: Id51d1957f311d1025dac57d40d4dd5c24d328a6c
This commit is contained in:
Yifan Hong
2016-11-28 16:09:46 -08:00
parent 86ef380228
commit 76dd1951ae
4 changed files with 4 additions and 4 deletions

View File

@@ -123,7 +123,7 @@ Return<void> Bar::haveAVectorOfInterfaces(
}
Return<void> Bar::haveAVectorOfGenericInterfaces(
const hidl_vec<sp<android::hardware::IBinder> > &in,
const hidl_vec<sp<android::hidl::base::V1_0::IBase> > &in,
haveAVectorOfGenericInterfaces_cb _hidl_cb) {
_hidl_cb(in);

View File

@@ -57,7 +57,7 @@ struct Bar : public IBar {
haveAVectorOfInterfaces_cb _hidl_cb) override;
Return<void> haveAVectorOfGenericInterfaces(
const hidl_vec<sp<android::hardware::IBinder> > &in,
const hidl_vec<sp<android::hidl::base::V1_0::IBase> > &in,
haveAVectorOfGenericInterfaces_cb _hidl_cb) override;
Return<void> echoNullInterface(const sp<IFooCallback> &cb, echoNullInterface_cb _hidl_cb) override;

View File

@@ -310,7 +310,7 @@ Return<void> Foo::haveAVectorOfInterfaces(
}
Return<void> Foo::haveAVectorOfGenericInterfaces(
const hidl_vec<sp<android::hardware::IBinder> > &in,
const hidl_vec<sp<android::hidl::base::V1_0::IBase> > &in,
haveAVectorOfGenericInterfaces_cb _hidl_cb) {
_hidl_cb(in);
return Void();

View File

@@ -54,7 +54,7 @@ struct Foo : public IFoo {
haveAVectorOfInterfaces_cb _hidl_cb) override;
Return<void> haveAVectorOfGenericInterfaces(
const hidl_vec<sp<android::hardware::IBinder> > &in,
const hidl_vec<sp<android::hidl::base::V1_0::IBase> > &in,
haveAVectorOfGenericInterfaces_cb _hidl_cb) override;
Return<void> echoNullInterface(const sp<IFooCallback> &cb, echoNullInterface_cb _hidl_cb) override;