/frameworks/av/media/libaaudio/tests/ |
D | test_attributes.cpp | 31 static void checkAttributes(aaudio_performance_mode_t perfMode, in checkAttributes() argument 48 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkAttributes() 175 static void checkAttributesUsage(aaudio_performance_mode_t perfMode) { in checkAttributesUsage() argument 177 checkAttributes(perfMode, usage, DONT_SET); in checkAttributesUsage() 181 static void checkAttributesContentType(aaudio_performance_mode_t perfMode) { in checkAttributesContentType() argument 183 checkAttributes(perfMode, DONT_SET, contentType); in checkAttributesContentType() 187 static void checkAttributesInputPreset(aaudio_performance_mode_t perfMode) { in checkAttributesInputPreset() argument 189 checkAttributes(perfMode, in checkAttributesInputPreset() 199 static void checkAttributesAllowedCapturePolicy(aaudio_performance_mode_t perfMode) { in checkAttributesAllowedCapturePolicy() argument 201 checkAttributes(perfMode, in checkAttributesAllowedCapturePolicy() [all …]
|
D | test_disconnect_race.cpp | 55 aaudio_performance_mode_t perfMode, in checkCloseJoins() argument 59 if (!startStreamForStall(direction, perfMode)) return false; in checkCloseJoins() 63 __func__, direction, perfMode, callStopFromCallback); in checkCloseJoins() 88 aaudio_performance_mode_t perfMode) { in startStreamForStall() argument 98 AAudioStreamBuilder_setPerformanceMode(builder, perfMode); in startStreamForStall() 189 for (auto perfMode : perfModes) { in main() local 191 engine.checkCloseJoins(direction, perfMode, callStop); in main()
|
D | test_session_id.cpp | 30 static void checkSessionIdNone(aaudio_performance_mode_t perfMode) { in checkSessionIdNone() argument 43 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkSessionIdNone() 72 static void checkSessionIdAllocate(aaudio_performance_mode_t perfMode, in checkSessionIdAllocate() argument 88 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkSessionIdAllocate()
|
D | test_callback_race.cpp | 44 aaudio_performance_mode_t perfMode, in checkCloseJoins() argument 52 startStreamForStall(direction, perfMode); in checkCloseJoins() 70 aaudio_performance_mode_t perfMode) { in startStreamForStall() argument 80 AAudioStreamBuilder_setPerformanceMode(builder, perfMode); in startStreamForStall()
|
D | test_return_stop.cpp | 93 aaudio_performance_mode_t perfMode) { in s_OpenAudioStream() argument 104 AAudioStreamBuilder_setPerformanceMode(engine->builder, perfMode); in s_OpenAudioStream() 178 aaudio_performance_mode_t perfMode = AAUDIO_PERFORMANCE_MODE_LOW_LATENCY; in main() local 207 perfMode = AAUDIO_PERFORMANCE_MODE_NONE; in main() 224 result = s_OpenAudioStream(&engine, direction, sharingMode, perfMode); in main()
|
D | test_full_queue.cpp | 31 static void checkFullQueue(aaudio_performance_mode_t perfMode, in checkFullQueue() argument 44 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkFullQueue()
|
D | test_various.cpp | 55 void checkReleaseThenClose(aaudio_performance_mode_t perfMode, in checkReleaseThenClose() argument 68 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkReleaseThenClose() 173 void checkStateTransition(aaudio_performance_mode_t perfMode, in checkStateTransition() argument 186 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkStateTransition() 728 void checkCallbackOnce(aaudio_performance_mode_t perfMode) { in checkCallbackOnce() argument 740 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkCallbackOnce() 818 void checkDangerousCallback(aaudio_performance_mode_t perfMode) { in checkDangerousCallback() argument 828 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkDangerousCallback()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamRecord.cpp | 79 aaudio_performance_mode_t perfMode = getPerformanceMode(); in open() local 80 switch (perfMode) { in open() 117 && perfMode == AAUDIO_PERFORMANCE_MODE_LOW_LATENCY in open() 288 ALOGW_IF(actualPerformanceMode != perfMode, in open() 290 perfMode, actualPerformanceMode); in open()
|
D | AudioStreamTrack.cpp | 78 aaudio_performance_mode_t perfMode = getPerformanceMode(); in open() local 79 switch(perfMode) { in open() 250 ALOGD_IF(actualPerformanceMode != perfMode, in open() 252 perfMode, actualPerformanceMode); in open()
|
/frameworks/wilhelm/src/android/ |
D | AudioRecorder_to_android.cpp | 83 SLuint32 perfMode = ANDROID_PERFORMANCE_MODE_DEFAULT; in audioRecorder_setPerformanceMode() local 86 perfMode = ANDROID_PERFORMANCE_MODE_LATENCY; in audioRecorder_setPerformanceMode() 89 perfMode = ANDROID_PERFORMANCE_MODE_LATENCY_EFFECTS; in audioRecorder_setPerformanceMode() 92 perfMode = ANDROID_PERFORMANCE_MODE_NONE; in audioRecorder_setPerformanceMode() 95 perfMode = ANDROID_PERFORMANCE_MODE_POWER_SAVING; in audioRecorder_setPerformanceMode() 109 ar->mPerformanceMode = perfMode; in audioRecorder_setPerformanceMode()
|
D | AudioPlayer_to_android.cpp | 532 SLuint32 perfMode = ANDROID_PERFORMANCE_MODE_DEFAULT; in audioPlayer_setPerformanceMode() local 535 perfMode = ANDROID_PERFORMANCE_MODE_LATENCY; in audioPlayer_setPerformanceMode() 538 perfMode = ANDROID_PERFORMANCE_MODE_LATENCY_EFFECTS; in audioPlayer_setPerformanceMode() 541 perfMode = ANDROID_PERFORMANCE_MODE_NONE; in audioPlayer_setPerformanceMode() 544 perfMode = ANDROID_PERFORMANCE_MODE_POWER_SAVING; in audioPlayer_setPerformanceMode() 558 ap->mPerformanceMode = perfMode; in audioPlayer_setPerformanceMode()
|