/frameworks/support/v4/java/android/support/v4/media/session/ |
MediaSessionCompat.aidl | 16 package android.support.v4.media.session;
|
/libcore/luni/src/main/java/javax/net/ssl/ |
SSLSessionBindingEvent.java | 32 * Creates a new {@code SSLSessionBindingEvent} for the specified session 35 * @param session 36 * the session for which the event occurs. 40 public SSLSessionBindingEvent(SSLSession session, String name) { 41 super(session); 55 * Returns the session to which the binding is added or from which it is 58 * @return the session to which the binding is added or from which it is
|
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/ |
PictureTaker.java | 20 import com.android.camera.session.CaptureSession; 26 public void takePicture(OneCamera.PhotoCaptureParameters params, CaptureSession session);
|
/external/linux-tools-perf/src/tools/perf/ |
builtin-evlist.c | 16 #include "util/session.h" 20 struct perf_session *session; local 23 session = perf_session__new(file_name, O_RDONLY, 0, false, NULL); 24 if (session == NULL) 27 list_for_each_entry(pos, &session->evlist->entries, node) 30 perf_session__delete(session);
|
builtin-buildid-list.c | 16 #include "util/session.h" 54 struct perf_session *session; local 63 session = perf_session__new(input_name, O_RDONLY, force, false, 65 if (session == NULL) 71 if (with_hits || session->fd_pipe) 72 perf_session__process_events(session, &build_id__mark_dso_hit_ops); 74 perf_session__fprintf_dsos_buildid(session, stdout, dso__skip_buildid, with_hits); 75 perf_session__delete(session);
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/command/ |
AbstractStaticReplyCommandHandler.java | 18 import org.mockftpserver.core.session.Session;
84 * @param session - the Session
88 protected void sendReply(Session session) {
89 sendReply(session, null);
94 * @param session - the Session
99 protected void sendReply(Session session, Object messageParameter) { [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
EprtCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
40 protected void handle(Command command, Session session) {
44 session.setClientDataHost(client.host);
45 session.setClientDataPort(client.port);
46 sendReply(session, ReplyCodes.EPRT_OK, "eprt");
|
PortCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
38 protected void handle(Command command, Session session) {
41 session.setClientDataHost(client.host);
42 session.setClientDataPort(client.port);
43 sendReply(session, ReplyCodes.PORT_OK, "port");
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
EpsvCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
28 * CommandHandler for the EPSV (Extended Address Passive Mode) command. Request the Session to switch
50 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session)
52 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord)
55 int port = session.switchToPassiveMode();
56 InetAddress server = session.getServerHost();
58 sendReply(session, Integer.toString(port)); [all...] |
AborCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
41 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
42 sendReply(session);
|
AbstractStorCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
40 * @see AbstractStubDataCommandHandler#processData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
42 protected void processData(Command command, Session session, InvocationRecord invocationRecord) {
43 byte[] data = session.readData();
|
AcctCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
47 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session)
49 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
51 sendReply(session);
|
CdupCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
41 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
42 sendReply(session);
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/command/ |
SimpleCompositeCommandHandlerTest.java | 20 import org.mockftpserver.core.session.Session;
41 private Session session;
field in class:SimpleCompositeCommandHandlerTest 53 commandHandler1.handleCommand(command, session);
56 simpleCompositeCommandHandler.handleCommand(command, session);
67 commandHandler1.handleCommand(command, session);
68 commandHandler2.handleCommand(command, session);
71 simpleCompositeCommandHandler.handleCommand(command, session);
72 simpleCompositeCommandHandler.handleCommand(command, session);
[all...] |
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
AbstractStubCommandHandler.java | 19 import org.mockftpserver.core.session.Session;
82 * @param session - the Session
86 protected void sendReply(Session session) {
87 sendReply(session, null);
92 * @param session - the Session
97 protected void sendReply(Session session, Object messageParameter) { [all...] |
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
QuitCommandHandlerTest.java | 40 session.sendReply(ReplyCodes.QUIT_OK, replyTextFor(ReplyCodes.QUIT_OK));
41 session.close();
42 replay(session);
44 commandHandler.handleCommand(COMMAND, session);
45 verify(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);
|
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/ |
AndroidCameraDeviceProxy.java | 43 public void onConfigured(CameraCaptureSession session) { 44 mStateCallback.onConfigured(new AndroidCameraCaptureSessionProxy(session)); 48 public void onConfigureFailed(CameraCaptureSession session) { 49 mStateCallback.onConfigureFailed(new AndroidCameraCaptureSessionProxy(session)); 53 public void onReady(CameraCaptureSession session) { 54 mStateCallback.onReady(new AndroidCameraCaptureSessionProxy(session)); 58 public void onActive(CameraCaptureSession session) { 59 mStateCallback.onActive(new AndroidCameraCaptureSessionProxy(session)); 63 public void onClosed(CameraCaptureSession session) { 64 mStateCallback.onClosed(new AndroidCameraCaptureSessionProxy(session)); [all...] |
/external/chromium-trace/trace-viewer/third_party/webapp2/tests/ |
extras_sessions_test.py | 31 session = store.get_session(factory=self.factory) 32 session['bar'] = 'bar' 44 session = store.get_session(factory=self.factory) 50 session['a'] = 'b' 51 session['c'] = 'd' 52 session['e'] = 'f' 63 session = store.get_session(factory=self.factory) 64 self.assertEqual(session['a'], 'b') 65 self.assertEqual(session['c'], 'd') 66 self.assertEqual(session['e'], 'f' [all...] |
/cts/tests/tests/tv/src/android/media/tv/cts/ |
TvInputServiceTest.java | 228 CountingSession session = CountingTvInputService.sSession; local 229 return session != null && session.mTuneCount > 0 && session.mCreateOverlayView > 0; 241 CountingSession session = CountingTvInputService.sSession; local 242 return session != null && session.mSetStreamVolumeCount > 0; 254 CountingSession session = CountingTvInputService.sSession; local 255 return session != null && session.mSetCaptionEnabledCount > 0 268 CountingSession session = CountingTvInputService.sSession; local 281 CountingSession session = CountingTvInputService.sSession; local 294 CountingSession session = CountingTvInputService.sSession; local 307 CountingSession session = CountingTvInputService.sSession; local 324 CountingSession session = CountingTvInputService.sSession; local 341 CountingSession session = CountingTvInputService.sSession; local 357 CountingSession session = CountingTvInputService.sSession; local 370 CountingSession session = CountingTvInputService.sSession; local 383 CountingSession session = CountingTvInputService.sSession; local 396 CountingSession session = CountingTvInputService.sSession; local 410 CountingSession session = CountingTvInputService.sSession; local 440 CountingSession session = CountingTvInputService.sSession; local 448 CountingSession session = CountingTvInputService.sSession; local 462 CountingSession session = CountingTvInputService.sSession; local 475 CountingSession session = CountingTvInputService.sSession; local 488 CountingSession session = CountingTvInputService.sSession; local 503 CountingSession session = CountingTvInputService.sSession; local 518 CountingSession session = CountingTvInputService.sSession; local 531 CountingSession session = CountingTvInputService.sSession; local 544 CountingSession session = CountingTvInputService.sSession; local 559 CountingSession session = CountingTvInputService.sSession; local 576 CountingSession session = CountingTvInputService.sSession; local [all...] |
/external/jetty/src/java/org/eclipse/jetty/server/session/ |
JDBCSessionManager.java | 20 package org.eclipse.jetty.server.session; 56 * Session data is persisted to the JettySessions table: 59 * contextPath (of the context owning the session) 61 * lastNode (name of node last handled session) 62 * accessTime (time in milliseconds session was accessed) 63 * lastAccessTime (previous time in milliseconds session was accessed) 64 * createTime (time in milliseconds session created) 65 * cookieTime (time in milliseconds session cookie created) 66 * lastSavedTime (last time in milliseconds session access times were saved) 67 * expiryTime (time in milliseconds that the session is due to expire 445 Session session = null; local 622 Session session = null; local 645 Session session = (Session)_sessions.remove(idInCluster); local 673 _sessions.put(session.getClusterId(), session); local 774 Session session = (Session)_sessions.get(sessionId); local [all...] |
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/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/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);
|