Home
last modified time | relevance | path

Searched refs:shmem (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/os/
DHidlMemoryUtil.java80 SharedMemory shmem = SharedMemory.create(name != null ? name : "", input.length); in byteArrayToHidlMemory() local
81 ByteBuffer buffer = shmem.mapReadWrite(); in byteArrayToHidlMemory()
83 shmem.unmap(buffer); in byteArrayToHidlMemory()
84 return sharedMemoryToHidlMemory(shmem); in byteArrayToHidlMemory()
123 SharedMemory shmem = SharedMemory.create(name != null ? name : "", input.size()); in byteListToHidlMemory() local
124 ByteBuffer buffer = shmem.mapReadWrite(); in byteListToHidlMemory()
128 shmem.unmap(buffer); in byteListToHidlMemory()
129 return sharedMemoryToHidlMemory(shmem); in byteListToHidlMemory()
196 @NonNull public static HidlMemory sharedMemoryToHidlMemory(@Nullable SharedMemory shmem) { in sharedMemoryToHidlMemory() argument
197 if (shmem == null) { in sharedMemoryToHidlMemory()
[all …]
/frameworks/base/cmds/incident_helper/testdata/
Dprocrank_short.txt7 RAM: 3843972K total, 281424K free, 116764K buffers, 1777452K cached, 1136K shmem, 217916K slab
Dprocrank.txt8 RAM: 3843972K total, 281424K free, 116764K buffers, 1777452K cached, 1136K shmem, 217916K slab
/frameworks/base/core/java/android/hardware/soundtrigger/
DConversionUtil.java381 SharedMemory shmem = SharedMemory.create(name != null ? name : "", data.length); in byteArrayToSharedMemory() local
382 ByteBuffer buffer = shmem.mapReadWrite(); in byteArrayToSharedMemory()
384 shmem.unmap(buffer); in byteArrayToSharedMemory()
385 return shmem.getFileDescriptor(); in byteArrayToSharedMemory()
/frameworks/base/services/tests/servicestests/src/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareImplTest.java114 SharedMemory shmem = SharedMemory.create("", data.length); in byteArrayToFileDescriptor() local
115 ByteBuffer buffer = shmem.mapReadWrite(); in byteArrayToFileDescriptor()
117 return shmem.getFileDescriptor(); in byteArrayToFileDescriptor()