Home
last modified time | relevance | path

Searched refs:requestedSharingMode (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libaaudio/tests/
Dtest_steal_exclusive.cpp140 aaudio_sharing_mode_t requestedSharingMode) { in openAudioStream() argument
145 mRequestedSharingMode = requestedSharingMode; in openAudioStream()
337 aaudio_sharing_mode_t requestedSharingMode = AAUDIO_SHARING_MODE_EXCLUSIVE; in main() local
361 requestedSharingMode = AAUDIO_SHARING_MODE_SHARED; in main()
380 result = victim.openAudioStream(direction, requestedSharingMode); in main()
387 if (victim.sharingMode == requestedSharingMode) { in main()
388 printf("Victim modes is %s => OK\n", s_sharingModeToText(requestedSharingMode)); in main()
391 s_sharingModeToText(requestedSharingMode)); in main()
418 result = thief.openAudioStream(direction, requestedSharingMode); in main()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioSimpleRecorder.h43 void setSharingMode(aaudio_sharing_mode_t requestedSharingMode) { in setSharingMode() argument
44 mRequestedSharingMode = requestedSharingMode; in setSharingMode()
DAAudioSimplePlayer.h57 void setSharingMode(aaudio_sharing_mode_t requestedSharingMode) { in setSharingMode() argument
58 mRequestedSharingMode = requestedSharingMode; in setSharingMode()