Home
last modified time | relevance | path

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

1234

/frameworks/base/telecomm/java/com/android/internal/telecom/
DIConnectionService.aidl24 import android.telecom.Logging.Session;
38 in Session.Info sessionInfo); in addConnectionServiceAdapter()
41 in Session.Info sessionInfo); in removeConnectionServiceAdapter()
49 in Session.Info sessionInfo); in createConnection()
51 void createConnectionComplete(String callId, in Session.Info sessionInfo); in createConnectionComplete()
54 in ConnectionRequest request, boolean isIncoming, in Session.Info sessionInfo); in createConnectionFailed()
56 void abort(String callId, in Session.Info sessionInfo); in abort()
58 void answerVideo(String callId, int videoState, in Session.Info sessionInfo); in answerVideo()
60 void answer(String callId, in Session.Info sessionInfo); in answer()
62 void deflect(String callId, in Uri address, in Session.Info sessionInfo); in deflect()
[all …]
DIConnectionServiceAdapter.aidl24 import android.telecom.Logging.Session;
45 in Session.Info sessionInfo); in handleCreateConnectionComplete()
47 void setActive(String callId, in Session.Info sessionInfo); in setActive()
49 void setRinging(String callId, in Session.Info sessionInfo); in setRinging()
51 void setDialing(String callId, in Session.Info sessionInfo); in setDialing()
53 void setPulling(String callId, in Session.Info sessionInfo); in setPulling()
56 in Session.Info sessionInfo); in setDisconnected()
58 void setOnHold(String callId, in Session.Info sessionInfo); in setOnHold()
60 void setRingbackRequested(String callId, boolean ringing, in Session.Info sessionInfo); in setRingbackRequested()
63 in Session.Info sessionInfo); in setConnectionCapabilities()
[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) {
104 public void setActive(String callId, Session.Info sessionInfo) {
115 public void setRinging(String callId, Session.Info sessionInfo) {
121 public void setDialing(String callId, Session.Info sessionInfo) {
127 public void setPulling(String callId, Session.Info sessionInfo) {
134 Session.Info sessionInfo) {
145 public void setOnHold(String callId, Session.Info sessionInfo) {
156 public void setRingbackRequested(String callId, boolean ringing, Session.Info sessionInfo) {
163 Session.Info sessionInfo) {
[all …]
DConnectionServiceAdapterServant.java24 import android.telecom.Logging.Session;
303 (Session.Info) args.arg3);
346 Session.Info sessionInfo) {
355 public void setActive(String connectionId, Session.Info sessionInfo) {
360 public void setRinging(String connectionId, Session.Info sessionInfo) {
365 public void setDialing(String connectionId, Session.Info sessionInfo) {
370 public void setPulling(String connectionId, Session.Info sessionInfo) {
376 Session.Info sessionInfo) {
384 public void setOnHold(String connectionId, Session.Info sessionInfo) {
390 Session.Info sessionInfo) {
[all …]
DConnectionService.java31 import android.telecom.Logging.Session;
206 Session.Info sessionInfo) {
219 Session.Info sessionInfo) {
238 Session.Info sessionInfo) {
255 public void createConnectionComplete(String id, Session.Info sessionInfo) {
273 Session.Info sessionInfo) {
290 Session.Info sessionInfo) {
305 public void handoverComplete(String callId, Session.Info sessionInfo) {
318 public void abort(String callId, Session.Info sessionInfo) {
331 public void answerVideo(String callId, int videoState, Session.Info sessionInfo) {
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiWakeMetrics.java39 private final List<Session> mSessions = new ArrayList<>();
41 private Session mCurrentSession;
59 mCurrentSession = new Session(numNetworks, SystemClock.elapsedRealtime()); in recordStartEvent()
169 proto.sessions = new WifiWakeStats.Session[mSessions.size()]; in buildProto()
190 for (Session session : mSessions) { in dump()
216 public static class Session { class in WifiWakeMetrics
236 public Session(int numNetworks, long timestamp) { in Session() method in WifiWakeMetrics.Session
307 public WifiWakeStats.Session buildProto() { in buildProto()
308 WifiWakeStats.Session sessionProto = new WifiWakeStats.Session(); in buildProto()
356 public WifiWakeStats.Session.Event buildProto() { in buildProto()
[all …]
/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 = mSessions.find(sessionId); in createSession()
70 sp<Session> SessionLibrary::findSession( in findSession()
73 std::map<std::vector<uint8_t>, sp<Session> >::iterator itr = mSessions.find(sessionId); in findSession()
81 void SessionLibrary::destroySession(const sp<Session>& session) { in destroySession()
DSession.cpp42 Status Session::getKeyRequest( in getKeyRequest()
50 Status Session::provideKeyResponse(const std::vector<uint8_t>& response) { in provideKeyResponse()
70 Status Session::decrypt( in decrypt()
/frameworks/av/media/libstagefright/foundation/
DANetworkSession.cpp58 struct ANetworkSession::Session : public RefBase { struct in android::ANetworkSession
73 Session(int32_t sessionID,
99 virtual ~Session();
130 DISALLOW_EVIL_CONSTRUCTORS(Session);
149 ANetworkSession::Session::Session( in Session() function in android::ANetworkSession::Session
205 ANetworkSession::Session::~Session() { in ~Session()
212 int32_t ANetworkSession::Session::sessionID() const { in sessionID()
216 int ANetworkSession::Session::socket() const { in socket()
220 void ANetworkSession::Session::setMode(Mode mode) { in setMode()
224 status_t ANetworkSession::Session::switchToWebSocketMode() { in switchToWebSocketMode()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiWakeMetricsTest.java87 WifiWakeStats.Session session = wifiWakeStats.sessions[i]; in buildsMultiSessionProto_greaterThanMax()
181 WifiWakeStats.Session session = wifiWakeStats.sessions[0]; in ignoresEventsAfterResetAndBeforeStartCalled()
237 WifiWakeMetrics.Session session = in session_buildsEmptyProto()
238 new WifiWakeMetrics.Session(1 /* numNetworks */, 1000 /* timestamp */); in session_buildsEmptyProto()
240 WifiWakeStats.Session sessionProto = session.buildProto(); in session_buildsEmptyProto()
251 WifiWakeMetrics.Session session = in session_recordsEvents()
252 new WifiWakeMetrics.Session(1 /* numNetworks */, 1000 /* timestamp */); in session_recordsEvents()
272 WifiWakeMetrics.Session session = in session_buildProto()
273 new WifiWakeMetrics.Session(1 /* numNetworks */, 1000 /* timestamp */); in session_buildProto()
280 WifiWakeStats.Session sessionProto = session.buildProto(); in session_buildProto()
[all …]
/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()
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/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/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.h36 class Session : public RefBase {
38 explicit Session(const std::vector<uint8_t>& sessionId) in Session() function
40 virtual ~Session() {} in ~Session()
58 CLEARKEY_DISALLOW_COPY_AND_ASSIGN(Session);
/frameworks/base/media/java/android/media/tv/
DTvView.java32 import android.media.tv.TvInputManager.Session;
33 import android.media.tv.TvInputManager.Session.FinishedInputEventCallback;
84 private Session mSession;
630 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchKeyEvent()
645 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchTouchEvent()
660 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchTrackballEvent()
675 return ret != Session.DISPATCH_NOT_HANDLED; in dispatchGenericMotionEvent()
1070 public void onSessionCreated(Session session) { in onSessionCreated()
1127 public void onSessionReleased(Session session) { in onSessionReleased()
1145 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 …]
/frameworks/base/core/java/android/se/omapi/
DChannel.java45 private Session mSession;
50 Channel(@NonNull SEService service, @NonNull Session session, in Channel()
186 public @NonNull Session getSession() { in getSession()
/frameworks/base/media/java/android/media/
DMediaCas.java217 public final class Session implements AutoCloseable { class in MediaCas
220 Session(@NonNull ArrayList<Byte> sessionId) { in Session() method in MediaCas.Session
303 Session createFromSessionId(@NonNull ArrayList<Byte> sessionId) { in createFromSessionId()
307 return new Session(sessionId); in createFromSessionId()
452 public Session mSession;
470 public Session openSession() throws MediaCasException { in openSession()

1234