Searched refs:session (Results 126 - 150 of 243) sorted by relevance

12345678910

/frameworks/av/media/libmedia/
H A DAudioSystem.cpp764 audio_session_t session,
776 return aps->getOutputForAttr(attr, output, session, stream, uid,
783 audio_session_t session)
787 return aps->startOutput(output, stream, session);
792 audio_session_t session)
796 return aps->stopOutput(output, stream, session);
801 audio_session_t session)
805 aps->releaseOutput(output, stream, session);
810 audio_session_t session,
821 attr, input, session, ui
762 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, audio_stream_type_t *stream, uid_t uid, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, audio_port_handle_t selectedDeviceId, const audio_offload_info_t *offloadInfo) argument
781 startOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument
790 stopOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument
799 releaseOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument
808 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, uid_t uid, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_input_flags_t flags, audio_port_handle_t selectedDeviceId) argument
824 startInput(audio_io_handle_t input, audio_session_t session) argument
832 stopInput(audio_io_handle_t input, audio_session_t session) argument
840 releaseInput(audio_io_handle_t input, audio_session_t session) argument
897 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
1116 acquireSoundTriggerSession(audio_session_t *session, audio_io_handle_t *ioHandle, audio_devices_t *device) argument
1125 releaseSoundTriggerSession(audio_session_t session) argument
[all...]
/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionSession.java67 * An active voice interaction session, providing a facility for the implementation
72 * <p>A voice interaction session can be self-contained, ultimately calling {@link #finish}
81 * Flag received in {@link #onShow}: originator requested that the session be started with
87 * Flag received in {@link #onShow}: originator requested that the session be started with
93 * Flag for use with {@link #onShow}: indicates that the session has been started from the
291 VoiceInteractionSession session = mSession.get();
292 if (session != null) {
293 session.mHandlerCaller.sendMessage(
294 session.mHandlerCaller.obtainMessageO(MSG_CANCEL, Request.this));
305 VoiceInteractionSession session, Bundl
304 Request(String packageName, int uid, IVoiceInteractorCallback callback, VoiceInteractionSession session, Bundle extras) argument
414 ConfirmationRequest(String packageName, int uid, IVoiceInteractorCallback callback, VoiceInteractionSession session, VoiceInteractor.Prompt prompt, Bundle extras) argument
473 PickOptionRequest(String packageName, int uid, IVoiceInteractorCallback callback, VoiceInteractionSession session, VoiceInteractor.Prompt prompt, VoiceInteractor.PickOptionRequest.Option[] options, Bundle extras) argument
583 CompleteVoiceRequest(String packageName, int uid, IVoiceInteractorCallback callback, VoiceInteractionSession session, VoiceInteractor.Prompt prompt, Bundle extras) argument
641 AbortVoiceRequest(String packageName, int uid, IVoiceInteractorCallback callback, VoiceInteractionSession session, VoiceInteractor.Prompt prompt, Bundle extras) argument
697 CommandRequest(String packageName, int uid, IVoiceInteractorCallback callback, VoiceInteractionSession session, String command, Bundle extras) argument
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvInputManager.java231 // A mapping from the sequence number of a session to its SessionCallbackRecord.
235 // A sequence number for the next session to be created. Should be protected by a lock
244 * Interface used to receive the created session.
252 * @param session A {@link TvInputManager.Session} instance created. This can be
255 public void onSessionCreated(@Nullable Session session) { argument
260 * This typically happens when the process hosting the session has crashed or been killed.
262 * @param session A {@link TvInputManager.Session} instance released.
264 public void onSessionReleased(Session session) { argument
268 * This is called when the channel of this session is changed by the underlying TV input
271 * @param session
274 onChannelRetuned(Session session, Uri channelUri) argument
283 onTracksChanged(Session session, List<TvTrackInfo> tracks) argument
296 onTrackSelected(Session session, int type, @Nullable String trackId) argument
308 onVideoSizeChanged(Session session, int width, int height) argument
316 onVideoAvailable(Session session) argument
332 onVideoUnavailable(Session session, int reason) argument
341 onContentAllowed(Session session) argument
351 onContentBlocked(Session session, TvContentRating rating) argument
366 onLayoutSurface(Session session, int left, int top, int right, int bottom) argument
378 onSessionEvent(Session session, String eventType, Bundle eventArgs) argument
392 onTimeShiftStatusChanged(Session session, int status) argument
407 onTimeShiftStartPositionChanged(Session session, long timeMs) argument
417 onTimeShiftCurrentPositionChanged(Session session, long timeMs) argument
432 postSessionCreated(final Session session) argument
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioInputDescriptor.h61 bool hasPreemptedSession(audio_session_t session) const;
66 // Because a preemtible capture session can preempt another one, we end up in an endless loop
67 // situation were each session is allowed to restart after being preempted,
69 // To avoid this situation, we store which audio session was preempted when
70 // a particular input started and prevent preemption of this active input by this session.
/frameworks/base/core/java/org/apache/http/conn/ssl/
H A DAbstractVerifier.java99 SSLSession session = ssl.getSession();
100 Certificate[] certs = session.getPeerCertificates();
105 public final boolean verify(String host, SSLSession session) { argument
107 Certificate[] certs = session.getPeerCertificates();
/frameworks/base/media/java/android/media/session/
H A DParcelableVolumeInfo.java16 package android.media.session;
24 * session. The public implementation is {@link MediaController.PlaybackInfo}.
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DPlayerController.java20 import android.media.session.MediaController;
21 import android.media.session.MediaSession;
22 import android.media.session.MediaSessionManager;
23 import android.media.session.PlaybackState;
74 Log.d(TAG, "Listener set to " + listener + " session is " + mController);
183 Log.e(TAG, "Error getting session", e);
H A DPlayerSession.java22 import android.media.session.MediaSession;
23 import android.media.session.MediaSession.QueueItem;
24 import android.media.session.MediaSessionManager;
25 import android.media.session.PlaybackState;
76 Log.d(TAG, "Creating session for package " + mContext.getBasePackageName());
H A DPlayerService.java21 import android.media.session.MediaSession;
22 import android.media.session.PlaybackState;
/frameworks/support/v4/java/android/support/v4/media/
H A DVolumeProviderCompat.java21 import android.support.v4.media.session.MediaSessionCompat;
27 * Handles requests to adjust or set the volume on a session. This is also used
28 * to push volume updates back to the session after a request has been handled.
29 * You can set a volume provider on a session by calling
/frameworks/support/v4/java/android/support/v4/media/session/
H A DParcelableVolumeInfo.java16 package android.support.v4.media.session;
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEqualizerTest.java184 Log.d(TAG, "Invalid session #: "+mSessionText.getText().toString());
355 private void getEffect(int session) { argument
357 if (sInstances.containsKey(session)) {
358 mEqualizer = sInstances.get(session);
361 mEqualizer = new Equalizer(0, session);
371 sInstances.put(session, mEqualizer);
394 private void putEffect(int session) { argument
403 sInstances.remove(session);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaPresetReverbTest.java295 // reverb will be chosen by the effect framework as we are on session 0
353 private void getReverb(int session) { argument
354 if (mReverb == null || session != mSession) {
355 if (session != mSession && mReverb != null) {
360 mReverb = new PresetReverb(0, session);
361 mSession = session;
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
H A DCameraTooActivity.java79 /** Our image capture session. */
200 Log.e(TAG, "User attempted to perform a capture outside our session");
320 Log.e(TAG, "Failed to create a capture session", ex);
343 public void onConfigured(CameraCaptureSession session) {
345 mCaptureSession = session;
358 session.setRepeatingRequest(previewRequest, /*listener*/null,
373 public void onClosed(CameraCaptureSession session) {
378 public void onConfigureFailed(CameraCaptureSession session) {
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraCaptureSessionImpl.java44 /** Simple integer ID for session for debugging */
72 /** This session is closed; all further calls will throw ISE */
74 /** This session failed to be configured successfully */
76 /** Do not unconfigure if this is set; another session will overwrite configuration */
79 /** Is the session in the process of aborting? Pay attention to BUSY->IDLE transitions. */
128 if (DEBUG) Log.v(TAG, mIdString + "Created session successfully");
133 Log.e(TAG, mIdString + "Failed to create capture session; configuration failed");
164 throw new IllegalArgumentException("this capture session cannot handle reprocess " +
167 throw new IllegalArgumentException("capture request was created for another session");
195 throw new IllegalArgumentException("This capture session canno
[all...]
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyEffects.h138 EffectVector(int session) : mSessionId(session), mRefCount(0) {} argument
/frameworks/base/core/java/com/android/internal/app/
H A DIVoiceInteractionManagerService.aidl32 boolean deliverNewSession(IBinder token, IVoiceInteractionSession session,
96 * Shows the session for the currently active service. Used to start a new session from system
99 * @param args the bundle to pass as arguments to the voice interaction session
101 * @param showCallback optional callback to be notified when the session was shown
108 * Hides the session from the active service, if it is showing.
119 * Indicates whether there is a voice session running (but not necessarily showing).
/frameworks/base/core/jni/
H A Dandroid_media_RemoteDisplay.cpp65 uint32_t width, uint32_t height, uint32_t flags, uint32_t session) {
77 surfaceObj, width, height, flags, session);
64 onDisplayConnected(const sp<IGraphicBufferProducer>& bufferProducer, uint32_t width, uint32_t height, uint32_t flags, uint32_t session) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DUtil.java23 import android.media.session.MediaController.PlaybackInfo;
24 import android.media.session.PlaybackState;
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasRequestGetMessagesListing.java152 public void execute(ClientSession session) throws IOException { argument
153 executeGet(session);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DMediaControllerGlue.java9 import android.support.v4.media.session.MediaControllerCompat;
10 import android.support.v4.media.session.PlaybackStateCompat;
16 * {@link android.support.v4.media.session.MediaControllerCompat}.
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h46 sp<SurfaceComposerClient> session() const;
/frameworks/support/v4/api21/android/support/v4/media/session/
H A DMediaControllerCompatApi21.java17 package android.support.v4.media.session;
25 import android.media.session.MediaController;
26 import android.media.session.MediaSession;
27 import android.media.session.PlaybackState;
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/session/
H A DMediaSessionCompatApi18.java16 package android.support.v4.media.session;
/frameworks/support/v4/kitkat/android/support/v4/media/session/
H A DMediaSessionCompatApi19.java16 package android.support.v4.media.session;

Completed in 779 milliseconds

12345678910