Searched refs:fake_format (Results 1 – 4 of 4) sorted by relevance
15 static struct cras_audio_format fake_format; variable30 fake_format.frame_rate = 48000; in TEST()31 iodev->format = &fake_format; in TEST()
20 struct cras_audio_format fake_format; variable131 iodev->format = &fake_format; in TEST_F()156 iodev->format = &fake_format; in TEST_F()182 iodev->format = &fake_format; in TEST_F()205 iodev->format = &fake_format; in TEST_F()
25 static struct cras_audio_format fake_format; variable251 iodev->format = &fake_format; in TEST_F()254 EXPECT_EQ(fake_format.num_channels, hfp_alsa_io->aio->format->num_channels); in TEST_F()255 EXPECT_EQ(fake_format.frame_rate, hfp_alsa_io->aio->format->frame_rate); in TEST_F()256 EXPECT_EQ(fake_format.format, hfp_alsa_io->aio->format->format); in TEST_F()258 EXPECT_EQ(fake_format.channel_layout[i], in TEST_F()
77 static cras_audio_format* fake_format; variable408 free(fake_format); in TEST()604 free(fake_format); in TEST()647 free(fake_format); in TEST()685 free(fake_format); in TEST()715 free(fake_format); in TEST()2305 free(fake_format); in TEST()2846 fake_format = (struct cras_audio_format*)calloc(1, sizeof(cras_audio_format)); in cras_iodev_set_format()2848 memcpy(fake_format, fmt, sizeof(cras_audio_format)); in cras_iodev_set_format()2849 iodev->format = fake_format; in cras_iodev_set_format()