Searched refs:perfMode (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/media/libaaudio/tests/ |
D | test_attributes.cpp | 31 static void checkAttributes(aaudio_performance_mode_t perfMode, in checkAttributes() argument 47 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkAttributes() 154 static void checkAttributesUsage(aaudio_performance_mode_t perfMode) { in checkAttributesUsage() argument 156 checkAttributes(perfMode, usage, DONT_SET); in checkAttributesUsage() 160 static void checkAttributesContentType(aaudio_performance_mode_t perfMode) { in checkAttributesContentType() argument 162 checkAttributes(perfMode, DONT_SET, contentType); in checkAttributesContentType() 166 static void checkAttributesInputPreset(aaudio_performance_mode_t perfMode) { in checkAttributesInputPreset() argument 168 checkAttributes(perfMode, in checkAttributesInputPreset() 177 static void checkAttributesAllowedCapturePolicy(aaudio_performance_mode_t perfMode) { in checkAttributesAllowedCapturePolicy() argument 179 checkAttributes(perfMode, in checkAttributesAllowedCapturePolicy()
|
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_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 | 51 void checkStateTransition(aaudio_performance_mode_t perfMode, in checkStateTransition() argument 64 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkStateTransition() 499 void checkCallbackOnce(aaudio_performance_mode_t perfMode) { in checkCallbackOnce() argument 511 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkCallbackOnce() 589 void checkDangerousCallback(aaudio_performance_mode_t perfMode) { in checkDangerousCallback() argument 599 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, perfMode); in checkDangerousCallback()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamRecord.cpp | 75 aaudio_performance_mode_t perfMode = getPerformanceMode(); in open() local 76 switch (perfMode) { in open() 112 && perfMode == AAUDIO_PERFORMANCE_MODE_LOW_LATENCY in open() 261 ALOGW_IF(actualPerformanceMode != perfMode, in open() 263 perfMode, actualPerformanceMode); in open()
|
D | AudioStreamTrack.cpp | 74 aaudio_performance_mode_t perfMode = getPerformanceMode(); in open() local 75 switch(perfMode) { in open() 235 ALOGW_IF(actualPerformanceMode != perfMode, in open() 237 perfMode, actualPerformanceMode); in open()
|
/frameworks/wilhelm/src/android/ |
D | AudioRecorder_to_android.cpp | 81 SLuint32 perfMode = ANDROID_PERFORMANCE_MODE_DEFAULT; in audioRecorder_setPerformanceMode() local 84 perfMode = ANDROID_PERFORMANCE_MODE_LATENCY; in audioRecorder_setPerformanceMode() 87 perfMode = ANDROID_PERFORMANCE_MODE_LATENCY_EFFECTS; in audioRecorder_setPerformanceMode() 90 perfMode = ANDROID_PERFORMANCE_MODE_NONE; in audioRecorder_setPerformanceMode() 93 perfMode = ANDROID_PERFORMANCE_MODE_POWER_SAVING; in audioRecorder_setPerformanceMode() 107 ar->mPerformanceMode = perfMode; in audioRecorder_setPerformanceMode()
|
D | AudioPlayer_to_android.cpp | 531 SLuint32 perfMode = ANDROID_PERFORMANCE_MODE_DEFAULT; in audioPlayer_setPerformanceMode() local 534 perfMode = ANDROID_PERFORMANCE_MODE_LATENCY; in audioPlayer_setPerformanceMode() 537 perfMode = ANDROID_PERFORMANCE_MODE_LATENCY_EFFECTS; in audioPlayer_setPerformanceMode() 540 perfMode = ANDROID_PERFORMANCE_MODE_NONE; in audioPlayer_setPerformanceMode() 543 perfMode = ANDROID_PERFORMANCE_MODE_POWER_SAVING; in audioPlayer_setPerformanceMode() 557 ap->mPerformanceMode = perfMode; in audioPlayer_setPerformanceMode()
|