Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/core/
DAudioStreamBuilder.cpp160 aaudio_sharing_mode_t sharingMode = getSharingMode(); in build() local
161 if ((sharingMode == AAUDIO_SHARING_MODE_EXCLUSIVE) in build()
164 sharingMode = AAUDIO_SHARING_MODE_SHARED; in build()
165 setSharingMode(sharingMode); in build()
209 result = builder_createStream(getDirection(), sharingMode, allowMMap, audioStream); in build()
218 result = builder_createStream(getDirection(), sharingMode, in build()
283 static const char *AAudio_convertSharingModeToShortText(aaudio_sharing_mode_t sharingMode) { in AAudio_convertSharingModeToShortText() argument
284 switch (sharingMode) { in AAudio_convertSharingModeToShortText()
DAAudioStreamParameters.h64 void setSharingMode(aaudio_sharing_mode_t sharingMode) { in setSharingMode() argument
65 mSharingMode = sharingMode; in setSharingMode()
DAudioStream.h596 void setSharingMode(aaudio_sharing_mode_t sharingMode) { in setSharingMode() argument
597 mSharingMode = sharingMode; in setSharingMode()
DAAudioAudio.cpp152 aaudio_sharing_mode_t sharingMode) in AAudioStreamBuilder_setSharingMode() argument
155 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
179 sharingMode = AAudioStream_getSharingMode(mStream); in openAudioStream()
185 s_sharingModeToText(sharingMode), in openAudioStream()
281 if (sharingMode == AAUDIO_SHARING_MODE_SHARED) { in verify()
413 if (victim.sharingMode == requestedSharingMode) { in main()
Dtest_full_queue.cpp40 aaudio_sharing_mode_t sharingMode, in checkFullQueue() argument
56 AAudioStreamBuilder_setSharingMode(aaudioBuilder, sharingMode); in checkFullQueue()
Dtest_various.cpp58 aaudio_sharing_mode_t sharingMode, in checkReleaseThenClose() argument
71 AAudioStreamBuilder_setSharingMode(aaudioBuilder, sharingMode); in checkReleaseThenClose()
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamConfiguration.cpp38 static_assert(sizeof(aaudio_sharing_mode_t) == sizeof(parcelable.sharingMode)); in AAudioStreamConfiguration()
39 setSharingMode(parcelable.sharingMode); in AAudioStreamConfiguration()
91 static_assert(sizeof(aaudio_sharing_mode_t) == sizeof(result.sharingMode)); in parcelable()
92 result.sharingMode = getSharingMode(); in parcelable()
/frameworks/av/services/oboeservice/
DAAudioService.cpp115 const aaudio_sharing_mode_t sharingMode = configurationInput.getSharingMode(); in openStream() local
134 if (sharingMode != AAUDIO_SHARING_MODE_EXCLUSIVE && sharingMode != AAUDIO_SHARING_MODE_SHARED) { in openStream()
135 ALOGE("openStream(): unrecognized sharing mode = %d", sharingMode); in openStream()
139 if (sharingMode == AAUDIO_SHARING_MODE_EXCLUSIVE in openStream()
156 if (sharingMode == AAUDIO_SHARING_MODE_SHARED) { in openStream()
DAAudioServiceStreamBase.h232 aaudio_sharing_mode_t sharingMode);
/frameworks/av/media/libaaudio/src/binding/aidl/aaudio/
DStreamParameters.aidl25 … int /* aaudio_sharing_mode_t */ sharingMode; // = AAUDIO_SHARING_MODE_SHARED;
/frameworks/av/services/mediametrics/
DAudioTypes.cpp756 std::string lookup<AAUDIO_SHARING_MODE>(const std::string &sharingMode) in lookup() argument
759 auto it = map.find(sharingMode); in lookup()
763 return sharingMode; in lookup()
767 int32_t lookup<AAUDIO_SHARING_MODE>(const std::string &sharingMode) in lookup() argument
770 auto it = map.find(sharingMode); in lookup()
/frameworks/av/media/libaaudio/fuzzer/
DREADME.md17 6. Audio Sharing Mode (parameter name: `sharingMode`)
36 | `sharingMode` | 0. `AAUDIO_SHARING_MODE_EXCLUSIVE` 1. `AAUDIO_SHARING_MODE_SHARED` | Value obtain…
Dlibaaudio_fuzzer.cpp149 aaudio_sharing_mode_t sharingMode = fdp.PickValueInArray( in invokeAAudioSetAPIs() local
151 AAudioStreamBuilder_setSharingMode(mAaudioBuilder, sharingMode); in invokeAAudioSetAPIs()
/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.h1060 aaudio_sharing_mode_t sharingMode) __INTRODUCED_IN(26);
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp2004 .sharingMode = create_info->imageSharingMode, in CreateSwapchainKHR()