Home
last modified time | relevance | path

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

1234

/frameworks/base/telecomm/java/com/android/internal/telecom/
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 …]
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 …]
/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;
309 (Session.Info) args.arg3);
346 (Session.Info) args.arg3);
360 Session.Info sessionInfo) {
369 public void setActive(String connectionId, Session.Info sessionInfo) {
374 public void setRinging(String connectionId, Session.Info sessionInfo) {
379 public void setDialing(String connectionId, Session.Info sessionInfo) {
384 public void setPulling(String connectionId, Session.Info sessionInfo) {
390 Session.Info sessionInfo) {
398 public void setOnHold(String connectionId, 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 = 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiWakeMetricsTest.java89 WifiWakeStats.Session session = wifiWakeStats.sessions[i]; in buildsMultiSessionProto_greaterThanMax()
183 WifiWakeStats.Session session = wifiWakeStats.sessions[0]; in ignoresEventsAfterResetAndBeforeStartCalled()
239 WifiWakeMetrics.Session session = in session_buildsEmptyProto()
240 new WifiWakeMetrics.Session(1 /* numNetworks */, 1000 /* timestamp */); in session_buildsEmptyProto()
242 WifiWakeStats.Session sessionProto = session.buildProto(); in session_buildsEmptyProto()
253 WifiWakeMetrics.Session session = in session_recordsEvents()
254 new WifiWakeMetrics.Session(1 /* numNetworks */, 1000 /* timestamp */); in session_recordsEvents()
274 WifiWakeMetrics.Session session = in session_buildProto()
275 new WifiWakeMetrics.Session(1 /* numNetworks */, 1000 /* timestamp */); in session_buildProto()
282 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.java19 import static com.android.systemui.statusbar.phone.nano.TouchAnalyticsProto.Session;
20 import static com.android.systemui.statusbar.phone.nano.TouchAnalyticsProto.Session.PhoneEvent;
21 import static com.android.systemui.statusbar.phone.nano.TouchAnalyticsProto.Session.SensorEvent;
22 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.java19 import static com.android.systemui.statusbar.phone.nano.TouchAnalyticsProto.Session;
20 import static com.android.systemui.statusbar.phone.nano.TouchAnalyticsProto.Session.PhoneEvent;
190 currentSession.setType(Session.REJECTED_TOUCH_REPORT); in reportRejectedTouch()
191 currentSession.end(System.currentTimeMillis(), Session.SUCCESS); in reportRejectedTouch()
192 Session proto = currentSession.toProto(); in reportRejectedTouch()
194 byte[] b = Session.toByteArray(proto); in reportRejectedTouch()
212 byte[] b = Session.toByteArray(currentSession.toProto()); in queueSession()
215 mFalsingPlugin.dataCollected(currentSession.getResult() == Session.SUCCESS, b); in queueSession()
218 if (currentSession.getResult() != Session.SUCCESS) { in queueSession()
293 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.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.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.java370 public void onSessionCreated(@Nullable Session session) { in onSessionCreated()
379 public void onSessionReleased(Session session) { in onSessionReleased()
389 public void onChannelRetuned(Session session, Uri channelUri) { in onChannelRetuned()
398 public void onTracksChanged(Session session, List<TvTrackInfo> tracks) { in onTracksChanged()
411 public void onTrackSelected(Session session, int type, @Nullable String trackId) { in onTrackSelected()
423 public void onVideoSizeChanged(Session session, int width, int height) { in onVideoSizeChanged()
431 public void onVideoAvailable(Session session) { in onVideoAvailable()
447 public void onVideoUnavailable(Session session, int reason) { in onVideoUnavailable()
456 public void onContentAllowed(Session session) { in onContentAllowed()
466 public void onContentBlocked(Session session, TvContentRating rating) { in onContentBlocked()
[all …]
/frameworks/base/core/java/android/os/image/
DDynamicSystemManager.java53 public class Session { class in DynamicSystemManager
54 private Session() {} in Session() method in DynamicSystemManager.Session
96 public Session startInstallation(long systemSize, long userdataSize) { in startInstallation()
99 return new Session(); in startInstallation()
/frameworks/base/media/java/android/media/
DMediaCas.java256 public final class Session implements AutoCloseable { class in MediaCas
259 Session(@NonNull ArrayList<Byte> sessionId) { in Session() method in MediaCas.Session
271 if (obj instanceof Session) { in equals()
272 return mSessionId.equals(((Session) obj).mSessionId); in equals()
385 Session createFromSessionId(@NonNull ArrayList<Byte> sessionId) { in createFromSessionId()
389 return new Session(sessionId); in createFromSessionId()
500 default void onSessionEvent(@NonNull MediaCas mediaCas, @NonNull Session session, in onSessionEvent()
558 public Session mSession;
576 public Session openSession() throws MediaCasException { in openSession()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java130 final ArrayList<Session> mSessions = new ArrayList<>();
131 final ArrayList<Session> mRebuildingSessions = new ArrayList<>();
146 final ArrayList<WeakReference<Session>> mActiveSessions = new ArrayList<>();
245 public Session newSession(Callbacks callbacks) { in newSession()
249 public Session newSession(Callbacks callbacks, Lifecycle lifecycle) { in newSession()
250 Session s = new Session(callbacks, lifecycle); in newSession()
753 Session s = mSessions.get(i); in rebuildActiveSessions()
767 public class Session implements LifecycleObserver { class in ApplicationsState
786 Session(Callbacks callbacks, Lifecycle lifecycle) { in Session() method in ApplicationsState.Session
977 Session s = (Session) msg.obj; in handleMessage()
[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()

1234