Home
last modified time | relevance | path

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

12345

/frameworks/base/telecomm/java/com/android/internal/telecom/
DIConnectionService.aidl25 import android.telecom.Logging.Session;
39 in Session.Info sessionInfo); in addConnectionServiceAdapter()
42 in Session.Info sessionInfo); in removeConnectionServiceAdapter()
50 in Session.Info sessionInfo); in createConnection()
52 void createConnectionComplete(String callId, in Session.Info sessionInfo); in createConnectionComplete()
55 in ConnectionRequest request, boolean isIncoming, in Session.Info sessionInfo); in createConnectionFailed()
63 in Session.Info sessionInfo); in createConference()
65 void createConferenceComplete(String callId, in Session.Info sessionInfo); in createConferenceComplete()
68 in ConnectionRequest request, boolean isIncoming, in Session.Info sessionInfo); in createConferenceFailed()
71 void abort(String callId, in Session.Info sessionInfo); in abort()
[all …]
DIConnectionServiceAdapter.aidl24 import android.telecom.Logging.Session;
45 in Session.Info sessionInfo); in handleCreateConnectionComplete()
51 in Session.Info sessionInfo); in handleCreateConferenceComplete()
53 void setActive(String callId, in Session.Info sessionInfo); in setActive()
55 void setRinging(String callId, in Session.Info sessionInfo); in setRinging()
57 void setDialing(String callId, in Session.Info sessionInfo); in setDialing()
59 void setPulling(String callId, in Session.Info sessionInfo); in setPulling()
62 in Session.Info sessionInfo); in setDisconnected()
64 void setOnHold(String callId, in Session.Info sessionInfo); in setOnHold()
66 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/telecomm/java/android/telecom/
DRemoteConnectionService.java24 import android.telecom.Logging.Session;
59 Session.Info info) {
108 Session.Info info) {
112 public void setActive(String callId, Session.Info sessionInfo) {
123 public void setRinging(String callId, Session.Info sessionInfo) {
129 public void setDialing(String callId, Session.Info sessionInfo) {
135 public void setPulling(String callId, Session.Info sessionInfo) {
142 Session.Info sessionInfo) {
153 public void setOnHold(String callId, Session.Info sessionInfo) {
164 public void setRingbackRequested(String callId, boolean ringing, Session.Info sessionInfo) {
[all …]
DConnectionServiceAdapterServant.java24 import android.telecom.Logging.Session;
324 (Session.Info) args.arg3);
361 (Session.Info) args.arg3);
371 (Session.Info) args.arg2);
386 Session.Info sessionInfo) {
399 Session.Info sessionInfo) {
409 public void setActive(String connectionId, Session.Info sessionInfo) {
414 public void setRinging(String connectionId, Session.Info sessionInfo) {
419 public void setDialing(String connectionId, Session.Info sessionInfo) {
424 public void setPulling(String connectionId, Session.Info sessionInfo) {
[all …]
DConnectionService.java36 import android.telecom.Logging.Session;
231 Session.Info sessionInfo) {
244 Session.Info sessionInfo) {
263 Session.Info sessionInfo) {
280 public void createConnectionComplete(String id, Session.Info sessionInfo) {
298 Session.Info sessionInfo) {
320 Session.Info sessionInfo) {
337 public void createConferenceComplete(String id, Session.Info sessionInfo) {
355 Session.Info sessionInfo) {
372 Session.Info sessionInfo) {
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceHintManagerTest.java26 import android.os.PerformanceHintManager.Session;
55 private Session createSession() { in createSession()
62 Session a = createSession(); in testCreateHintSession()
63 Session b = createSession(); in testCreateHintSession()
82 Session s = createSession(); in testUpdateTargetWorkDuration()
89 Session s = createSession(); in testUpdateTargetWorkDurationWithNegativeDuration()
98 Session s = createSession(); in testReportActualWorkDuration()
108 Session s = createSession(); in testReportActualWorkDurationWithIllegalArgument()
118 Session s = createSession(); in testCloseHintSession()
/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/drm/mediadrm/plugins/clearkey/hidl/
DSessionLibrary.cpp48 sp<Session> SessionLibrary::createSession() { in createSession()
61 sp<Session> >(sessionId, new Session(sessionId))); in createSession()
62 std::map<std::vector<uint8_t>, sp<Session> >::iterator itr = in createSession()
71 sp<Session> SessionLibrary::findSession( in findSession()
74 std::map<std::vector<uint8_t>, sp<Session> >::iterator itr = in findSession()
83 void SessionLibrary::destroySession(const sp<Session>& session) { in destroySession()
/frameworks/av/media/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/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/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/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/hidl/include/
DSessionLibrary.h38 sp<Session> createSession();
40 sp<Session> findSession(
43 void destroySession(const sp<Session>& session);
57 std::map<std::vector<uint8_t>, sp<Session> > mSessions;
DSession.h39 class Session : public RefBase {
41 explicit Session(const std::vector<uint8_t>& sessionId) in Session() function
43 virtual ~Session() {} in ~Session()
65 CLEARKEY_DISALLOW_COPY_AND_ASSIGN(Session);
/frameworks/base/media/java/android/media/tv/
DTvView.java34 import android.media.tv.TvInputManager.Session;
35 import android.media.tv.TvInputManager.Session.FinishedInputEventCallback;
87 private Session mSession;
201 public Session getInputSession() { in getInputSession()
668 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchKeyEvent()
683 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchTouchEvent()
698 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchTrackballEvent()
713 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchGenericMotionEvent()
1134 public void onSessionCreated(Session session) { in onSessionCreated()
1191 public void onSessionReleased(Session session) { in onSessionReleased()
[all …]
DTvRecordingClient.java48 private TvInputManager.Session mSession;
446 public void onSessionCreated(TvInputManager.Session session) { in onSessionCreated()
475 public void onTuned(TvInputManager.Session session, Uri channelUri) { in onTuned()
492 public void onSessionReleased(TvInputManager.Session session) { in onSessionReleased()
512 public void onRecordingStopped(TvInputManager.Session session, Uri recordedProgramUri) { in onRecordingStopped()
531 public void onError(TvInputManager.Session session, int error) { in onError()
543 public void onSessionEvent(TvInputManager.Session session, String eventType, in onSessionEvent()
/frameworks/base/media/java/android/media/tv/interactive/
DTvInteractiveAppView.java31 import android.media.tv.interactive.TvInteractiveAppManager.Session;
32 import android.media.tv.interactive.TvInteractiveAppManager.Session.FinishedInputEventCallback;
110 private Session mSession;
447 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchKeyEvent()
673 public Session getInteractiveAppSession() { in getInteractiveAppSession()
688 TvInputManager.Session inputSession = tvView.getInputSession(); in setTvView()
884 public void onSessionCreated(Session session) { in onSessionCreated()
916 public void onSessionReleased(Session session) { in onSessionReleased()
931 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) { in onLayoutSurface()
950 Session session, in onCommandRequest()
[all …]
/frameworks/base/core/java/android/os/
DPerformanceHintManager.java58 public Session createHintSession(@NonNull int[] tids, long initialTargetWorkDurationNanos) { in createHintSession()
65 return new Session(nativeSessionPtr); in createHintSession()
99 public static class Session implements Closeable { class in PerformanceHintManager
103 public Session(long nativeSessionPtr) { in Session() method in PerformanceHintManager.Session
/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/
DFakeBlobData.java150 public void writeToSession(BlobStoreManager.Session session) throws Exception { in writeToSession()
154 public void writeToSession(BlobStoreManager.Session session, in writeToSession()
161 public void writeToSession(BlobStoreManager.Session session, in writeToSession()
181 public void readFromSessionAndVerifyBytes(BlobStoreManager.Session session, in readFromSessionAndVerifyBytes()
204 public void readFromSessionAndVerifyDigest(BlobStoreManager.Session session) in readFromSessionAndVerifyDigest()
209 public void readFromSessionAndVerifyDigest(BlobStoreManager.Session session, in readFromSessionAndVerifyDigest()

12345