1package android.hardware.tests.memory@2.0;
2
3interface IMemoryInterface {
4    // Flips all the bits in the given memory buffer.
5    bitwiseNot(memory mem);
6    // Returns a read-only buffer of size 8, containing the bytes 0..7.
7    getTestMem() generates(memory mem);
8    // Given two memory regions of the same size, returns two memory fields of
9    // equal size, the first contains the byte-wise sum and the other the byte-
10    // wise difference.
11    getSumDiff(TwoMemory in) generates(TwoMemory out);
12};
13