Searched refs:Session (Results 1 - 24 of 24) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DSessionLibrary.h25 #include "Session.h"
34 const android::sp<Session>& createSession();
36 const android::sp<Session>& findSession(
39 const android::sp<Session>& findSession(const void* data, size_t size);
41 void destroySession(const android::sp<Session>& session);
53 android::KeyedVector<android::Vector<uint8_t>, android::sp<Session> >
H A DSessionLibrary.cpp39 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 const sp<Session>& SessionLibrary::findSession(
73 void SessionLibrary::destroySession(const sp<Session>& session) {
H A DSession.h32 class Session : public android::RefBase { class in namespace:clearkeydrm
34 explicit Session(const android::Vector<uint8_t>& sessionId) function in class:clearkeydrm::Session
36 virtual ~Session() {}
54 DISALLOW_EVIL_CONSTRUCTORS(Session);
H A DCryptoPlugin.h27 #include "Session.h"
34 CryptoPlugin(const android::sp<Session>& session) : mSession(session) {}
51 android::sp<Session> mSession;
H A DDrmPlugin.cpp26 #include "Session.h"
33 sp<Session> session = mSessionLibrary->createSession();
39 sp<Session> session = mSessionLibrary->findSession(sessionId);
57 sp<Session> session = mSessionLibrary->findSession(scope);
66 sp<Session> session = mSessionLibrary->findSession(scope);
H A DSession.cpp24 #include "Session.h"
37 status_t Session::getKeyRequest(
45 status_t Session::provideKeyResponse(const Vector<uint8_t>& response) {
64 status_t Session::decrypt(
H A DCryptoFactory.cpp28 #include "Session.h"
46 android::sp<Session> session = SessionLibrary::get()->findSession(
H A DAndroid.mk29 Session.cpp \
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxSessionManager.java41 static class Session { class in class:BordeauxSessionManager
71 private ConcurrentHashMap<String, Session> mSessions =
72 new ConcurrentHashMap<String, Session>();
88 Session session = mSessions.get(mKey);
92 throw new RuntimeException("Session data corrupted!");
116 Session stored = mSessionStorage.getSession(key.value);
131 Session session = new Session();
143 for (Map.Entry<String, Session> session : mSessions.entrySet()) {
156 Session sessio
[all...]
H A DBordeauxSessionStorage.java101 private BordeauxSessionManager.Session getSessionFromCursor(Cursor cursor) {
102 BordeauxSessionManager.Session session = new BordeauxSessionManager.Session();
115 BordeauxSessionManager.Session getSession(String key) {
128 BordeauxSessionManager.Session s = getSessionFromCursor(cursor);
133 void getAllSessions(ConcurrentHashMap<String, BordeauxSessionManager.Session> sessions) {
139 BordeauxSessionManager.Session session = getSessionFromCursor(cursor);
/frameworks/av/media/libstagefright/foundation/
H A DANetworkSession.cpp69 struct ANetworkSession::Session : public RefBase { struct in class:android::ANetworkSession
84 Session(int32_t sessionID,
110 virtual ~Session();
141 DISALLOW_EVIL_CONSTRUCTORS(Session);
160 ANetworkSession::Session::Session( function in class:android::ANetworkSession::Session
216 ANetworkSession::Session::~Session() {
217 ALOGV("Session %d gone", mSessionID);
223 int32_t ANetworkSession::Session
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvView.java25 import android.media.tv.TvInputManager.Session;
26 import android.media.tv.TvInputManager.Session.FinishedInputEventCallback;
79 private Session mSession;
303 // Session is not created yet. Replace the channel which will be set once the
351 * @see TvInputService.Session#notifyContentBlocked(TvContentRating)
423 * Calls {@link TvInputService.Session#appPrivateCommand(String, Bundle)
424 * TvInputService.Session.appPrivateCommand()} on the current TvView.
501 return ret != Session.DISPATCH_NOT_HANDLED;
516 return ret != Session.DISPATCH_NOT_HANDLED;
531 return ret != Session
[all...]
H A DTvInputService.java66 * {@link TvInputService.Session}. All TV input services must require that clients hold the
94 * looper to be synchronously run with {@code Session.mHandler}.
162 * Returns a concrete implementation of {@link Session}.
170 public abstract Session onCreateSession(String inputId);
238 public abstract static class Session implements KeyEvent.Callback { class in class:TvInputService
260 * Creates a new Session.
264 public Session(Context context) { method in class:TvInputService.Session
1080 return TvInputManager.Session.DISPATCH_HANDLED;
1087 return TvInputManager.Session.DISPATCH_HANDLED;
1091 return TvInputManager.Session
[all...]
H A DITvInputSessionWrapper.java63 private TvInputService.Session mTvInputSessionImpl;
67 public ITvInputSessionWrapper(Context context, TvInputService.Session sessionImpl,
259 if (handled != TvInputManager.Session.DISPATCH_IN_PROGRESS) {
260 finishInputEvent(event, handled == TvInputManager.Session.DISPATCH_HANDLED);
H A DTvInputManager.java204 * @param session A {@link TvInputManager.Session} instance created. This can be
207 public void onSessionCreated(Session session) {
211 * This is called when {@link TvInputManager.Session} is released.
214 * @param session A {@link TvInputManager.Session} instance released.
216 public void onSessionReleased(Session session) {
221 * without any {@link TvInputManager.Session#tune(Uri)} request.
223 * @param session A {@link TvInputManager.Session} associated with this callback.
226 public void onChannelRetuned(Session session, Uri channelUri) {
232 * @param session A {@link TvInputManager.Session} associated with this callback.
235 public void onTracksChanged(Session sessio
1151 public static final class Session { class in class:TvInputManager
1192 private Session(IBinder token, InputChannel channel, ITvInputManager service, int userId, method in class:TvInputManager.Session
[all...]
/frameworks/av/include/media/stagefright/foundation/
H A DANetworkSession.h98 struct Session;
107 KeyedVector<int32_t, sp<Session> > mSessions;
/frameworks/base/core/java/android/service/textservice/
H A DSpellCheckerService.java50 * 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>
93 public abstract Session createSession();
98 public static abstract class Session { class in class:SpellCheckerService
135 * {@link SpellCheckerService.Session#onGetSuggestions(TextInfo, int)}
161 * {@link SpellCheckerService.Session#onGetSuggestions(TextInfo, int)}
238 private final Session mSessio
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPackageInstaller.java58 * {@link PackageInstaller.Session}, which any app can create. Once the session
315 public @NonNull Session openSession(int sessionId) throws IOException {
317 return new Session(mInstaller.openSession(sessionId));
362 * opening the session and calling {@link Session#abandon()}.
473 * {@link Session} instance while streaming data into place, or the
475 * {@link Session#commit(IntentSender)}.
477 * If the installer closes the {@link Session} without committing, the
488 * {@link PackageInstaller.Session#setStagingProgress(float)}, as the
495 * Session has completely finished, either with success or failure.
655 public static class Session implement class in class:PackageInstaller
659 public Session(IPackageInstallerSession session) { method in class:PackageInstaller.Session
[all...]
/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountManagerService.java179 private final LinkedHashMap<String, Session> mSessions = new LinkedHashMap<String, Session>();
699 new Session(fromAccounts, response, account.type, false,
716 // Create a Session for the target user and pass in the bundle
732 new Session(targetUser, response, account.type, false,
881 private class TestFeaturesSession extends Session {
1182 private class RemoveAccountSession extends Session {
1550 new Session(accounts, response, accountType, false,
1637 // route of starting a Session
1650 new Session(account
2434 private abstract class Session extends IAccountAuthenticatorResponse.Stub class in class:AccountManagerService
2450 public Session(UserAccounts accounts, IAccountManagerResponse response, String accountType, method in class:AccountManagerService.Session
[all...]
/frameworks/base/cmds/pm/src/com/android/commands/pm/
H A DPm.java1070 PackageInstaller.Session session = null;
1074 session = new PackageInstaller.Session(mInstaller.openSession(sessionId));
1109 PackageInstaller.Session session = null;
1111 session = new PackageInstaller.Session(mInstaller.openSession(sessionId));
1136 PackageInstaller.Session session = null;
1138 session = new PackageInstaller.Session(mInstaller.openSession(sessionId));
/frameworks/base/services/core/java/com/android/server/wm/
H A DSession.java53 * Session object per process that is interacting with the window manager.
55 final class Session extends IWindowSession.Stub class in inherits:IWindowSession.Stub,IBinder.DeathRecipient
69 public Session(WindowManagerService service, IWindowSessionCallback callback, method in class:Session
79 sb.append("Session{");
134 Slog.wtf(WindowManagerService.TAG, "Window Session Crash", e);
H A DWindowManagerService.java359 final ArraySet<Session> mSessions = new ArraySet<Session>();
631 Session mHoldingScreenOn;
658 private Session mHoldScreen = null;
2271 public int addWindow(Session session, IWindow client, int seq,
2591 public void removeWindow(Session session, IWindow client) {
2601 public void removeWindowLocked(Session session, WindowState win) {
2685 void removeWindowInnerLocked(Session session, WindowState win) {
2829 void setTransparentRegionWindow(Session session, IWindow client, Region region) {
2843 void setInsetsWindow(Session sessio
[all...]
H A DWindowState.java81 final Session mSession;
348 WindowState(WindowManagerService service, Session s, IWindow c, WindowToken token,
H A DWindowStateAnimator.java83 final Session mSession;

Completed in 764 milliseconds