Home
last modified time | relevance | path

Searched defs:TestFlattenable (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/libs/binder/tests/
DbinderSafeInterfaceTest.cpp81 struct TestFlattenable : Flattenable<TestFlattenable> { struct
83 explicit TestFlattenable(int32_t v) : value(v) {} in TestFlattenable() function
86 size_t getFlattenedSize() const { return sizeof(value); } in getFlattenedSize()
87 size_t getFdCount() const { return 0; } in getFdCount()
88 status_t flatten(void*& buffer, size_t& size, int*& /*fds*/, size_t& /*count*/) const { in flatten()
92 status_t unflatten(void const*& buffer, size_t& size, int const*& /*fds*/, size_t& /*count*/) { in unflatten()
97 int32_t value = 0;