Home
last modified time | relevance | path

Searched refs:mmap (Results 1 – 25 of 148) sorted by relevance

123456

/hardware/google/graphics/common/libion/test/
Dmap_test.cpp44 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()
Dion_allocate_test.cpp40 …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()
Dion_allocate_api_test.cpp37 …unsigned long *p = reinterpret_cast<unsigned long *>(mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_… in checkZero()
/hardware/interfaces/audio/2.0/
DIStream.hal232 * 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 …]
Dtypes.hal78 * 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/
DIStream.hal184 * 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/
DIStream.hal250 * 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/
DIStream.hal248 * 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/
DIStream.hal248 * 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/
DqdMetaData.cpp51 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, in setMetaData()
/hardware/qcom/audio/legacy/libalsa-intf/
Daplay.c565 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()
Darec.c518 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/
DqdMetaData.cpp52 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, in setMetaData()
/hardware/google/gchips/gralloc3/src/
Dgralloc_buffer_priv.cpp87 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/
DqdMetaData.cpp53 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, in setMetaData()
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dionalloc.cpp103 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/
Dionalloc.cpp108 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/
Dionalloc.cpp103 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/
Dionalloc.cpp103 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/
Dionalloc.cpp103 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/
Dionalloc.cpp114 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/
Dionalloc.cpp103 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/
DqdMetaData.cpp53 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, in setMetaData()
/hardware/google/gchips/libvendorgraphicbuffer/gralloc3/
Dvendor_graphicbuffer_meta.cpp101 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/
Dmapper.cpp44 void* mappedAddress = mmap(0, size, in gralloc_map()

123456