Lines Matching refs:usage
66 audio_usage_t usage) { in testVerifyAudioAttributes() argument
69 attributes.usage = usage; in testVerifyAudioAttributes()
113 EXPECT_EQ(attr.value().usage, AUDIO_USAGE_GAME); in TEST_F()
117 EXPECT_EQ(attr.value().usage, AUDIO_USAGE_MEDIA); in TEST_F()
143 attributes.usage = AUDIO_USAGE_GAME; in TEST_F()
147 attributes.usage = AUDIO_USAGE_MEDIA; in TEST_F()
181 attributes.usage = AUDIO_USAGE_GAME; in TEST_F()
183 EXPECT_EQ(attr.value().usage, AUDIO_USAGE_GAME); in TEST_F()
185 attributes.usage = AUDIO_USAGE_VOICE_COMMUNICATION; in TEST_F()
187 EXPECT_EQ(attr.value().usage, AUDIO_USAGE_VOICE_COMMUNICATION); in TEST_F()
190 attributes.usage = AUDIO_USAGE_MEDIA; in TEST_F()
192 EXPECT_EQ(attr.value().usage, AUDIO_USAGE_MEDIA); in TEST_F()
194 attributes.usage = AUDIO_USAGE_UNKNOWN; in TEST_F()
196 EXPECT_EQ(attr.value().usage, AUDIO_USAGE_UNKNOWN); in TEST_F()
227 attributes.usage = AUDIO_USAGE_MEDIA; in TEST_F()
229 EXPECT_EQ(attr.value().usage, AUDIO_USAGE_GAME); in TEST_F()
231 attributes.usage = AUDIO_USAGE_UNKNOWN; in TEST_F()
233 EXPECT_EQ(attr.value().usage, AUDIO_USAGE_GAME); in TEST_F()
258 attributes.usage = AUDIO_USAGE_MEDIA; in TEST_F()
260 EXPECT_EQ(attr.value().usage, AUDIO_USAGE_MEDIA); in TEST_F()
262 attributes.usage = AUDIO_USAGE_UNKNOWN; in TEST_F()
264 EXPECT_EQ(attr.value().usage, AUDIO_USAGE_UNKNOWN); in TEST_F()
289 attributes.usage = AUDIO_USAGE_MEDIA; in TEST_F()
292 EXPECT_EQ(attr.value().usage, AUDIO_USAGE_MEDIA); in TEST_F()