/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
SipSessionListenerProxy.java | 47 public void onCalling(final ISipSession session) { 53 mListener.onCalling(session); 62 public void onRinging(final ISipSession session, final SipProfile caller, 69 mListener.onRinging(session, caller, sessionDescription); 78 public void onRingingBack(final ISipSession session) { 84 mListener.onRingingBack(session); 93 public void onCallEstablished(final ISipSession session, 100 mListener.onCallEstablished(session, sessionDescription); 109 public void onCallEnded(final ISipSession session) { 115 mListener.onCallEnded(session); [all...] |
/hardware/qcom/audio/voice_processing/ |
voice_processing.c | 44 // Session state 63 struct session_s *session; // session the effect is on member in struct:effect_s 66 // Session context 70 struct effect_s effects[NUM_ID]; // effects in this session 72 int id; // audio session ID 73 int io; // handle of input stream this session is on 163 static void session_set_fx_enabled(struct session_s *session, uint32_t id, bool enabled); 176 session_set_fx_enabled(effect->session, effect->id, false); 206 session_set_fx_enabled(effect->session, effect->id, false) 397 struct session_s *session; local 483 struct session_s *session; local 673 struct session_s *session; local 706 struct session_s *session; local [all...] |
/libcore/luni/src/main/java/javax/net/ssl/ |
SSLSession.java | 25 * The interface representing an SSL session. 31 * session. 38 * Returns the name of the cipher suite used in this session. 40 * @return the name of the cipher suite used in this session. 45 * Returns the time this session was created, in milliseconds since midnight 48 * @return the time the session was created. 60 * Returns the time this session was last accessed, in milliseconds since 63 * @return the time this session was last accessed. 85 * Returns the maximum size that a network buffer can be for this session. 117 * Returns the host name of the peer of this session. The host name is no [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
MkdCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
40 protected void handle(Command command, Session session) {
41 verifyLoggedIn(session);
42 String path = getRealPath(session, command.getRequiredParameter(0));
50 verifyWritePermission(session, parent);
53 verifyExecutePermission(session, parent);
57 dirEntry.setPermissions(getUserAccount(session).getDefaultPermissionsForNewDirectory());
59 sendReply(session, ReplyCodes.MKD_OK, "mkd", list(path)); [all...] |
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...] |
PasvCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
30 * CommandHandler for the PASV (Passove Mode) command. Request the Session to switch to passive
53 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session)
55 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord)
58 int port = session.switchToPassiveMode();
59 InetAddress server = session.getServerHost();
65 sendReply(session, hostAndPort); [all...] |
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);
|
CwdCommandHandler.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);
|
DeleCommandHandler.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);
|
MkdCommandHandler.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) {
52 sendReply(session, pathname);
|
ModeCommandHandler.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);
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
ListCommandHandlerTest.java | 43 session.sendReply(ReplyCodes.TRANSFER_DATA_INITIAL_OK, replyTextFor(ReplyCodes.TRANSFER_DATA_INITIAL_OK));
44 session.openDataConnection();
46 session.sendData(bytes, bytes.length);
47 control(session).setMatcher(MockControl.ARRAY_MATCHER);
48 session.closeDataConnection();
49 session.sendReply(ReplyCodes.TRANSFER_DATA_FINAL_OK, replyTextFor(ReplyCodes.TRANSFER_DATA_FINAL_OK));
51 replay(session);
55 commandHandler.handleCommand(command1, session);
56 commandHandler.handleCommand(command2, session);
57 verify(session);
[all...] |
NlstCommandHandlerTest.java | 43 session.sendReply(ReplyCodes.TRANSFER_DATA_INITIAL_OK, replyTextFor(ReplyCodes.TRANSFER_DATA_INITIAL_OK));
44 session.openDataConnection();
46 session.sendData(bytes, bytes.length);
47 control(session).setMatcher(MockControl.ARRAY_MATCHER);
48 session.closeDataConnection();
49 session.sendReply(ReplyCodes.TRANSFER_DATA_FINAL_OK, replyTextFor(ReplyCodes.TRANSFER_DATA_FINAL_OK));
51 replay(session);
55 commandHandler.handleCommand(command1, session);
56 commandHandler.handleCommand(command2, session);
57 verify(session);
[all...] |
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
ListCommandHandlerTest.java | 45 session.sendReply(ReplyCodes.SEND_DATA_INITIAL_OK, replyTextFor(ReplyCodes.SEND_DATA_INITIAL_OK));
46 session.openDataConnection();
48 session.sendData(bytes, bytes.length);
49 control(session).setMatcher(MockControl.ARRAY_MATCHER);
50 session.closeDataConnection();
51 session.sendReply(ReplyCodes.SEND_DATA_FINAL_OK, replyTextFor(ReplyCodes.SEND_DATA_FINAL_OK));
53 replay(session);
57 commandHandler.handleCommand(command1, session);
58 commandHandler.handleCommand(command2, session);
59 verify(session);
[all...] |
NlstCommandHandlerTest.java | 43 session.sendReply(ReplyCodes.SEND_DATA_INITIAL_OK, replyTextFor(ReplyCodes.SEND_DATA_INITIAL_OK));
44 session.openDataConnection();
46 session.sendData(bytes, bytes.length);
47 control(session).setMatcher(MockControl.ARRAY_MATCHER);
48 session.closeDataConnection();
49 session.sendReply(ReplyCodes.SEND_DATA_FINAL_OK, replyTextFor(ReplyCodes.SEND_DATA_FINAL_OK));
51 replay(session);
55 commandHandler.handleCommand(command1, session);
56 commandHandler.handleCommand(command2, session);
57 verify(session);
[all...] |
/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...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
FrameServer.java | 36 * A Session enables submitting multiple Requests for frames. 39 public interface Session extends SafeCloseable { 57 * Indicates that a session has been closed already, via 58 * {@link FrameServer.Session#close} and no more requests may be submitted. 68 * Creates an exclusive session. Blocks, if necessary, until any existing 69 * exclusive session is closed. 71 * @return A new session which may be used to interact with the underlying 75 public Session createExclusiveSession() throws InterruptedException; 79 * blocking if the session cannot be created immediately. 82 public Session tryCreateExclusiveSession() [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
FwdLockEngine.h | 48 * @param uniqueId Unique identifier for a session 62 * @param uniqueId Unique identifier for a session 74 * @param uniqueId Unique identifier for a session 84 * @param uniqueId Unique identifier for a session 94 * @param uniqueId Unique identifier for a session 103 * @param uniqueId Unique identifier for a session 114 * @param uniqueId Unique identifier for a session 125 * @param uniqueId Unique identifier for a session 141 * @param uniqueId Unique identifier for a session 152 * @param uniqueId Unique identifier for a session [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/ |
HostnameVerifierTest.java | 42 FakeSSLSession session = new FakeSSLSession(); local 43 assertFalse(verifier.verify("localhost", session)); 48 SSLSession session = session("" local 74 assertTrue(verifier.verify("foo.com", session)); 75 assertFalse(verifier.verify("a.foo.com", session)); 76 assertFalse(verifier.verify("bar.com", session)); 81 SSLSession session = session("" local 107 assertTrue(verifier.verify("\u82b1\u5b50.co.jp", session)); 113 SSLSession session = session("" local 154 SSLSession session = session("" local 195 SSLSession session = session("" local 229 SSLSession session = session("" local 266 SSLSession session = session("" local 302 SSLSession session = session("" local 340 SSLSession session = session("" local 409 FakeSSLSession session = new FakeSSLSession(certificate); local 420 SSLSession session = session("" local 443 SSLSession session = session("" local 471 SSLSession session = session("" local 501 SSLSession session = session("" local 551 private SSLSession session(String certificate) throws Exception { method in class:HostnameVerifierTest [all...] |
/frameworks/base/media/java/android/media/ |
MediaSyncEvent.java | 23 * only when the playback on a particular audio session is complete. 24 * The audio session ID is retrieved from a player (e.g {@link MediaPlayer}, {@link AudioTrack} or 37 * (meaning the media has been presented to the user) on the specified session. 38 * A synchronization of this type requires a source audio session ID to be set via 50 * presented to the user on a particular audio session. 73 * Sets the event source audio session ID. 75 * <p>The audio session ID specifies on which audio session the synchronization event should be 78 * For instance, the audio session ID can be retrieved via 80 * @param audioSessionId the audio session ID of the event source being monitored [all...] |
/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/appengine/ |
sessions_memcache.py | 17 """A session factory that stores data serialized in memcache. 26 session = self.session_store.get_session( 35 """Returns a session given a session id.""" 46 if self.session is None or not self.session.modified: 49 memcache.set(self.sid, dict(self.session))
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/command/ |
UnsupportedCommandHandler.java | 18 import org.mockftpserver.core.session.Session;
42 * @see org.mockftpserver.core.command.AbstractTrackingCommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
44 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
46 sendReply(session, command.getName());
|