Home
last modified time | relevance | path

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

123456

/frameworks/base/telecomm/java/com/android/internal/telecom/
DIConnectionService.aidl26 import android.telecom.Logging.Session;
40 in Session.Info sessionInfo); in addConnectionServiceAdapter()
43 in Session.Info sessionInfo); in removeConnectionServiceAdapter()
51 in Session.Info sessionInfo); in createConnection()
53 void createConnectionComplete(String callId, in Session.Info sessionInfo); in createConnectionComplete()
56 in ConnectionRequest request, boolean isIncoming, in Session.Info sessionInfo); in createConnectionFailed()
64 in Session.Info sessionInfo); in createConference()
66 void createConferenceComplete(String callId, in Session.Info sessionInfo); in createConferenceComplete()
69 in ConnectionRequest request, boolean isIncoming, in Session.Info sessionInfo); in createConferenceFailed()
72 void abort(String callId, in Session.Info sessionInfo); in abort()
[all …]
DIConnectionServiceAdapter.aidl26 import android.telecom.Logging.Session;
47 in Session.Info sessionInfo); in handleCreateConnectionComplete()
53 in Session.Info sessionInfo); in handleCreateConferenceComplete()
55 void setActive(String callId, in Session.Info sessionInfo); in setActive()
57 void setRinging(String callId, in Session.Info sessionInfo); in setRinging()
59 void setDialing(String callId, in Session.Info sessionInfo); in setDialing()
61 void setPulling(String callId, in Session.Info sessionInfo); in setPulling()
64 in Session.Info sessionInfo); in setDisconnected()
66 void setOnHold(String callId, in Session.Info sessionInfo); in setOnHold()
68 void setRingbackRequested(String callId, boolean ringing, in Session.Info sessionInfo); in setRingbackRequested()
[all …]
/frameworks/base/telecomm/java/android/telecom/Logging/
DSessionManager.java57 public ConcurrentHashMap<Integer, Session> mSessionMapper = new ConcurrentHashMap<>(100);
125 public synchronized void startSession(Session.Info info, String shortMethodName, in startSession()
143 Session activeSession = mSessionMapper.get(threadId); in startSession()
147 Session childSession = createSubsession(true); in startSession()
152 Log.d(LOGGING_TAG, Session.START_SESSION); in startSession()
154 Session newSession = new Session(getNextSessionID(), shortMethodName, in startSession()
165 public synchronized void startExternalSession(Session.Info sessionInfo, in startExternalSession()
172 Session threadSession = mSessionMapper.get(threadId); in startExternalSession()
182 Log.d(LOGGING_TAG, Session.START_EXTERNAL_SESSION); in startExternalSession()
183 Session externalSession = new Session(Session.EXTERNAL_INDICATOR + sessionInfo.sessionId, in startExternalSession()
[all …]
DSession.java35 public class Session { class
71 public static Info getInfo (Session s) { in getInfo()
79 public static Info getExternalInfo(Session s, @Nullable String ownerInfo) { in getExternalInfo()
136 private Session mParentSession;
137 private ArrayList<Session> mChildSessions;
154 public Session(String sessionId, String shortMethodName, long startTimeMs, in Session() method in Session
191 public void setParentSession(Session parentSession) { in setParentSession()
195 public void addChild(Session childSession) { in addChild()
201 public void removeChild(Session child) { in removeChild()
215 public Session getParentSession() { in getParentSession()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceHintManagerTest.java26 import android.os.PerformanceHintManager.Session;
62 private Session createSession() { in createSession()
69 Session a = createSession(); in testCreateHintSession()
70 Session b = createSession(); in testCreateHintSession()
107 Session s = createSession(); in testUpdateTargetWorkDuration()
114 Session s = createSession(); in testUpdateTargetWorkDurationWithNegativeDuration()
123 Session s = createSession(); in testReportActualWorkDuration()
133 Session s = createSession(); in testReportActualWorkDurationWithIllegalArgument()
143 Session s = createSession(); in testSendHint()
145 s.sendHint(Session.CPU_LOAD_RESET); in testSendHint()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DRemoteConnectionService.java25 import android.telecom.Logging.Session;
62 Session.Info info) {
111 Session.Info info) {
115 public void setActive(String callId, Session.Info sessionInfo) {
126 public void setRinging(String callId, Session.Info sessionInfo) {
132 public void setDialing(String callId, Session.Info sessionInfo) {
138 public void setPulling(String callId, Session.Info sessionInfo) {
145 Session.Info sessionInfo) {
156 public void setOnHold(String callId, Session.Info sessionInfo) {
167 public void setRingbackRequested(String callId, boolean ringing, Session.Info sessionInfo) {
[all …]
DConnectionServiceAdapterServant.java25 import android.telecom.Logging.Session;
326 (Session.Info) args.arg3);
363 (Session.Info) args.arg3);
373 (Session.Info) args.arg2);
384 (Session.Info) args.arg5);
400 Session.Info sessionInfo) {
413 Session.Info sessionInfo) {
423 public void setActive(String connectionId, Session.Info sessionInfo) {
428 public void setRinging(String connectionId, Session.Info sessionInfo) {
433 public void setDialing(String connectionId, Session.Info sessionInfo) {
[all …]
DConnectionService.java40 import android.telecom.Logging.Session;
464 Session.Info sessionInfo) {
477 Session.Info sessionInfo) {
496 Session.Info sessionInfo) {
513 public void createConnectionComplete(String id, Session.Info sessionInfo) {
531 Session.Info sessionInfo) {
553 Session.Info sessionInfo) {
570 public void createConferenceComplete(String id, Session.Info sessionInfo) {
588 Session.Info sessionInfo) {
605 Session.Info sessionInfo) {
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/common/
DSessionLibrary.cpp41 sp<Session> SessionLibrary::createSession() { in createSession()
54 std::pair<std::vector<uint8_t>, sp<Session>>(sessionId, new Session(sessionId))); in createSession()
55 std::map<std::vector<uint8_t>, sp<Session>>::iterator itr = mSessions.find(sessionId); in createSession()
63 sp<Session> SessionLibrary::findSession(const std::vector<uint8_t>& sessionId) { in findSession()
65 std::map<std::vector<uint8_t>, sp<Session>>::iterator itr = mSessions.find(sessionId); in findSession()
73 void SessionLibrary::destroySession(const sp<Session>& session) { in destroySession()
/frameworks/av/media/module/libmediatranscoding/include/media/
DTranscodingSessionController.h113 struct Session { struct
140 void setState(Session::State state); argument
157 std::map<SessionKeyType, Session> mSessionMap; argument
174 Session* mCurrentSession;
177 std::list<Session> mSessionHistory;
188 void dumpSession_l(const Session& session, String8& result, bool closedSession = false);
189 Session* getTopSession_l();
192 void removeSession_l(const SessionKeyType& sessionKey, Session::State finalState,
195 void setSessionState_l(Session* session, Session::State state);
202 static const char* sessionStateToString(const Session::State sessionState);
/frameworks/av/drm/mediadrm/plugins/clearkey/default/
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()
/frameworks/av/media/module/libmediatranscoding/
DTranscodingSessionController.cpp46 const char* TranscodingSessionController::sessionStateToString(const Session::State sessionState) { in sessionStateToString()
48 case Session::State::NOT_STARTED: in sessionStateToString()
50 case Session::State::RUNNING: in sessionStateToString()
52 case Session::State::PAUSED: in sessionStateToString()
54 case Session::State::FINISHED: in sessionStateToString()
56 case Session::State::CANCELED: in sessionStateToString()
58 case Session::State::ERROR: in sessionStateToString()
357 void TranscodingSessionController::dumpSession_l(const Session& session, String8& result, in dumpSession_l()
431 TranscodingSessionController::Session* TranscodingSessionController::getTopSession_l() { in getTopSession_l()
447 if (mCurrentSession != nullptr && mCurrentSession->getState() == Session::RUNNING && in getTopSession_l()
[all …]
/frameworks/base/apct-tests/perftests/packagemanager/src/android/content/pm/
DPackageInstallerBenchmark.java106 private List<PackageInstaller.Session> mExpectedSessions;
130 private List<PackageInstaller.Session> createSinglePackageSessions( in createSinglePackageSessions()
141 PackageInstaller.Session session = in createSinglePackageSessions()
157 private List<PackageInstaller.Session> createMultiplePackageSessions(BenchmarkState state, in createMultiplePackageSessions()
168 PackageInstaller.Session session = in createMultiplePackageSessions()
244 List<PackageInstaller.Session> sessions = in commit_aSingleApkSession_untilFinishBenchmark()
247 for (PackageInstaller.Session session : sessions) { in commit_aSingleApkSession_untilFinishBenchmark()
262 List<PackageInstaller.Session> sessions = createSinglePackageSessions( in commit_threeSingleApkSessions_untilFinishBenchmark()
265 for (PackageInstaller.Session session : sessions) { in commit_threeSingleApkSessions_untilFinishBenchmark()
283 List<PackageInstaller.Session> sessions = createMultiplePackageSessions( in commit_aMultiplePackagesSession_untilFinishBenchmark()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/
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);
/frameworks/av/drm/mediadrm/plugins/clearkey/common/include/clearkeydrm/
DSessionLibrary.h30 ::android::sp<Session> createSession();
32 ::android::sp<Session> findSession(const std::vector<uint8_t>& sessionId);
34 void destroySession(const ::android::sp<Session>& session);
48 std::map<std::vector<uint8_t>, ::android::sp<Session>> mSessions;
DSession.h28 class Session : public ::android::RefBase {
30 explicit Session(const std::vector<uint8_t>& sessionId) in Session() function
32 virtual ~Session() {} in ~Session()
52 CLEARKEY_DISALLOW_COPY_AND_ASSIGN(Session);
/frameworks/base/media/java/android/media/tv/
DTvView.java38 import android.media.tv.TvInputManager.Session;
39 import android.media.tv.TvInputManager.Session.FinishedInputEventCallback;
95 private Session mSession;
211 public Session getInputSession() { in getInputSession()
824 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchKeyEvent()
839 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchTouchEvent()
854 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchTrackballEvent()
869 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchGenericMotionEvent()
1377 public void onSessionCreated(Session session) { in onSessionCreated()
1437 public void onSessionReleased(Session session) { in onSessionReleased()
[all …]
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/session/ui/composable/
DSession.kt56 interface Session { in <lambda>() interface
73 fun Session(storage: SessionStorage = SessionStorage()): Session = SessionImpl(storage) in Session() method
88 fun <T> Session.rememberSession(vararg inputs: Any?, key: String? = null, init: () -> T): T = in Session()
114 interface SaveableSession : Session { in Session()
158 ) : Session {
188 ) : SaveableSession, Session by Session(sessionStorage) { in <lambda>()
/frameworks/base/media/java/android/media/tv/interactive/
DTvInteractiveAppView.java35 import android.media.tv.interactive.TvInteractiveAppManager.Session;
36 import android.media.tv.interactive.TvInteractiveAppManager.Session.FinishedInputEventCallback;
116 private Session mSession;
457 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchKeyEvent()
1070 public Session getInteractiveAppSession() { in getInteractiveAppSession()
1085 TvInputManager.Session inputSession = tvView.getInputSession(); in setTvView()
1495 public void onSessionCreated(Session session) { in onSessionCreated()
1527 public void onSessionReleased(Session session) { in onSessionReleased()
1542 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) { in onLayoutSurface()
1561 Session session, in onCommandRequest()
[all …]
DTvInteractiveAppManager.java333 Session session = null; in TvInteractiveAppManager()
335 session = new Session(token, channel, mService, mUserId, seq, in TvInteractiveAppManager()
1075 public static final class Session { class in TvInteractiveAppManager
1091 private TvInputManager.Session mInputSession;
1099 private Session(IBinder token, InputChannel channel, ITvInteractiveAppManager service, in Session() method in TvInteractiveAppManager.Session
1109 public TvInputManager.Session getInputSession() { in getInputSession()
1113 public void setInputSession(TvInputManager.Session inputSession) { in setInputSession()
2055 private Session mSession;
2062 void postSessionCreated(final Session session) { in postSessionCreated()
2382 public void onSessionCreated(@Nullable Session session) { in onSessionCreated()
[all …]
/frameworks/base/services/autofill/java/com/android/server/autofill/
DInlineSuggestionRequestConsumer.java29 private final WeakReference<Session.AssistDataReceiverImpl> mAssistDataReceiverWeakReference;
32 InlineSuggestionRequestConsumer(WeakReference<Session.AssistDataReceiverImpl> in InlineSuggestionRequestConsumer()
41 Session.AssistDataReceiverImpl assistDataReceiver = mAssistDataReceiverWeakReference.get(); in accept()
DInlineSuggestionRendorInfoCallbackOnResultListener.java35 private final WeakReference<Session> mSessionWeakReference;
38 InlineSuggestionRendorInfoCallbackOnResultListener(WeakReference<Session> sessionWeakReference, in InlineSuggestionRendorInfoCallbackOnResultListener()
48 Session session = this.mSessionWeakReference.get(); in onResult()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/
DNotificationsShadeSessionModule.kt24 import com.android.systemui.scene.session.ui.composable.Session
34 object : SaveableSession, Session by Session(storage) { in provideShadeSessionStorage()
/frameworks/base/media/java/android/media/tv/ad/
DTvAdView.java32 import android.media.tv.ad.TvAdManager.Session.FinishedInputEventCallback;
81 private TvAdManager.Session mSession;
177 TvInputManager.Session inputSession = tvView.getInputSession(); in setTvView()
434 return ret != TvAdManager.Session.DISPATCH_NOT_HANDLED; in dispatchKeyEvent()
667 public TvAdManager.Session getAdSession() { in getAdSession()
679 public void onSessionCreated(TvAdManager.Session session) { in onSessionCreated()
711 public void onSessionReleased(TvAdManager.Session session) { in onSessionReleased()
727 TvAdManager.Session session, int left, int top, int right, int bottom) { in onLayoutSurface()
745 public void onRequestCurrentVideoBounds(TvAdManager.Session session) { in onRequestCurrentVideoBounds()
767 public void onRequestCurrentChannelUri(TvAdManager.Session session) { in onRequestCurrentChannelUri()
[all …]

123456