Searched refs:cras_audio_shm_area (Results 1 – 12 of 12) sorted by relevance
/external/adhd/cras/src/tests/ |
D | dev_io_stubs.cc | 25 uint32_t shm_size = sizeof(cras_audio_shm_area) + used_size * 2; in create_shm() 26 ShmPtr shm(reinterpret_cast<cras_audio_shm_area*>(calloc(1, shm_size)), in create_shm() 38 cras_audio_shm_area* shm) { in create_rstream()
|
D | dev_io_stubs.h | 30 using ShmPtr = std::unique_ptr<cras_audio_shm_area, decltype(free)*>; 63 cras_audio_shm_area* shm);
|
D | cras_client_unittest.cc | 53 shm->area = static_cast<cras_audio_shm_area*>( in InitShm() 176 struct cras_audio_shm_area area; in StreamConnected() 229 struct cras_audio_shm_area area; in StreamConnectedFail()
|
D | rstream_unittest.cc | 148 shm_mapped.area = (struct cras_audio_shm_area *)mmap( in TEST_F() 185 shm_mapped.area = (struct cras_audio_shm_area *)mmap( in TEST_F()
|
D | audio_thread_unittest_obsolete.cc | 141 shm->area = (struct cras_audio_shm_area *)calloc(1, in SetupRstream() 569 shm->area = (struct cras_audio_shm_area *)calloc(1, in SetupRstream() 1212 shm->area = (struct cras_audio_shm_area *)calloc(1, sizeof(*shm->area)); in add_rm_two_streams() 1237 shm->area = (struct cras_audio_shm_area *)calloc(1, sizeof(*shm->area)); in add_rm_two_streams() 1320 shm->area = (struct cras_audio_shm_area *)calloc(1, sizeof(*shm->area)); in TEST_F() 1360 shm->area = (struct cras_audio_shm_area *)calloc(1, sizeof(*shm->area)); in TEST_F() 1398 shm->area = (struct cras_audio_shm_area *)calloc(1, sizeof(*shm->area)); in TEST_F() 1519 shm->area = (struct cras_audio_shm_area *)calloc(1, in SetupRstream() 1525 shm->area = (struct cras_audio_shm_area *)calloc(1, in SetupRstream()
|
D | mix_unittest.cc | 32 calloc(1, kBufferFrames * 4 + sizeof(cras_audio_shm_area))); in SetUp() 291 calloc(1, kBufferFrames * fr_bytes_ + sizeof(cras_audio_shm_area))); in SetUp() 549 calloc(1, kBufferFrames * fr_bytes_ + sizeof(cras_audio_shm_area))); in SetUp() 807 calloc(1, kBufferFrames * fr_bytes_ + sizeof(cras_audio_shm_area))); in SetUp()
|
D | audio_thread_unittest.cc | 126 rstream->shm.area = static_cast<cras_audio_shm_area*>( in SetupRstream() 702 struct cras_audio_shm_area shm_area; in TEST()
|
D | shm_unittest.cc | 20 static_cast<cras_audio_shm_area *>( in SetUp()
|
D | dev_stream_unittest.cc | 184 shm->area = static_cast<struct cras_audio_shm_area *>( in SetupShm() 185 calloc(1, kBufferFrames * 4 + sizeof(cras_audio_shm_area))); in SetupShm()
|
/external/adhd/cras/src/common/ |
D | cras_shm.h | 49 struct __attribute__ ((__packed__)) cras_audio_shm_area { struct 71 struct cras_audio_shm_area *area; argument 346 struct cras_audio_shm_area *area = shm->area; in cras_shm_buffer_read() 377 struct cras_audio_shm_area *area = shm->area; in cras_shm_buffer_read_current()
|
/external/adhd/cras/src/server/ |
D | cras_rstream.c | 37 shm_info->length = sizeof(struct cras_audio_shm_area) + samples_size; in setup_shm() 50 if (shm->area == (struct cras_audio_shm_area *)-1) { in setup_shm()
|
/external/adhd/cras/src/libcras/ |
D | cras_client.c | 1406 shm->area = (struct cras_audio_shm_area *)mmap( in config_shm() 1409 if (shm->area == (struct cras_audio_shm_area *)-1) { in config_shm()
|