Searched refs:kPassive (Results 1 – 4 of 4) sorted by relevance
108 .WillRepeatedly(Return(active_speech ? Vad::kActive : Vad::kPassive)); in CheckBlockGrouping()150 sample_rate_hz_)).WillOnce(Return(Vad::kPassive)); in CheckVadInputSize()155 sample_rate_hz_)).WillOnce(Return(Vad::kPassive)); in CheckVadInputSize()175 if (first_type == Vad::kPassive) { in CheckMixedActivePassive()226 .WillOnce(Return(Vad::kPassive)); in TEST_F()260 .WillRepeatedly(Return(Vad::kPassive)); in TEST_F()298 EXPECT_TRUE(CheckMixedActivePassive(Vad::kActive, Vad::kPassive)); in TEST_F()303 EXPECT_TRUE(CheckMixedActivePassive(Vad::kPassive, Vad::kActive)); in TEST_F()307 EXPECT_FALSE(CheckMixedActivePassive(Vad::kPassive, Vad::kPassive)); in TEST_F()347 .WillOnce(Return(Vad::kPassive)); in TEST_F()[all …]
136 if (activity == Vad::kPassive && blocks_in_second_vad_call > 0) { in EncodeInternal()145 case Vad::kPassive: { in EncodeInternal()
30 enum Activity { kPassive = 0, kActive = 1, kError = -1 }; enumerator
34 return kPassive; in VoiceActivity()