/external/llvm/lib/DebugInfo/PDB/DIA/ |
DIASession.cpp | 25 DIASession::DIASession(CComPtr<IDiaSession> DiaSession) : Session(DiaSession) {} 28 std::unique_ptr<IPDBSession> &Session) { 64 Session.reset(new DIASession(DiaSession)); 69 std::unique_ptr<IPDBSession> &Session) { 108 Session.reset(new DIASession(DiaSession)); 114 bool success = (S_OK == Session->get_loadAddress(&LoadAddress)); 119 Session->put_loadAddress(Address); 124 if (S_OK != Session->get_globalScope(&GlobalScope)) 136 if (S_OK != Session->symbolById(SymbolId, &LocatedSymbol)) 148 if (S_OK != Session->findSymbolByVA(Address, EnumVal, &Symbol)) [all...] |
DIAEnumSourceFiles.cpp | 18 : Session(PDBSession), Enumerator(DiaEnumerator) {} 31 return std::unique_ptr<IPDBSourceFile>(new DIASourceFile(Session, Item)); 40 return std::unique_ptr<IPDBSourceFile>(new DIASourceFile(Session, Item)); 49 return new DIAEnumSourceFiles(Session, EnumeratorClone);
|
/external/llvm/lib/DebugInfo/PDB/ |
PDBSymbolData.cpp | 24 return Session.getSymbolById(getTypeId());
|
PDBSymbolTypeArray.cpp | 24 return Session.getSymbolById(getTypeId());
|
PDBSymbolTypePointer.cpp | 24 return Session.getSymbolById(getTypeId());
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
Session.h | 32 class Session : public android::RefBase { 34 explicit Session(const android::Vector<uint8_t>& sessionId) 36 virtual ~Session() {} 54 DISALLOW_EVIL_CONSTRUCTORS(Session);
|
SessionLibrary.cpp | 39 ALOGD("Instantiating Session Library Singleton."); 46 const sp<Session>& SessionLibrary::createSession() { 56 mSessions.add(sessionId, new Session(sessionId)); 60 const sp<Session>& SessionLibrary::findSession( 66 void SessionLibrary::destroySession(const sp<Session>& session) { 68 mSessions.removeItem(session->sessionId());
|
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
ObservableFrameServer.java | 37 * availability (whether or not an exclusive session can likely be acquired 43 * The total number of clients which either have an exclusive Session or are 51 private class SessionImpl implements Session { 53 private final Session mDelegate; 55 private SessionImpl(Session delegate) { 85 public Session createExclusiveSession() throws InterruptedException { 90 // the session, which is responsible for decrementing it later. 91 Session session = mDelegate.createExclusiveSession(); local 92 return new SessionImpl(session); 105 Session session = mDelegate.tryCreateExclusiveSession(); local [all...] |
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/command/ |
_AbstractCommandHandlerTest.java | 21 import org.mockftpserver.core.session.Session;
108 Session session = (Session) createMock(Session.class);
local 109 control(session).setDefaultMatcher(MockControl.ARRAY_MATCHER);
111 public void handleCommand(Command command, Session session) throws Exception {
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
_AbstractStubDataCommandHandlerTest.java | 22 import org.mockftpserver.core.session.Session;
49 private Session session;
field in class:_AbstractStubDataCommandHandlerTest 58 session.sendReply(150, REPLY_TEXT150);
59 session.openDataConnection();
60 session.sendReply(222, REPLY_TEXT222);
61 session.sendReply(333, REPLY_TEXT333);
62 session.sendReply(444, REPLY_TEXT444);
63 session.closeDataConnection(); [all...] |
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
_AbstractStubDataCommandHandlerTest.java | 24 import org.mockftpserver.core.session.Session;
49 private Session session;
field in class:_AbstractStubDataCommandHandlerTest 58 session.sendReply(150, REPLY_TEXT150);
59 session.openDataConnection();
60 session.sendReply(222, REPLY_TEXT222);
61 session.sendReply(333, REPLY_TEXT333);
62 session.sendReply(444, REPLY_TEXT444);
63 session.closeDataConnection(); [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
AbstractFakeCommandHandler.java | 24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 * Reply code sent back when a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) {
73 Assert.notNull(session, "session");
76 handle(command, session);
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); [all...] |
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...] |
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");
|
HelpCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
44 protected void handle(Command command, Session session) {
49 sendReply(session, ReplyCodes.HELP_OK, "help.noHelpTextDefined", list(key));
51 sendReply(session, ReplyCodes.HELP_OK, "help", list(help));
|
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...] |
PassCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
21 import org.mockftpserver.core.session.SessionKeys;
39 protected void handle(Command command, Session session) {
41 String username = (String) getRequiredSessionAttribute(session, SessionKeys.USERNAME);
43 if (validateUserAccount(username, session)) {
48 login(userAccount, session, replyCode, replyMessageKey);
50 sendReply(session, ReplyCodes.PASS_LOG_IN_FAILED, "pass.loginFailed");
|
PasvCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
29 * <li>Otherwise, request the Session to switch to passive data connection mode. Return a reply code of 227,
41 protected void handle(Command command, Session session) {
42 verifyLoggedIn(session);
44 int port = session.switchToPassiveMode();
45 InetAddress server = session.getServerHost();
49 sendReply(session, ReplyCodes.PASV_OK, "pasv", list(hostAndPort));
|
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");
|
RmdCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
38 protected void handle(Command command, Session session) {
39 verifyLoggedIn(session);
40 String path = getRealPath(session, command.getRequiredParameter(0));
48 verifyWritePermission(session, getFileSystem().getParent(path));
51 sendReply(session, ReplyCodes.RMD_OK, "rmd", list(path));
|
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...] |
/cts/tests/tests/tv/src/android/media/tv/cts/ |
FaultyTvInputService.java | 29 public Session onCreateSession(String inputId) { 38 public static class FaultySession extends Session {
|
/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...] |