HomeSort by relevance Sort by last modified time
    Searched refs:Session (Results 201 - 225 of 327) sorted by null

1 2 3 4 5 6 7 891011>>

  /packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
PackageInstallerImpl.java 52 private final Map<String, PackageInstaller.Session> mOpenSessionMap;
73 mOpenSessionMap = new HashMap<String, PackageInstaller.Session>();
98 * This is a placeholder implementation that bundles an entire "session" into a single
99 * call. This will be replaced by more granular versions that allow longer session lifetimes,
110 // 1. Create or recover a session, and open it
112 PackageInstaller.Session session = null; local
116 session = getSession(packageName);
118 // If open failed, or there was no session, create a new one and open it.
120 if (session == null)
163 PackageInstaller.Session session = mOpenSessionMap.get(packageName); local
236 PackageInstaller.Session session = mOpenSessionMap.remove(packageName); local
    [all...]
InstallTask.java 45 private PackageInstaller.Session mSession;
54 PackageInstallerImpl.InstallListener callback, PackageInstaller.Session session,
60 mSession = session;
95 mErrorDesc = "Could not close session stream";
108 // 3. Commit the session (this actually installs it.) Session map
  /developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/simple/
SimpleTvInputService.java 44 public Session onCreateSession(String inputId) {
49 * Simple session implementation which plays local videos on the application's tune request.
51 private class SimpleSessionImpl extends TvInputService.Session {
  /development/samples/SpellChecker/SampleSpellCheckerService/src/com/example/android/samplespellcheckerservice/
SampleSpellCheckerService.java 33 public Session createSession() {
37 private static class AndroidSpellCheckerSession extends Session {
53 * {@link SpellCheckerService.Session#onGetSuggestionsMultiple(TextInfo[], int, boolean)}
55 * {@link SpellCheckerService.Session#onGetSuggestionsMultiple(TextInfo[], int, boolean)}
57 * {@link SpellCheckerService.Session#onGetSuggestionsMultiple(TextInfo[], int, boolean)}.
80 * {@link SpellCheckerService.Session#onGetSentenceSuggestionsMultiple(TextInfo[], int)}
82 * {@link SpellCheckerService.Session#onGetSuggestionsMultiple(TextInfo[], int, boolean)}
  /external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/core/session/
StubSession.groovy 16 package org.mockftpserver.core.session
19 * Stub implementation of the {@link Session} interface for testing
25 class StubSession implements Session {
41 * @see org.mockftpserver.core.session.Session#close()
48 * @see org.mockftpserver.core.session.Session#closeDataConnection()
55 * @see org.mockftpserver.core.session.Session#getAttribute(java.lang.String)
62 * @see org.mockftpserver.core.session.Session#getAttributeNames()
    [all...]
  /external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/
StubFtpServer_MultipleClientsIntegrationTest.java 24 import org.mockftpserver.core.session.Session;
43 // Custom CommandHandler for PWD so that we can verify unique session-specific responses.
44 // Send back the hashCode for the Session as the reply text.
46 protected void handleCommand(Command command, Session session, InvocationRecord invocationRecord) throws Exception {
47 String replyText = quotes(Integer.toString(session.hashCode()));
48 sendReply(session, 257, null, replyText, null);
80 // Make sure all session ids are unique
  /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/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/
StubFtpServer_MultipleClientsIntegrationTest.java 23 import org.mockftpserver.core.session.Session;
43 // Custom CommandHandler for PWD so that we can verify unique session-specific responses.
44 // Send back the hashCode for the Session as the reply text.
46 protected void handleCommand(Command command, Session session, InvocationRecord invocationRecord) throws Exception {
47 String replyText = quotes(Integer.toString(session.hashCode()));
48 sendReply(session, 257, null, replyText, null);
80 // Make sure all session ids are unique
  /packages/apps/Settings/src/com/android/settings/applications/
AppStateBaseBridge.java 24 import com.android.settingslib.applications.ApplicationsState.Session;
34 protected final Session mAppSession;
AdvancedAppSettings.java 34 import com.android.settingslib.applications.ApplicationsState.Session;
51 private Session mSession;
  /packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
AppStateBaseBridge.java 24 import com.android.settingslib.applications.ApplicationsState.Session;
34 protected final Session mAppSession;
  /external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/command/
SimpleCompositeCommandHandlerTest.java 28 import org.mockftpserver.core.session.Session;
44 private Session session; field in class:SimpleCompositeCommandHandlerTest
56 commandHandler1.handleCommand(command, session);
59 simpleCompositeCommandHandler.handleCommand(command, session);
70 commandHandler1.handleCommand(command, session);
71 commandHandler2.handleCommand(command, session);
74 simpleCompositeCommandHandler.handleCommand(command, session);
75 simpleCompositeCommandHandler.handleCommand(command, session);
    [all...]
  /packages/apps/Camera2/src/com/android/camera/one/v2/commands/
PreviewCommand.java 51 try (FrameServer.Session session = mFrameServer.createExclusiveSession()) {
53 session.submitRequest(Arrays.asList(photoRequest.build()),
  /packages/services/Telecomm/src/com/android/server/telecom/
CallerInfoLookupHelper.java 116 Session continuedSession = Log.createSubsession();
137 Log.continueSession((Session) cookie, "CILH.oQC");
166 Session continuedSession = Log.createSubsession();
183 Log.continueSession((Session) cookie, "CLIH.oILC");
  /external/ppp/pppd/plugins/radius/etc/
dictionary 69 ATTRIBUTE Session-Timeout 27 integer
79 ATTRIBUTE Acct-Session-Id 44 string
81 ATTRIBUTE Acct-Session-Time 46 integer
124 # Limit session traffic
125 ATTRIBUTE Session-Octets-Limit 227 integer
199 VALUE Acct-Terminate-Cause Session-Timeout 5
dictionary.compat 42 ATTRIBUTE Session 1034 integer
  /frameworks/base/core/java/android/service/textservice/
SpellCheckerService.java 48 * {@link #createSession()} to provide a spell checker session that is corresponding
49 * to requested language and so on. The spell checker session returned by this method
50 * should extend {@link SpellCheckerService.Session}.
55 * <p>{@link SpellCheckerService.Session#onGetSuggestions(TextInfo, int)}
60 * {@link SpellCheckerService.Session#onGetSuggestionsMultiple(TextInfo[], int, boolean)} for
64 * <p>Please note that {@link SpellCheckerService.Session#getLocale()} does not return a valid
65 * locale before {@link SpellCheckerService.Session#onCreate()} </p>
90 * Factory method to create a spell checker session impl
93 public abstract Session createSession();
98 public static abstract class Session {
    [all...]
  /packages/apps/Camera2/src/com/android/camera/one/v2/photo/
ConvergedImageCaptureCommand.java 119 try (FrameServer.Session session = mFrameServer.createExclusiveSession()) {
122 waitForAFConvergence(session);
125 waitForAEConvergence(session);
127 captureBurst(session, imageStream, imageExposureUpdatable, imageSaver);
131 // Note that this may still throw if the camera or session is
133 resetRepeating(session);
140 private void waitForAFConvergence(FrameServer.Session session) throws CameraAccessException,
153 session.submitRequest(Arrays.asList(idleBuilder.build())
    [all...]
  /frameworks/base/media/java/android/media/tv/
TvInputService.java 71 * so by deriving from this class and providing their own session implementation based on
72 * {@link TvInputService.Session}. All TV input services must require that clients hold the
101 * looper to be synchronously run with {@code Session.mHandler}.
130 Log.w(TAG, "Creating session without input channel");
181 * Returns a concrete implementation of {@link Session}.
183 * <p>May return {@code null} if this TV input service fails to create a session for some
187 * @param inputId The ID of the TV input associated with the session.
190 public abstract Session onCreateSession(String inputId);
195 * <p>May return {@code null} if this TV input service fails to create a recording session for
198 * @param inputId The ID of the TV input associated with the recording session
    [all...]
ITvInputSessionWrapper.java 75 private TvInputService.Session mTvInputSessionImpl;
81 public ITvInputSessionWrapper(Context context, TvInputService.Session sessionImpl,
92 // For the recording session
372 // The session has been finished.
378 if (handled != TvInputManager.Session.DISPATCH_IN_PROGRESS) {
379 finishInputEvent(event, handled == TvInputManager.Session.DISPATCH_HANDLED);
  /cts/tests/tests/tv/src/android/media/tv/cts/
StubTunerTvInputService.java 79 public Session onCreateSession(String inputId) {
83 static class StubSessionImpl extends Session {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
touch_analytics.proto 24 message Session {
  /packages/apps/Settings/src/com/android/settings/datausage/
DataSaverSummary.java 33 import com.android.settingslib.applications.ApplicationsState.Session;
47 private Session mSession;
  /external/llvm/examples/Kaleidoscope/Orc/fully_lazy/
toy.cpp 715 : Session(S),
717 Session.getLLVMContext())),
718 Builder(Session.getLLVMContext()) {
719 M->setDataLayout(Session.getTarget().createDataLayout());
722 SessionContext& getSession() { return Session; }
726 LLVMContext& getLLVMContext() { return Session.getLLVMContext(); }
731 SessionContext &Session;
739 if (PrototypeAST *ProtoAST = Session.getPrototypeAST(Name))
    [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
ApplicationsState.java 103 final ArrayList<Session> mSessions = new ArrayList<Session>();
104 final ArrayList<Session> mRebuildingSessions = new ArrayList<Session>();
116 // Temporary for dispatching session callbacks. Only touched by main thread.
117 final ArrayList<Session> mActiveSessions = new ArrayList<Session>();
169 public Session newSession(Callbacks callbacks) {
170 Session s = new Session(callbacks)
    [all...]

Completed in 1407 milliseconds

1 2 3 4 5 6 7 891011>>