Searched refs:session (Results 1 - 25 of 303) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/media/session/
H A DParcelableVolumeInfo.aidl16 package android.media.session;
H A DPlaybackState.aidl16 package android.media.session;
H A DIActiveSessionsListener.aidl16 package android.media.session;
18 import android.media.session.MediaSession;
H A DMediaSession.aidl16 package android.media.session;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DSoundTriggerSession.cpp25 status_t SoundTriggerSessionCollection::acquireSession(audio_session_t session, argument
28 add(session, ioHandle);
33 status_t SoundTriggerSessionCollection::releaseSession(audio_session_t session) argument
35 ssize_t index = indexOfKey(session);
37 ALOGW("acquireSoundTriggerSession() session %d not registered", session);
41 removeItem(session);
H A DSessionRoute.cpp38 bool SessionRouteMap::hasRoute(audio_session_t session) argument
40 return indexOfKey(session) >= 0 && valueFor(session)->mDeviceDescriptor != 0;
43 bool SessionRouteMap::hasRouteChanged(audio_session_t session) argument
45 if (indexOfKey(session) >= 0) {
46 if (valueFor(session)->mChanged) {
47 valueFor(session)->mChanged = false;
54 void SessionRouteMap::removeRoute(audio_session_t session) argument
56 sp<SessionRoute> route = indexOfKey(session) >= 0 ? valueFor(session)
66 incRouteActivity(audio_session_t session) argument
72 decRouteActivity(audio_session_t session) argument
90 addRoute(audio_session_t session, audio_stream_type_t streamType, audio_source_t source, sp<DeviceDescriptor> descriptor, uid_t uid) argument
[all...]
/frameworks/base/media/java/android/media/
H A DIRemoteVolumeController.aidl19 import android.media.session.ISessionController;
28 void remoteVolumeChanged(ISessionController session, int flags);
29 // sets the default session to use with the slider, replaces remoteSliderVisibility
31 void updateRemoteController(ISessionController session);
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipSessionAdapter.java25 public void onCalling(ISipSession session) { argument
28 public void onRinging(ISipSession session, SipProfile caller, argument
32 public void onRingingBack(ISipSession session) { argument
35 public void onCallEstablished(ISipSession session, argument
39 public void onCallEnded(ISipSession session) { argument
42 public void onCallBusy(ISipSession session) { argument
45 public void onCallTransferring(ISipSession session, argument
49 public void onCallChangeFailed(ISipSession session, int errorCode, argument
53 public void onError(ISipSession session, int errorCode, String message) { argument
56 public void onRegistering(ISipSession session) { argument
59 onRegistrationDone(ISipSession session, int duration) argument
62 onRegistrationFailed(ISipSession session, int errorCode, String message) argument
66 onRegistrationTimeout(ISipSession session) argument
[all...]
H A DISipSessionListener.aidl23 * Listener class to listen to SIP session events.
30 * @param session the session object that carries out the transaction
32 void onCalling(in ISipSession session);
37 * @param session the session object that carries out the transaction
39 * @param sessionDescription the caller's session description
41 void onRinging(in ISipSession session, in SipProfile caller,
47 * @param session the session objec
[all...]
/frameworks/support/media-compat/java/android/support/v4/media/session/
H A DParcelableVolumeInfo.aidl16 package android.support.v4.media.session;
H A DPlaybackStateCompat.aidl16 package android.support.v4.media.session;
/frameworks/av/camera/ndk/
H A DNdkCameraCaptureSession.cpp34 void ACameraCaptureSession_close(ACameraCaptureSession* session) { argument
36 if (session != nullptr) {
37 session->closeByApp();
44 ACameraCaptureSession* session, ACameraDevice **device) {
46 if (session == nullptr || device == nullptr) {
47 ALOGE("%s: Error: invalid input: session %p, device %p",
48 __FUNCTION__, session, device);
52 if (session->isClosed()) {
53 ALOGE("%s: session %p is already closed", __FUNCTION__, session);
43 ACameraCaptureSession_getDevice( ACameraCaptureSession* session, ACameraDevice **device) argument
68 ACameraCaptureSession_capture( ACameraCaptureSession* session, ACameraCaptureSession_captureCallbacks* cbs, int numRequests, ACaptureRequest** requests, int* captureSequenceId) argument
89 ACameraCaptureSession_setRepeatingRequest( ACameraCaptureSession* session, ACameraCaptureSession_captureCallbacks* cbs, int numRequests, ACaptureRequest** requests, int* captureSequenceId) argument
110 ACameraCaptureSession_stopRepeating(ACameraCaptureSession* session) argument
125 ACameraCaptureSession_abortCaptures(ACameraCaptureSession* session) argument
[all...]
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsCallSessionListenerBase.java31 * Notifies the result of the basic session operation (setup / terminate).
34 public void callSessionProgressing(IImsCallSession session, ImsStreamMediaProfile profile) { argument
39 public void callSessionStarted(IImsCallSession session, ImsCallProfile profile) { argument
44 public void callSessionStartFailed(IImsCallSession session, ImsReasonInfo reasonInfo) { argument
49 public void callSessionTerminated(IImsCallSession session, ImsReasonInfo reasonInfo) { argument
57 public void callSessionHeld(IImsCallSession session, ImsCallProfile profile) { argument
62 public void callSessionHoldFailed(IImsCallSession session, ImsReasonInfo reasonInfo) { argument
67 public void callSessionHoldReceived(IImsCallSession session, ImsCallProfile profile) { argument
72 public void callSessionResumed(IImsCallSession session, ImsCallProfile profile) { argument
77 public void callSessionResumeFailed(IImsCallSession session, ImsReasonInf argument
82 callSessionResumeReceived(IImsCallSession session, ImsCallProfile profile) argument
90 callSessionMergeStarted(IImsCallSession session, IImsCallSession newSession, ImsCallProfile profile) argument
96 callSessionMergeComplete(IImsCallSession session) argument
101 callSessionMergeFailed(IImsCallSession session, ImsReasonInfo reasonInfo) argument
110 callSessionUpdated(IImsCallSession session, ImsCallProfile profile) argument
115 callSessionUpdateFailed(IImsCallSession session, ImsReasonInfo reasonInfo) argument
120 callSessionUpdateReceived(IImsCallSession session, ImsCallProfile profile) argument
128 callSessionConferenceExtended(IImsCallSession session, IImsCallSession newSession, ImsCallProfile profile) argument
134 callSessionConferenceExtendFailed(IImsCallSession session, ImsReasonInfo reasonInfo) argument
140 callSessionConferenceExtendReceived(IImsCallSession session, IImsCallSession newSession, ImsCallProfile profile) argument
151 callSessionInviteParticipantsRequestDelivered(IImsCallSession session) argument
156 callSessionInviteParticipantsRequestFailed(IImsCallSession session, ImsReasonInfo reasonInfo) argument
162 callSessionRemoveParticipantsRequestDelivered(IImsCallSession session) argument
167 callSessionRemoveParticipantsRequestFailed(IImsCallSession session, ImsReasonInfo reasonInfo) argument
176 callSessionConferenceStateUpdated(IImsCallSession session, ImsConferenceState state) argument
185 callSessionUssdMessageReceived(IImsCallSession session, int mode, String ussdMessage) argument
194 callSessionHandover(IImsCallSession session, int srcAccessTech, int targetAccessTech, ImsReasonInfo reasonInfo) argument
201 callSessionHandoverFailed(IImsCallSession session, int srcAccessTech, int targetAccessTech, ImsReasonInfo reasonInfo) argument
217 callSessionTtyModeReceived(IImsCallSession session, int mode) argument
230 callSessionMultipartyStateChanged(IImsCallSession session, boolean isMultiParty) argument
238 callSessionSuppServiceReceived(IImsCallSession session, ImsSuppServiceNotification suppSrvNotification) argument
[all...]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DIPlayerCallback.aidl18 import android.media.session.MediaSession;
21 void onSessionChanged(in MediaSession.Token session);
/frameworks/base/telephony/java/com/android/ims/internal/
H A DIImsCallSessionListener.aidl27 * A listener type for receiving notification on IMS call session events.
34 * Notifies the result of the basic session operation (setup / terminate).
36 void callSessionProgressing(in IImsCallSession session, in ImsStreamMediaProfile profile);
37 void callSessionStarted(in IImsCallSession session, in ImsCallProfile profile);
38 void callSessionStartFailed(in IImsCallSession session, in ImsReasonInfo reasonInfo);
39 void callSessionTerminated(in IImsCallSession session, in ImsReasonInfo reasonInfo);
44 void callSessionHeld(in IImsCallSession session, in ImsCallProfile profile);
45 void callSessionHoldFailed(in IImsCallSession session, in ImsReasonInfo reasonInfo);
46 void callSessionHoldReceived(in IImsCallSession session, in ImsCallProfile profile);
47 void callSessionResumed(in IImsCallSession session, i
[all...]
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp89 preproc_session_t *session; // session the effect is on member in struct:preproc_effect_s
101 struct preproc_effect_s effects[PREPROC_NUM_EFFECTS]; // effects in this session
103 int id; // audio session ID
104 int io; // handle of input stream this session is on
282 webrtc::GainControl *agc = effect->session->apm->gain_control();
445 webrtc::EchoControlMobile *aec = effect->session->apm->echo_control_mobile();
470 *(uint32_t *)pValue = 1000 * effect->session->apm->stream_delay_ms();
490 status = effect->session->apm->set_stream_delay_ms(value/1000);
573 effect->session
780 Effect_Create(preproc_effect_t *effect, preproc_session_t *session, effect_handle_t *interface) argument
804 Session_Init(preproc_session_t *session) argument
821 Session_CreateEffect(preproc_session_t *session, int32_t procId, effect_handle_t *interface) argument
896 Session_ReleaseEffect(preproc_session_t *session, preproc_effect_t *fx) argument
934 Session_SetConfig(preproc_session_t *session, effect_config_t *config) argument
1050 Session_GetConfig(preproc_session_t *session, effect_config_t *config) argument
1062 Session_SetReverseConfig(preproc_session_t *session, effect_config_t *config) argument
1100 Session_GetReverseConfig(preproc_session_t *session, effect_config_t *config) argument
1111 Session_SetProcEnabled(preproc_session_t *session, uint32_t procId, bool enabled) argument
1219 preproc_session_t * session = (preproc_session_t *)effect->session; local
1786 preproc_session_t * session = (preproc_session_t *)effect->session; local
1900 preproc_session_t *session; local
[all...]
/frameworks/support/media-compat/api22/android/support/v4/media/session/
H A DMediaSessionCompatApi22.java16 package android.support.v4.media.session;
18 import android.media.session.MediaSession;
/frameworks/av/include/camera/ndk/
H A DNdkCameraCaptureSession.h54 * The definition of camera capture session state callback.
58 * @param session The camera capture session whose state is changing.
60 typedef void (*ACameraCaptureSession_stateCallback)(void* context, ACameraCaptureSession *session);
67 * This callback is called when the session is closed and deleted from memory.
69 * <p>A session is closed when {@link ACameraCaptureSession_close} is called, a new session
80 * This callback is called every time the session has no more capture requests to process.
82 * <p>This callback will be invoked any time the session finishes processing
88 * This callback is called when the session start
[all...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxSessionManager.java87 // Save the session
88 Session session = mSessions.get(mKey);
89 if (session != null) {
90 synchronized(session) {
91 if (session.learner != learner) {
94 session.modified = true;
120 // found session in the storage, put in the cache
125 // if session is not already stored, create a new one.
126 Log.i(TAG, "create a new learning session: " + key.value);
131 Session session
[all...]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipSessionListenerProxy.java47 public void onCalling(final ISipSession session) { argument
53 mListener.onCalling(session);
62 public void onRinging(final ISipSession session, final SipProfile caller, argument
69 mListener.onRinging(session, caller, sessionDescription);
78 public void onRingingBack(final ISipSession session) { argument
84 mListener.onRingingBack(session);
93 public void onCallEstablished(final ISipSession session, argument
100 mListener.onCallEstablished(session, sessionDescription);
109 public void onCallEnded(final ISipSession session) { argument
115 mListener.onCallEnded(session);
140 onCallBusy(final ISipSession session) argument
155 onCallChangeFailed(final ISipSession session, final int errorCode, final String message) argument
171 onError(final ISipSession session, final int errorCode, final String message) argument
187 onRegistering(final ISipSession session) argument
202 onRegistrationDone(final ISipSession session, final int duration) argument
218 onRegistrationFailed(final ISipSession session, final int errorCode, final String message) argument
234 onRegistrationTimeout(final ISipSession session) argument
[all...]
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
H A DCamera2CaptureCallbackForwarder.java41 public void onCaptureCompleted(final CameraCaptureSession session, final CaptureRequest request, argument
46 mListener.onCaptureCompleted(session, request, result);
51 public void onCaptureFailed(final CameraCaptureSession session, final CaptureRequest request, argument
56 mListener.onCaptureFailed(session, request, failure);
61 public void onCaptureProgressed(final CameraCaptureSession session, argument
67 mListener.onCaptureProgressed(session, request, partialResult);
72 public void onCaptureSequenceAborted(final CameraCaptureSession session, final int sequenceId) { argument
76 mListener.onCaptureSequenceAborted(session, sequenceId);
81 public void onCaptureSequenceCompleted(final CameraCaptureSession session, final int sequenceId, argument
86 mListener.onCaptureSequenceCompleted(session, sequenceI
91 onCaptureStarted(final CameraCaptureSession session, final CaptureRequest request, final long timestamp, final long frameNumber) argument
[all...]
H A DCamera2CaptureCallbackSplitter.java50 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, argument
53 target.onCaptureCompleted(session, request, result);
58 public void onCaptureFailed(CameraCaptureSession session, CaptureRequest request, argument
61 target.onCaptureFailed(session, request, failure);
66 public void onCaptureProgressed(CameraCaptureSession session, CaptureRequest request, argument
69 target.onCaptureProgressed(session, request, partialResult);
74 public void onCaptureSequenceAborted(CameraCaptureSession session, int sequenceId) { argument
76 target.onCaptureSequenceAborted(session, sequenceId);
81 public void onCaptureSequenceCompleted(CameraCaptureSession session, int sequenceId, argument
84 target.onCaptureSequenceCompleted(session, sequenceI
89 onCaptureStarted(CameraCaptureSession session, CaptureRequest request, long timestamp, long frameNumber) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraCaptureSession.java29 * A configured capture session for a {@link CameraDevice}, used for capturing images from the
30 * camera or reprocessing images captured from the camera in the same session previously.
36 * reprocessable capture session. Once created, the session is active until a new session is
40 * capture sessions can reprocess images captured from the camera in the same session previously.
43 * <p>Creating a session is an expensive operation and can take several hundred milliseconds, since
52 * session will not become active.</p>
54 * <p>Any capture requests (repeating or non-repeating) submitted before the session is ready will
55 * be queued up and will begin capture once the session become
677 onConfigured(@onNull CameraCaptureSession session) argument
692 onConfigureFailed(@onNull CameraCaptureSession session) argument
707 onReady(@onNull CameraCaptureSession session) argument
723 onActive(@onNull CameraCaptureSession session) argument
741 onClosed(@onNull CameraCaptureSession session) argument
760 onSurfacePrepared(@onNull CameraCaptureSession session, @NonNull Surface surface) argument
836 onCaptureStarted(@onNull CameraCaptureSession session, @NonNull CaptureRequest request, long timestamp, long frameNumber) argument
846 onCaptureStarted(CameraCaptureSession session, CaptureRequest request, long timestamp) argument
876 onCapturePartial(CameraCaptureSession session, CaptureRequest request, CaptureResult result) argument
920 onCaptureProgressed(@onNull CameraCaptureSession session, @NonNull CaptureRequest request, @NonNull CaptureResult partialResult) argument
949 onCaptureCompleted(@onNull CameraCaptureSession session, @NonNull CaptureRequest request, @NonNull TotalCaptureResult result) argument
978 onCaptureFailed(@onNull CameraCaptureSession session, @NonNull CaptureRequest request, @NonNull CaptureFailure failure) argument
1008 onCaptureSequenceCompleted(@onNull CameraCaptureSession session, int sequenceId, long frameNumber) argument
1037 onCaptureSequenceAborted(@onNull CameraCaptureSession session, int sequenceId) argument
1061 onCaptureBufferLost(@onNull CameraCaptureSession session, @NonNull CaptureRequest request, @NonNull Surface target, long frameNumber) argument
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DDrmPlugin.cpp33 sp<Session> session = mSessionLibrary->createSession(); local
34 sessionId = session->sessionId();
39 sp<Session> session = mSessionLibrary->findSession(sessionId); local
40 if (session.get()) {
41 mSessionLibrary->destroySession(session);
61 sp<Session> session = mSessionLibrary->findSession(scope); local
62 if (!session.get()) {
65 return session->getKeyRequest(initData, mimeType, &request);
72 sp<Session> session = mSessionLibrary->findSession(scope); local
73 if (!session
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DSessionRoute.h40 SessionRoute(audio_session_t session, argument
46 mSession(session),
93 bool hasRoute(audio_session_t session);
95 void removeRoute(audio_session_t session);
97 int incRouteActivity(audio_session_t session);
98 int decRouteActivity(audio_session_t session);
99 bool hasRouteChanged(audio_session_t session); // also clears the changed flag
106 void addRoute(audio_session_t session,

Completed in 5737 milliseconds

1234567891011>>