Lines Matching refs:patch

29     audio_patch patch{};  in TEST()  local
30 ASSERT_FALSE(audio_patch_is_valid(&patch)); in TEST()
31 patch.num_sources = AUDIO_PATCH_PORTS_MAX + 1; in TEST()
32 patch.num_sinks = 1; in TEST()
33 ASSERT_FALSE(audio_patch_is_valid(&patch)); in TEST()
34 patch.num_sources = 1; in TEST()
35 patch.num_sinks = AUDIO_PATCH_PORTS_MAX + 1; in TEST()
36 ASSERT_FALSE(audio_patch_is_valid(&patch)); in TEST()
37 patch.num_sources = 0; in TEST()
38 patch.num_sinks = 1; in TEST()
39 ASSERT_FALSE(audio_patch_is_valid(&patch)); in TEST()
46 ASSERT_TRUE(audio_patch_is_valid((PatchBuilder{}).addSource(src).patch())); in TEST()
49 ASSERT_TRUE(audio_patch_is_valid((PatchBuilder{}).addSource(src).addSink(sink).patch())); in TEST()
51 (PatchBuilder{}).addSource(src).addSource(src).addSink(sink).patch())); in TEST()
53 (PatchBuilder{}).addSource(src).addSink(sink).addSink(sink).patch())); in TEST()
56 addSink(sink).addSink(sink).patch())); in TEST()
102 (PatchBuilder{}).addSource(src).patch(), in TEST()
103 (PatchBuilder{}).addSource(src).addSink(sink).patch())); in TEST()
105 (PatchBuilder{}).addSource(src).addSink(sink).patch(), in TEST()
106 (PatchBuilder{}).addSource(src).addSink(sink).patch())); in TEST()
108 (PatchBuilder{}).addSource(src).addSink(sink).patch(), in TEST()
109 (PatchBuilder{}).addSource(src).addSource(src).addSink(sink).patch())); in TEST()
114 (PatchBuilder{}).addSource(src).addSink(sink).patch(), in TEST()
115 (PatchBuilder{}).addSource(src).addSink(sink_hw_av_sync).patch())); in TEST()
117 (PatchBuilder{}).addSource(src).addSink(sink_hw_av_sync).patch(), in TEST()
118 (PatchBuilder{}).addSource(src).addSink(sink_hw_av_sync).patch())); in TEST()