Files
rk35xx-android14/hardware/interfaces/tests/memory/2.0/IMemoryInterface.hal
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

13 lines
508 B
Plaintext

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