blob: 2c824bfdec346c9dc3d3b0b1a9db828964445cbf [file] [log] [blame]
Ytai Ben-Tsvi2db42992019-11-12 10:44:26 -08001package 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};