Loading tests/bar/1.0/default/Bar.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -153,8 +153,8 @@ Return<void> Bar::thisIsNew() { return Void(); } Return<void> Bar::expectNullHandle(const native_handle_t* h, const Abc& xyz, expectNullHandle_cb _hidl_cb) { ALOGI("SERVER(Bar) h = %p, xyz.z = %p", h, static_cast<void*>(xyz.z)); Return<void> Bar::expectNullHandle(const hidl_handle& h, const Abc& xyz, expectNullHandle_cb _hidl_cb) { ALOGI("SERVER(Bar) h = %p, xyz.z = %p", h.getNativeHandle(), xyz.z.getNativeHandle()); _hidl_cb(h == nullptr, xyz.z == nullptr); return Void(); } Loading tests/bar/1.0/default/Bar.h +1 −1 Original line number Diff line number Diff line Loading @@ -64,7 +64,7 @@ struct Bar : public IBar { // Methods from ::android::hardware::tests::bar::V1_0::IBar follow. Return<void> thisIsNew() override; Return<void> expectNullHandle(const native_handle_t* h, const Abc& xyz, expectNullHandle_cb _hidl_cb) override; Return<void> expectNullHandle(const hidl_handle& h, const Abc& xyz, expectNullHandle_cb _hidl_cb) override; private: sp<IFoo> mFoo; Loading tests/foo/1.0/default/Foo.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -309,7 +309,7 @@ Return<void> Foo::createMyHandle(createMyHandle_cb _hidl_cb) { } Return<void> Foo::createHandles(uint32_t size, createHandles_cb _hidl_cb) { hidl_vec<const native_handle_t*> handles; hidl_vec<hidl_handle> handles; handles.resize(size); for(uint32_t i = 0; i < size; ++i) { createMyHandle([&](const MyHandle& h) { Loading Loading
tests/bar/1.0/default/Bar.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -153,8 +153,8 @@ Return<void> Bar::thisIsNew() { return Void(); } Return<void> Bar::expectNullHandle(const native_handle_t* h, const Abc& xyz, expectNullHandle_cb _hidl_cb) { ALOGI("SERVER(Bar) h = %p, xyz.z = %p", h, static_cast<void*>(xyz.z)); Return<void> Bar::expectNullHandle(const hidl_handle& h, const Abc& xyz, expectNullHandle_cb _hidl_cb) { ALOGI("SERVER(Bar) h = %p, xyz.z = %p", h.getNativeHandle(), xyz.z.getNativeHandle()); _hidl_cb(h == nullptr, xyz.z == nullptr); return Void(); } Loading
tests/bar/1.0/default/Bar.h +1 −1 Original line number Diff line number Diff line Loading @@ -64,7 +64,7 @@ struct Bar : public IBar { // Methods from ::android::hardware::tests::bar::V1_0::IBar follow. Return<void> thisIsNew() override; Return<void> expectNullHandle(const native_handle_t* h, const Abc& xyz, expectNullHandle_cb _hidl_cb) override; Return<void> expectNullHandle(const hidl_handle& h, const Abc& xyz, expectNullHandle_cb _hidl_cb) override; private: sp<IFoo> mFoo; Loading
tests/foo/1.0/default/Foo.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -309,7 +309,7 @@ Return<void> Foo::createMyHandle(createMyHandle_cb _hidl_cb) { } Return<void> Foo::createHandles(uint32_t size, createHandles_cb _hidl_cb) { hidl_vec<const native_handle_t*> handles; hidl_vec<hidl_handle> handles; handles.resize(size); for(uint32_t i = 0; i < size; ++i) { createMyHandle([&](const MyHandle& h) { Loading