Home
last modified time | relevance | path

Searched refs:bam (Results 1 – 2 of 2) sorted by relevance

/system/media/brillo/audio/audioservice/test/
Dbrillo_audio_manager_test.cpp47 auto bam = BAudioManager_new(); in GetValidManager() local
48 EXPECT_NE(bam, nullptr); in GetValidManager()
49 return bam; in GetValidManager()
67 auto bam = BAudioManager_new(); in TEST_F() local
68 EXPECT_NE(bam, nullptr); in TEST_F()
72 auto bam = GetValidManager(); in TEST_F() local
76 EXPECT_EQ(BAudioManager_getDevices(bam, 1, nullptr, 0, nullptr), EINVAL); in TEST_F()
77 EXPECT_EQ(BAudioManager_getDevices(bam, -1, nullptr, 0, &num_devices), in TEST_F()
82 auto bam = GetValidManager(); in TEST_F() local
85 EXPECT_EQ(BAudioManager_getDevices(bam, 1, nullptr, 0, &num_devices), 0); in TEST_F()
[all …]
/system/media/brillo/audio/audioservice/
Dbrillo_audio_manager.cpp41 BAudioManager* bam = new BAudioManager; in BAudioManager_new() local
42 bam->client_ = client; in BAudioManager_new()
43 return bam; in BAudioManager_new()