Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ebcc3328 authored by Yifan Hong's avatar Yifan Hong
Browse files

Use IBase instead of IBinder for interface keyword.

Test: hidl_test
Change-Id: Id51d1957f311d1025dac57d40d4dd5c24d328a6c
parent e19e582b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);

+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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();
+1 −1
Original line number Diff line number Diff line
@@ -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;