Lines Matching refs:Vad
117 .WillRepeatedly(Return(active_speech ? Vad::kActive : Vad::kPassive)); in CheckBlockGrouping()
159 sample_rate_hz_)).WillOnce(Return(Vad::kPassive)); in CheckVadInputSize()
164 sample_rate_hz_)).WillOnce(Return(Vad::kPassive)); in CheckVadInputSize()
174 bool CheckMixedActivePassive(Vad::Activity first_type, in CheckMixedActivePassive()
175 Vad::Activity second_type) { in CheckMixedActivePassive()
184 if (first_type == Vad::kPassive) { in CheckMixedActivePassive()
239 .WillOnce(Return(Vad::kPassive)); in TEST_F()
276 .WillRepeatedly(Return(Vad::kPassive)); in TEST_F()
310 EXPECT_TRUE(CheckMixedActivePassive(Vad::kActive, Vad::kActive)); in TEST_F()
315 EXPECT_TRUE(CheckMixedActivePassive(Vad::kActive, Vad::kPassive)); in TEST_F()
320 EXPECT_TRUE(CheckMixedActivePassive(Vad::kPassive, Vad::kActive)); in TEST_F()
324 EXPECT_FALSE(CheckMixedActivePassive(Vad::kPassive, Vad::kPassive)); in TEST_F()
364 .WillOnce(Return(Vad::kPassive)); in TEST_F()
381 .WillRepeatedly(Return(Vad::kPassive)); in TEST_F()
394 .WillOnce(Return(Vad::kActive)); in TEST_F()
403 .WillOnce(Return(Vad::kPassive)); in TEST_F()