Searched refs:perfMode (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio_attributes.cpp | 33 static void checkAttributes(aaudio_performance_mode_t perfMode, in checkAttributes() argument 54 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkAttributes() 184 static void checkAttributesUsage(aaudio_performance_mode_t perfMode) { in checkAttributesUsage() argument 189 checkAttributes(perfMode, usage, DONT_SET); in checkAttributesUsage() 194 static void checkAttributesContentType(aaudio_performance_mode_t perfMode) { in checkAttributesContentType() argument 196 checkAttributes(perfMode, DONT_SET, contentType); in checkAttributesContentType() 200 static void checkAttributesInputPreset(aaudio_performance_mode_t perfMode) { in checkAttributesInputPreset() argument 202 checkAttributes(perfMode, in checkAttributesInputPreset() 212 static void checkAttributesAllowedCapturePolicy(aaudio_performance_mode_t perfMode) { in checkAttributesAllowedCapturePolicy() argument 214 checkAttributes(perfMode, in checkAttributesAllowedCapturePolicy() [all …]
|
D | utils.cpp | 91 aaudio_sharing_mode_t sharingMode, aaudio_performance_mode_t perfMode) in StreamBuilderHelper() argument 93 mRequested{sampleRate, channelCount, dataFormat, sharingMode, perfMode}, 102 ASSERT_EQ(1U, sMaxFramesPerBurstMs.count(mRequested.perfMode)); in initBuilder() 116 AAudioStreamBuilder_setPerformanceMode(mBuilder, mRequested.perfMode); in initBuilder() 156 mActual.perfMode = AAudioStream_getPerformanceMode(mStream); in createAndVerifyStream() 157 if (mRequested.perfMode != AAUDIO_PERFORMANCE_MODE_NONE in createAndVerifyStream() 158 && mRequested.perfMode != mActual.perfMode) { in createAndVerifyStream() 169 mActual.sampleRate * sMaxFramesPerBurstMs.at(mActual.perfMode) / MILLIS_PER_SECOND; in createAndVerifyStream()
|
D | test_session_id.cpp | 32 static void checkSessionIdNone(aaudio_performance_mode_t perfMode) { in checkSessionIdNone() argument 46 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkSessionIdNone() 75 static void checkSessionIdAllocate(aaudio_performance_mode_t perfMode, in checkSessionIdAllocate() argument 95 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkSessionIdAllocate()
|
D | utils.h | 41 aaudio_performance_mode_t perfMode; member 73 aaudio_sharing_mode_t sharingMode, aaudio_performance_mode_t perfMode);
|