Home
last modified time | relevance | path

Searched refs:Session (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DBordeauxSessionManager.java41 static class Session { class in BordeauxSessionManager
71 private ConcurrentHashMap<String, Session> mSessions =
72 new ConcurrentHashMap<String, Session>();
88 Session session = mSessions.get(mKey); in modelChanged()
116 Session stored = mSessionStorage.getSession(key.value); in getSessionBinder()
131 Session session = new Session(); in getSessionBinder()
143 for (Map.Entry<String, Session> session : mSessions.entrySet()) { in saveSessions()
156 Session session = mSessions.get(key.value); in saveSession()
181 for (Map.Entry<String, Session> session : mSessions.entrySet()) { in loadSessions()
192 for (Map.Entry<String, Session> session : mSessions.entrySet()) { in removeAllSessionsFromCaller()
DBordeauxSessionStorage.java101 private BordeauxSessionManager.Session getSessionFromCursor(Cursor cursor) { in getSessionFromCursor()
102 BordeauxSessionManager.Session session = new BordeauxSessionManager.Session(); in getSessionFromCursor()
115 BordeauxSessionManager.Session getSession(String key) { in getSession()
128 BordeauxSessionManager.Session s = getSessionFromCursor(cursor); in getSession()
133 void getAllSessions(ConcurrentHashMap<String, BordeauxSessionManager.Session> sessions) { in getAllSessions()
139 BordeauxSessionManager.Session session = getSessionFromCursor(cursor); in getAllSessions()
/frameworks/av/media/libstagefright/foundation/
DANetworkSession.cpp69 struct ANetworkSession::Session : public RefBase { struct in android::ANetworkSession
84 Session(int32_t sessionID,
110 virtual ~Session();
141 DISALLOW_EVIL_CONSTRUCTORS(Session);
160 ANetworkSession::Session::Session( in Session() function in android::ANetworkSession::Session
216 ANetworkSession::Session::~Session() { in ~Session()
223 int32_t ANetworkSession::Session::sessionID() const { in sessionID()
227 int ANetworkSession::Session::socket() const { in socket()
231 void ANetworkSession::Session::setMode(Mode mode) { in setMode()
235 status_t ANetworkSession::Session::switchToWebSocketMode() { in switchToWebSocketMode()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/
DSessionLibrary.h34 const android::sp<Session>& createSession();
36 const android::sp<Session>& findSession(
39 void destroySession(const android::sp<Session>& session);
51 android::DefaultKeyedVector<android::Vector<uint8_t>, android::sp<Session> >
DSession.h32 class Session : public android::RefBase {
34 explicit Session(const android::Vector<uint8_t>& sessionId) in Session() function
36 virtual ~Session() {} in ~Session()
54 DISALLOW_EVIL_CONSTRUCTORS(Session);
DSessionLibrary.cpp46 const sp<Session>& SessionLibrary::createSession() { in createSession()
56 mSessions.add(sessionId, new Session(sessionId)); in createSession()
60 const sp<Session>& SessionLibrary::findSession( in findSession()
66 void SessionLibrary::destroySession(const sp<Session>& session) { in destroySession()
DDrmPlugin.cpp33 sp<Session> session = mSessionLibrary->createSession(); in openSession()
39 sp<Session> session = mSessionLibrary->findSession(sessionId); in closeSession()
61 sp<Session> session = mSessionLibrary->findSession(scope); in getKeyRequest()
72 sp<Session> session = mSessionLibrary->findSession(scope); in provideKeyResponse()
DSession.cpp37 status_t Session::getKeyRequest( in getKeyRequest()
45 status_t Session::provideKeyResponse(const Vector<uint8_t>& response) { in provideKeyResponse()
64 status_t Session::decrypt( in decrypt()
DCryptoPlugin.h59 android::sp<Session> mSession;
DAndroid.mk29 Session.cpp \
/frameworks/base/docs/html/training/tv/tif/
Dui.jd44 the {@link android.media.tv.TvInputService.Session#onSetSurface(android.view.Surface) TvInputServic…
97 {@link android.media.tv.TvInputService.Session#setOverlayViewEnabled(boolean) TvInputService.Sessio…
102 public final Session onCreateSession(String inputId) {
110 …urned from {@link android.media.tv.TvInputService.Session#onCreateOverlayView() TvInputService.Ses…
156 …hannel, your TV input handles the {@link android.media.tv.TvInputService.Session#onTune(android.ne…
157 onTune()} callback in the {@link android.media.tv.TvInputService.Session} object. The system TV
160 {@link android.media.tv.TvInputService.Session} <code>notify</code> methods that
166 … you call {@link android.media.tv.TvInputService.Session#onTune(android.net.Uri) TvInputService.Se…
167 …calling {@link android.media.tv.TvInputService.Session#notifyVideoUnavailable(int) TvInputService.
188 {@link android.media.tv.TvInputService.Session#notifyVideoAvailable() TvInputService.Session.notify…
[all …]
Dtvinput.jd45 <li>{@link android.media.tv.TvInputService.Session} maintains the TV input state and communicates
151 {@link android.media.tv.TvInputService.Session} that implements {@link android.os.Handler.Callback}
152 to handle player state changes. With {@link android.media.tv.TvInputService.Session#onSetSurface(an…
153 the {@link android.media.tv.TvInputService.Session} sets the {@link android.view.Surface} with the
157 <p>The {@link android.media.tv.TvInputService.Session} handles the
158 {@link android.media.tv.TvInputService.Session#onTune(android.net.Uri) onTune()}
/frameworks/base/media/java/android/media/tv/
DTvView.java28 import android.media.tv.TvInputManager.Session;
29 import android.media.tv.TvInputManager.Session.FinishedInputEventCallback;
80 private Session mSession;
586 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchKeyEvent()
601 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchTouchEvent()
616 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchTrackballEvent()
631 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchGenericMotionEvent()
1005 public void onSessionCreated(Session session) { in onSessionCreated()
1057 public void onSessionReleased(Session session) { in onSessionReleased()
1075 public void onChannelRetuned(Session session, Uri channelUri) { in onChannelRetuned()
[all …]
DTvInputService.java174 public abstract Session onCreateSession(String inputId);
243 public abstract static class Session implements KeyEvent.Callback {
275 public Session(Context context) {
1331 return TvInputManager.Session.DISPATCH_HANDLED;
1345 return TvInputManager.Session.DISPATCH_HANDLED;
1349 return TvInputManager.Session.DISPATCH_HANDLED;
1353 return TvInputManager.Session.DISPATCH_HANDLED;
1359 return TvInputManager.Session.DISPATCH_NOT_HANDLED;
1371 return TvInputManager.Session.DISPATCH_HANDLED;
1374 return TvInputManager.Session.DISPATCH_IN_PROGRESS;
[all …]
DTvInputManager.java255 public void onSessionCreated(@Nullable Session session) { in onSessionCreated()
264 public void onSessionReleased(Session session) { in onSessionReleased()
274 public void onChannelRetuned(Session session, Uri channelUri) { in onChannelRetuned()
283 public void onTracksChanged(Session session, List<TvTrackInfo> tracks) { in onTracksChanged()
296 public void onTrackSelected(Session session, int type, @Nullable String trackId) { in onTrackSelected()
308 public void onVideoSizeChanged(Session session, int width, int height) { in onVideoSizeChanged()
316 public void onVideoAvailable(Session session) { in onVideoAvailable()
332 public void onVideoUnavailable(Session session, int reason) { in onVideoUnavailable()
341 public void onContentAllowed(Session session) { in onContentAllowed()
351 public void onContentBlocked(Session session, TvContentRating rating) { in onContentBlocked()
[all …]
DITvInputSessionWrapper.java70 private TvInputService.Session mTvInputSessionImpl;
74 public ITvInputSessionWrapper(Context context, TvInputService.Session sessionImpl, in ITvInputSessionWrapper()
317 if (handled != TvInputManager.Session.DISPATCH_IN_PROGRESS) { in onInputEvent()
318 finishInputEvent(event, handled == TvInputManager.Session.DISPATCH_HANDLED); in onInputEvent()
/frameworks/base/docs/html/guide/topics/text/
Dspell-checker-framework.jd81 {@link android.service.textservice.SpellCheckerService.Session} object to a
92 An implementation of {@link android.service.textservice.SpellCheckerService.Session}
100 {@link android.service.textservice.SpellCheckerService.Session#onCreate()}
106 {@link android.service.textservice.SpellCheckerService.Session} object based on
110 …{@link android.service.textservice.SpellCheckerService.Session#onGetSentenceSuggestionsMultiple(Te…
121 {@link android.service.textservice.SpellCheckerService.Session#onCancel()}, which
123 … {@link android.service.textservice.SpellCheckerService.Session#onGetSuggestions(TextInfo, int)
125 …{@link android.service.textservice.SpellCheckerService.Session#onGetSuggestionsMultiple(TextInfo[]…
139 {@link android.service.textservice.SpellCheckerService.Session} take care of this
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java100 final ArrayList<Session> mSessions = new ArrayList<Session>();
101 final ArrayList<Session> mRebuildingSessions = new ArrayList<Session>();
114 final ArrayList<Session> mActiveSessions = new ArrayList<Session>();
166 public Session newSession(Callbacks callbacks) { in newSession()
167 Session s = new Session(callbacks); in newSession()
510 Session s = mSessions.get(i); in rebuildActiveSessions()
524 public class Session { class in ApplicationsState
537 Session(Callbacks callbacks) { in Session() method in ApplicationsState.Session
694 Session s = (Session)msg.obj; in handleMessage()
756 ArrayList<Session> rebuildingSessions = null; in handleMessage()
[all …]
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java93 public abstract Session createSession(); in createSession()
98 public static abstract class Session { class in SpellCheckerService
238 private final Session mSession;
243 Bundle bundle, Session session) { in InternalISpellCheckerSession()
319 final Session session = service.createSession(); in getISpellCheckerSession()
/frameworks/av/include/media/stagefright/foundation/
DANetworkSession.h98 struct Session;
107 KeyedVector<int32_t, sp<Session> > mSessions;
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java317 public @NonNull Session openSession(int sessionId) throws IOException { in openSession()
319 return new Session(mInstaller.openSession(sessionId)); in openSession()
657 public static class Session implements Closeable { class in PackageInstaller
661 public Session(IPackageInstallerSession session) { in Session() method in PackageInstaller.Session
/frameworks/base/docs/html-intl/intl/ja/training/tv/playback/
Dnow-playing.jd12 <li><a href="#session">Media Session を起動する</a></li>
27 <h2 id="session">Media Session を起動する</h2>
/frameworks/base/docs/html/training/wearables/apps/
Dbt-debugging.jd14 <li><a href="#SetupSession">Set Up a Debugging Session</a></li>
50 <h2 id="SetupSession">Set Up a Debugging Session</h2>
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java196 private final LinkedHashMap<String, Session> mSessions = new LinkedHashMap<String, Session>();
771 new Session(fromAccounts, response, account.type, false, in copyAccountToUser() method
860 new Session(targetUser, response, account.type, false, in completeCloningAccount() method
1020 private class TestFeaturesSession extends Session {
1318 private class RemoveAccountSession extends Session {
1776 new Session(accounts, response, accountType, false /* expectActivityLaunch */, in getAuthTokenLabel() method
1931 new Session(accounts, response, account.type, expectActivityLaunch, in getAuthToken() method
2165 new Session(accounts, response, accountType, expectActivityLaunch, in addAccount() method
2247 new Session(accounts, response, accountType, expectActivityLaunch, in addAccountAsUser() method
2311 new Session(accounts, response, account.type, expectActivityLaunch, in confirmCredentialsAsUser() method
[all …]
/frameworks/base/docs/html/training/tv/playback/
Dnow-playing.jd13 <li><a href="#session">Start a Media Session</a></li>
36 <h2 id="session">Start a Media Session</h2>

12