Home
last modified time | relevance | path

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

123

/frameworks/base/telecomm/java/com/android/internal/telecom/
DIConnectionServiceAdapter.aidl24 import android.telecom.Logging.Session;
44 in Session.Info sessionInfo); in handleCreateConnectionComplete()
46 void setActive(String callId, in Session.Info sessionInfo); in setActive()
48 void setRinging(String callId, in Session.Info sessionInfo); in setRinging()
50 void setDialing(String callId, in Session.Info sessionInfo); in setDialing()
52 void setPulling(String callId, in Session.Info sessionInfo); in setPulling()
55 in Session.Info sessionInfo); in setDisconnected()
57 void setOnHold(String callId, in Session.Info sessionInfo); in setOnHold()
59 void setRingbackRequested(String callId, boolean ringing, in Session.Info sessionInfo); in setRingbackRequested()
62 in Session.Info sessionInfo); in setConnectionCapabilities()
[all …]
DIConnectionService.aidl23 import android.telecom.Logging.Session;
37 in Session.Info sessionInfo); in addConnectionServiceAdapter()
40 in Session.Info sessionInfo); in removeConnectionServiceAdapter()
48 in Session.Info sessionInfo); in createConnection()
50 void createConnectionComplete(String callId, in Session.Info sessionInfo); in createConnectionComplete()
53 in ConnectionRequest request, boolean isIncoming, in Session.Info sessionInfo); in createConnectionFailed()
55 void abort(String callId, in Session.Info sessionInfo); in abort()
57 void answerVideo(String callId, int videoState, in Session.Info sessionInfo); in answerVideo()
59 void answer(String callId, in Session.Info sessionInfo); in answer()
61 void reject(String callId, in Session.Info sessionInfo); in reject()
[all …]
/frameworks/base/telecomm/java/android/telecom/Logging/
DSessionManager.java55 public ConcurrentHashMap<Integer, Session> mSessionMapper = new ConcurrentHashMap<>(100);
123 public synchronized void startSession(Session.Info info, String shortMethodName, in startSession()
141 Session activeSession = mSessionMapper.get(threadId); in startSession()
145 Session childSession = createSubsession(true); in startSession()
150 Log.d(LOGGING_TAG, Session.START_SESSION); in startSession()
152 Session newSession = new Session(getNextSessionID(), shortMethodName, in startSession()
163 public synchronized void startExternalSession(Session.Info sessionInfo, in startExternalSession()
170 Session threadSession = mSessionMapper.get(threadId); in startExternalSession()
180 Log.d(LOGGING_TAG, Session.START_EXTERNAL_SESSION); in startExternalSession()
181 Session externalSession = new Session(Session.EXTERNAL_INDICATOR + sessionInfo.sessionId, in startExternalSession()
[all …]
DSession.java34 public class Session { class
63 public static Info getInfo (Session s) { in getInfo()
105 private Session mParentSession;
106 private ArrayList<Session> mChildSessions;
123 public Session(String sessionId, String shortMethodName, long startTimeMs, in Session() method in Session
160 public void setParentSession(Session parentSession) { in setParentSession()
164 public void addChild(Session childSession) { in addChild()
170 public void removeChild(Session child) { in removeChild()
184 public Session getParentSession() { in getParentSession()
188 public ArrayList<Session> getChildSessions() { in getChildSessions()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DRemoteConnectionService.java24 import android.telecom.Logging.Session;
59 Session.Info info) {
100 public void setActive(String callId, Session.Info sessionInfo) {
111 public void setRinging(String callId, Session.Info sessionInfo) {
117 public void setDialing(String callId, Session.Info sessionInfo) {
123 public void setPulling(String callId, Session.Info sessionInfo) {
130 Session.Info sessionInfo) {
141 public void setOnHold(String callId, Session.Info sessionInfo) {
152 public void setRingbackRequested(String callId, boolean ringing, Session.Info sessionInfo) {
159 Session.Info sessionInfo) {
[all …]
DConnectionServiceAdapterServant.java24 import android.telecom.Logging.Session;
301 (Session.Info) args.arg2);
331 Session.Info sessionInfo) {
340 public void setActive(String connectionId, Session.Info sessionInfo) {
345 public void setRinging(String connectionId, Session.Info sessionInfo) {
350 public void setDialing(String connectionId, Session.Info sessionInfo) {
355 public void setPulling(String connectionId, Session.Info sessionInfo) {
361 Session.Info sessionInfo) {
369 public void setOnHold(String connectionId, Session.Info sessionInfo) {
375 Session.Info sessionInfo) {
[all …]
DConnectionService.java31 import android.telecom.Logging.Session;
177 Session.Info sessionInfo) {
190 Session.Info sessionInfo) {
209 Session.Info sessionInfo) {
226 public void createConnectionComplete(String id, Session.Info sessionInfo) {
244 Session.Info sessionInfo) {
260 public void abort(String callId, Session.Info sessionInfo) {
273 public void answerVideo(String callId, int videoState, Session.Info sessionInfo) {
287 public void answer(String callId, Session.Info sessionInfo) {
300 public void reject(String callId, Session.Info sessionInfo) {
[all …]
DLog.java24 import android.telecom.Logging.Session;
189 public static void startSession(Session.Info info, String shortMethodName) { in startSession()
197 public static void startSession(Session.Info info, String shortMethodName, in startSession()
202 public static Session createSubsession() { in createSubsession()
206 public static Session.Info getExternalSession() { in getExternalSession()
210 public static void cancelSubsession(Session subsession) { in cancelSubsession()
214 public static void continueSession(Session subsession, String shortMethodName) { in continueSession()
/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.cpp46 sp<Session> SessionLibrary::createSession() { in createSession()
56 mSessions.add(sessionId, new Session(sessionId)); in createSession()
60 sp<Session> SessionLibrary::findSession( in findSession()
64 return sp<Session>(NULL); in findSession()
69 void SessionLibrary::destroySession(const sp<Session>& session) { in destroySession()
DSessionLibrary.h34 android::sp<Session> createSession();
36 android::sp<Session> findSession(
39 void destroySession(const android::sp<Session>& session);
51 android::KeyedVector<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);
DDrmPlugin.cpp33 sp<Session> session = mSessionLibrary->createSession(); in openSession()
39 sp<Session> session = mSessionLibrary->findSession(sessionId); in closeSession()
68 sp<Session> session = mSessionLibrary->findSession(scope); in getKeyRequest()
82 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DSensorLoggerSession.java25 import static com.android.systemui.statusbar.phone.nano.TouchAnalyticsProto.Session;
26 import static com.android.systemui.statusbar.phone.nano.TouchAnalyticsProto.Session.PhoneEvent;
27 import static com.android.systemui.statusbar.phone.nano.TouchAnalyticsProto.Session.SensorEvent;
28 import static com.android.systemui.statusbar.phone.nano.TouchAnalyticsProto.Session.TouchEvent;
48 private int mResult = Session.UNKNOWN;
53 mType = Session.REAL; in SensorLoggerSession()
102 public Session toProto() { in toProto()
103 Session proto = new Session(); in toProto()
DDataCollector.java39 import static com.android.systemui.statusbar.phone.nano.TouchAnalyticsProto.Session;
40 import static com.android.systemui.statusbar.phone.nano.TouchAnalyticsProto.Session.PhoneEvent;
161 currentSession.setType(Session.REJECTED_TOUCH_REPORT); in reportRejectedTouch()
162 currentSession.end(System.currentTimeMillis(), Session.SUCCESS); in reportRejectedTouch()
163 Session proto = currentSession.toProto(); in reportRejectedTouch()
165 byte[] b = Session.toByteArray(proto); in reportRejectedTouch()
183 byte[] b = Session.toByteArray(currentSession.toProto()); in queueSession()
185 if (currentSession.getResult() != Session.SUCCESS) { in queueSession()
219 onSessionEnd(Session.UNKNOWN); in enforceTimeout()
270 sessionExitpoint(Session.FAILURE); in onScreenOff()
[all …]
/frameworks/base/media/java/android/media/tv/
DTvView.java31 import android.media.tv.TvInputManager.Session;
32 import android.media.tv.TvInputManager.Session.FinishedInputEventCallback;
83 private Session mSession;
628 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchKeyEvent()
643 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchTouchEvent()
658 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchTrackballEvent()
673 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchGenericMotionEvent()
1061 public void onSessionCreated(Session session) { in onSessionCreated()
1117 public void onSessionReleased(Session session) { in onSessionReleased()
1135 public void onChannelRetuned(Session session, Uri channelUri) { in onChannelRetuned()
[all …]
DTvRecordingClient.java47 private TvInputManager.Session mSession;
305 public void onSessionCreated(TvInputManager.Session session) { in onSessionCreated()
334 void onTuned(TvInputManager.Session session, Uri channelUri) { in onTuned()
347 public void onSessionReleased(TvInputManager.Session session) { in onSessionReleased()
365 public void onRecordingStopped(TvInputManager.Session session, Uri recordedProgramUri) { in onRecordingStopped()
378 public void onError(TvInputManager.Session session, int error) { in onError()
390 public void onSessionEvent(TvInputManager.Session session, String eventType, in onSessionEvent()
DTvInputManager.java363 public void onSessionCreated(@Nullable Session session) { in onSessionCreated()
372 public void onSessionReleased(Session session) { in onSessionReleased()
382 public void onChannelRetuned(Session session, Uri channelUri) { in onChannelRetuned()
391 public void onTracksChanged(Session session, List<TvTrackInfo> tracks) { in onTracksChanged()
404 public void onTrackSelected(Session session, int type, @Nullable String trackId) { in onTrackSelected()
416 public void onVideoSizeChanged(Session session, int width, int height) { in onVideoSizeChanged()
424 public void onVideoAvailable(Session session) { in onVideoAvailable()
440 public void onVideoUnavailable(Session session, int reason) { in onVideoUnavailable()
449 public void onContentAllowed(Session session) { in onContentAllowed()
459 public void onContentBlocked(Session session, TvContentRating rating) { in onContentBlocked()
[all …]
DTvInputService.java190 public abstract Session onCreateSession(String inputId);
272 public abstract static class Session implements KeyEvent.Callback {
303 public Session(Context context) {
1394 return TvInputManager.Session.DISPATCH_HANDLED;
1408 return TvInputManager.Session.DISPATCH_HANDLED;
1412 return TvInputManager.Session.DISPATCH_HANDLED;
1416 return TvInputManager.Session.DISPATCH_HANDLED;
1422 return TvInputManager.Session.DISPATCH_NOT_HANDLED;
1434 return TvInputManager.Session.DISPATCH_HANDLED;
1437 return TvInputManager.Session.DISPATCH_IN_PROGRESS;
[all …]
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceImpl.java128 private final SparseArray<Session> mSessions = new SparseArray<>();
225 final Session session = mSessions.valueAt(i); in updateLocked()
246 final Session session = mSessions.valueAt(i); in requestSaveForUserLocked()
268 final Session session = mSessions.get(sessionId); in setAuthenticationResultLocked()
278 final Session session = mSessions.get(sessionId); in setHasCallback()
297 final Session newSession = createSessionByTokenLocked(activityToken, uid, appCallbackToken, in startSessionLocked()
333 final Session session = mSessions.get(sessionId); in finishSessionLocked()
354 final Session session = mSessions.get(sessionId); in cancelSessionLocked()
380 private Session createSessionByTokenLocked(@NonNull IBinder activityToken, int uid, in createSessionByTokenLocked()
395 final Session newSession = new Session(this, mUi, mContext, mHandlerCaller, mUserId, mLock, in createSessionByTokenLocked()
[all …]
/frameworks/base/media/java/android/media/
DMediaCas.java236 public final class Session implements AutoCloseable { class in MediaCas
239 Session(@NonNull byte[] sessionId) { in Session() method in MediaCas.Session
326 Session createFromSessionId(byte[] sessionId) { in createFromSessionId()
330 return new Session(sessionId); in createFromSessionId()
518 public Session openSession() throws MediaCasException { in openSession()
/frameworks/av/media/libstagefright/include/foundation/
DANetworkSession.h98 struct Session;
107 KeyedVector<int32_t, sp<Session> > mSessions;

123