mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Use IBase instead of IBinder for interface keyword.
Test: hidl_test Change-Id: Id51d1957f311d1025dac57d40d4dd5c24d328a6c
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user