Home
last modified time | relevance | path

Searched refs:sharingMode (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/media/libaaudio/src/core/
DAudioStreamBuilder.cpp64 aaudio_sharing_mode_t sharingMode, in builder_createStream() argument
131 aaudio_sharing_mode_t sharingMode = getSharingMode(); in build() local
132 if ((sharingMode == AAUDIO_SHARING_MODE_EXCLUSIVE) in build()
135 sharingMode = AAUDIO_SHARING_MODE_SHARED; in build()
136 setSharingMode(sharingMode); in build()
174 result = builder_createStream(getDirection(), sharingMode, allowMMap, &audioStream); in build()
188 result = builder_createStream(getDirection(), sharingMode, in build()
241 static const char *AAudio_convertSharingModeToShortText(aaudio_sharing_mode_t sharingMode) { in AAudio_convertSharingModeToShortText() argument
242 switch (sharingMode) { in AAudio_convertSharingModeToShortText()
DAAudioStreamParameters.h71 void setSharingMode(aaudio_sharing_mode_t sharingMode) { in setSharingMode() argument
72 mSharingMode = sharingMode; in setSharingMode()
DAudioStream.h483 void setSharingMode(aaudio_sharing_mode_t sharingMode) { in setSharingMode() argument
484 mSharingMode = sharingMode; in setSharingMode()
DAAudioAudio.cpp127 aaudio_sharing_mode_t sharingMode) in AAudioStreamBuilder_setSharingMode() argument
130 streamBuilder->setSharingMode(sharingMode); in AAudioStreamBuilder_setSharingMode()
/frameworks/av/media/libaaudio/tests/
Dtest_timestamps.cpp59 aaudio_sharing_mode_t sharingMode; member
71 aaudio_sharing_mode_t sharingMode, in logTestResult() argument
80 s_testLogs[s_numTests].sharingMode = sharingMode; in logTestResult()
93 getSharingModeText(log->sharingMode), in printTestResults()
151 aaudio_sharing_mode_t sharingMode, in testTimeStamps() argument
175 getSharingModeText(sharingMode), in testTimeStamps()
191 AAudioStreamBuilder_setSharingMode(aaudioBuilder, sharingMode); in testTimeStamps()
210 if (actualSharingMode != sharingMode) { in testTimeStamps()
352 logTestResult(isMmap, sharingMode, performanceMode, direction, result); in testTimeStamps()
Dtest_return_stop.cpp92 aaudio_sharing_mode_t sharingMode, in s_OpenAudioStream() argument
105 AAudioStreamBuilder_setSharingMode(engine->builder, sharingMode); in s_OpenAudioStream()
177 aaudio_sharing_mode_t sharingMode = AAUDIO_SHARING_MODE_SHARED; in main() local
210 sharingMode = AAUDIO_SHARING_MODE_EXCLUSIVE; in main()
224 result = s_OpenAudioStream(&engine, direction, sharingMode, perfMode); in main()
Dtest_steal_exclusive.cpp101 std::atomic<aaudio_sharing_mode_t> sharingMode{}; member in AudioEngine
174 sharingMode = AAudioStream_getSharingMode(mStream); in openAudioStream()
180 s_sharingModeToText(sharingMode), in openAudioStream()
268 if (sharingMode == AAUDIO_SHARING_MODE_SHARED) { in verify()
387 if (victim.sharingMode == requestedSharingMode) { in main()
Dtest_various.cpp51 aaudio_sharing_mode_t sharingMode) { in checkReleaseThenClose() argument
63 AAudioStreamBuilder_setSharingMode(aaudioBuilder, sharingMode); in checkReleaseThenClose()
/frameworks/av/services/oboeservice/
DAAudioService.cpp102 aaudio_sharing_mode_t sharingMode = configurationInput.getSharingMode(); in openStream() local
115 if (sharingMode != AAUDIO_SHARING_MODE_EXCLUSIVE && sharingMode != AAUDIO_SHARING_MODE_SHARED) { in openStream()
116 ALOGE("openStream(): unrecognized sharing mode = %d", sharingMode); in openStream()
120 if (sharingMode == AAUDIO_SHARING_MODE_EXCLUSIVE in openStream()
137 if (sharingMode == AAUDIO_SHARING_MODE_SHARED) { in openStream()
DAAudioServiceStreamBase.h250 aaudio_sharing_mode_t sharingMode);
/frameworks/av/media/libaaudio/examples/utils/
DAAudioArgsParser.h152 void setSharingMode(aaudio_sharing_mode_t sharingMode) { in setSharingMode() argument
153 mSharingMode = sharingMode; in setSharingMode()
/frameworks/av/media/libaaudio/include/aaudio/
DAAudio.h640 aaudio_sharing_mode_t sharingMode) __INTRODUCED_IN(26);
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp1321 .sharingMode = create_info->imageSharingMode, in CreateSwapchainKHR()