/frameworks/base/tests/CoreTests/android/core/ |
H A D | DatabaseSessionCache.java | 49 * 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 D | SSLSocketTest.java | 993 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 D | MediaEqualizerTest.java | 326 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 D | MediaPresetReverbTest.java | 284 // 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 D | MediaEnvReverbTest.java | 438 // 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 D | MediaVisualizerTest.java | 418 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 D | drm_file.c | 224 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 D | drm_api.c | 33 * 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 D | SipSessionGroup.java | 106 // 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 D | BootAnimation.h | 46 sp<SurfaceComposerClient> session() const;
|
H A D | BootAnimation.cpp | 72 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 D | SSLCertificateSocketFactory.java | 59 * <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 D | AudioTrack.java | 214 * 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 D | AudioPolicyService.cpp | 231 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 D | AudioPolicyManagerBase.cpp | 546 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 D | AudioFlinger.cpp | 331 // 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 D | AudioSystem.h | 172 // 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 D | IAudioFlinger.h | 165 virtual status_t moveEffects(int session, int srcOutput, int dstOutput) = 0;
|
/frameworks/base/media/libmedia/ |
H A D | AudioSystem.cpp | 595 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 D | IAudioFlinger.cpp | 681 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 D | NativeActivity.java | 138 public void sessionCreated(IInputMethodSession session) { argument
|
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 204 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 D | WindowManagerService.java | 1780 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 D | AccountManagerService.java | 1199 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 D | RenderSessionImpl.java | 90 * 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;
|