Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DSoundPool.java19 import static android.media.AudioManager.AUDIO_SESSION_ID_GENERATE;
154 AUDIO_SESSION_ID_GENERATE); in SoundPool()
563 private int mSessionId = AUDIO_SESSION_ID_GENERATE;
619 if ((sessionId != AUDIO_SESSION_ID_GENERATE) && (sessionId < 1)) { in setAudioSessionId()
DPlayerBase.java22 import static android.media.AudioManager.AUDIO_SESSION_ID_GENERATE;
562 if (requestedSessionId != AUDIO_SESSION_ID_GENERATE) { in resolvePlaybackSessionId()
568 return AUDIO_SESSION_ID_GENERATE; in resolvePlaybackSessionId()
573 return AUDIO_SESSION_ID_GENERATE; in resolvePlaybackSessionId()
579 return AUDIO_SESSION_ID_GENERATE; in resolvePlaybackSessionId()
DAudioRecord.java22 import static android.media.AudioManager.AUDIO_SESSION_ID_GENERATE;
278 private int mSessionId = AudioManager.AUDIO_SESSION_ID_GENERATE;
341 AudioManager.AUDIO_SESSION_ID_GENERATE); in AudioRecord()
605 private int mSessionId = AudioManager.AUDIO_SESSION_ID_GENERATE;
781 if (mSessionId == AudioManager.AUDIO_SESSION_ID_GENERATE) { in setSessionId()
1084 if (requestedSessionId != AUDIO_SESSION_ID_GENERATE) { in resolveSessionId()
1090 return AUDIO_SESSION_ID_GENERATE; in resolveSessionId()
1095 return AUDIO_SESSION_ID_GENERATE; in resolveSessionId()
1101 return AUDIO_SESSION_ID_GENERATE; in resolveSessionId()
DAudioTrack.java19 import static android.media.AudioManager.AUDIO_SESSION_ID_GENERATE;
597 private int mSessionId = AUDIO_SESSION_ID_GENERATE;
697 bufferSizeInBytes, mode, AUDIO_SESSION_ID_GENERATE); in AudioTrack()
1095 private int mSessionId = AUDIO_SESSION_ID_GENERATE;
1241 if ((sessionId != AUDIO_SESSION_ID_GENERATE) && (sessionId < 1)) { in setSessionId()
DAudioManager.java3675 public static final int AUDIO_SESSION_ID_GENERATE = AudioSystem.AUDIO_SESSION_ALLOCATE; field in AudioManager
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DAudioRecordUnitTest.java23 import static android.media.AudioManager.AUDIO_SESSION_ID_GENERATE;
142 when(vdmMock.getAudioRecordingSessionId(anyInt())).thenReturn(AUDIO_SESSION_ID_GENERATE); in getMockVirtualDeviceManager()
DAudioTrackUnitTest.java23 import static android.media.AudioManager.AUDIO_SESSION_ID_GENERATE;
139 when(vdmMock.getAudioPlaybackSessionId(anyInt())).thenReturn(AUDIO_SESSION_ID_GENERATE); in getMockVirtualDeviceManager()
DMediaPlayerUnitTest.java22 import static android.media.AudioManager.AUDIO_SESSION_ID_GENERATE;
156 when(vdmMock.getAudioPlaybackSessionId(anyInt())).thenReturn(AUDIO_SESSION_ID_GENERATE); in getMockVirtualDeviceManager()
/frameworks/base/core/java/android/companion/virtual/
DVirtualDeviceParams.java20 import static android.media.AudioManager.AUDIO_SESSION_ID_GENERATE;
688 private int mAudioPlaybackSessionId = AUDIO_SESSION_ID_GENERATE;
689 private int mAudioRecordingSessionId = AUDIO_SESSION_ID_GENERATE;
1177 if ((mAudioPlaybackSessionId != AUDIO_SESSION_ID_GENERATE in build()
1178 || mAudioRecordingSessionId != AUDIO_SESSION_ID_GENERATE) in build()
DVirtualDeviceManager.java19 import static android.media.AudioManager.AUDIO_SESSION_ID_GENERATE;
467 return AUDIO_SESSION_ID_GENERATE; in getAudioPlaybackSessionId()
493 return AUDIO_SESSION_ID_GENERATE; in getAudioRecordingSessionId()
/frameworks/base/core/java/android/speech/tts/
DAudioPlaybackQueueItem.java60 sessionId > 0 ? sessionId : AudioManager.AUDIO_SESSION_ID_GENERATE); in run()
DTextToSpeech.java19 import static android.media.AudioManager.AUDIO_SESSION_ID_GENERATE;
814 if (audioSessionId != AUDIO_SESSION_ID_GENERATE) { in addDeviceSpecificSessionIdToParams()
832 return AUDIO_SESSION_ID_GENERATE; in getDeviceSpecificPlaybackSessionId()
836 return AUDIO_SESSION_ID_GENERATE; in getDeviceSpecificPlaybackSessionId()
DTextToSpeechService.java723 mSessionId = AudioManager.AUDIO_SESSION_ID_GENERATE; in AudioOutputParams()
760 AudioManager.AUDIO_SESSION_ID_GENERATE), in createFromParamsBundle()
/frameworks/base/services/core/java/com/android/server/audio/
DMusicFxHelper.java347 AudioManager.AUDIO_SESSION_ID_GENERATE); in setMusicFxServiceWithObserver()
348 if (AudioManager.AUDIO_SESSION_ID_GENERATE == session) { in setMusicFxServiceWithObserver()
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DAudioPolicyDeathTest.java184 AudioTrack.MODE_STATIC, AudioManager.AUDIO_SESSION_ID_GENERATE); in createAudioTrack()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DVirtualDeviceManagerService.java20 import static android.media.AudioManager.AUDIO_SESSION_ID_GENERATE;
609 ? virtualDevice.getAudioPlaybackSessionId() : AUDIO_SESSION_ID_GENERATE; in getAudioPlaybackSessionId()
618 ? virtualDevice.getAudioRecordingSessionId() : AUDIO_SESSION_ID_GENERATE; in getAudioRecordingSessionId()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicy.java989 AudioManager.AUDIO_SESSION_ID_GENERATE in createAudioRecordSink()
1029 AudioManager.AUDIO_SESSION_ID_GENERATE in createAudioTrackSource()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt14108 field public static final int AUDIO_SESSION_ID_GENERATE = 0; // 0x0
/frameworks/base/core/api/
Dcurrent.txt21473 field public static final int AUDIO_SESSION_ID_GENERATE = 0; // 0x0