Searched refs:audio_man (Results 1 – 5 of 5) sorted by relevance
60 static bool CanRunAudioTests(AudioManager* audio_man) { in CanRunAudioTests() argument61 bool has_input = audio_man->HasAudioInputDevices(); in CanRunAudioTests()69 static AudioInputStream* CreateTestAudioInputStream(AudioManager* audio_man) { in CreateTestAudioInputStream() argument70 AudioInputStream* ais = audio_man->MakeAudioInputStream( in CreateTestAudioInputStream()80 scoped_ptr<AudioManager> audio_man(AudioManager::CreateForTesting()); in TEST() local81 if (!CanRunAudioTests(audio_man.get())) in TEST()85 EXPECT_TRUE(NULL == audio_man->MakeAudioInputStream( in TEST()88 EXPECT_TRUE(NULL == audio_man->MakeAudioInputStream( in TEST()91 EXPECT_TRUE(NULL == audio_man->MakeAudioInputStream( in TEST()94 EXPECT_TRUE(NULL == audio_man->MakeAudioInputStream( in TEST()[all …]
178 scoped_ptr<AudioManager> audio_man(AudioManager::CreateForTesting()); in TEST() local179 if (!audio_man->HasAudioOutputDevices()) { in TEST()184 AudioOutputStream* oas = audio_man->MakeAudioOutputStream( in TEST()194 scoped_ptr<AudioManager> audio_man(AudioManager::CreateForTesting()); in TEST() local195 if (!audio_man->HasAudioOutputDevices()) { in TEST()201 EXPECT_TRUE(NULL == audio_man->MakeAudioOutputStream( in TEST()204 EXPECT_TRUE(NULL == audio_man->MakeAudioOutputStream( in TEST()207 EXPECT_TRUE(NULL == audio_man->MakeAudioOutputStream( in TEST()210 EXPECT_TRUE(NULL == audio_man->MakeAudioOutputStream( in TEST()213 EXPECT_TRUE(NULL == audio_man->MakeAudioOutputStream( in TEST()[all …]
146 static bool CanRunUnifiedAudioTests(AudioManager* audio_man) { in CanRunUnifiedAudioTests() argument152 if (!audio_man->HasAudioOutputDevices()) { in CanRunUnifiedAudioTests()157 if (!audio_man->HasAudioInputDevices()) { in CanRunUnifiedAudioTests()
153 static bool CanRunAudioTests(AudioManager* audio_man) { in CanRunAudioTests() argument160 bool input = audio_man->HasAudioInputDevices(); in CanRunAudioTests()
171 static bool CanRunAudioTests(AudioManager* audio_man) { in CanRunAudioTests() argument179 if (!audio_man->HasAudioOutputDevices()) { in CanRunAudioTests()