Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/tests/
DFlattenableHelpers_test.cpp33 struct TestLightFlattenable : LightFlattenable<TestLightFlattenable> { struct
34 std::unique_ptr<int32_t> ptr;
36 bool isFixedSize() const { return true; } in isFixedSize()
37 size_t getFlattenedSize() const { return sizeof(int32_t); } in getFlattenedSize()
39 status_t flatten(void* buffer, size_t size) const { in flatten()
44 status_t unflatten(void const* buffer, size_t size) { in unflatten()
/frameworks/native/libs/binder/tests/
DbinderSafeInterfaceTest.cpp106 struct TestLightFlattenable : LightFlattenablePod<TestLightFlattenable> { struct
108 explicit TestLightFlattenable(int32_t v) : value(v) {} in TestLightFlattenable() function
109 int32_t value = 0;