Home
last modified time | relevance | path

Searched refs:perfMode (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio_attributes.cpp31 static void checkAttributes(aaudio_performance_mode_t perfMode, in checkAttributes() argument
46 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkAttributes()
135 static void checkAttributesUsage(aaudio_performance_mode_t perfMode) { in checkAttributesUsage() argument
137 checkAttributes(perfMode, usage, DONT_SET); in checkAttributesUsage()
141 static void checkAttributesContentType(aaudio_input_preset_t perfMode) { in checkAttributesContentType() argument
143 checkAttributes(perfMode, DONT_SET, contentType); in checkAttributesContentType()
147 static void checkAttributesInputPreset(aaudio_performance_mode_t perfMode) { in checkAttributesInputPreset() argument
149 checkAttributes(perfMode, in checkAttributesInputPreset()
Dutils.cpp66 aaudio_sharing_mode_t sharingMode, aaudio_performance_mode_t perfMode) in StreamBuilderHelper() argument
68 mRequested{sampleRate, channelCount, dataFormat, sharingMode, perfMode},
77 ASSERT_EQ(1U, sMaxFramesPerBurstMs.count(mRequested.perfMode)); in initBuilder()
91 AAudioStreamBuilder_setPerformanceMode(mBuilder, mRequested.perfMode); in initBuilder()
129 mActual.perfMode = AAudioStream_getPerformanceMode(mStream); in createAndVerifyStream()
130 if (mRequested.perfMode != AAUDIO_PERFORMANCE_MODE_NONE in createAndVerifyStream()
131 && mRequested.perfMode != mActual.perfMode) { in createAndVerifyStream()
142 mActual.sampleRate * sMaxFramesPerBurstMs.at(mActual.perfMode) / MILLIS_PER_SECOND; in createAndVerifyStream()
Dtest_session_id.cpp31 static void checkSessionIdNone(aaudio_performance_mode_t perfMode) { in checkSessionIdNone() argument
44 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkSessionIdNone()
73 static void checkSessionIdAllocate(aaudio_performance_mode_t perfMode, in checkSessionIdAllocate() argument
89 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkSessionIdAllocate()
Dutils.h34 aaudio_performance_mode_t perfMode; member
66 aaudio_sharing_mode_t sharingMode, aaudio_performance_mode_t perfMode);