Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/tests/
Dtest_attributes.cpp36 static void checkAttributes(aaudio_performance_mode_t perfMode, in checkAttributes() argument
53 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkAttributes()
176 static void checkAttributesUsage(aaudio_performance_mode_t perfMode) { in checkAttributesUsage() argument
178 checkAttributes(perfMode, usage, DONT_SET); in checkAttributesUsage()
182 static void checkAttributesContentType(aaudio_performance_mode_t perfMode) { in checkAttributesContentType() argument
184 checkAttributes(perfMode, DONT_SET, contentType); in checkAttributesContentType()
188 static void checkAttributesInputPreset(aaudio_performance_mode_t perfMode) { in checkAttributesInputPreset() argument
190 checkAttributes(perfMode, in checkAttributesInputPreset()
200 static void checkAttributesAllowedCapturePolicy(aaudio_performance_mode_t perfMode) { in checkAttributesAllowedCapturePolicy() argument
202 checkAttributes(perfMode, in checkAttributesAllowedCapturePolicy()
[all …]
Dtest_disconnect_race.cpp55 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()
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()
Dtest_callback_race.cpp44 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()
Dtest_return_stop.cpp93 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()
Dtest_various.cpp57 void checkReleaseThenClose(aaudio_performance_mode_t perfMode, in checkReleaseThenClose() argument
70 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkReleaseThenClose()
175 void checkStateTransition(aaudio_performance_mode_t perfMode, in checkStateTransition() argument
188 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkStateTransition()
730 void checkCallbackOnce(aaudio_performance_mode_t perfMode) { in checkCallbackOnce() argument
742 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkCallbackOnce()
780 void testWaitForStateChangeClose(aaudio_performance_mode_t perfMode) { in testWaitForStateChangeClose() argument
785 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in testWaitForStateChangeClose()
872 void checkDangerousCallback(aaudio_performance_mode_t perfMode) { in checkDangerousCallback() argument
882 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkDangerousCallback()
Dtest_full_queue.cpp39 static void checkFullQueue(aaudio_performance_mode_t perfMode, in checkFullQueue() argument
55 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkFullQueue()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.cpp76 aaudio_performance_mode_t perfMode = getPerformanceMode(); in open() local
77 switch (perfMode) { in open()
273 ALOGW_IF(actualPerformanceMode != perfMode, in open()
275 perfMode, actualPerformanceMode); in open()
DAudioStreamTrack.cpp74 aaudio_performance_mode_t perfMode = getPerformanceMode(); in open() local
75 switch(perfMode) { in open()
264 ALOGD_IF(actualPerformanceMode != perfMode, in open()
266 perfMode, actualPerformanceMode); in open()
/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp84 SLuint32 perfMode = ANDROID_PERFORMANCE_MODE_DEFAULT; in audioRecorder_setPerformanceMode() local
87 perfMode = ANDROID_PERFORMANCE_MODE_LATENCY; in audioRecorder_setPerformanceMode()
90 perfMode = ANDROID_PERFORMANCE_MODE_LATENCY_EFFECTS; in audioRecorder_setPerformanceMode()
93 perfMode = ANDROID_PERFORMANCE_MODE_NONE; in audioRecorder_setPerformanceMode()
96 perfMode = ANDROID_PERFORMANCE_MODE_POWER_SAVING; in audioRecorder_setPerformanceMode()
110 ar->mPerformanceMode = perfMode; in audioRecorder_setPerformanceMode()
DAudioPlayer_to_android.cpp533 SLuint32 perfMode = ANDROID_PERFORMANCE_MODE_DEFAULT; in audioPlayer_setPerformanceMode() local
536 perfMode = ANDROID_PERFORMANCE_MODE_LATENCY; in audioPlayer_setPerformanceMode()
539 perfMode = ANDROID_PERFORMANCE_MODE_LATENCY_EFFECTS; in audioPlayer_setPerformanceMode()
542 perfMode = ANDROID_PERFORMANCE_MODE_NONE; in audioPlayer_setPerformanceMode()
545 perfMode = ANDROID_PERFORMANCE_MODE_POWER_SAVING; in audioPlayer_setPerformanceMode()
559 ap->mPerformanceMode = perfMode; in audioPlayer_setPerformanceMode()