Home
last modified time | relevance | path

Searched refs:buffer_share_add_id (Results 1 – 8 of 8) sorted by relevance

/external/adhd/cras/src/tests/
Dbuffer_share_unittest.cc32 rc = buffer_share_add_id(dm, 0xf00, NULL); in TEST_F()
34 rc = buffer_share_add_id(dm, 0xf00, NULL); in TEST_F()
49 EXPECT_EQ(0, buffer_share_add_id(dm, 0xf00 + i, NULL)); in TEST_F()
51 EXPECT_EQ(0, buffer_share_add_id(dm, 0xf00 + INITIAL_ID_SIZE, NULL)); in TEST_F()
64 rc = buffer_share_add_id(dm, 0xf00, NULL); in TEST_F()
86 rc = buffer_share_add_id(dm, 0xf00, NULL); in TEST_F()
88 rc = buffer_share_add_id(dm, 0xf02, NULL); in TEST_F()
Dinput_data_unittest.cc43 buffer_share_add_id(offsets, 111, NULL); in TEST()
44 buffer_share_add_id(offsets, 222, NULL); in TEST()
Drstream_unittest.cc379 int buffer_share_add_id(struct buffer_share* mix, unsigned int id) { in buffer_share_add_id() function
Diodev_unittest.cc2393 int buffer_share_add_id(struct buffer_share* mix, unsigned int id) { in buffer_share_add_id() function
/external/adhd/cras/src/server/
Dbuffer_share.h34 int buffer_share_add_id(struct buffer_share *mix, unsigned int id, void *data);
Dbuffer_share.c72 int buffer_share_add_id(struct buffer_share *mix, unsigned int id, void *data) in buffer_share_add_id() function
Dcras_rstream.c441 if (buffer_share_add_id(rstream->buf_state, dev_id, dev_ptr) == 0) in cras_rstream_dev_attach()
Dcras_iodev.c783 buffer_share_add_id(iodev->buf_state, stream->stream->stream_id, in cras_iodev_start_stream()