Home
last modified time | relevance | path

Searched refs:mSessions (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DConferenceHelper.java30 private final ConcurrentHashMap<String, TestImsCallSessionImpl> mSessions = field in ConferenceHelper
34 synchronized (mSessions) { in addSession()
35 mSessions.put(session.getCallId(), session); in addSession()
41 synchronized (mSessions) { in removeSession()
42 mSessions.remove(session.getCallId(), session); in removeSession()
47 synchronized (mSessions) { in getActiveSession()
48 if (mSessions.isEmpty()) { in getActiveSession()
52 for (Map.Entry<String, TestImsCallSessionImpl> entry : mSessions.entrySet()) { in getActiveSession()
63 synchronized (mSessions) { in getHoldSession()
64 if (mSessions.isEmpty()) { in getHoldSession()
[all …]
/cts/tests/framework/base/biometrics/src/android/server/biometrics/util/
DTestSessionList.java37 private final List<BiometricTestSession> mSessions = new ArrayList<>(); field in TestSessionList
52 mSessions.add(session); in add()
57 mSessions.add(session); in put()
64 return mSessions.get(0); in first()
75 for (BiometricTestSession session : mSessions) { in close()
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/
DServiceReporter.java45 public HashMap<AppPredictionSessionId, AppPredictionContext> mSessions = new HashMap<>(); field in ServiceReporter
92 assertTrue(mSessions.containsKey(sessionId)); in assertActiveSession()
96 assertTrue(mSessions.containsKey(sessionId)); in getPredictionContext()
97 return mSessions.get(sessionId); in getPredictionContext()
104 assertFalse(mSessions.containsKey(sessionId)); in onCreatePredictionSession()
105 mSessions.put(sessionId, context); in onCreatePredictionSession()
118 assertTrue(mSessions.containsKey(sessionId)); in onAppTargetEvent()
133 assertTrue(mSessions.containsKey(sessionId)); in onLocationShown()
149 assertTrue(mSessions.containsKey(sessionId)); in onSortAppTargets()
188 assertTrue(mSessions.containsKey(sessionId)); in onRequestPredictionUpdate()
[all …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCommandSession.java357 mClient.mSessions.remove(mHostId);
437 private final ArrayMap<String, ActivitySession> mSessions = new ArrayMap<>();
468 mSessions.put(session.mHostId, session);
486 mSessions.put(session.mHostId, session);
528 if (mSessions.isEmpty()) {
531 return mSessions.valueAt(mSessions.size() - 1);
544 final ActivitySession session = mSessions.get(intent.getStringExtra(KEY_HOST_ID));
563 for (int i = mSessions.size() - 1; i >= 0; i--) {
564 mSessions.valueAt(i).finish();
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/
DSingleDeviceTest.java138 private final List<WifiAwareSession> mSessions = new ArrayList<>(); field in SingleDeviceTest
219 mSessions.add(session); in onAttached()
233 mSessions.remove(mSession); in onAwareSessionTerminated()
666 for (WifiAwareSession session : mSessions) { in tearDown()
670 mSessions.clear(); in tearDown()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraDeviceTest.java2665 final List<CameraCaptureSession> mSessions = new ArrayList<>(); field in CameraDeviceTest.MultipleSessionCallback
2693 mSessions.add(session); in onConfigured()
2714 while (mSessions.size() < numSessions) { in getAllSessions()
2724 return mSessions; in getAllSessions()