HomeSort by relevance Sort by last modified time
    Searched defs:session (Results 76 - 100 of 811) sorted by null

1 2 34 5 6 7 8 91011>>

  /cts/hostsidetests/media/app/MediaSessionTest/src/android/media/session/cts/
MediaSessionManagerTest.java 17 package android.media.session.cts;
26 import android.media.session.MediaController;
27 import android.media.session.MediaSessionManager;
56 * Tests if the MediaSessionTestHelper doesn't have an active media session.
63 fail("Media session for the media session app shouldn't be available");
70 * Tests if the MediaSessionTestHelper has an active media session.
81 fail("Media session for the media session app is expected");
85 * Tests if there's no media session
    [all...]
  /external/conscrypt/openjdk/src/test/java/org/conscrypt/
MockSessionBuilder.java 67 NativeSslSession session = mock(NativeSslSession.class); local
69 when(session.getId()).thenReturn(id);
70 when(session.isValid()).thenReturn(valid);
71 when(session.getProtocol()).thenReturn(TestUtils.getProtocols()[0]);
72 when(session.getPeerHost()).thenReturn(host);
73 when(session.getPeerPort()).thenReturn(port);
74 when(session.getCipherSuite()).thenReturn(cipherSuite);
75 when(session.toBytes()).thenReturn(encodedBytes);
76 return session;
  /external/libese/esed/
OemLock.cpp 55 // Open SE session for applet
56 EseBootSession session; local
57 ese_boot_session_init(&session);
58 EseAppResult res = ese_boot_session_open(mEse.ese_interface(), &session);
60 LOG(ERROR) << "Failed to open a boot session: " << res;
63 res = ese_boot_lock_xset(&session, kEseBootLockIdCarrier,
70 // Try and close the session without perturbing our result value.
71 if (ese_boot_session_close(&session) != ESE_APP_RESULT_OK) {
72 LOG(WARNING) << "Failed to close boot session";
88 // Open SE session for apple
89 EseBootSession session; local
130 EseBootSession session; local
159 EseBootSession session; local
    [all...]
  /external/libmicrohttpd/src/testcurl/https/
test_https_time_out.c 47 test_tls_session_time_out (gnutls_session_t session)
65 gnutls_transport_set_ptr (session, (gnutls_transport_ptr_t) (intptr_t) sd);
76 ret = gnutls_handshake (session);
105 gnutls_session_t session; local
132 if (0 != setup_session (&session, &key, &cert, &xcred))
134 fprintf (stderr, "failed to setup session\n");
137 errorCount += test_tls_session_time_out (session);
138 teardown_session (session, &key, &cert, xcred);
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/session/
SessionKeys.java 16 package org.mockftpserver.core.session;
19 * Constants for names of properties (attributes) stored in the session.
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
AcctCommandHandler.java 20 import org.mockftpserver.core.session.Session;
21 import org.mockftpserver.core.session.SessionKeys;
28 * <li>Store the account name in the session and reply with 230</li>
36 protected void handle(Command command, Session session) {
38 String username = (String) getRequiredSessionAttribute(session, SessionKeys.USERNAME);
40 session.setAttribute(SessionKeys.ACCOUNT_NAME, accountName);
41 sendReply(session, ReplyCodes.ACCT_OK, "acct", list(username));
CdupCommandHandler.java 20 import org.mockftpserver.core.session.Session;
21 import org.mockftpserver.core.session.SessionKeys;
29 * <li>Otherwise, reply with 200 and change the current directory stored in the session to the parent directory</li>
37 protected void handle(Command command, Session session) {
38 verifyLoggedIn(session);
39 String currentDirectory = (String) getRequiredSessionAttribute(session, SessionKeys.CURRENT_DIRECTORY);
47 verifyExecutePermission(session, path);
49 session.setAttribute(SessionKeys.CURRENT_DIRECTORY, path);
    [all...]
CwdCommandHandler.java 20 import org.mockftpserver.core.session.Session;
21 import org.mockftpserver.core.session.SessionKeys;
30 * <li>Otherwise, reply with 250 and change the current directory stored in the session</li>
39 protected void handle(Command command, Session session) {
40 verifyLoggedIn(session);
41 String path = getRealPath(session, command.getRequiredParameter(0));
48 verifyExecutePermission(session, path);
50 session.setAttribute(SessionKeys.CURRENT_DIRECTORY, path);
    [all...]
RnfrCommandHandler.java 20 import org.mockftpserver.core.session.Session;
21 import org.mockftpserver.core.session.SessionKeys;
30 * <li>Otherwise, reply with 350 and store the FROM path in the session</li>
39 protected void handle(Command command, Session session) {
40 verifyLoggedIn(session);
41 String fromPath = getRealPath(session, command.getRequiredParameter(0));
47 verifyReadPermission(session, fromPath);
49 session.setAttribute(SessionKeys.RENAME_FROM, fromPath);
    [all...]
UserCommandHandler.java 20 import org.mockftpserver.core.session.Session;
21 import org.mockftpserver.core.session.SessionKeys;
30 * current directory in the session, and reply with 230</li>
31 * <li>Otherwise, set the username in the session and reply with 331</li>
39 protected void handle(Command command, Session session) {
44 if (!validateUserAccount(username, session)) {
50 login(userAccount, session, ReplyCodes.USER_LOGGED_IN_OK, "user.loggedIn");
54 session.setAttribute(SessionKeys.USERNAME, username);
    [all...]
  /external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/command/
ConnectCommandHandlerTest.java 31 session.sendReply(ReplyCodes.CONNECT_OK, replyTextFor(ReplyCodes.CONNECT_OK));
32 replay(session);
34 commandHandler.handleCommand(command1, session);
35 verify(session);
UnsupportedCommandHandlerTest.java 31 session.sendReply(ReplyCodes.COMMAND_NOT_SUPPORTED, replyTextFor(ReplyCodes.COMMAND_NOT_SUPPORTED));
32 replay(session);
34 commandHandler.handleCommand(command1, session);
35 verify(session);
  /external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/
AborCommandHandlerTest.java 38 session.sendReply(ReplyCodes.ABOR_OK, replyTextFor(ReplyCodes.ABOR_OK));
39 replay(session);
41 commandHandler.handleCommand(COMMAND, session);
42 verify(session);
NoopCommandHandlerTest.java 40 session.sendReply(ReplyCodes.NOOP_OK, replyTextFor(ReplyCodes.NOOP_OK));
41 replay(session);
43 commandHandler.handleCommand(COMMAND, session);
44 verify(session);
  /external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/
AborCommandHandlerTest.java 39 session.sendReply(ReplyCodes.ABOR_OK, replyTextFor(ReplyCodes.ABOR_OK));
40 replay(session);
42 commandHandler.handleCommand(COMMAND, session);
43 verify(session);
ConnectCommandHandlerTest.java 41 session.sendReply(ReplyCodes.CONNECT_OK, replyTextFor(ReplyCodes.CONNECT_OK));
42 replay(session);
44 commandHandler.handleCommand(command1, session);
45 verify(session);
NoopCommandHandlerTest.java 40 session.sendReply(ReplyCodes.NOOP_OK, replyTextFor(ReplyCodes.NOOP_OK));
41 replay(session);
43 commandHandler.handleCommand(COMMAND, session);
44 verify(session);
  /external/mockito/src/main/java/org/mockito/internal/junit/
JUnitRule.java 11 import org.mockito.internal.session.MockitoSessionLoggerAdapter;
23 private MockitoSession session; field in class:JUnitRule
37 session = Mockito.mockitoSession()
44 session.finishMocking(testFailure);
67 // session is null when this method is called during initialization of
69 if (session != null) {
70 session.setStrictness(strictness);
  /external/mockito/src/main/java/org/mockito/internal/session/
DefaultMockitoSessionBuilder.java 5 package org.mockito.internal.session;
12 import org.mockito.session.MockitoSessionBuilder;
13 import org.mockito.session.MockitoSessionLogger;
70 effectiveName = this.name == null ? "<Unnamed Session>" : this.name;
  /external/nanohttpd/core/src/test/java/fi/iki/elonen/
HttpSessionHeadersTest.java 63 NanoHTTPD.HTTPSession session = this.testServer.createSession(HttpSessionHeadersTest.TEST_TEMP_FILE_MANAGER, inputStream, outputStream, inetAddress); local
64 assertEquals(ipAddress, session.getHeaders().get("remote-addr"));
65 assertEquals(ipAddress, session.getHeaders().get("http-client-ip"));
  /external/tensorflow/tensorflow/contrib/lite/examples/ios/camera/
CameraExampleViewController.h 33 AVCaptureSession* session; variable
  /external/tensorflow/tensorflow/contrib/session_bundle/
session_bundle.h 16 // Low-level functionality for setting up a inference Session.
29 #include "tensorflow/core/public/session.h"
46 std::unique_ptr<Session> session; member in struct:tensorflow::serving::SessionBundle
49 // A TensorFlow Session does not Close itself on destruction. To avoid
52 if (session) {
53 session->Close().IgnoreError();
61 // Loads a manifest and initialized session using the output of an Exporter.
66 // Similar to the LoadSessionBundleFromPath(), but also allows the session run
  /external/tensorflow/tensorflow/core/distributed_runtime/rpc/
grpc_testlib.cc 70 std::unique_ptr<GrpcSession> session; local
71 TF_RETURN_IF_ERROR(GrpcSession::Create(options_copy, &session));
73 TF_RETURN_IF_ERROR(session->ListDevices(&ret->devices_));
  /external/tensorflow/tensorflow/python/training/
session_run_hook.py 15 """A SessionRunHook extends `session.run()` calls for the `MonitoredSession`.
20 - when a session starts being used
21 - before a call to the `session.run()`
22 - after a call to the `session.run()`
23 - when the session closed
42 print('Starting the session.')
45 def after_create_session(self, session, coord):
48 print('Session created.')
51 print('Before calling session.run().')
60 def end(self, session)
248 def session(self): member in class:SessionRunContext
    [all...]
  /external/tpm2/
ContextLoad.c 16 // session context
17 // TPM_RC_HANDLE 'context. savedHandle' does not reference a saved session
21 // TPM_RC_SESSION_MEMORY no free session slots
90 // Perform object or session specific input check
125 SESSION *session = (SESSION *)(in->context.contextBlob.t.buffer local
141 // Check if input handle points to a valid saved session
145 // Restore session. A TPM_RC_SESSION_MEMORY, TPM_RC_CONTEXT_GAP error
147 result = SessionContextLoad(session, &in->context.savedHandle)
    [all...]

Completed in 608 milliseconds

1 2 34 5 6 7 8 91011>>