/hardware/google/graphics/common/libion/test/ |
D | map_test.cpp | 44 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() 69 … ptr = (unsigned char *)mmap(NULL, PAGE_SIZE * 2, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() 77 …ptr = (unsigned char *)mmap(NULL, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, PAGE_SIZE… in TEST_F() 106 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() 130 ptr = mmap(NULL, 4096, PROT_READ, MAP_SHARED, map_fd, 0); in TEST_F() 153 ptr = mmap(NULL, 4096, PROT_READ, MAP_SHARED, map_fd, 0); in TEST_F() 174 ptr = mmap(NULL, 0, PROT_READ, MAP_SHARED, map_fd, 0); in TEST_F() 177 ptr = mmap(NULL, 4096, -1, MAP_SHARED, map_fd, 0); in TEST_F() 180 ptr = mmap(NULL, 4096, PROT_READ, MAP_SHARED, map_fd, -1); in TEST_F() 183 ptr = mmap(NULL, 4096, PROT_READ, MAP_SHARED, 0, 0); in TEST_F()
|
/hardware/google/gfxstream/scripts/print_gfx_logs/ |
D | print_gfx_logs_test.py | 19 import mmap 75 with mmap.mmap(-1, len(dump)) as mm: 100 with mmap.mmap(-1, len(dump)) as mm: 126 with mmap.mmap(-1, len(dump)) as mm:
|
D | print_gfx_logs.py | 35 import mmap 110 def process_stream(file_bytes: mmap, file_pos: int) -> Stream: argument 168 def process_minidump(mm: mmap) -> List[Stream]: argument 192 with mmap.mmap(f.fileno(), 0) as mm:
|
/hardware/interfaces/audio/2.0/ |
D | IStream.hal | 232 * Called by the framework to start a stream operating in mmap mode. 234 * Function only implemented by streams operating in mmap mode. 237 * NOT_SUPPORTED on non mmap mode streams 243 * Called by the framework to stop a stream operating in mmap mode. 244 * Function only implemented by streams operating in mmap mode. 247 * NOT_SUPPORTED on non mmap mode streams 253 * Called by the framework to retrieve information on the mmap buffer used for audio 255 * Function only implemented by streams operating in mmap mode. 260 * NOT_SUPPORTED on non mmap mode streams 270 * Called by the framework to read current read/write position in the mmap buffer [all …]
|
D | types.hal | 78 * Used by streams opened in mmap mode. 81 memory sharedMemory; // mmap memory buffer 88 * Used by streams opened in mmap mode.
|
/hardware/interfaces/audio/7.0/ |
D | IStream.hal | 184 * Called by the framework to start a stream operating in mmap mode. 186 * Function only implemented by streams operating in mmap mode. 189 * NOT_SUPPORTED on non mmap mode streams 195 * Called by the framework to stop a stream operating in mmap mode. 196 * Function only implemented by streams operating in mmap mode. 199 * NOT_SUPPORTED on non mmap mode streams 205 * Called by the framework to retrieve information on the mmap buffer used for audio 207 * Function only implemented by streams operating in mmap mode. 213 * NOT_SUPPORTED on non mmap mode streams 223 * Called by the framework to read current read/write position in the mmap buffer [all …]
|
/hardware/interfaces/audio/6.0/ |
D | IStream.hal | 250 * Called by the framework to start a stream operating in mmap mode. 252 * Function only implemented by streams operating in mmap mode. 255 * NOT_SUPPORTED on non mmap mode streams 261 * Called by the framework to stop a stream operating in mmap mode. 262 * Function only implemented by streams operating in mmap mode. 265 * NOT_SUPPORTED on non mmap mode streams 271 * Called by the framework to retrieve information on the mmap buffer used for audio 273 * Function only implemented by streams operating in mmap mode. 279 * NOT_SUPPORTED on non mmap mode streams 289 * Called by the framework to read current read/write position in the mmap buffer [all …]
|
/hardware/interfaces/audio/5.0/ |
D | IStream.hal | 248 * Called by the framework to start a stream operating in mmap mode. 250 * Function only implemented by streams operating in mmap mode. 253 * NOT_SUPPORTED on non mmap mode streams 259 * Called by the framework to stop a stream operating in mmap mode. 260 * Function only implemented by streams operating in mmap mode. 263 * NOT_SUPPORTED on non mmap mode streams 269 * Called by the framework to retrieve information on the mmap buffer used for audio 271 * Function only implemented by streams operating in mmap mode. 276 * NOT_SUPPORTED on non mmap mode streams 286 * Called by the framework to read current read/write position in the mmap buffer [all …]
|
/hardware/interfaces/audio/4.0/ |
D | IStream.hal | 248 * Called by the framework to start a stream operating in mmap mode. 250 * Function only implemented by streams operating in mmap mode. 253 * NOT_SUPPORTED on non mmap mode streams 259 * Called by the framework to stop a stream operating in mmap mode. 260 * Function only implemented by streams operating in mmap mode. 263 * NOT_SUPPORTED on non mmap mode streams 269 * Called by the framework to retrieve information on the mmap buffer used for audio 271 * Function only implemented by streams operating in mmap mode. 276 * NOT_SUPPORTED on non mmap mode streams 286 * Called by the framework to read current read/write position in the mmap buffer [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | os_memory_fd.c | 92 mapped_ptr = mmap(NULL, header.size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in os_import_memory_fd() 137 ptr = mmap(NULL, alloc_size, PROT_READ | PROT_WRITE, MAP_SHARED, mem_fd, 0); in os_malloc_aligned_fd()
|
D | os_mman.h | 65 mmap(addr, length, prot, flags, fd, offset)
|
/hardware/interfaces/media/bufferpool/aidl/default/tests/ |
D | allocator.cpp | 187 unsigned char *ptr = (unsigned char *)mmap( in Fill() 205 unsigned char *ptr = (unsigned char *)mmap( in Verify() 227 *mem = mmap( in MapMemoryForMutex()
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
D | arec.c | 518 char *mmap = "N"; in main() local 551 mmap = "M"; in main() 609 rc = rec_wav(mmap, device, rate, ch, filename); in main() 611 rc = rec_raw(mmap, device, rate, ch, filename); in main() 613 rc = rec_wav(mmap, device, rate, ch, "dummy"); in main()
|
D | aplay.c | 565 char *mmap = "N"; in main() local 599 mmap = "M"; in main() 658 rc = play_wav(mmap, rate, ch, device, filename); in main() 660 rc = play_raw(mmap, rate, ch, device, filename); in main() 662 rc = play_wav(mmap, rate, ch, device, "dummy"); in main()
|
/hardware/qcom/display/msm8960/libqdutils/ |
D | qdMetaData.cpp | 51 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, in setMetaData()
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | ionalloc.cpp | 103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer() 149 base = mmap(0, size, PROT_READ| PROT_WRITE, in map_buffer()
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
D | ionalloc.cpp | 103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer() 153 base = mmap(0, size, PROT_READ| PROT_WRITE, in map_buffer()
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | ionalloc.cpp | 114 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer() 164 base = mmap(0, size, PROT_READ| PROT_WRITE, in map_buffer()
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | ionalloc.cpp | 108 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer() 158 base = mmap(0, size, PROT_READ| PROT_WRITE, in map_buffer()
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | ionalloc.cpp | 103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer() 151 base = mmap(0, size, PROT_READ| PROT_WRITE, in map_buffer()
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | ionalloc.cpp | 103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer() 153 base = mmap(0, size, PROT_READ| PROT_WRITE, in map_buffer()
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | ionalloc.cpp | 103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer() 153 base = mmap(0, size, PROT_READ| PROT_WRITE, in map_buffer()
|
/hardware/qcom/display/msm8226/libqdutils/ |
D | qdMetaData.cpp | 53 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, in setMetaData()
|
/hardware/qcom/display/msm8084/libqdutils/ |
D | qdMetaData.cpp | 52 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, in setMetaData()
|
/hardware/qcom/display/msm8994/libqdutils/ |
D | qdMetaData.cpp | 53 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, in setMetaData()
|