Searched defs:session (Results 101 - 125 of 132) sorted by relevance

123456

/frameworks/av/media/ndk/
H A DNdkMediaDrm.cpp246 Vector<uint8_t> session; local
247 status_t status = mObj->mDrm->openSession(session);
249 mObj->mIds.push_front(session);
/frameworks/base/core/java/android/content/pm/
H A DPackageInstaller.java58 * {@link PackageInstaller.Session}, which any app can create. Once the session
60 * decides to either commit or destroy the session. Committing may require user
81 * Activity Action: Show details about a particular install session. This
85 * session. Clients should use {@link SessionInfo#createDetailsIntent()} to
91 * The session to show details for is defined in {@link #EXTRA_SESSION_ID}.
101 * An integer session ID that an operation is working with.
206 * user actively declined requested permissions, or the session was
278 * Create a new session using the given parameters, returning a unique ID
279 * that represents the session. Once created, the session ca
659 Session(IPackageInstallerSession session) argument
[all...]
/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionSession.java57 * An active interaction session, started by a {@link VoiceInteractionService}.
179 VoiceInteractionSession session = mSession.get();
180 if (session != null) {
181 session.mHandlerCaller.sendMessage(
182 session.mHandlerCaller.obtainMessageO(MSG_CANCEL, Request.this));
189 Request(IVoiceInteractorCallback callback, VoiceInteractionSession session) { argument
191 mSession = session.mWeakRef;
195 VoiceInteractionSession session = mSession.get();
196 if (session == null) {
199 Request req = session
[all...]
/frameworks/base/core/java/android/view/
H A DSurfaceControl.java34 private static native long nativeCreate(SurfaceSession session, String name, argument
258 * @param session The surface session, must not be null.
267 public SurfaceControl(SurfaceSession session, argument
270 if (session == null) {
271 throw new IllegalArgumentException("session must not be null");
287 mNativeObject = nativeCreate(session, name, w, h, format, flags);
/frameworks/base/media/java/android/media/session/
H A DMediaController.java17 package android.media.session;
45 * Allows an app to interact with an ongoing media session. Media buttons and
46 * other commands can be sent to the session. A callback may be registered to
47 * receive updates from the session, such as metadata and play state changes.
52 * directly from the session owner.
102 * Create a new MediaController from a session's token.
105 * @param token The token for the session.
113 * the associated session.
122 * Send the specified media button event to the session. Only media keys can
126 * @return true if the event was sent to the session, fals
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvView.java255 * Sets the relative stream volume of this session to handle a change of audio focus.
304 // session is made.
440 Log.w(TAG, "sendAppPrivateCommand - session not created (action " + action + " cached)");
553 // Set main again to regain main session.
879 public void onSessionCreated(Session session) { argument
884 Log.w(TAG, "onSessionCreated - session already created");
886 if (session != null) {
887 session.release();
891 mSession = session;
892 if (session !
930 onSessionReleased(Session session) argument
948 onChannelRetuned(Session session, Uri channelUri) argument
962 onTracksChanged(Session session, List<TvTrackInfo> tracks) argument
976 onTrackSelected(Session session, int type, String trackId) argument
990 onVideoSizeChanged(Session session, int width, int height) argument
1004 onVideoAvailable(Session session) argument
1018 onVideoUnavailable(Session session, int reason) argument
1032 onContentAllowed(Session session) argument
1046 onContentBlocked(Session session, TvContentRating rating) argument
1060 onLayoutSurface(Session session, int left, int top, int right, int bottom) argument
1078 onSessionEvent(Session session, String eventType, Bundle eventArgs) argument
[all...]
H A DTvInputManager.java181 // A mapping from the sequence number of a session to its SessionCallbackRecord.
185 // A sequence number for the next session to be created. Should be protected by a lock
196 * Interface used to receive the created session.
204 * @param session A {@link TvInputManager.Session} instance created. This can be
207 public void onSessionCreated(Session session) { argument
212 * This typically happens when the process hosting the session has crashed or been killed.
214 * @param session A {@link TvInputManager.Session} instance released.
216 public void onSessionReleased(Session session) { argument
220 * This is called when the channel of this session is changed by the underlying TV input
223 * @param session
226 onChannelRetuned(Session session, Uri channelUri) argument
235 onTracksChanged(Session session, List<TvTrackInfo> tracks) argument
248 onTrackSelected(Session session, int type, String trackId) argument
260 onVideoSizeChanged(Session session, int width, int height) argument
268 onVideoAvailable(Session session) argument
283 onVideoUnavailable(Session session, int reason) argument
292 onContentAllowed(Session session) argument
302 onContentBlocked(Session session, TvContentRating rating) argument
317 onLayoutSurface(Session session, int left, int top, int right, int bottom) argument
329 onSessionEvent(Session session, String eventType, Bundle eventArgs) argument
344 postSessionCreated(final Session session) argument
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DWifiDisplayController.java742 int width, int height, int flags, int session) {
751 getSessionInfo(mConnectedDeviceGroupInfo, session));
788 private WifiDisplaySessionInfo getSessionInfo(WifiP2pGroup info, int session) { argument
795 session,
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionService.java37 import android.media.session.IActiveSessionsListener;
38 import android.media.session.ISession;
39 import android.media.session.ISessionCallback;
40 import android.media.session.ISessionManager;
41 import android.media.session.MediaController.PlaybackInfo;
42 import android.media.session.MediaSession;
43 import android.media.session.MediaSessionManager;
138 Log.d(TAG, "Unknown session updated. Ignoring.");
147 * Tells the system UI that volume has changed on a remote session.
149 public void notifyRemoteVolumeChanged(int flags, MediaSessionRecord session) { argument
218 sessionDied(MediaSessionRecord session) argument
224 destroySession(MediaSessionRecord session) argument
290 destroySessionLocked(MediaSessionRecord session) argument
539 addSessionLocked(MediaSessionRecord session) argument
543 removeSessionLocked(MediaSessionRecord session) argument
826 dispatchAdjustVolumeLocked(int suggestedStream, int direction, int flags, MediaSessionRecord session) argument
884 handleVoiceKeyEventLocked(KeyEvent keyEvent, boolean needWakeLock, MediaSessionRecord session) argument
914 dispatchMediaKeyEventLocked(KeyEvent keyEvent, boolean needWakeLock, MediaSessionRecord session) argument
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerService.java114 private static final String TAG_SESSION = "session";
167 * Used for generating session IDs. Since this is created at boot time,
219 final PackageInstallerSession session = mSessions.valueAt(i);
220 unclaimedStages.remove(session.stageDir);
221 unclaimedIcons.remove(buildAppIconFile(session.sessionId));
252 final PackageInstallerSession session = mSessions.valueAt(i);
253 final String cid = session.stageCid;
256 // Claimed by active session, mount it
317 final PackageInstallerSession session = readSessionLocked(in);
318 final long age = System.currentTimeMillis() - session
420 writeSessionLocked(XmlSerializer out, PackageInstallerSession session) argument
804 isCallingUidOwner(PackageInstallerSession session) argument
1017 onSessionBadgingChanged(PackageInstallerSession session) argument
1022 onSessionActiveChanged(PackageInstallerSession session, boolean active) argument
1026 onSessionProgressChanged(PackageInstallerSession session, float progress) argument
1030 onSessionFinished(final PackageInstallerSession session, boolean success) argument
1051 onSessionPrepared(PackageInstallerSession session) argument
1057 onSessionSealedBlocking(PackageInstallerSession session) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java117 * Class implementing the render session.
119 * A session is a stateful representation of a layout file. It is initialized with data coming
1695 public void setScene(RenderSession session) { argument
1696 mScene = session;
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipService.java85 // session ID --> session
386 private synchronized void addPendingSession(ISipSession session) { argument
389 mPendingSessions.put(session.getCallId(), session);
548 SipSessionGroup.SipSessionImpl session =
552 if (!isRegistered() || callingSelf(this, session)) {
554 session.endCall();
559 addPendingSession(session);
561 session
575 onError(ISipSession session, int errorCode, String message) argument
993 onRegistering(ISipSession session) argument
1003 notCurrentSession(ISipSession session) argument
1013 onRegistrationDone(ISipSession session, int duration) argument
1050 onRegistrationFailed(ISipSession session, int errorCode, String message) argument
1075 onRegistrationTimeout(ISipSession session) argument
[all...]
H A DSipSessionGroup.java111 // session that processes INVITE requests
279 SipSessionImpl session = mSessionMap.get(key);
280 if ((session != null) && isLoggable(session)) {
287 return ((session != null) ? session : mCallReceiverSession);
302 private synchronized void removeSipSession(SipSessionImpl session) { argument
303 if (session == mCallReceiverSession) return;
304 String key = session.getCallId();
307 if ((s != null) && (s != session)) {
1575 onError(ISipSession session, int errorCode, String message) argument
[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
100 struct preproc_effect_s effects[PREPROC_NUM_EFFECTS]; // effects in this session
102 int id; // audio session ID
103 int io; // handle of input stream this session is on
281 webrtc::GainControl *agc = effect->session->apm->gain_control();
444 webrtc::EchoControlMobile *aec = effect->session->apm->echo_control_mobile();
469 *(uint32_t *)pValue = 1000 * effect->session->apm->stream_delay_ms();
489 status = effect->session->apm->set_stream_delay_ms(value/1000);
567 webrtc::NoiseSuppression *ns = effect->session
728 Effect_Create(preproc_effect_t *effect, preproc_session_t *session, effect_handle_t *interface) argument
752 Session_Init(preproc_session_t *session) argument
769 Session_CreateEffect(preproc_session_t *session, int32_t procId, effect_handle_t *interface) argument
841 Session_ReleaseEffect(preproc_session_t *session, preproc_effect_t *fx) argument
879 Session_SetConfig(preproc_session_t *session, effect_config_t *config) argument
1008 Session_GetConfig(preproc_session_t *session, effect_config_t *config) argument
1020 Session_SetReverseConfig(preproc_session_t *session, effect_config_t *config) argument
1053 Session_GetReverseConfig(preproc_session_t *session, effect_config_t *config) argument
1064 Session_SetProcEnabled(preproc_session_t *session, uint32_t procId, bool enabled) argument
1172 preproc_session_t * session = (preproc_session_t *)effect->session; local
1723 preproc_session_t * session = (preproc_session_t *)effect->session; local
1830 preproc_session_t *session; local
[all...]
/frameworks/av/media/libmedia/
H A DAudioSystem.cpp654 audio_session_t session,
664 return aps->getOutputForAttr(attr, output, session, stream,
671 audio_session_t session)
675 return aps->startOutput(output, stream, session);
680 audio_session_t session)
684 return aps->stopOutput(output, stream, session);
689 audio_session_t session)
693 aps->releaseOutput(output, stream, session);
698 audio_session_t session,
706 return aps->getInputForAttr(attr, input, session, samplingRat
652 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, audio_stream_type_t *stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
669 startOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument
678 stopOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument
687 releaseOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument
696 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_input_flags_t flags) argument
709 startInput(audio_io_handle_t input, audio_session_t session) argument
717 stopInput(audio_io_handle_t input, audio_session_t session) argument
725 releaseInput(audio_io_handle_t input, audio_session_t session) argument
782 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
938 acquireSoundTriggerSession(audio_session_t *session, audio_io_handle_t *ioHandle, audio_devices_t *device) argument
947 releaseSoundTriggerSession(audio_session_t session) argument
[all...]
H A DIAudioFlinger.cpp747 virtual status_t moveEffects(int session, audio_io_handle_t srcOutput, argument
752 data.writeInt32(session);
1263 int session = data.readInt32(); local
1266 reply->writeInt32(moveEffects(session, srcOutput, dstOutput));
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityStack.java515 if (DEBUG_TASKS) Slog.d(TAG, "Skipping " + task + ": voice session");
2612 final void finishVoiceTask(IVoiceInteractionSession session) { argument
2613 IBinder sessionBinder = session.asBinder();
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputManagerService.java407 if (state.session != null) {
409 state.session.release();
466 // Only the application that requested this session or the system can access it.
468 throw new SecurityException("Illegal access to the session with token " + sessionToken
479 ITvInputSession session = sessionState.session;
480 if (session == null) {
484 return session;
540 // Let clients know the create session requests are failed.
545 if (sessionState.session
1721 private ITvInputSession session; field in class:TvInputManagerService.SessionState
1944 onSessionCreated(ITvInputSession session, IBinder harewareSessionToken) argument
1964 addSessionTokenToClientStateLocked(ITvInputSession session) argument
[all...]
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsCall.java412 // Wrapper call session to interworking the IMS service (server).
414 // Call profile of the current session.
423 // Media session to control media (audio/video) operations for an IMS call
429 // While a merge is progressing, we bury any session termination requests
436 // termination request was made on the original session in case we need to act
513 public static boolean isSessionAlive(ImsCallSession session) { argument
514 return session != null && session.isAlive();
536 throw new ImsException("No call session",
557 throw new ImsException("No call session",
830 attachSession(ImsCallSession session) argument
855 start(ImsCallSession session, String callee) argument
882 start(ImsCallSession session, String[] participants) argument
1406 createNewCall(ImsCallSession session, ImsCallProfile profile) argument
1599 isTransientConferenceSession(ImsCallSession session) argument
1910 callSessionProgressing(ImsCallSession session, ImsStreamMediaProfile profile) argument
1939 callSessionStarted(ImsCallSession session, ImsCallProfile profile) argument
1982 callSessionStartFailed(ImsCallSession session, ImsReasonInfo reasonInfo) argument
2011 callSessionTerminated(ImsCallSession session, ImsReasonInfo reasonInfo) argument
2039 callSessionHeld(ImsCallSession session, ImsCallProfile profile) argument
2084 callSessionHoldFailed(ImsCallSession session, ImsReasonInfo reasonInfo) argument
2118 callSessionHoldReceived(ImsCallSession session, ImsCallProfile profile) argument
2147 callSessionResumed(ImsCallSession session, ImsCallProfile profile) argument
2191 callSessionResumeFailed(ImsCallSession session, ImsReasonInfo reasonInfo) argument
2219 callSessionResumeReceived(ImsCallSession session, ImsCallProfile profile) argument
2247 callSessionMergeStarted(ImsCallSession session, ImsCallSession newSession, ImsCallProfile profile) argument
2292 callSessionMergeComplete(ImsCallSession session) argument
2305 callSessionMergeFailed(ImsCallSession session, ImsReasonInfo reasonInfo) argument
2333 callSessionUpdated(ImsCallSession session, ImsCallProfile profile) argument
2362 callSessionUpdateFailed(ImsCallSession session, ImsReasonInfo reasonInfo) argument
2390 callSessionUpdateReceived(ImsCallSession session, ImsCallProfile profile) argument
2419 callSessionConferenceExtended(ImsCallSession session, ImsCallSession newSession, ImsCallProfile profile) argument
2456 callSessionConferenceExtendFailed(ImsCallSession session, ImsReasonInfo reasonInfo) argument
2486 callSessionConferenceExtendReceived(ImsCallSession session, ImsCallSession newSession, ImsCallProfile profile) argument
2522 callSessionInviteParticipantsRequestDelivered(ImsCallSession session) argument
2549 callSessionInviteParticipantsRequestFailed(ImsCallSession session, ImsReasonInfo reasonInfo) argument
2577 callSessionRemoveParticipantsRequestDelivered(ImsCallSession session) argument
2604 callSessionRemoveParticipantsRequestFailed(ImsCallSession session, ImsReasonInfo reasonInfo) argument
2632 callSessionConferenceStateUpdated(ImsCallSession session, ImsConferenceState state) argument
2648 callSessionUssdMessageReceived(ImsCallSession session, int mode, String ussdMessage) argument
2677 callSessionTtyModeReceived(ImsCallSession session, int mode) argument
[all...]
/frameworks/support/v4/java/android/support/v4/media/session/
H A DMediaSessionCompat.java18 package android.support.v4.media.session;
54 * information or handle media keys. In general an app only needs one session
58 * Once a session is created the owner of the session may pass its
59 * {@link #getSessionToken() session token} to other processes to allow them to
60 * create a {@link MediaControllerCompat} to interact with the session.
66 * to clean up the session and notify any controllers.
72 * {@link android.media.session.MediaSession} introduced after API level 4 in a
82 * Set this flag on the session to indicate that it can handle media button
88 * Set this flag on the session t
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouter.java39 import android.support.v4.media.session.MediaSessionCompat;
708 * Sets the media session to enable remote control of the volume of the
711 * session to null to clear it.
713 * @param mediaSession The {@link android.media.session.MediaSession} to
724 * Sets a compat media session to enable remote control of the volume of the
727 * Set the session to null to clear it.
2186 public void setMediaSession(Object session) { argument
2190 if (session == null) {
2193 mMediaSession = new MediaSessionRecord(session);
2198 public void setMediaSessionCompat(final MediaSessionCompat session) { argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp325 result.append("Global session refs:\n");
326 result.append(" session pid count\n");
603 // check if an effect chain with the same session ID is present on another
616 // if no audio session id is provided, create one here
629 // move effect chain to this output thread if an effect on same session was waiting
638 // Look for sync events awaiting for a session to be used.
1038 // collect all of the thread's session IDs
1040 // suspend effects associated with those session IDs
1250 ALOGV(" removing entry for pid %d session %d", pid, ref->mSessionid);
1442 // if no audio session i
2760 audio_session_t session = (audio_session_t)chain->sessionId(); local
2771 getOrphanEffectChain_l(audio_session_t session) argument
2786 audio_session_t session = (audio_session_t)effect->sessionId(); local
[all...]
H A DThreads.cpp847 ALOGV("updateSuspendedSessions_l() restore removing session %d",
872 // another session. This gives the priority to well behaved effect control panels
874 // Enabling post processing in AUDIO_SESSION_OUTPUT_STAGE session does not affect
953 ALOGV("createEffect_l() thread %p effect %s on session %d", this, desc->name, sessionId);
958 // check for existing effect chain with the requested audio session
961 // create a new chain for this session
962 ALOGV("createEffect_l() new effect chain for session %d", sessionId);
1046 // check for existing effect chain with the requested audio session
1056 // create a new chain for this session
1057 ALOGV("addEffect_l() new effect chain for session
2249 int session = chain->sessionId(); local
2318 int session = chain->sessionId(); local
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DInputMethodManagerService.java216 IInputMethodSession session; field in class:InputMethodManagerService.SessionState
224 + " session " + Integer.toHexString(
225 System.identityHashCode(session))
234 session = _session;
379 * Currently enabled session. Only touched by service thread, not
602 public void sessionCreated(IInputMethodSession session) { argument
605 mParentIMMS.onSessionCreated(mMethod, session, mChannel);
1141 final SessionState session = mCurClient.curSession;
1143 executeOrSendMessage(session.method, mCaller.obtainMessageOOO(
1144 MSG_START_INPUT, session, mCurInputContex
1343 onSessionCreated(IInputMethod method, IInputMethodSession session, InputChannel channel) argument
2464 setEnabledSessionInMainThread(SessionState session) argument
[all...]
/frameworks/base/core/java/android/app/
H A DActivityManagerNative.java275 IVoiceInteractionSession session = IVoiceInteractionSession.Stub.asInterface(
286 resolvedType, session, interactor, startFlags, profilerInfo, options, userId);
352 IVoiceInteractionSession session = IVoiceInteractionSession.Stub.asInterface(
354 finishVoiceTask(session);
2606 Intent intent, String resolvedType, IVoiceInteractionSession session,
2617 data.writeStrongBinder(session.asBinder());
2724 public void finishVoiceTask(IVoiceInteractionSession session) throws RemoteException { argument
2728 data.writeStrongBinder(session.asBinder());
2605 startVoiceActivity(String callingPackage, int callingPid, int callingUid, Intent intent, String resolvedType, IVoiceInteractionSession session, IVoiceInteractor interactor, int startFlags, ProfilerInfo profilerInfo, Bundle options, int userId) argument

Completed in 955 milliseconds

123456