Ytai Ben-Tsvi | 2db4299 | 2019-11-12 10:44:26 -0800 | [diff] [blame^] | 1 | package android.hardware.tests.memory@2.0; |
| 2 | |
| 3 | interface 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 | }; |