/external/jetty/src/java/org/eclipse/jetty/server/ |
SessionManager.java | 31 import org.eclipse.jetty.server.session.SessionHandler; 36 * Session Manager. 48 * Session cookie name. 58 * Session id path parameter name. 70 * Session Domain. 72 * used as the domain for session cookies. If it is not set, then 73 * no domain is specified for the session cookie. 81 * Session Path. 83 * used as the path for the session cookie. If it is not set, then 90 * Session Max Age [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
PackageInstallerService.java | 123 private static final String TAG_SESSION = "session"; 180 * Used for generating session IDs. Since this is created at boot time, 234 final PackageInstallerSession session = mSessions.valueAt(i); local 235 unclaimedIcons.remove(buildAppIconFile(session.sessionId)); 257 final PackageInstallerSession session = mSessions.valueAt(i); local 258 unclaimedStages.remove(session.stageDir); 287 final PackageInstallerSession session = mSessions.valueAt(i); local 288 final String cid = session.stageCid; 291 // Claimed by active session, mount it 352 final PackageInstallerSession session = readSessionLocked(in) local 440 final PackageInstallerSession session = mSessions.valueAt(i); local 660 final PackageInstallerSession session; local 705 final PackageInstallerSession session = mSessions.get(sessionId); local 731 final PackageInstallerSession session = mSessions.get(sessionId); local 743 final PackageInstallerSession session = mSessions.get(sessionId); local 762 final PackageInstallerSession session = mSessions.get(sessionId); local 829 final PackageInstallerSession session = mSessions.get(sessionId); local 841 final PackageInstallerSession session = mSessions.valueAt(i); local 858 final PackageInstallerSession session = mSessions.valueAt(i); local 917 PackageInstallerSession session = mSessions.get(sessionId); local 940 final PackageInstallerSession session = sessions.valueAt(i); local 1213 final PackageInstallerSession session = mSessions.valueAt(i); local 1224 final PackageInstallerSession session = mHistoricalSessions.valueAt(i); local [all...] |
/external/chromium-trace/catapult/third_party/Paste/tests/ |
test_session.py | 1 from paste.session import SessionMiddleware 11 sess = environ['paste.session.factory']() 14 sess = environ['paste.session.factory']() 24 sess = environ['paste.session.factory']() 28 sess = environ['paste.session.factory']()
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
PwdCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
45 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
46 sendReply(session, quotes(directory));
|
SystCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
49 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
50 sendReply(session, quotes(systemName));
|
/frameworks/support/media-compat/api24/android/support/v4/media/session/ |
MediaSessionCompatApi24.java | 17 package android.support.v4.media.session; 19 import android.media.session.MediaSession; 35 MediaSession session = (MediaSession) sessionObj; local 37 Method getCallingPackageMethod = session.getClass().getMethod("getCallingPackage"); 38 return (String) getCallingPackageMethod.invoke(session);
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
ImsCall.java | 480 // Wrapper call session to interworking the IMS service (server). 482 // Call profile of the current session. 491 // Media session to control media (audio/video) operations for an IMS call 497 // While a merge is progressing, we bury any session termination requests 504 // termination request was made on the original session in case we need to act 595 logi("close :: Cannot close Null call session!"); 639 public static boolean isSessionAlive(ImsCallSession session) { 640 return session != null && session.isAlive(); 675 throw new ImsException("No call session", [all...] |
/frameworks/base/media/java/android/media/tv/ |
TvInputManager.java | 113 * Reason for {@link TvInputService.Session#notifyVideoUnavailable(int)} and 119 * Reason for {@link TvInputService.Session#notifyVideoUnavailable(int)} and 125 * Reason for {@link TvInputService.Session#notifyVideoUnavailable(int)} and 131 * Reason for {@link TvInputService.Session#notifyVideoUnavailable(int)} and 137 * Reason for {@link TvInputService.Session#notifyVideoUnavailable(int)} and 150 * Status for {@link TvInputService.Session#notifyTimeShiftStatusChanged(int)} and 157 * Status for {@link TvInputService.Session#notifyTimeShiftStatusChanged(int)} and 164 * Status for {@link TvInputService.Session#notifyTimeShiftStatusChanged(int)} and 171 * Status for {@link TvInputService.Session#notifyTimeShiftStatusChanged(int)} and 179 * Value returned by {@link TvInputService.Session#onTimeShiftGetCurrentPosition()} an [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
Mailer.java | 78 // Get session 79 Session session = Session.getDefaultInstance(props, null); local 82 MimeMessage message = new MimeMessage(session); 131 // Get session 132 Session session = Session.getDefaultInstance(props, null); local 135 MimeMessage message = new MimeMessage(session); 179 Session session = Session.getDefaultInstance(props, null); local [all...] |
/frameworks/av/media/libstagefright/foundation/ |
ANetworkSession.cpp | 56 NetworkThread(ANetworkSession *session); 69 struct ANetworkSession::Session : public RefBase { 84 Session(int32_t sessionID, 110 virtual ~Session(); 141 DISALLOW_EVIL_CONSTRUCTORS(Session); 145 ANetworkSession::NetworkThread::NetworkThread(ANetworkSession *session) 146 : mSession(session) { 160 ANetworkSession::Session::Session( 216 ANetworkSession::Session::~Session() 975 sp<Session> session; local 1177 const sp<Session> session = mSessions.valueAt(index); local 1216 const sp<Session> session = mSessions.valueAt(index); local 1234 const sp<Session> session = mSessions.valueAt(index); local 1263 const sp<Session> &session = mSessions.valueAt(i); local 1323 const sp<Session> &session = mSessions.valueAt(i); local 1402 sp<Session> session = *sessionsToAdd.begin(); local [all...] |
/external/jetty/src/java/org/eclipse/jetty/server/session/ |
SessionHandler.java | 19 package org.eclipse.jetty.server.session; 46 final static Logger LOG = Log.getLogger("org.eclipse.jetty.server.session"); 65 * The session manager 156 // new session context 162 // access any existing session 163 HttpSession session = null; local 166 session = baseRequest.getSession(false); 167 if (session != null) 169 if (session != old_session) 171 access = session; 206 HttpSession session = baseRequest.getSession(false); local 250 HttpSession session = sessionManager.getHttpSession(requested_session_id); local 259 HttpSession session = null; local [all...] |
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/session/ |
DefaultSession.java | 16 package org.mockftpserver.core.session;
50 * Default implementation of the {@link Session} interface.
56 public class DefaultSession implements Session {
96 * Return the InetAddress representing the client host for this session
100 * @see org.mockftpserver.core.session.Session#getClientHost()
107 * Return the InetAddress representing the server host for this session
111 * @see org.mockftpserver.core.session.Session#getServerHost()
152 * @see org.mockftpserver.core.session.Session#openDataConnection() [all...] |
/frameworks/base/core/java/android/content/pm/ |
PackageInstaller.java | 58 * {@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 can be opene [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
AudioSession.cpp | 29 AudioSession::AudioSession(audio_session_t session, 39 mSession(session), mInputSource(inputSource), 101 if (other->session() == mSession && 139 snprintf(buffer, SIZE, "%*sAudio session %d:\n", spaces, "", index+1); 141 snprintf(buffer, SIZE, "%*s- session: %2d\n", spaces, "", mSession); 166 status_t AudioSessionCollection::addSession(audio_session_t session, 170 ssize_t index = indexOfKey(session); 173 ALOGW("addSession() session %d already in", session); 177 add(session, audioSession) [all...] |
/frameworks/base/docs/html/training/tv/playback/ |
now-playing.jd | 13 <li><a href="#session">Start a Media Session</a></li> 26 screen when there is an active {@link android.media.session.MediaSession}. 30 <p>This lesson shows how to use the {@link android.media.session.MediaSession} class to implement 37 <h2 id="session">Start a Media Session</h2> 40 {@link android.media.session.MediaSession#MediaSession(android.content.Context, java.lang.String) MediaSession} 52 only for a media session with 53 the {@link android.media.session.MediaSession#FLAG_HANDLES_TRANSPORT_CONTROLS} flag set.</p> 58 {@link android.media.session.MediaSession#setActive(boolean) setActive(true) [all...] |
/external/autotest/client/tests/kvm/tests/ |
timedrift_with_migration.py | 23 session = vm.wait_for_login(timeout=timeout) 39 (ht0, gt0) = virt_test_utils.get_time(session, time_command, 45 (ht0_, gt0_) = virt_test_utils.get_time(session, time_command, 47 session.close() 54 session = vm.wait_for_login(timeout=30) 57 (ht1_, gt1_) = virt_test_utils.get_time(session, time_command, 75 (ht1, gt1) = virt_test_utils.get_time(session, time_command, 79 if session: 80 session.close()
|
timedrift_with_reboot.py | 23 session = vm.wait_for_login(timeout=timeout) 39 (ht0, gt0) = virt_test_utils.get_time(session, time_command, 45 (ht0_, gt0_) = virt_test_utils.get_time(session, time_command, 50 session = vm.reboot(session) 52 (ht1_, gt1_) = virt_test_utils.get_time(session, time_command, 70 (ht1, gt1) = virt_test_utils.get_time(session, time_command, 74 if session: 75 session.close()
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/command/ |
StaticReplyCommandHandlerTest.java | 85 session.sendReply(250, replyTextFor(250));
86 replay(session);
88 commandHandler.handleCommand(COMMAND, session);
89 verify(session);
103 session.sendReply(REPLY_CODE, REPLY_TEXT);
104 replay(session);
106 commandHandler.handleCommand(COMMAND, session);
107 verify(session);
120 commandHandler.handleCommand(COMMAND, session);
|
_AbstractCommandHandlerTest.java | 21 import org.mockftpserver.core.session.Session;
108 Session session = (Session) createMock(Session.class);
local 109 control(session).setDefaultMatcher(MockControl.ARRAY_MATCHER);
111 public void handleCommand(Command command, Session session) throws Exception {
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
AlloCommandHandlerTest.java | 47 session.sendReply(ReplyCodes.ALLO_OK, replyTextFor(ReplyCodes.ALLO_OK));
48 session.sendReply(ReplyCodes.ALLO_OK, replyTextFor(ReplyCodes.ALLO_OK));
49 replay(session);
51 commandHandler.handleCommand(command1, session);
52 commandHandler.handleCommand(command2, session);
53 verify(session);
75 commandHandler.handleCommand(new Command(CommandNames.ALLO, array("123 R ")), session);
89 commandHandler.handleCommand(new Command(CommandNames.ALLO, array("xx")), session);
102 commandHandler.handleCommand(new Command(CommandNames.ALLO, array("123 R xx")), session);
|
RetrCommandHandlerTest.java | 100 session.sendReply(ReplyCodes.TRANSFER_DATA_INITIAL_OK, replyTextFor(ReplyCodes.TRANSFER_DATA_INITIAL_OK));
101 session.openDataConnection();
102 session.sendData(FILE_CONTENTS.getBytes(), FILE_CONTENTS.length());
103 control(session).setMatcher(MockControl.ARRAY_MATCHER);
104 session.closeDataConnection();
105 session.sendReply(ReplyCodes.TRANSFER_DATA_FINAL_OK, replyTextFor(ReplyCodes.TRANSFER_DATA_FINAL_OK));
106 replay(session);
109 commandHandler.handleCommand(command, session);
110 verify(session);
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
PasvCommandHandler.java | 27 import org.mockftpserver.core.session.Session;
31 * CommandHandler for the PASV (Passove Mode) command. Request the Session to switch to passive
57 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(Command, Session, InvocationRecord)
59 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord)
62 int port = session.switchToPassiveMode();
63 InetAddress server = session.getServerHost();
69 sendReply(session, hostAndPort);
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/command/ |
StaticReplyCommandHandlerTest.java | 87 session.sendReply(250, replyTextFor(250));
88 replay(session);
90 commandHandler.handleCommand(COMMAND, session);
91 verify(session);
105 session.sendReply(REPLY_CODE, REPLY_TEXT);
106 replay(session);
108 commandHandler.handleCommand(COMMAND, session);
109 verify(session);
122 commandHandler.handleCommand(COMMAND, session);
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
AlloCommandHandlerTest.java | 47 session.sendReply(ReplyCodes.ALLO_OK, replyTextFor(ReplyCodes.ALLO_OK));
48 session.sendReply(ReplyCodes.ALLO_OK, replyTextFor(ReplyCodes.ALLO_OK));
49 replay(session);
51 commandHandler.handleCommand(command1, session);
52 commandHandler.handleCommand(command2, session);
53 verify(session);
75 commandHandler.handleCommand(new Command(CommandNames.ALLO, array("123 R ")), session);
89 commandHandler.handleCommand(new Command(CommandNames.ALLO, array("xx")), session);
102 commandHandler.handleCommand(new Command(CommandNames.ALLO, array("123 R xx")), session);
|
RetrCommandHandlerTest.java | 99 session.sendReply(ReplyCodes.SEND_DATA_INITIAL_OK, replyTextFor(ReplyCodes.SEND_DATA_INITIAL_OK));
100 session.openDataConnection();
101 session.sendData(FILE_CONTENTS.getBytes(), FILE_CONTENTS.length());
102 control(session).setMatcher(MockControl.ARRAY_MATCHER);
103 session.closeDataConnection();
104 session.sendReply(ReplyCodes.SEND_DATA_FINAL_OK, replyTextFor(ReplyCodes.SEND_DATA_FINAL_OK));
105 replay(session);
108 commandHandler.handleCommand(command, session);
109 verify(session);
|