Searched refs:kUsageMedia (Results 1 – 4 of 4) sorted by relevance
/system/media/brillo/audio/audioservice/test/ |
D | brillo_audio_manager_test.cpp | 121 EXPECT_EQ(BAudioManager_setOutputDevice(nullptr, nullptr, kUsageMedia), in TEST_F() 123 EXPECT_EQ(BAudioManager_setOutputDevice(bam, nullptr, kUsageMedia), EINVAL); in TEST_F() 124 EXPECT_EQ(BAudioManager_setOutputDevice(nullptr, device, kUsageMedia), in TEST_F() 135 EXPECT_EQ(BAudioManager_setOutputDevice(bam, device, kUsageMedia), 0); in TEST_F() 299 nullptr, BAudioUsage::kUsageMedia, nullptr), in TEST_F() 302 BAudioManager_getMaxVolumeSteps(nullptr, BAudioUsage::kUsageMedia, &foo), in TEST_F() 305 BAudioManager_getMaxVolumeSteps(bam, BAudioUsage::kUsageMedia, nullptr), in TEST_F() 315 BAudioManager_getMaxVolumeSteps(bam, BAudioUsage::kUsageMedia, &foo), 0); in TEST_F() 323 BAudioManager_getMaxVolumeSteps(bam, BAudioUsage::kUsageMedia, &foo), in TEST_F() 329 BAudioManager_setMaxVolumeSteps(nullptr, BAudioUsage::kUsageMedia, 100), in TEST_F() [all …]
|
D | brillo_audio_client_test.cpp | 186 EXPECT_EQ(client_.GetMaxVolumeSteps(BAudioUsage::kUsageMedia, &foo), 0); in TEST_F() 199 EXPECT_EQ(client_.SetMaxVolumeSteps(BAudioUsage::kUsageMedia, 100), 0); in TEST_F() 215 BAudioUsage::kUsageMedia, AUDIO_DEVICE_OUT_SPEAKER, 100), in TEST_F() 235 BAudioUsage::kUsageMedia, AUDIO_DEVICE_OUT_SPEAKER, &foo), in TEST_F() 255 EXPECT_EQ(client_.SetVolumeControlStream(kUsageMedia), ECONNABORTED); in TEST_F() 262 EXPECT_EQ(client_.SetVolumeControlStream(kUsageMedia), 0); in TEST_F()
|
/system/media/brillo/audio/audioservice/ |
D | brillo_audio_client_helpers.cpp | 22 if (usage == kUsageMedia) in GetForceUse() 32 case kUsageMedia: in GetStreamType() 49 return kUsageMedia; in GetBAudioUsage()
|
/system/media/brillo/audio/audioservice/include/ |
D | brillo_audio_manager.h | 73 kUsageMedia, enumerator
|