Lines Matching refs:a2dp
20 static struct a2dp_info a2dp; variable
35 a2dp.a2dp_buf_used = 0; in ResetStubData()
36 a2dp.frame_count = 0; in ResetStubData()
37 a2dp.samples = 0; in ResetStubData()
38 a2dp.nsamples = 0; in ResetStubData()
45 init_a2dp(&a2dp, &sbc); in TEST()
55 ASSERT_NE(a2dp.codec, (void*)NULL); in TEST()
56 ASSERT_EQ(a2dp.a2dp_buf_used, 13); in TEST()
57 ASSERT_EQ(a2dp.frame_count, 0); in TEST()
58 ASSERT_EQ(a2dp.seq_num, 0); in TEST()
59 ASSERT_EQ(a2dp.samples, 0); in TEST()
61 destroy_a2dp(&a2dp); in TEST()
68 err = init_a2dp(&a2dp, &sbc); in TEST()
72 ASSERT_EQ(a2dp.codec, (void*)NULL); in TEST()
77 init_a2dp(&a2dp, &sbc); in TEST()
78 destroy_a2dp(&a2dp); in TEST()
85 init_a2dp(&a2dp, &sbc); in TEST()
86 a2dp.a2dp_buf_used = 99; in TEST()
87 a2dp.samples = 10; in TEST()
88 a2dp.seq_num = 11; in TEST()
89 a2dp.frame_count = 12; in TEST()
91 a2dp_reset(&a2dp); in TEST()
93 ASSERT_EQ(a2dp.a2dp_buf_used, 13); in TEST()
94 ASSERT_EQ(a2dp.frame_count, 0); in TEST()
95 ASSERT_EQ(a2dp.seq_num, 0); in TEST()
96 ASSERT_EQ(a2dp.samples, 0); in TEST()
98 destroy_a2dp(&a2dp); in TEST()
105 init_a2dp(&a2dp, &sbc); in TEST()
108 processed = a2dp_encode(&a2dp, NULL, 20, 4, (size_t)40); in TEST()
111 ASSERT_EQ(4, a2dp.frame_count); in TEST()
114 ASSERT_EQ(17, a2dp.a2dp_buf_used); in TEST()
115 ASSERT_EQ(5, a2dp.samples); in TEST()
116 ASSERT_EQ(5, a2dp.nsamples); in TEST()
117 ASSERT_EQ(0, a2dp.seq_num); in TEST()
120 processed = a2dp_encode(&a2dp, NULL, 20, 4, (size_t)40); in TEST()
122 ASSERT_EQ(32, a2dp.a2dp_buf_used); in TEST()
123 ASSERT_EQ(10, a2dp.samples); in TEST()
124 ASSERT_EQ(10, a2dp.nsamples); in TEST()
125 ASSERT_EQ(0, a2dp.seq_num); in TEST()