Searched defs:session (Results 1 - 25 of 57) sorted by path

123

/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp71 DecodeSession *session = (DecodeSession*) decodeSessionMap.getValueAt(i); local
72 FwdLockFile_detach(session->fileDesc);
73 ::close(session->fileDesc);
560 DecodeSession* session = decodeSessionMap.getValue(decryptHandle->decryptId); local
561 if (NULL != session && session->fileDesc > -1) {
562 FwdLockFile_detach(session->fileDesc);
563 ::close(session->fileDesc);
626 DecodeSession* session = decodeSessionMap.getValue(decryptHandle->decryptId); local
627 if (NULL != session
651 DecodeSession* session = decodeSessionMap.getValue(decryptHandle->decryptId); local
[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
1854 preproc_session_t *session; local
[all...]
/frameworks/av/media/libmedia/
H A DAudioSystem.cpp601 int session)
605 return aps->startOutput(output, stream, session);
610 int session)
614 return aps->stopOutput(output, stream, session);
707 int session,
712 return aps->registerEffect(desc, io, strategy, session, id);
599 startOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument
608 stopOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument
704 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
H A DIAudioFlinger.cpp672 virtual status_t moveEffects(int session, audio_io_handle_t srcOutput, argument
677 data.writeInt32(session);
1056 int session = data.readInt32(); local
1059 reply->writeInt32(moveEffects(session, srcOutput, dstOutput));
H A DIAudioPolicyService.cpp143 int session)
149 data.writeInt32(session);
156 int session)
162 data.writeInt32(session);
290 int session,
298 data.writeInt32(session);
445 int session = data.readInt32(); local
448 session)));
456 int session = data.readInt32(); local
459 session)));
141 startOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument
154 stopOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument
287 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
572 int session = data.readInt32(); local
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A Drtp_test.cpp79 sp<ARTPSession> session = new ARTPSession; local
80 looper->registerHandler(session);
166 CHECK_EQ(session->setup(desc), (status_t)OK);
178 CHECK_EQ(session->countTracks(), 1u);
179 sp<MediaSource> source = session->trackAt(0);
/frameworks/av/media/libstagefright/wifi-display/
H A DANetworkSession.cpp42 NetworkThread(ANetworkSession *session);
112 ANetworkSession::NetworkThread::NetworkThread(ANetworkSession *session) argument
113 : mSession(session) {
713 sp<Session> session; local
861 session = new Session(
868 session->setIsRTSPConnection(false);
870 session->setIsRTSPConnection(true);
873 mSessions.add(session->sessionID(), session);
877 *sessionID = session
899 const sp<Session> session = mSessions.valueAt(index); local
937 const sp<Session> session = mSessions.valueAt(index); local
971 const sp<Session> &session = mSessions.valueAt(i); local
1030 const sp<Session> &session = mSessions.valueAt(i); local
1108 sp<Session> session = *sessionsToAdd.begin(); local
[all...]
H A Dwfd.cpp106 sp<ANetworkSession> session = new ANetworkSession; local
107 session->start();
111 sp<WifiDisplaySink> sink = new WifiDisplaySink(session);
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp328 result.append("Global session refs:\n");
329 result.append(" session pid count\n");
483 // check if an effect chain with the same session ID is present on another
497 // if no audio session id is provided, create one here
508 // move effect chain to this output thread if an effect on same session was waiting
516 // Look for sync events awaiting for a session to be used.
890 // collect all of the thread's session IDs
892 // suspend effects associated with those session IDs
1088 ALOGV(" removing entry for pid %d session %d", pid, ref->mSessionid);
1501 ALOGV("updateSuspendedSessions_l() restore removing session
7986 int session = chain->sessionId(); local
8048 int session = chain->sessionId(); local
[all...]
H A DAudioPolicyService.cpp235 int session)
242 return mpAudioPolicy->start_output(mpAudioPolicy, output, stream, session);
247 int session)
254 return mpAudioPolicy->stop_output(mpAudioPolicy, output, stream, session);
452 int session,
458 return mpAudioPolicy->register_effect(mpAudioPolicy, desc, io, strategy, session, id);
1484 static int aps_move_effects(void *service, int session, argument
1492 return af->moveEffects(session, src_output, dst_output);
233 startOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument
245 stopOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument
449 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
H A DAudioPolicyService.h72 int session = 0);
75 int session = 0);
102 int session,
281 InputDesc(int session) : mSessionId(session) {} argument
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp84 sp<SurfaceComposerClient> BootAnimation::session() const { function in class:android::BootAnimation
228 sp<SurfaceControl> control = session()->createSurface(String8("BootAnimation"),
/frameworks/base/core/java/android/inputmethodservice/
H A DAbstractInputMethodService.java58 * Instantiate a new client session for the input method, by calling
67 * Take care of enabling or disabling an existing session by calling its
71 public void setSessionEnabled(InputMethodSession session, boolean enabled) { argument
72 ((AbstractInputMethodSessionImpl)session).setEnabled(enabled);
76 * Take care of killing an existing session by calling its
80 public void revokeSession(InputMethodSession session) { argument
81 ((AbstractInputMethodSessionImpl)session).revokeSelf();
87 * interface. This takes care of basic maintenance of the session,
95 * Check whether this session has been enabled by the system. If not
103 * Check whether this session ha
[all...]
H A DIInputMethodWrapper.java88 public void sessionCreated(InputMethodSession session) { argument
90 if (session != null) {
92 new IInputMethodSessionWrapper(mContext, session);
255 public void setSessionEnabled(IInputMethodSession session, boolean enabled) { argument
258 session).getInternalInputMethodSession();
262 Log.w(TAG, "Incoming session not of correct type: " + session, e);
266 public void revokeSession(IInputMethodSession session) { argument
269 session).getInternalInputMethodSession();
272 Log.w(TAG, "Incoming session no
[all...]
/frameworks/base/core/java/android/net/
H A DTrafficStats.java103 * session started, or {@code null} if no session active.
183 * Start profiling data usage for current UID. Only one profiling session
250 public static void closeQuietly(INetworkStatsSession session) { argument
252 if (session != null) {
254 session.close();
H A DVpnService.java264 * Set the name of this session. It will be displayed in
268 public Builder setSession(String session) { argument
269 mConfig.session = session;
/frameworks/base/core/java/android/service/textservice/
H A DSpellCheckerService.java49 * {@link #createSession()} to provide a spell checker session that is corresponding
50 * to requested language and so on. The spell checker session returned by this method
91 * Factory method to create a spell checker session impl
106 public final void setInternalISpellCheckerSession(InternalISpellCheckerSession session) { argument
107 mInternalSession = session;
214 * Request to close this session.
222 * @return Locale for this session
229 * @return Bundle for this session
244 Bundle bundle, Session session) {
246 mSession = session;
243 InternalISpellCheckerSession(String locale, ISpellCheckerSessionListener listener, Bundle bundle, Session session) argument
[all...]
/frameworks/base/core/java/android/view/
H A DSurface.java228 private native void nativeCreate(SurfaceSession session, String name, argument
303 * @param session The surface session, must not be null.
311 public Surface(SurfaceSession session, argument
314 if (session == null) {
315 throw new IllegalArgumentException("session must not be null");
333 nativeCreate(session, name, w, h, format, flags);
H A DView.java11905 * Retrieve private session object this view hierarchy is using to
11907 * @return the session object to communicate with the window manager
17941 AttachInfo(IWindowSession session, IWindow window, Display display, argument
17943 mSession = session;
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethod.java77 public void sessionCreated(InputMethodSession session); argument
82 * unique token for the session it has with the system service. It is
153 * use {@link #revokeSession(InputMethodSession)} to destroy the session
156 * @param callback Interface that is called with the newly created session.
161 * Control whether a particular input method session is active.
163 * @param session The {@link InputMethodSession} previously provided through
166 public void setSessionEnabled(InputMethodSession session, boolean enabled); argument
169 * Disable and destroy a session that was previously created with
171 * After this call, the given session interface is no longer active and
174 * @param session Th
177 revokeSession(InputMethodSession session) argument
[all...]
/frameworks/base/core/java/android/view/textservice/
H A DSpellCheckerSession.java142 * @return true if the connection to a text service of this session is disconnected and not
150 * Get the spell checker service info this spell checker session has.
165 * Finish this session and allow TextServicesManagerService to disconnect the bound spell
258 private void processTask(ISpellCheckerSession session, SpellCheckerParams scp, argument
267 session.onCancel();
277 session.onGetSuggestionsMultiple(scp.mTextInfos,
288 session.onGetSentenceSuggestionsMultiple(
299 session.onClose();
308 scp.mSession = session;
327 public synchronized void onServiceConnected(ISpellCheckerSession session) { argument
465 onServiceConnected(ISpellCheckerSession session) argument
[all...]
/frameworks/base/core/java/com/android/internal/net/
H A DVpnConfig.java62 public String session; field in class:VpnConfig
81 out.writeString(session);
99 config.session = in.readString();
/frameworks/base/core/java/com/android/internal/view/
H A DBaseIWindow.java32 public void setSession(IWindowSession session) { argument
33 mSession = session;
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_api.c33 * The header pointer for the session list.
38 * New a session.
59 * Free a session.
79 * Add a session to list.
93 * Get a session from the list.
111 * Remove a session from the list.
774 case TYPE_DRM_CONTENT: /* DCF should not using "SVC_drm_installRights", it should be used to open a session. */
796 int32_t session; local
1053 case TYPE_DRM_RIGHTS_XML: /* rights object should using "SVC_drm_installRights", it can not open a session */
1054 case TYPE_DRM_RIGHTS_WBXML: /* rights object should using "SVC_drm_installRights", it can not open a session */
1086 SVC_drm_getDeliveryMethod(int32_t session) argument
1101 SVC_drm_getContentType(int32_t session, uint8_t* mediaType) argument
1118 SVC_drm_checkRights(int32_t session, int32_t permission) argument
1199 SVC_drm_consumeRights(int32_t session, int32_t permission) argument
1228 SVC_drm_getContentLength(int32_t session) argument
1696 SVC_drm_getContent(int32_t session, int32_t offset, uint8_t* mediaBuf, int32_t mediaBufLen) argument
1731 SVC_drm_getRightsIssuer(int32_t session, uint8_t* rightsIssuer) argument
1751 SVC_drm_getRightsInfo(int32_t session, T_DRM_Rights_Info* rights) argument
1803 SVC_drm_closeSession(int32_t session) argument
[all...]
H A Ddrm_file.c224 int32_t* session,
266 *session = (int32_t)dir;
278 int32_t *session, int32_t* iteration)
297 while ( (ent = readdir((DIR *)*session)) != NULL)
357 DRM_file_listClose(int32_t session, int32_t iteration) argument
359 closedir( (DIR *)session);
222 DRM_file_listOpen(const uint16_t *prefix, int32_t prefixLen, int32_t* session, int32_t* iteration) argument
276 DRM_file_listNextEntry(const uint16_t *prefix, int32_t prefixLen, uint16_t* entry, int32_t entrySize, int32_t *session, int32_t* iteration) argument

Completed in 326 milliseconds

123