/external/mtpd/ |
l2tp.c | 18 * creates a single session. The following code only handles control packets. 129 static void set_message(uint16_t session, uint16_t message) 135 p[3] = session; 184 static int recv_packet(uint16_t *session) 229 *session = p[3]; 363 .local = {.tunnel = local_tunnel, .session = local_session}, 364 .remote = {.tunnel = remote_tunnel, .session = remote_session}, 416 uint16_t session = 0; local 418 if (!recv_packet(&session)) { 422 /* Here is the fun part. We always try to protect our tunnel and session [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
IInputMethodWrapper.java | 95 public void sessionCreated(InputMethodSession session) { 97 if (session != null) { 99 new IInputMethodSessionWrapper(mContext, session, mChannel); 279 public void setSessionEnabled(IInputMethodSession session, boolean enabled) { 282 session).getInternalInputMethodSession(); 284 Log.w(TAG, "Session is already finished: " + session); 290 Log.w(TAG, "Incoming session not of correct type: " + session, e); 295 public void revokeSession(IInputMethodSession session) { [all...] |
/hardware/ti/omap4-aah/security/tf_crypto_sst/ |
pkcs11_global.c | 114 * Check that hSession is a valid primary session, 115 * or a valid secondary session attached to a valid primary session. 118 * S_HANDLE hSession: the session handle to check 120 * bool* pBoolIsPrimarySession: a boolean set to true if the session is primary, 121 * set to false if the session if the session is secondary 123 * - either hSession is a valid primary session 124 * - or hSession is a valid secondary session attached to a valid primary session [all...] |
/hardware/ti/omap4xxx/security/tf_crypto_sst/ |
pkcs11_global.c | 114 * Check that hSession is a valid primary session, 115 * or a valid secondary session attached to a valid primary session. 118 * S_HANDLE hSession: the session handle to check 120 * bool* pBoolIsPrimarySession: a boolean set to true if the session is primary, 121 * set to false if the session if the session is secondary 123 * - either hSession is a valid primary session 124 * - or hSession is a valid secondary session attached to a valid primary session [all...] |
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
AbstractCommandHandlerTest.java | 28 import org.mockftpserver.core.session.Session;
49 protected Session session;
field in class:AbstractCommandHandlerTest 63 commandHandler.handleCommand(new Command(commandName, parameters), session);
156 session = (Session) createMock(Session.class);
157 control(session).setDefaultMatcher(MockControl.ARRAY_MATCHER);
158 control(session).expectAndDefaultReturn(session.getClientHost(), DEFAULT_HOST); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
HandshakeCompletedEventTest.java | 74 mySSLSession session = new mySSLSession(); local 76 HandshakeCompletedEvent event = new HandshakeCompletedEvent(socket, session); 89 mySSLSession session = new mySSLSession("localhost", 1080, null); local 91 HandshakeCompletedEvent event = new HandshakeCompletedEvent(socket, session); 100 mySSLSession session = new mySSLSession("localhost", 1080, null); local 102 HandshakeCompletedEvent event = new HandshakeCompletedEvent(socket, session); 111 mySSLSession session = new mySSLSession("localhost", 1080, null); local 113 HandshakeCompletedEvent event = new HandshakeCompletedEvent(socket, session); 123 mySSLSession session = new mySSLSession((X509Certificate[]) null); local 125 HandshakeCompletedEvent event = new HandshakeCompletedEvent(socket, session); 146 mySSLSession session = new mySSLSession("localhost", 1080, null); local 166 mySSLSession session = new mySSLSession("localhost", 1080, null); local 177 mySSLSession session = new mySSLSession("localhost", 1080, null); local [all...] |
/cts/tests/tests/print/src/android/print/cts/services/ |
PrinterDiscoverySessionCallbacks.java | 27 public void setSession(StubbablePrinterDiscoverySession session) { 28 mSession = session;
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
StubTvInputService.java | 29 public Session onCreateSession(String inputId) { 33 private static class StubSessionImpl extends Session {
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
ServerHandshakeImplTest.java | 80 // precondition: session hash does not contains requested session 103 // precondition: session hash contains requested session 105 SSLSessionImpl session = new SSLSessionImpl( local 107 session.id = ses_id; 108 // put session to hash 109 server.parameters.getServerSessionContext().putSession(session);
|
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/ |
pairingsession.h | 31 // The state of the Polo pairing session. 33 // The Polo session has not yet been initialized. 36 // The session is initializing. 55 // Creates a new pairing session. The given wire adapter will be used for 65 // Adds a supported input encoding. This must be called before the session is 69 // Adds a supported output encoding. This must be called before the session is 73 // Starts the pairing session. The given listener will be invoked during the 74 // pairing session.
|
/external/jetty/src/java/org/eclipse/jetty/security/authentication/ |
LoginAuthenticator.java | 31 import org.eclipse.jetty.server.session.AbstractSessionManager; 73 /** Change the session id. 74 * The session is changed to a new instance with a new ID if and only if:<ul> 75 * <li>A session exists. 77 * <li>The session ID has been given to unauthenticated responses 81 * @return The new session. 87 //if we should renew sessions, and there is an existing session that may have been seen by non-authenticated users 88 //(indicated by SESSION_SECURED not being set on the session) then we should change id
|
/external/llvm/include/llvm/DebugInfo/PDB/DIA/ |
DIAEnumSymbols.h | 22 explicit DIAEnumSymbols(const DIASession &Session, 32 const DIASession &Session;
|
DIASession.h | 23 std::unique_ptr<IPDBSession> &Session); 39 CComPtr<IDiaSession> Session;
|
DIASourceFile.h | 21 explicit DIASourceFile(const DIASession &Session, 31 const DIASession &Session;
|
/external/llvm/lib/DebugInfo/PDB/ |
PDB.cpp | 24 std::unique_ptr<IPDBSession> &Session) { 27 return DIASession::createFromPdb(Path, Session);
|
PDBSymbolTypeEnum.cpp | 26 return Session.getConcreteSymbolById<PDBSymbolTypeUDT>(getClassParentId()); 31 return Session.getConcreteSymbolById<PDBSymbolTypeBuiltin>(getTypeId());
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/ |
UserCommandHandlerTest.groovy | 22 import org.mockftpserver.core.session.SessionKeys 62 assert session.getAttribute(SessionKeys.USER_ACCOUNT) == userAccount 115 * Assert that the Username is stored in the session, depending on the value of isUsernameInSession. 116 * @param isUsernameInSession - true if the Username is expected in the session; false if it is not expected 120 assert session.getAttribute(SessionKeys.USERNAME) == expectedValue 124 * Assert that the current directory is set in the session, but only if currentDirectory is not null. 125 * @param currentDirectory - the curent directory expected in the session; null if it is not expected 128 assert session.getAttribute(SessionKeys.CURRENT_DIRECTORY) == currentDirectory
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/ |
StubFtpServerTest.java | 23 import org.mockftpserver.core.session.Session;
91 protected void handleCommand(Command command, Session session, InvocationRecord invocationRecord) throws Exception {
97 public void handleCommand(Command command, Session session) throws Exception {
112 protected void handleCommand(Command command, Session session, InvocationRecord invocationRecord) throws Exception {
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
PortCommandHandler.java | 27 import org.mockftpserver.core.session.Session;
60 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(Command, Session, InvocationRecord)
62 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) throws UnknownHostException {
66 session.setClientDataHost(host);
67 session.setClientDataPort(port);
70 sendReply(session);
|
/external/selinux/policycoreutils/restorecond/ |
restorecond.8 | 30 Turns on user mode. Runs restorecond in the user session and reads /etc/selinux/restorecond_user.conf. Uses dbus to make sure only one restorecond is running per user session.
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
CryptoPlugin.h | 27 #include "Session.h" 59 android::sp<Session> mSession;
|
/frameworks/base/core/java/android/content/ |
ISyncContext.aidl | 34 * Signal that the corresponding sync session is completed. 35 * @param result information about this sync session
|
/frameworks/base/media/java/android/media/tv/ |
ITvInputSessionCallback.aidl | 26 * new session has been created. 30 void onSessionCreated(ITvInputSession session, in IBinder hardwareSessionToken);
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
VirtualizerTest.java | 122 Log.d(TAG, "Invalid session #: "+mSessionText.getText().toString()); 220 private void getEffect(int session) { 222 if (sInstances.containsKey(session)) { 223 mVirtualizer = sInstances.get(session); 226 mVirtualizer = new Virtualizer(0, session); 236 sInstances.put(session, mVirtualizer); 258 private void putEffect(int session) { 267 sInstances.remove(session);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
BlackFrame.java | 39 BlackSurface(SurfaceSession session, int layer, int l, int t, int r, int b, int layerStack) 48 surface = new WindowStateAnimator.SurfaceTrace(session, "BlackSurface(" 52 surface = new SurfaceControl(session, "BlackSurface", 115 public BlackFrame(SurfaceSession session, Rect outer, Rect inner, int layer, int layerStack, 125 mBlackSurfaces[0] = new BlackSurface(session, layer, 129 mBlackSurfaces[1] = new BlackSurface(session, layer, 133 mBlackSurfaces[2] = new BlackSurface(session, layer, 137 mBlackSurfaces[3] = new BlackSurface(session, layer,
|