Home
last modified time | relevance | path

Searched refs:mock_audio_area (Results 1 – 4 of 4) sorted by relevance

/external/adhd/cras/src/tests/
Dhfp_iodev_unittest.cc46 static cras_audio_area* mock_audio_area; variable
76 if (!mock_audio_area) { in ResetStubData()
77 mock_audio_area = (cras_audio_area*)calloc( in ResetStubData()
78 1, sizeof(*mock_audio_area) + sizeof(cras_channel_area) * 2); in ResetStubData()
89 free(mock_audio_area); in TearDown()
90 mock_audio_area = NULL; in TearDown()
361 iodev->area = mock_audio_area; in cras_iodev_init_audio_area()
377 mock_audio_area->channels[0].buf = base_buffer; in cras_audio_area_config_buf_pointers()
Dloopback_iodev_unittest.cc32 static cras_audio_area* mock_audio_area; variable
49 mock_audio_area = (cras_audio_area*)calloc( in SetUp()
50 1, sizeof(*mock_audio_area) + sizeof(cras_channel_area) * 2); in SetUp()
80 free(mock_audio_area); in TearDown()
227 mock_audio_area->channels[0].buf = base_buffer; in cras_audio_area_config_buf_pointers()
235 iodev->area = mock_audio_area; in cras_iodev_init_audio_area()
Dempty_iodev_unittest.cc16 static cras_audio_area mock_audio_area; variable
60 iodev->area = &mock_audio_area; in cras_iodev_init_audio_area()
Da2dp_iodev_unittest.cc47 static cras_audio_area* mock_audio_area; variable
82 if (!mock_audio_area) { in ResetStubData()
83 mock_audio_area = (cras_audio_area*)calloc( in ResetStubData()
84 1, sizeof(*mock_audio_area) + sizeof(cras_channel_area) * 2); in ResetStubData()
111 free(mock_audio_area); in TearDown()
112 mock_audio_area = NULL; in TearDown()
906 iodev->area = mock_audio_area; in cras_iodev_init_audio_area()
924 mock_audio_area->channels[0].buf = base_buffer; in cras_audio_area_config_buf_pointers()