/frameworks/base/services/core/java/com/android/server/pm/ |
PackageInstallerService.java | 123 private static final String TAG_SESSION = "session"; 180 * Used for generating session IDs. Since this is created at boot time, 230 final PackageInstallerSession session = mSessions.valueAt(i); local 231 unclaimedIcons.remove(buildAppIconFile(session.sessionId)); 253 final PackageInstallerSession session = mSessions.valueAt(i); local 254 unclaimedStages.remove(session.stageDir); 283 final PackageInstallerSession session = mSessions.valueAt(i); local 284 final String cid = session.stageCid; 287 // Claimed by active session, mount it 348 final PackageInstallerSession session = readSessionLocked(in) local 435 final PackageInstallerSession session = mSessions.valueAt(i); local 655 final PackageInstallerSession session; local 697 final PackageInstallerSession session = mSessions.get(sessionId); local 723 final PackageInstallerSession session = mSessions.get(sessionId); local 735 final PackageInstallerSession session = mSessions.get(sessionId); local 754 final PackageInstallerSession session = mSessions.get(sessionId); local 821 final PackageInstallerSession session = mSessions.get(sessionId); local 833 final PackageInstallerSession session = mSessions.valueAt(i); local 850 final PackageInstallerSession session = mSessions.valueAt(i); local 909 PackageInstallerSession session = mSessions.get(sessionId); local 932 final PackageInstallerSession session = sessions.valueAt(i); local 1205 final PackageInstallerSession session = mSessions.valueAt(i); local 1216 final PackageInstallerSession session = mHistoricalSessions.valueAt(i); local [all...] |
/external/chromium-trace/catapult/third_party/Paste/tests/ |
test_session.py | 1 from paste.session import SessionMiddleware 11 sess = environ['paste.session.factory']() 14 sess = environ['paste.session.factory']() 24 sess = environ['paste.session.factory']() 28 sess = environ['paste.session.factory']()
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
PwdCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
45 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
46 sendReply(session, quotes(directory));
|
SystCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
49 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
50 sendReply(session, quotes(systemName));
|
/frameworks/support/v4/api24/android/support/v4/media/session/ |
MediaSessionCompatApi24.java | 17 package android.support.v4.media.session; 19 import android.media.session.MediaSession; 35 MediaSession session = (MediaSession) sessionObj; local 37 Method getCallingPackageMethod = session.getClass().getMethod("getCallingPackage"); 38 return (String) getCallingPackageMethod.invoke(session);
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
ImsCall.java | 477 // Wrapper call session to interworking the IMS service (server). 479 // Call profile of the current session. 488 // Media session to control media (audio/video) operations for an IMS call 494 // While a merge is progressing, we bury any session termination requests 501 // termination request was made on the original session in case we need to act 558 logi("close :: Cannot close Null call session!"); 602 public static boolean isSessionAlive(ImsCallSession session) { 603 return session != null && session.isAlive(); 625 throw new ImsException("No call session", [all...] |
/hardware/qcom/audio/msm8909/hal/ |
voice.c | 48 struct voice_session *session = NULL; local 51 ret = voice_extn_get_session_from_use_case(adev, usecase_id, &session); 53 session = &adev->voice.session[VOICE_SESS_IDX]; 56 return session; 63 struct voice_session *session = NULL; local 67 session = (struct voice_session *)voice_get_session_from_use_case(adev, usecase_id); 68 if (!session) { 69 ALOGE("stop_call: couldn't find voice session"); 73 session->state.current = CALL_INACTIVE 116 struct voice_session *session = NULL; local [all...] |
/prebuilts/sdk/current/support/v13/ |
android-support-v13.jar | |
/frameworks/base/media/java/android/media/tv/ |
TvInputManager.java | 113 * Reason for {@link TvInputService.Session#notifyVideoUnavailable(int)} and 119 * Reason for {@link TvInputService.Session#notifyVideoUnavailable(int)} and 125 * Reason for {@link TvInputService.Session#notifyVideoUnavailable(int)} and 131 * Reason for {@link TvInputService.Session#notifyVideoUnavailable(int)} and 137 * Reason for {@link TvInputService.Session#notifyVideoUnavailable(int)} and 150 * Status for {@link TvInputService.Session#notifyTimeShiftStatusChanged(int)} and 157 * Status for {@link TvInputService.Session#notifyTimeShiftStatusChanged(int)} and 164 * Status for {@link TvInputService.Session#notifyTimeShiftStatusChanged(int)} and 171 * Status for {@link TvInputService.Session#notifyTimeShiftStatusChanged(int)} and 179 * Value returned by {@link TvInputService.Session#onTimeShiftGetCurrentPosition()} an [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
Mailer.java | 78 // Get session 79 Session session = Session.getDefaultInstance(props, null); local 82 MimeMessage message = new MimeMessage(session); 131 // Get session 132 Session session = Session.getDefaultInstance(props, null); local 135 MimeMessage message = new MimeMessage(session); 179 Session session = Session.getDefaultInstance(props, null); local [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
AbstractInputMethodService.java | 58 * Instantiate a new client session for the input method, by calling 67 * Take care of enabling or disabling an existing session by calling its 71 public void setSessionEnabled(InputMethodSession session, boolean enabled) { 72 ((AbstractInputMethodSessionImpl)session).setEnabled(enabled); 76 * Take care of killing an existing session by calling its 80 public void revokeSession(InputMethodSession session) { 81 ((AbstractInputMethodSessionImpl)session).revokeSelf(); 87 * interface. This takes care of basic maintenance of the session, 95 * Check whether this session has been enabled by the system. If not 103 * Check whether this session has been revoked by the system. Revoke [all...] |
/frameworks/av/media/libstagefright/foundation/ |
ANetworkSession.cpp | 56 NetworkThread(ANetworkSession *session); 69 struct ANetworkSession::Session : public RefBase { 84 Session(int32_t sessionID, 110 virtual ~Session(); 141 DISALLOW_EVIL_CONSTRUCTORS(Session); 145 ANetworkSession::NetworkThread::NetworkThread(ANetworkSession *session) 146 : mSession(session) { 160 ANetworkSession::Session::Session( 216 ANetworkSession::Session::~Session() 975 sp<Session> session; local 1177 const sp<Session> session = mSessions.valueAt(index); local 1216 const sp<Session> session = mSessions.valueAt(index); local 1234 const sp<Session> session = mSessions.valueAt(index); local 1263 const sp<Session> &session = mSessions.valueAt(i); local 1323 const sp<Session> &session = mSessions.valueAt(i); local 1402 sp<Session> session = *sessionsToAdd.begin(); local [all...] |
/external/jetty/src/java/org/eclipse/jetty/server/session/ |
SessionHandler.java | 19 package org.eclipse.jetty.server.session; 46 final static Logger LOG = Log.getLogger("org.eclipse.jetty.server.session"); 65 * The session manager 156 // new session context 162 // access any existing session 163 HttpSession session = null; local 166 session = baseRequest.getSession(false); 167 if (session != null) 169 if (session != old_session) 171 access = session; 206 HttpSession session = baseRequest.getSession(false); local 250 HttpSession session = sessionManager.getHttpSession(requested_session_id); local 259 HttpSession session = null; local [all...] |
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/session/ |
DefaultSession.java | 16 package org.mockftpserver.core.session;
50 * Default implementation of the {@link Session} interface.
56 public class DefaultSession implements Session {
96 * Return the InetAddress representing the client host for this session
100 * @see org.mockftpserver.core.session.Session#getClientHost()
107 * Return the InetAddress representing the server host for this session
111 * @see org.mockftpserver.core.session.Session#getServerHost()
152 * @see org.mockftpserver.core.session.Session#openDataConnection() [all...] |
/frameworks/base/core/java/android/content/pm/ |
PackageInstaller.java | 58 * {@link PackageInstaller.Session}, which any app can create. Once the session 60 * decides to either commit or destroy the session. Committing may require user 81 * Activity Action: Show details about a particular install session. This 85 * session. Clients should use {@link SessionInfo#createDetailsIntent()} to 91 * The session to show details for is defined in {@link #EXTRA_SESSION_ID}. 101 * An integer session ID that an operation is working with. 206 * user actively declined requested permissions, or the session was 278 * Create a new session using the given parameters, returning a unique ID 279 * that represents the session. Once created, the session can be opene [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
AudioSession.cpp | 29 AudioSession::AudioSession(audio_session_t session, 39 mSession(session), mInputSource(inputSource), 101 if (other->session() == mSession && 139 snprintf(buffer, SIZE, "%*sAudio session %d:\n", spaces, "", index+1); 141 snprintf(buffer, SIZE, "%*s- session: %2d\n", spaces, "", mSession); 166 status_t AudioSessionCollection::addSession(audio_session_t session, 170 ssize_t index = indexOfKey(session); 173 ALOGW("addSession() session %d already in", session); 177 add(session, audioSession) [all...] |
/frameworks/base/docs/html/training/tv/playback/ |
now-playing.jd | 13 <li><a href="#session">Start a Media Session</a></li> 26 screen when there is an active {@link android.media.session.MediaSession}. 30 <p>This lesson shows how to use the {@link android.media.session.MediaSession} class to implement 37 <h2 id="session">Start a Media Session</h2> 40 {@link android.media.session.MediaSession#MediaSession(android.content.Context, java.lang.String) MediaSession} 52 only for a media session with 53 the {@link android.media.session.MediaSession#FLAG_HANDLES_TRANSPORT_CONTROLS} flag set.</p> 58 {@link android.media.session.MediaSession#setActive(boolean) setActive(true) [all...] |
/external/autotest/client/tests/kvm/tests/ |
timedrift_with_migration.py | 23 session = vm.wait_for_login(timeout=timeout) 39 (ht0, gt0) = virt_test_utils.get_time(session, time_command, 45 (ht0_, gt0_) = virt_test_utils.get_time(session, time_command, 47 session.close() 54 session = vm.wait_for_login(timeout=30) 57 (ht1_, gt1_) = virt_test_utils.get_time(session, time_command, 75 (ht1, gt1) = virt_test_utils.get_time(session, time_command, 79 if session: 80 session.close()
|
timedrift_with_reboot.py | 23 session = vm.wait_for_login(timeout=timeout) 39 (ht0, gt0) = virt_test_utils.get_time(session, time_command, 45 (ht0_, gt0_) = virt_test_utils.get_time(session, time_command, 50 session = vm.reboot(session) 52 (ht1_, gt1_) = virt_test_utils.get_time(session, time_command, 70 (ht1, gt1) = virt_test_utils.get_time(session, time_command, 74 if session: 75 session.close()
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/command/ |
StaticReplyCommandHandlerTest.java | 85 session.sendReply(250, replyTextFor(250));
86 replay(session);
88 commandHandler.handleCommand(COMMAND, session);
89 verify(session);
103 session.sendReply(REPLY_CODE, REPLY_TEXT);
104 replay(session);
106 commandHandler.handleCommand(COMMAND, session);
107 verify(session);
120 commandHandler.handleCommand(COMMAND, session);
|
_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/ |
AlloCommandHandlerTest.java | 47 session.sendReply(ReplyCodes.ALLO_OK, replyTextFor(ReplyCodes.ALLO_OK));
48 session.sendReply(ReplyCodes.ALLO_OK, replyTextFor(ReplyCodes.ALLO_OK));
49 replay(session);
51 commandHandler.handleCommand(command1, session);
52 commandHandler.handleCommand(command2, session);
53 verify(session);
75 commandHandler.handleCommand(new Command(CommandNames.ALLO, array("123 R ")), session);
89 commandHandler.handleCommand(new Command(CommandNames.ALLO, array("xx")), session);
102 commandHandler.handleCommand(new Command(CommandNames.ALLO, array("123 R xx")), session);
|
RetrCommandHandlerTest.java | 100 session.sendReply(ReplyCodes.TRANSFER_DATA_INITIAL_OK, replyTextFor(ReplyCodes.TRANSFER_DATA_INITIAL_OK));
101 session.openDataConnection();
102 session.sendData(FILE_CONTENTS.getBytes(), FILE_CONTENTS.length());
103 control(session).setMatcher(MockControl.ARRAY_MATCHER);
104 session.closeDataConnection();
105 session.sendReply(ReplyCodes.TRANSFER_DATA_FINAL_OK, replyTextFor(ReplyCodes.TRANSFER_DATA_FINAL_OK));
106 replay(session);
109 commandHandler.handleCommand(command, session);
110 verify(session);
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
PasvCommandHandler.java | 27 import org.mockftpserver.core.session.Session;
31 * CommandHandler for the PASV (Passove Mode) command. Request the Session to switch to passive
57 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(Command, Session, InvocationRecord)
59 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord)
62 int port = session.switchToPassiveMode();
63 InetAddress server = session.getServerHost();
69 sendReply(session, hostAndPort);
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/command/ |
StaticReplyCommandHandlerTest.java | 87 session.sendReply(250, replyTextFor(250));
88 replay(session);
90 commandHandler.handleCommand(COMMAND, session);
91 verify(session);
105 session.sendReply(REPLY_CODE, REPLY_TEXT);
106 replay(session);
108 commandHandler.handleCommand(COMMAND, session);
109 verify(session);
122 commandHandler.handleCommand(COMMAND, session);
|