Searched refs:session (Results 26 - 50 of 54) sorted by relevance

123

/frameworks/base/tests/CoreTests/android/core/
H A DDatabaseSessionCache.java49 * Base64-encoded DER value of the session.
51 private static final String SSL_CACHE_SESSION = "session";
55 * of the initial session negotiation.
150 * You must call this method to enable SSL session caching for an app.
180 public void putSessionData(SSLSession session, byte[] der) { argument
195 // Serialize native session to standard DER encoding
199 String key = session.getPeerHost() + ":" + session.getPeerPort();
214 Log.w(TAG, "Ignoring SQL exception when caching session", ex);
219 Log.d(TAG, "New SSL session "
[all...]
H A DSSLSocketTest.java993 public void putSessionData(SSLSession session, byte[] sessionData) { argument
994 String host = session.getPeerHost();
1085 public void putSessionData(SSLSession session, byte[] sessionData) { argument
1086 delegate.putSessionData(session, sessionData);
1087 ops.add("put " + session.getPeerHost());
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DMediaEqualizerTest.java326 private void getEqualizer(int session) { argument
327 if (mEqualizer == null || session != mSession) {
328 if (session != mSession && mEqualizer != null) {
333 mEqualizer = new Equalizer(0, session);
334 mSession = session;
H A DMediaPresetReverbTest.java284 // reverb will be chosen by the effect framework as we are on session 0
342 private void getReverb(int session) { argument
343 if (mReverb == null || session != mSession) {
344 if (session != mSession && mReverb != null) {
349 mReverb = new PresetReverb(0, session);
350 mSession = session;
H A DMediaEnvReverbTest.java438 // auxiliary reverb will be chosen by the effect framework as we are on session 0
497 private void getReverb(int session) { argument
498 if (mReverb == null || session != mSession) {
499 if (session != mSession && mReverb != null) {
504 mReverb = new EnvironmentalReverb(0, session);
505 mSession = session;
H A DMediaVisualizerTest.java418 private void getVisualizer(int session) { argument
419 if (mVisualizer == null || session != mSession) {
420 if (session != mSession && mVisualizer != null) {
425 mVisualizer = new Visualizer(session);
426 mSession = session;
/frameworks/base/media/libdrm/mobile1/src/objmng/
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
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...]
/frameworks/base/voip/java/com/android/server/sip/
H A DSipSessionGroup.java106 // session that processes INVITE requests
241 SipSessionImpl session = mSessionMap.get(key);
242 if ((session != null) && isLoggable(session)) {
243 Log.d(TAG, "session key from event: " + key);
249 return ((session != null) ? session : mCallReceiverSession);
257 Log.d(TAG, "+++ add a session with key: '" + key + "'");
264 private synchronized void removeSipSession(SipSessionImpl session) { argument
265 if (session
[all...]
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h46 sp<SurfaceComposerClient> session() const;
H A DBootAnimation.cpp72 sp<SurfaceComposerClient> BootAnimation::session() const { function in class:android::BootAnimation
203 status_t status = session()->getDisplayInfo(0, &dinfo);
208 sp<SurfaceControl> control = session()->createSurface(
210 session()->openTransaction();
212 session()->closeTransaction();
/frameworks/base/core/java/android/net/
H A DSSLCertificateSocketFactory.java59 * <li>Optional SSL session caching with {@link SSLSessionCache}
130 * and SSL session cache.
143 * disabled, using an optional handshake timeout and SSL session cache.
201 SSLSession session = ssl.getSession();
202 if (session == null) {
203 throw new SSLException("Cannot verify SSL socket without session");
205 if (!HOSTNAME_VERIFIER.verify(hostname, session)) {
/frameworks/base/media/java/android/media/
H A DAudioTrack.java214 * Audio session ID
270 * Class constructor with audio session. Use this constructor when the AudioTrack must be
271 * attached to a particular audio session. The primary use of the audio session ID is to
272 * associate audio effects to a particular instance of AudioTrack: if an audio session ID
274 * and media players in the same session and not to the output mix.
275 * When an AudioTrack is created without specifying a session, it will create its own session
277 * If a session ID is provided, this AudioTrack will share effects attached to this session
[all...]
/frameworks/base/services/audioflinger/
H A DAudioPolicyService.cpp231 int session)
238 return mpPolicyManager->startOutput(output, stream, session);
243 int session)
250 return mpPolicyManager->stopOutput(output, stream, session);
369 int session,
375 return mpPolicyManager->registerEffect(desc, output, strategy, session, id);
585 status_t AudioPolicyService::moveEffects(int session, audio_io_handle_t srcOutput, argument
591 return af->moveEffects(session, (int)srcOutput, (int)dstOutput);
229 startOutput(audio_io_handle_t output, AudioSystem::stream_type stream, int session) argument
241 stopOutput(audio_io_handle_t output, AudioSystem::stream_type stream, int session) argument
366 registerEffect(effect_descriptor_t *desc, audio_io_handle_t output, uint32_t strategy, int session, int id) argument
H A DAudioPolicyManagerBase.cpp546 int session)
548 LOGV("startOutput() output %d, stream %d, session %d", output, stream, session);
584 int session)
586 LOGV("stopOutput() output %d, stream %d, session %d", output, stream, session);
848 int session,
869 LOGV("registerEffect() effect %s, output %d, strategy %d session %d id %d",
870 desc->name, output, strategy, session, id);
879 pDesc->mSession = session;
544 startOutput(audio_io_handle_t output, AudioSystem::stream_type stream, int session) argument
582 stopOutput(audio_io_handle_t output, AudioSystem::stream_type stream, int session) argument
845 registerEffect(effect_descriptor_t *desc, audio_io_handle_t output, uint32_t strategy, int session, int id) argument
[all...]
H A DAudioFlinger.cpp331 // prevent same audio session on different output threads
337 // check if an effect with same session ID is waiting for a track to be created
345 // if no audio session id is provided, create one here
356 // move effect chain to this output thread if an effect on same session was waiting
1168 // all tracks in same audio session must share the same routing strategy otherwise
1317 LOGV("addTrack_l() starting track on chain %p for session %d", chain.get(), track->sessionId());
1435 // session AudioSystem::SESSION_OUTPUT_MIX is placed in same strategy as MUSIC stream so that
1734 LOGW("prepareTracks_l(): track %08x attached to effect but no chain found on session %d",
1878 LOGV("stopping track on chain %p for session Id: %d", chain.get(), track->sessionId());
2339 LOGV("stopping track on chain %p for session I
4822 moveEffects(int session, int srcOutput, int dstOutput) argument
4850 moveEffectChain_l(int session, AudioFlinger::PlaybackThread *srcThread, AudioFlinger::PlaybackThread *dstThread, bool reRegister) argument
5091 int session = chain->sessionId(); local
5151 int session = chain->sessionId(); local
[all...]
/frameworks/base/include/media/
H A DAudioSystem.h172 // special audio session values
174 SESSION_OUTPUT_STAGE = -1, // session for effects attached to a particular output stream
176 SESSION_OUTPUT_MIX = 0, // session for effects applied to output mix. These effects can
368 int session = 0);
371 int session = 0);
393 int session,
H A DIAudioFlinger.h165 virtual status_t moveEffects(int session, int srcOutput, int dstOutput) = 0;
/frameworks/base/media/libmedia/
H A DAudioSystem.cpp595 int session)
599 return aps->startOutput(output, stream, session);
604 int session)
608 return aps->stopOutput(output, stream, session);
690 int session,
695 return aps->registerEffect(desc, output, strategy, session, id);
593 startOutput(audio_io_handle_t output, AudioSystem::stream_type stream, int session) argument
602 stopOutput(audio_io_handle_t output, AudioSystem::stream_type stream, int session) argument
687 registerEffect(effect_descriptor_t *desc, audio_io_handle_t output, uint32_t strategy, int session, int id) argument
H A DIAudioFlinger.cpp681 virtual status_t moveEffects(int session, int srcOutput, int dstOutput) argument
685 data.writeInt32(session);
1041 int session = data.readInt32(); local
1044 reply->writeInt32(moveEffects(session, srcOutput, dstOutput));
/frameworks/base/core/java/android/app/
H A DNativeActivity.java138 public void sessionCreated(IInputMethodSession session) { argument
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp204 jobject session,
207 if (session == NULL) {
213 (SurfaceComposerClient*)env->GetIntField(session, sso.client);
202 Surface_init( JNIEnv* env, jobject clazz, jobject session, jint pid, jstring jname, jint dpy, jint w, jint h, jint format, jint flags) argument
/frameworks/base/services/java/com/android/server/
H A DWindowManagerService.java1780 public int addWindow(Session session, IWindow client, argument
1878 win = new WindowState(session, client, token,
1998 public void removeWindow(Session session, IWindow client) { argument
2000 WindowState win = windowForClientLocked(session, client, false);
2004 removeWindowLocked(session, win);
2008 public void removeWindowLocked(Session session, WindowState win) { argument
2066 removeWindowInnerLocked(session, win);
2078 private void removeWindowInnerLocked(Session session, WindowState win) { argument
2171 private void setTransparentRegionWindow(Session session, IWindow client, Region region) { argument
2175 WindowState w = windowForClientLocked(session, clien
2194 setInsetsWindow(Session session, IWindow client, int touchableInsets, Rect contentInsets, Rect visibleInsets) argument
2215 getWindowDisplayFrame(Session session, IWindow client, Rect outDisplayFrame) argument
2281 relayoutWindow(Session session, IWindow client, WindowManager.LayoutParams attrs, int requestedWidth, int requestedHeight, int viewVisibility, boolean insetsPending, Rect outFrame, Rect outContentInsets, Rect outVisibleInsets, Configuration outConfig, Surface outSurface) argument
2558 finishDrawingWindow(Session session, IWindow client) argument
8163 windowForClientLocked(Session session, IWindow client, boolean throwOnError) argument
8168 windowForClientLocked(Session session, IBinder client, boolean throwOnError) argument
10066 Watermark(SurfaceSession session, String[] tokens) argument
10469 DimAnimator(SurfaceSession session) argument
[all...]
/frameworks/base/core/java/android/accounts/
H A DAccountManagerService.java1199 Log.v(TAG, "checkAccount: aborting session since we are no longer"
1357 // this session has already been closed
1368 // the session was already closed, so bail out now
1562 Session session = (Session)msg.obj;
1563 session.onTimedOut();
1743 for (Session session : mSessions.values()) {
1744 fout.println(" " + session.toDebugString(now));
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java90 * Class implementing the render session.
92 * A session is a stateful representation of a layout file. It is initialized with data coming
1151 public void setScene(RenderSession session) { argument
1152 mScene = session;

Completed in 441 milliseconds

123