Home
last modified time | relevance | path

Searched refs:Session (Results 1 – 25 of 94) 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()
62 in Session.Info sessionInfo); in createConference()
64 void createConferenceComplete(String callId, in Session.Info sessionInfo); in createConferenceComplete()
67 in ConnectionRequest request, boolean isIncoming, in Session.Info sessionInfo); in createConferenceFailed()
70 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.java56 public ConcurrentHashMap<Integer, Session> mSessionMapper = new ConcurrentHashMap<>(100);
124 public synchronized void startSession(Session.Info info, String shortMethodName, in startSession()
142 Session activeSession = mSessionMapper.get(threadId); in startSession()
146 Session childSession = createSubsession(true); in startSession()
151 Log.d(LOGGING_TAG, Session.START_SESSION); in startSession()
153 Session newSession = new Session(getNextSessionID(), shortMethodName, in startSession()
164 public synchronized void startExternalSession(Session.Info sessionInfo, in startExternalSession()
171 Session threadSession = mSessionMapper.get(threadId); in startExternalSession()
181 Log.d(LOGGING_TAG, Session.START_EXTERNAL_SESSION); in startExternalSession()
182 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.java34 import android.telecom.Logging.Session;
223 Session.Info sessionInfo) {
236 Session.Info sessionInfo) {
255 Session.Info sessionInfo) {
272 public void createConnectionComplete(String id, Session.Info sessionInfo) {
290 Session.Info sessionInfo) {
312 Session.Info sessionInfo) {
329 public void createConferenceComplete(String id, Session.Info sessionInfo) {
347 Session.Info sessionInfo) {
364 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/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/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/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;
333 public void onSessionCreated(TvInputManager.Session session) { in onSessionCreated()
362 void onTuned(TvInputManager.Session session, Uri channelUri) { in onTuned()
375 public void onSessionReleased(TvInputManager.Session session) { in onSessionReleased()
393 public void onRecordingStopped(TvInputManager.Session session, Uri recordedProgramUri) { in onRecordingStopped()
406 public void onError(TvInputManager.Session session, int error) { in onError()
418 public void onSessionEvent(TvInputManager.Session session, String eventType, in onSessionEvent()
/frameworks/base/services/core/java/com/android/server/storage/
DStorageUserConnection.java75 @GuardedBy("mLock") private final Map<String, Session> mSessions = new HashMap<>();
107 Session session = new Session(sessionId, upperPath, lowerPath); in startSession()
137 public Session removeSession(String sessionId) { in removeSession()
149 Session session = removeSession(sessionId); in removeSessionAndWait()
269 public boolean isActiveLocked(Session session) { in isActiveLocked()
281 public void startSessionLocked(Session session, ParcelFileDescriptor fd) in startSessionLocked()
311 public void endSessionLocked(Session session) throws ExternalStorageServiceException { in endSessionLocked()
463 private static final class Session { class in StorageUserConnection
468 Session(String sessionId, String upperPath, String lowerPath) { in Session() method in StorageUserConnection.Session
/frameworks/base/media/java/android/media/
DMediaCas.java130 private final Map<Session, Integer> mSessionMap = new HashMap<>();
395 List<Session> sessionList = new ArrayList<>(mSessionMap.keySet());
396 for (Session casSession: sessionList) {
468 public final class Session implements AutoCloseable { class in MediaCas
472 Session(@NonNull ArrayList<Byte> sessionId) { in Session() method in MediaCas.Session
493 if (obj instanceof Session) { in equals()
494 return mSessionId.equals(((Session) obj).mSessionId); in equals()
621 Session createFromSessionId(@NonNull ArrayList<Byte> sessionId) { in createFromSessionId()
625 return new Session(sessionId); in createFromSessionId()
778 default void onSessionEvent(@NonNull MediaCas mediaCas, @NonNull Session session, in onSessionEvent()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java132 final ArrayList<Session> mSessions = new ArrayList<>();
133 final ArrayList<Session> mRebuildingSessions = new ArrayList<>();
148 final ArrayList<WeakReference<Session>> mActiveSessions = new ArrayList<>();
246 public Session newSession(Callbacks callbacks) { in newSession()
250 public Session newSession(Callbacks callbacks, Lifecycle lifecycle) { in newSession()
251 Session s = new Session(callbacks, lifecycle); in newSession()
768 Session s = mSessions.get(i); in rebuildActiveSessions()
782 public class Session implements LifecycleObserver { class in ApplicationsState
801 Session(Callbacks callbacks, Lifecycle lifecycle) { in Session() method in ApplicationsState.Session
996 Session s = (Session) msg.obj; in handleMessage()
[all …]
/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/
DDummyBlobData.java149 public void writeToSession(BlobStoreManager.Session session) throws Exception { in writeToSession()
153 public void writeToSession(BlobStoreManager.Session session, in writeToSession()
160 public void writeToSession(BlobStoreManager.Session session, in writeToSession()
180 public void readFromSessionAndVerifyBytes(BlobStoreManager.Session session, in readFromSessionAndVerifyBytes()
203 public void readFromSessionAndVerifyDigest(BlobStoreManager.Session session) in readFromSessionAndVerifyDigest()
208 public void readFromSessionAndVerifyDigest(BlobStoreManager.Session session, in readFromSessionAndVerifyDigest()
/frameworks/base/core/java/android/os/image/
DDynamicSystemManager.java55 public class Session { class in DynamicSystemManager
56 private Session() {} in Session() method in DynamicSystemManager.Session
146 public Session createPartition(String name, long size, boolean readOnly) { in createPartition()
149 return new Session(); in createPartition()

1234