/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/command/ |
SimpleCompositeCommandHandler.java | 23 import org.mockftpserver.core.session.Session;
82 * the CommandHandler instance to which the Nth {@link #handleCommand(Command, Session)} has been or will
96 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session)
98 public void handleCommand(Command command, Session session) throws Exception {
100 Assert.notNull(session, "session");
105 commandHandler.handleCommand(command, session);
[all...] |
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
HttpServerTest.java | 99 public Response serve(IHTTPSession session) { 100 this.uri = session.getUri(); 101 this.method = session.getMethod(); 102 this.header = session.getHeaders(); 103 this.parms = session.getParms(); 106 session.parseBody(this.files); 110 this.queryParameterString = session.getQueryParameterString(); 112 this.decodedParamters = decodeParameters(session.getQueryParameterString()); 156 NanoHTTPD.HTTPSession session = this.testServer.createSession(this.tempFileManager, inputStream, outputStream); local 158 session.execute() [all...] |
/frameworks/base/docs/html/sdk/support_api_diff/22.2.0/changes/ |
android.support.v4.media.session.PlaybackStateCompat.Builder.html | 10 android.support.v4.media.session.PlaybackStateCompat.Builder 74 Class android.support.v4.media.session.<A HREF="../../../../reference/android/support/v4/media/session/PlaybackStateCompat.Builder.html" target="_top"><font size="+2"><code>PlaybackStateCompat.Builder</code></font></A> 86 <A NAME="android.support.v4.media.session.PlaybackStateCompat.Builder.addCustomAction_added(android.support.v4.media.session.PlaybackStateCompat.CustomAction)"></A> 87 <nobr><code>Builder</code> <A HREF="../../../../reference/android/support/v4/media/session/PlaybackStateCompat.Builder.html#addCustomAction(android.support.v4.media.session.PlaybackStateCompat.CustomAction)" target="_top"><code>addCustomAction</code></A>(<code>CustomAction</code>)</nobr> 93 <A NAME="android.support.v4.media.session.PlaybackStateCompat.Builder.addCustomAction_added(java.lang.String, java.lang.String, int)"></A> 94 <nobr><code>Builder</code> <A HREF="../../../../reference/android/support/v4/media/session/PlaybackStateCompat.Builder.html#addCustomAction(java.lang.String, java.lang.String, int)" target="_top"><code>addCustomAction</code></A>(<code>String,</nobr> String<nobr>,</nobr> int<nobr><nobr></code>)</nobr> 100 <A NAME="android.support.v4.media.session.PlaybackStateCompat.Builder.setActiveQueueItemId_added(long)"></A [all...] |
android.support.v4.media.session.PlaybackStateCompat.html | 10 android.support.v4.media.session.PlaybackStateCompat 74 Class android.support.v4.media.session.<A HREF="../../../../reference/android/support/v4/media/session/PlaybackStateCompat.html" target="_top"><font size="+2"><code>PlaybackStateCompat</code></font></A> 86 <A NAME="android.support.v4.media.session.PlaybackStateCompat.getActiveQueueItemId_added()"></A> 87 <nobr><code>long</code> <A HREF="../../../../reference/android/support/v4/media/session/PlaybackStateCompat.html#getActiveQueueItemId()" target="_top"><code>getActiveQueueItemId</code></A>()</nobr> 93 <A NAME="android.support.v4.media.session.PlaybackStateCompat.getCustomActions_added()"></A> 94 <nobr><code>List<CustomAction></code> <A HREF="../../../../reference/android/support/v4/media/session/PlaybackStateCompat.html#getCustomActions()" target="_top"><code>getCustomActions</code></A>()</nobr> 100 <A NAME="android.support.v4.media.session.PlaybackStateCompat.getExtras_added()"></A> 101 <nobr><code>Bundle</code> <A HREF="../../../../reference/android/support/v4/media/session/PlaybackStateCompat.html#getExtras()" target="_top"><code>getExtras</code></A>()</nobr> 116 <A NAME="android.support.v4.media.session.PlaybackStateCompat.STATE_CONNECTING"></A [all...] |
/frameworks/av/services/audiopolicy/service/ |
AudioPolicyInterfaceImplLegacy.cpp | 152 audio_session_t session) 168 status_t status = audioPolicyEffects->addOutputSessionEffects(output, stream, session); 170 ALOGW("Failed to add effects on session %d", session); 175 return mpAudioPolicy->start_output(mpAudioPolicy, output, stream, session); 180 audio_session_t session) 189 mOutputCommandThread->stopOutputCommand(output, stream, session); 195 audio_session_t session) 205 status_t status = audioPolicyEffects->releaseOutputSessionEffects(output, stream, session); 207 ALOGW("Failed to release effects on session %d", session) [all...] |
/frameworks/base/core/java/android/view/textservice/ |
SpellCheckerSession.java | 139 * @return true if the connection to a text service of this session is disconnected and not 147 * Get the spell checker service info this spell checker session has. 162 * Finish this session and allow TextServicesManagerService to disconnect the bound spell 282 private void processTask(ISpellCheckerSession session, SpellCheckerParams scp, 287 + " session.hashCode()=#" + Integer.toHexString(session.hashCode()) 297 session.onCancel(); 304 session.onGetSuggestionsMultiple(scp.mTextInfos, 312 session.onGetSentenceSuggestionsMultiple( 320 session.onClose() 445 ISpellCheckerSession session; local [all...] |
/external/wpa_supplicant_8/src/crypto/ |
tls_gnutls.c | 27 /* Data for session resumption */ 46 gnutls_session_t session; member in struct:tls_connection 68 static int tls_connection_verify_peer(gnutls_session_t session); 204 ret = gnutls_init(&conn->session, 212 ret = gnutls_set_default_priority(conn->session); 216 ret = gnutls_priority_set_direct(conn->session, "NORMAL:-VERS-SSL3.0", 224 gnutls_transport_set_pull_function(conn->session, tls_pull_func); 225 gnutls_transport_set_push_function(conn->session, tls_push_func); 226 gnutls_transport_set_ptr(conn->session, (gnutls_transport_ptr_t) conn); 227 gnutls_session_set_ptr(conn->session, conn) [all...] |
/external/jetty/src/java/org/eclipse/jetty/server/session/ |
HashSessionManager.java | 19 package org.eclipse.jetty.server.session; 55 * set as the "org.eclipse.jetty.server.session.timer" attribute of the ContextHandler. 97 _timer=(Timer)context.getAttribute("org.eclipse.jetty.server.session.timer"); 171 * @return seconds Idle period after which a session is saved 183 * Configures the period in seconds after which a session is deemed idle and saved 184 * to save on session memory. 186 * The session is persisted, the values attribute map is cleared and the session set to idled. 188 * @param seconds Idle period after which a session is saved 311 // For each session 316 HashedSession session=i.next(); local 513 HashedSession session = restoreSession(in, null); local [all...] |
/cts/tests/tests/tv/src/android/media/tv/cts/ |
HardwareSessionTest.java | 94 CountingSession session = HardwareProxyTvInputService.sSession; local 95 return session != null && session.mTuneCount > 0 96 && (session.mHardwareVideoAvailableCount > 0 97 || session.mHardwareVideoUnavailableCount > 0); 115 public Session onCreateSession(String inputId) {
|
/development/ndk/platforms/android-21/include/media/ |
NdkMediaDrm.h | 68 * This event type indicates that the licensed usage duration for keys in a session 113 * Open a new session with the MediaDrm object. A session ID is returned. 121 * Close a session on the MediaDrm object that was previously opened 210 * used to later restore the keys to a new session with AMediaDrm_restoreKeys. 227 * Restore persisted offline keys into a new session. keySetId identifies the 230 * sessionId is the session ID for the DRM session 237 * Remove the current keys from a session. 244 * Request an informative description of the key status for the session. The status i [all...] |
/external/autotest/client/site_tests/login_MultipleSessions/ |
login_MultipleSessions.py | 51 # bounce the session manager and wait for it to come back up before 73 Make a fresh cryptohome for user, and then start a session for him 74 with the session manager. 76 @param user: the user to start a session for. 78 @raises error.TestFail: if the session cannot be started. 82 raise error.TestFail('Could not start session for ' + user)
|
/external/autotest/client/tests/kvm/tests/ |
migration.py | 42 session = vm.wait_for_login(timeout=timeout) 52 reference_output = session.cmd_output(test_command) 54 # Start some process in the background (and leave the session open) 56 session.sendline(background_command) 59 # Start another session with the guest and make sure the background 110 session.close()
|
trans_hugepage_swapping.py | 67 session = None 88 session = virt_utils.wait_for(vm_key.remote_login, 91 session = virt_test_utils.wait_for_login(vm, 106 session.cmd("find / -name \"*\"", timeout=check_cmd_timeout) 108 if session is not None: 114 session.close()
|
/external/autotest/client/virt/tests/ |
multicast.py | 23 session = vm.wait_for_login(timeout=int(params.get("login_timeout", 360))) 27 session.cmd(cmd) 58 output = session.cmd_output("python /tmp/multicast_guest.py %d %s %d" % 88 logging.debug(session.cmd_output("ipmaddr show")) 89 session.cmd_output("kill -s SIGCONT %s" % pid) 90 session.close()
|
/external/libmicrohttpd/src/microspdy/ |
applicationlayer.c | 31 #include "session.h" 74 daemon = stream->session->daemon; 193 return stream->session->daemon->received_data_cb(cls, stream->cls, buf, size, more); 205 * discarded by the lib for any reason (e.g., closing session, 550 || SPDY_SESSION_STATUS_CLOSING == request->stream->session->status) 593 request->stream->session, 597 request->stream->session, 619 request->stream->session, 656 request->stream->session, 660 request->stream->session, [all...] |
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/ |
AcctCommandHandlerTest.groovy | 22 import org.mockftpserver.core.session.SessionKeys 45 session.removeAttribute(SessionKeys.USERNAME) 61 session.setAttribute(SessionKeys.USERNAME, USERNAME) 77 * Assert that the account name is stored in the session, depending on the value of isAccountNameInSession. 78 * @param isAccountNameInSession - true if the account name is expected in the session; false if it is not expected 82 assert session.getAttribute(SessionKeys.ACCOUNT_NAME) == expectedValue
|
EprtCommandHandlerTest.groovy | 43 assert session.clientDataHost == HOST_IPV4 44 assert session.clientDataPort == PORT 50 assert session.clientDataHost == HOST_IPV6 51 assert session.clientDataPort == PORT 57 assert session.clientDataHost == HOST_IPV6 58 assert session.clientDataPort == PORT
|
RnfrCommandHandlerTest.groovy | 22 import org.mockftpserver.core.session.SessionKeys 41 assert session.getAttribute(SessionKeys.RENAME_FROM) == FILE 46 session.setAttribute(SessionKeys.CURRENT_DIRECTORY, "/") 49 assert session.getAttribute(SessionKeys.RENAME_FROM) == FILE 55 assert session.getAttribute(SessionKeys.RENAME_FROM) == null 62 assert session.getAttribute(SessionKeys.RENAME_FROM) == DIR
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
PortCommandHandlerTest.java | 51 session.setClientDataPort(PORT);
52 session.setClientDataHost(HOST);
53 session.sendReply(ReplyCodes.PORT_OK, replyTextFor(ReplyCodes.PORT_OK));
54 replay(session);
56 commandHandler.handleCommand(COMMAND, session);
57 verify(session);
|
/external/nanohttpd/websocket/src/test/java/fi/iki/elonen/samples/echo/ |
SimpleEchoSocket.java | 42 import org.eclipse.jetty.websocket.api.Session; 84 public void onConnect(Session session) { 85 System.out.printf("Got connect: %s%n", session); 90 fut = session.getRemote().sendStringByFuture(message); 93 session.close(StatusCode.NORMAL, "I'm done");
|
/frameworks/av/include/ndk/ |
NdkMediaDrm.h | 68 * This event type indicates that the licensed usage duration for keys in a session 113 * Open a new session with the MediaDrm object. A session ID is returned. 121 * Close a session on the MediaDrm object that was previously opened 210 * used to later restore the keys to a new session with AMediaDrm_restoreKeys. 227 * Restore persisted offline keys into a new session. keySetId identifies the 230 * sessionId is the session ID for the DRM session 237 * Remove the current keys from a session. 244 * Request an informative description of the key status for the session. The status i [all...] |
/frameworks/base/packages/VpnDialogs/res/values/ |
strings.xml | 34 <!-- Button label to configure the current VPN session. [CHAR LIMIT=20] --> 36 <!-- Button label to disconnect the current VPN session. [CHAR LIMIT=20] --> 39 <!-- Label for the name of the current VPN session. [CHAR LIMIT=20] --> 40 <string name="session">Session:</string> 41 <!-- Label for the duration of the current VPN session. [CHAR LIMIT=20] -->
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
HeadsetMediaButton.java | 22 import android.media.session.MediaSession; 66 MediaSession session = new MediaSession( 69 session.setCallback(mSessionCallback); 70 session.setFlags(MediaSession.FLAG_EXCLUSIVE_GLOBAL_PRIORITY 72 session.setPlaybackToLocal(AUDIO_ATTRIBUTES); 73 mSession = session;
|
/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include/media/ |
NdkMediaDrm.h | 68 * This event type indicates that the licensed usage duration for keys in a session 113 * Open a new session with the MediaDrm object. A session ID is returned. 121 * Close a session on the MediaDrm object that was previously opened 210 * used to later restore the keys to a new session with AMediaDrm_restoreKeys. 227 * Restore persisted offline keys into a new session. keySetId identifies the 230 * sessionId is the session ID for the DRM session 237 * Remove the current keys from a session. 244 * Request an informative description of the key status for the session. The status i [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr/include/media/ |
NdkMediaDrm.h | 68 * This event type indicates that the licensed usage duration for keys in a session 113 * Open a new session with the MediaDrm object. A session ID is returned. 121 * Close a session on the MediaDrm object that was previously opened 210 * used to later restore the keys to a new session with AMediaDrm_restoreKeys. 227 * Restore persisted offline keys into a new session. keySetId identifies the 230 * sessionId is the session ID for the DRM session 237 * Remove the current keys from a session. 244 * Request an informative description of the key status for the session. The status i [all...] |