/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()
|
D | ion_allocate_test.cpp | 40 …unsigned long *p = reinterpret_cast<unsigned long *>(mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_… in checkZero() 221 … EXPECT_EQ(MAP_FAILED, p = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, data.fd, 0)); in TEST_F() 264 … EXPECT_EQ(MAP_FAILED, p = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, data.fd, 0)); in TEST_F()
|
D | ion_allocate_api_test.cpp | 37 …unsigned long *p = reinterpret_cast<unsigned long *>(mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_… in checkZero()
|
/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/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/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/qcom/display/msm8960/libqdutils/ |
D | qdMetaData.cpp | 51 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, in setMetaData()
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
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()
|
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()
|
/hardware/qcom/display/msm8084/libqdutils/ |
D | qdMetaData.cpp | 52 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, in setMetaData()
|
/hardware/google/gchips/gralloc3/src/ |
D | gralloc_buffer_priv.cpp | 87 hnd->attr_base = mmap(NULL, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, share_attr_fd, 0); in gralloc_buffer_attr_allocate()
|
/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/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/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/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/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/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/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/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/msm8994/libqdutils/ |
D | qdMetaData.cpp | 53 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, in setMetaData()
|
/hardware/google/gchips/libvendorgraphicbuffer/gralloc3/ |
D | vendor_graphicbuffer_meta.cpp | 101 region = (attr_region *) mmap(NULL, sizeof(attr_region), PROT_READ, MAP_SHARED, attr_fd, 0); in get_dataspace() 126 …attr_region* region = (attr_region*)mmap(NULL, sizeof(attr_region), PROT_READ | PROT_WRITE, MAP_SH… in set_dataspace()
|
/hardware/libhardware/modules/gralloc/ |
D | mapper.cpp | 44 void* mappedAddress = mmap(0, size, in gralloc_map()
|