Home
last modified time | relevance | path

Searched refs:getAudioSessionId (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerUnitTest.java64 assertNotEquals(vdmPlaybackSessionId, mediaPlayer.getAudioSessionId()); in testConstructionWithContext_virtualDeviceDefaultAudioPolicy()
65 assertTrue(mediaPlayer.getAudioSessionId() > 0); in testConstructionWithContext_virtualDeviceDefaultAudioPolicy()
78 assertEquals(vdmPlaybackSessionId, mediaPlayer.getAudioSessionId()); in testConstructionWithContext_virtualDeviceCustomAudioPolicy()
94 assertEquals(anotherSessionId, mediaPlayer.getAudioSessionId()); in testConstructionWithContext_virtualSetSessionIdOverridesContext()
107 assertNotEquals(vdmPlaybackSessionId, mediaPlayer.getAudioSessionId()); in testCreateFromResource_virtualDeviceDefaultAudioPolicy()
108 assertTrue(mediaPlayer.getAudioSessionId() > 0); in testCreateFromResource_virtualDeviceDefaultAudioPolicy()
121 assertEquals(vdmPlaybackSessionId, mediaPlayer.getAudioSessionId()); in testCreateFromResource_virtualDeviceCustomAudioPolicy()
137 assertEquals(anotherSessionId, mediaPlayer.getAudioSessionId()); in testCreateFromResource_explicitSessionIdOverridesContext()
DAudioTrackUnitTest.java70 assertEquals(sessionId, audioTrack.getAudioSessionId()); in testBuilderConstructionWithContext_defaultDeviceExplicitSessionId()
86 assertNotEquals(vdmPlaybackSessionId, audioTrack.getAudioSessionId()); in testBuilderConstructionWithContext_virtualDeviceDefaultAudioPolicy()
102 assertEquals(vdmPlaybackSessionId, audioTrack.getAudioSessionId()); in testBuilderConstructionWithContext_virtualDeviceCustomAudioPolicy()
122 assertEquals(anotherSessionId, audioTrack.getAudioSessionId()); in testBuilderConstructionWithContext_virtualDeviceSetSessionIdOverridesContext()
DAudioRecordUnitTest.java69 assertEquals(sessionId, audioRecord.getAudioSessionId()); in testBuilderConstructionWithContext_defaultDeviceExplicitSessionId()
86 assertNotEquals(vdmPlaybackSessionId, audioRecord.getAudioSessionId()); in testBuilderConstructionWithContext_virtualDeviceDefaultAudioPolicy()
103 assertEquals(vdmRecordingSessionId, audioRecord.getAudioSessionId()); in testBuilderConstructionWithContext_virtualDeviceCustomAudioPolicy()
124 assertEquals(anotherSessionId, audioRecord.getAudioSessionId()); in testBuilderConstructionWithContext_virtualDeviceSetSessionIdOverridesContext()
/frameworks/base/media/java/android/media/
DMediaSyncEvent.java124 public int getAudioSessionId() { in getAudioSessionId() method in MediaSyncEvent
DToneGenerator.java896 public native final int getAudioSessionId(); in getAudioSessionId() method in ToneGenerator
DAudioRecord.java910 if (event.getAudioSessionId() == AudioSystem.AUDIO_SESSION_ALLOCATE) { in setSharedAudioEvent()
912 "Invalid session ID " + event.getAudioSessionId()); in setSharedAudioEvent()
915 mSessionId = event.getAudioSessionId(); in setSharedAudioEvent()
1438 public int getAudioSessionId() { in getAudioSessionId() method in AudioRecord
1521 if (native_start(syncEvent.getType(), syncEvent.getAudioSessionId()) == SUCCESS) { in startRecording()
DRingtone.java359 mHapticGenerator = HapticGenerator.create(mLocalPlayer.getAudioSessionId()); in applyPlaybackProperties_sync()
DMediaPlayer.java714 baseRegisterPlayer(getAudioSessionId()); in MediaPlayer()
2438 public native int getAudioSessionId(); in getAudioSessionId() method in MediaPlayer
DAudioTrack.java2532 public int getAudioSessionId() { in getAudioSessionId() method in AudioTrack
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaVisualizerTest.java250 getVisualizer(mp.getAudioSessionId()); in test2_0PollingCapture()
330 getVisualizer(mp.getAudioSessionId()); in test2_1ListenerCapture()
462 getVisualizer(mp.getAudioSessionId()); in test2_2PollingCaptureVolumeScaling()
DMediaAudioEffectTest.java159 sessionId = ar.getAudioSessionId(); in test1_0ConstructorFromType()
202 sessionId = ar.getAudioSessionId(); in test1_1ConstructorFromUuid()
287 mp.getAudioSessionId()); in test1_4InsertOnMediaPlayer()
/frameworks/base/core/java/android/widget/
DVideoView.java403 mAudioSession = mMediaPlayer.getAudioSessionId(); in openVideo()
885 public int getAudioSessionId() { in getAudioSessionId() method in VideoView
888 mAudioSession = foo.getAudioSessionId(); in getAudioSessionId()
DMediaController.java789 int getAudioSessionId(); in getAudioSessionId() method
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DSimplePlayer.java147 … mSessionText.setText("Session: "+Integer.toString(mMediaPlayer.getAudioSessionId())); in playOrPause()
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DRgbPlayerActivity.java249 public int getAudioSessionId() { in getAudioSessionId() method in RgbPlayerActivity.RgbView
DVideoDumpView.java256 public int getAudioSessionId() { in getAudioSessionId() method in VideoDumpView
/frameworks/av/media/libmedia/include/media/
Dmediaplayer.h267 audio_session_t getAudioSessionId();
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h398 audio_session_t getAudioSessionId() { return mAudioSessionId; } in getAudioSessionId() function
/frameworks/av/media/libmedia/
Dmediaplayer.cpp742 audio_session_t MediaPlayer::getAudioSessionId() in getAudioSessionId() function in android::MediaPlayer
/frameworks/base/media/jni/
Dandroid_media_MediaPlayer.cpp1034 return (jint) mp->getAudioSessionId(); in android_media_MediaPlayer_get_audio_session_id()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt14181 method public int getAudioSessionId();
14230 method public int getAudioSessionId();
15151 method public int getAudioSessionId();
15496 method public int getAudioSessionId();
15707 method public final int getAudioSessionId();
37851 method public abstract int getAudioSessionId();
39084 method public int getAudioSessionId();
/frameworks/base/core/api/
Dcurrent.txt21728 method public int getAudioSessionId();
21869 method public int getAudioSessionId();
23989 method public int getAudioSessionId();
24715 method public int getAudioSessionId();
25204 method public final int getAudioSessionId();
59768 method public int getAudioSessionId();
61308 method public int getAudioSessionId();
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt27670 Landroid/media/MediaPlayer2;->getAudioSessionId()I
27898 Landroid/media/MediaPlayer2Impl;->getAudioSessionId()I