Searched refs:session (Results 1 - 24 of 24) sorted by relevance

/frameworks/base/core/java/android/app/backup/
H A DBackupManager.java139 RestoreSession session = null;
143 session = new RestoreSession(mContext, binder);
144 result = session.restorePackage(mContext.getPackageName(), observer);
148 if (session != null) {
149 session.endRestoreSession();
162 RestoreSession session = null;
168 session = new RestoreSession(mContext, binder);
173 return session;
/frameworks/base/media/libdrm/mobile1/include/objmng/
H A Dsvc_drm.h184 * Open a session for a special DRM object, it will parse the input DRM data, and then user
190 * -A handle for this opened DRM object session.
199 * \param session The handle for this DRM object session.
205 int32_t SVC_drm_getDeliveryMethod(int32_t session);
210 * \param session The handle for this DRM object session.
215 * -DRM_SESSION_NOT_OPENED, when the session is not opened or has been closed.
218 int32_t SVC_drm_getContentType(int32_t session, uint8_t* mediaType);
223 * \param session Th
[all...]
H A Ddrm_file.h85 * Initializes a list iteration session.
89 * @param session List session identifier.
96 int32_t* session,
103 * iteration session.
105 * the iteration session.
110 * @param session See DRM_file_listOpen().
119 int32_t* session,
123 * Ends a list iteration session. Notifies the implementation
124 * that the list session i
[all...]
/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/com/android/internal/view/
H A DIInputMethodCallback.aidl33 void sessionCreated(IInputMethodSession session);
H A DIInputMethod.aidl48 void setSessionEnabled(IInputMethodSession session, boolean enabled);
50 void revokeSession(IInputMethodSession session);
H A DBaseIWindow.java32 public void setSession(IWindowSession session) { argument
33 mSession = session;
/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.java83 public void sessionCreated(InputMethodSession session) { argument
85 if (session != null) {
87 new IInputMethodSessionWrapper(mContext, session);
224 public void setSessionEnabled(IInputMethodSession session, boolean enabled) { argument
227 session).getInternalInputMethodSession();
231 Log.w(TAG, "Incoming session not of correct type: " + session, e);
235 public void revokeSession(IInputMethodSession session) { argument
238 session).getInternalInputMethodSession();
241 Log.w(TAG, "Incoming session no
[all...]
/frameworks/base/core/java/android/net/http/
H A DCertificateChainValidator.java226 SSLSession session = socket.getSession();
227 if (session != null) {
228 session.invalidate();
/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.java990 public void putSessionData(SSLSession session, byte[] sessionData) { argument
991 String host = session.getPeerHost();
1080 public void putSessionData(SSLSession session, byte[] sessionData) { argument
1081 delegate.putSessionData(session, sessionData);
1082 ops.add("put " + session.getPeerHost());
/frameworks/base/services/java/com/android/server/
H A DInputMethodManagerService.java134 final IInputMethodSession session; field in class:InputMethodManagerService.SessionState
141 + " session " + Integer.toHexString(
142 System.identityHashCode(session))
150 session = _session;
281 * Currently enabled session. Only touched by service thread, not
445 public void sessionCreated(IInputMethodSession session) throws RemoteException { argument
446 onSessionCreated(mMethod, session);
658 final SessionState session = mCurClient.curSession;
660 executeOrSendMessage(session.method, mCaller.obtainMessageOOO(
661 MSG_START_INPUT, session, mCurInputContex
851 onSessionCreated(IInputMethod method, IInputMethodSession session) argument
1271 setEnabledSessionInMainThread(SessionState session) argument
[all...]
H A DWindowManagerService.java1860 public int addWindow(Session session, IWindow client, argument
1958 win = new WindowState(session, client, token,
2070 public void removeWindow(Session session, IWindow client) { argument
2072 WindowState win = windowForClientLocked(session, client, false);
2076 removeWindowLocked(session, win);
2080 public void removeWindowLocked(Session session, WindowState win) { argument
2136 removeWindowInnerLocked(session, win);
2148 private void removeWindowInnerLocked(Session session, WindowState win) { argument
2149 mKeyWaiter.finishedKey(session, win.mClient, true,
2243 private void setTransparentRegionWindow(Session session, IWindo argument
2266 setInsetsWindow(Session session, IWindow client, int touchableInsets, Rect contentInsets, Rect visibleInsets) argument
2287 getWindowDisplayFrame(Session session, IWindow client, Rect outDisplayFrame) argument
2353 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
2628 finishDrawingWindow(Session session, IWindow client) argument
6122 finishedKey(Session session, IWindow client, boolean force, int returnWhat) argument
9282 windowForClientLocked(Session session, IWindow client, boolean throwOnError) argument
9287 windowForClientLocked(Session session, IBinder client, boolean throwOnError) argument
11371 DimAnimator(SurfaceSession session) argument
[all...]
H A DBackupManagerService.java183 public ActiveRestoreSession session; field in class:BackupManagerService.RestoreGetSetsParams
189 session = _session;
357 // cache the result in the active session
358 synchronized (params.session) {
359 params.session.mRestoreSets = sets;
2368 // Hand off a restore session
2374 Slog.d(TAG, "Restore session requested but one already active");
2392 // ----- Restore session -----
2534 Slog.e(TAG, "ending non-current restore 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/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.java60 * <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/core/jni/
H A Dandroid_view_Surface.cpp193 jobject session,
196 if (session == NULL) {
202 (SurfaceComposerClient*)env->GetIntField(session, sso.client);
191 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/core/java/android/accounts/
H A DAccountManagerService.java1112 Log.v(TAG, "checkAccount: aborting session since we are no longer"
1270 // this session has already been closed
1281 // the session was already closed, so bail out now
1475 Session session = (Session)msg.obj;
1476 session.onTimedOut();
1739 for (Session session : mSessions.values()) {
1740 fout.println(" " + session.toDebugString(now));
/frameworks/base/core/java/android/view/
H A DView.java5991 * Retrieve private session object this view hierarchy is using to
5993 * @return the session object to communicate with the window manager
9196 AttachInfo(IWindowSession session, IWindow window, argument
9198 mSession = session;
H A DViewRoot.java349 * Specify a configuration for our opengl session
976 // the window session beforehand.
2830 public void sessionCreated(IInputMethodSession session) throws RemoteException { argument

Completed in 331 milliseconds