Searched refs:session (Results 1 - 25 of 349) 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, const 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/base/telephony/java/android/telephony/ims/stub/
H A DImsCallSessionListenerImplBase.java39 * Notifies the result of the basic session operation (setup / terminate).
42 public void callSessionProgressing(IImsCallSession session, ImsStreamMediaProfile profile) { argument
47 public void callSessionStarted(IImsCallSession session, ImsCallProfile profile) { argument
52 public void callSessionStartFailed(IImsCallSession session, ImsReasonInfo reasonInfo) { argument
57 public void callSessionTerminated(IImsCallSession session, ImsReasonInfo reasonInfo) { argument
65 public void callSessionHeld(IImsCallSession session, ImsCallProfile profile) { argument
70 public void callSessionHoldFailed(IImsCallSession session, ImsReasonInfo reasonInfo) { argument
75 public void callSessionHoldReceived(IImsCallSession session, ImsCallProfile profile) { argument
80 public void callSessionResumed(IImsCallSession session, ImsCallProfile profile) { argument
85 public void callSessionResumeFailed(IImsCallSession session, ImsReasonInf argument
90 callSessionResumeReceived(IImsCallSession session, ImsCallProfile profile) argument
98 callSessionMergeStarted(IImsCallSession session, IImsCallSession newSession, ImsCallProfile profile) argument
104 callSessionMergeComplete(IImsCallSession session) argument
109 callSessionMergeFailed(IImsCallSession session, ImsReasonInfo reasonInfo) argument
118 callSessionUpdated(IImsCallSession session, ImsCallProfile profile) argument
123 callSessionUpdateFailed(IImsCallSession session, ImsReasonInfo reasonInfo) argument
128 callSessionUpdateReceived(IImsCallSession session, ImsCallProfile profile) argument
136 callSessionConferenceExtended(IImsCallSession session, IImsCallSession newSession, ImsCallProfile profile) argument
142 callSessionConferenceExtendFailed(IImsCallSession session, ImsReasonInfo reasonInfo) argument
148 callSessionConferenceExtendReceived(IImsCallSession session, IImsCallSession newSession, ImsCallProfile profile) argument
159 callSessionInviteParticipantsRequestDelivered(IImsCallSession session) argument
164 callSessionInviteParticipantsRequestFailed(IImsCallSession session, ImsReasonInfo reasonInfo) argument
170 callSessionRemoveParticipantsRequestDelivered(IImsCallSession session) argument
175 callSessionRemoveParticipantsRequestFailed(IImsCallSession session, ImsReasonInfo reasonInfo) argument
184 callSessionConferenceStateUpdated(IImsCallSession session, ImsConferenceState state) argument
193 callSessionUssdMessageReceived(IImsCallSession session, int mode, String ussdMessage) argument
202 callSessionHandover(IImsCallSession session, int srcAccessTech, int targetAccessTech, ImsReasonInfo reasonInfo) argument
209 callSessionHandoverFailed(IImsCallSession session, int srcAccessTech, int targetAccessTech, ImsReasonInfo reasonInfo) argument
225 callSessionTtyModeReceived(IImsCallSession session, int mode) argument
238 callSessionMultipartyStateChanged(IImsCallSession session, boolean isMultiParty) argument
246 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);
574 effect->session
781 Effect_Create(preproc_effect_t *effect, preproc_session_t *session, effect_handle_t *interface) argument
805 Session_Init(preproc_session_t *session) argument
822 Session_CreateEffect(preproc_session_t *session, int32_t procId, effect_handle_t *interface) argument
897 Session_ReleaseEffect(preproc_session_t *session, preproc_effect_t *fx) argument
935 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
1217 preproc_session_t * session = (preproc_session_t *)effect->session; local
1781 preproc_session_t * session = (preproc_session_t *)effect->session; local
1895 preproc_session_t *session; local
[all...]
/frameworks/base/wifi/java/android/net/wifi/aware/
H A DAttachCallback.java31 * @param session The Aware object on which we can execute further Aware operations - e.g.
34 public void onAttached(WifiAwareSession session) { argument
/frameworks/av/camera/include/camera/ndk/
H A DNdkCameraCaptureSession.h56 * The definition of camera capture session state callback.
60 * @param session The camera capture session whose state is changing.
62 typedef void (*ACameraCaptureSession_stateCallback)(void* context, ACameraCaptureSession *session);
69 * This callback is called when the session is closed and deleted from memory.
71 * <p>A session is closed when {@link ACameraCaptureSession_close} is called, a new session
82 * This callback is called every time the session has no more capture requests to process.
84 * <p>This callback will be invoked any time the session finishes processing
90 * This callback is called when the session start
[all...]
/frameworks/av/include/camera/ndk/
H A DNdkCameraCaptureSession.h56 * The definition of camera capture session state callback.
60 * @param session The camera capture session whose state is changing.
62 typedef void (*ACameraCaptureSession_stateCallback)(void* context, ACameraCaptureSession *session);
69 * This callback is called when the session is closed and deleted from memory.
71 * <p>A session is closed when {@link ACameraCaptureSession_close} is called, a new session
82 * This callback is called every time the session has no more capture requests to process.
84 * <p>This callback will be invoked any time the session finishes processing
90 * 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
692 onConfigured(@onNull CameraCaptureSession session) argument
707 onConfigureFailed(@onNull CameraCaptureSession session) argument
722 onReady(@onNull CameraCaptureSession session) argument
738 onActive(@onNull CameraCaptureSession session) argument
768 onCaptureQueueEmpty(@onNull CameraCaptureSession session) argument
786 onClosed(@onNull CameraCaptureSession session) argument
805 onSurfacePrepared(@onNull CameraCaptureSession session, @NonNull Surface surface) argument
874 onCaptureStarted(@onNull CameraCaptureSession session, @NonNull CaptureRequest request, long timestamp, long frameNumber) argument
904 onCapturePartial(CameraCaptureSession session, CaptureRequest request, CaptureResult result) argument
948 onCaptureProgressed(@onNull CameraCaptureSession session, @NonNull CaptureRequest request, @NonNull CaptureResult partialResult) argument
977 onCaptureCompleted(@onNull CameraCaptureSession session, @NonNull CaptureRequest request, @NonNull TotalCaptureResult result) argument
1006 onCaptureFailed(@onNull CameraCaptureSession session, @NonNull CaptureRequest request, @NonNull CaptureFailure failure) argument
1036 onCaptureSequenceCompleted(@onNull CameraCaptureSession session, int sequenceId, long frameNumber) argument
1065 onCaptureSequenceAborted(@onNull CameraCaptureSession session, int sequenceId) argument
1089 onCaptureBufferLost(@onNull CameraCaptureSession session, @NonNull CaptureRequest request, @NonNull Surface target, long frameNumber) argument
[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 6490 milliseconds

1234567891011>>