Searched refs:mSessions (Results 1 – 8 of 8) sorted by relevance
55 private final SparseArray<WifiAwareDiscoverySessionState> mSessions = new SparseArray<>(); field in WifiAwareClientState104 for (int i = 0; i < mSessions.size(); ++i) { in destroy()105 mSessions.valueAt(i).terminate(); in destroy()107 mSessions.clear(); in destroy()136 return mSessions; in getSessions()148 for (int i = 0; i < mSessions.size(); ++i) { in getAwareSessionStateForPubSubId()149 WifiAwareDiscoverySessionState session = mSessions.valueAt(i); in getAwareSessionStateForPubSubId()165 if (mSessions.get(sessionId) != null) { in addSession()169 mSessions.put(sessionId, session); in addSession()180 if (mSessions.get(sessionId) == null) { in removeSession()[all …]
246 private final Map<String, CaptureSession> mSessions; field in CaptureSessionManagerImpl272 mSessions = new HashMap<>(); in CaptureSessionManagerImpl()286 synchronized (mSessions) { in putSession()287 mSessions.put(sessionUri.toString(), session); in putSession()293 synchronized (mSessions) { in getSession()294 return mSessions.get(sessionUri.toString()); in getSession()300 synchronized (mSessions) { in removeSession()301 return mSessions.remove(sessionUri.toString()); in removeSession()353 synchronized (mSessions) { in fillTemporarySession()354 for (String sessionUri : mSessions.keySet()) { in fillTemporarySession()[all …]
39 private final List<Session> mSessions = new ArrayList<>(); field in WifiWakeMetrics146 if (mSessions.size() < MAX_RECORDED_SESSIONS) { in recordResetEvent()147 mSessions.add(mCurrentSession); in recordResetEvent()169 proto.sessions = new WifiWakeStats.Session[mSessions.size()]; in buildProto()171 for (int i = 0; i < mSessions.size(); i++) { in buildProto()172 proto.sessions[i] = mSessions.get(i).buildProto(); in buildProto()189 pw.println("Stored Sessions: " + mSessions.size()); in dump()190 for (Session session : mSessions) { in dump()208 mSessions.clear(); in clear()
57 mSessions.emplace_front(session); in recordSession()58 if (mSessions.size() > kMaxSize) { in recordSession()60 mSessions.pop_back(); in recordSession()66 if (mSessions.size() == 0) { in getSession()70 bssl::UniquePtr<SSL_SESSION> ret = std::move(mSessions.front()); in getSession()71 mSessions.pop_front(); in getSession()
54 std::deque<bssl::UniquePtr<SSL_SESSION>> mSessions GUARDED_BY(mLock);
142 private final Map<TunerChannel, Set<Integer>> mSessions = new HashMap<>(); field in TunerTsStreamerManager.StreamerFinder149 mSessions.put(channel, sessions); in putLocked()155 if (mSessions.containsKey(channel)) { in appendSessionLocked()156 mSessions.get(channel).add(sessionId); in appendSessionLocked()162 Set<Integer> sessions = mSessions.get(channel); in removeSessionLocked()165 mSessions.remove(channel); in removeSessionLocked()172 return mSessions.containsKey(channel); in containsLocked()
907 private final ArrayList<SecureElementSession> mSessions = field in Terminal.SecureElementReader926 while (mSessions.size() > 0) { in closeSessions()928 mSessions.get(0).close(); in closeSessions()932 mSessions.clear(); in closeSessions()942 mSessions.remove(session); in removeSession()943 if (mSessions.size() == 0) { in removeSession()958 mSessions.add(session); in openSession()
128 mSessions.put(module.getId(), tuner); in openSession()150 private static Map<Integer, RadioTuner> mSessions = new HashMap<>(); field in RadioManagerExt158 RadioTuner tuner = mSessions.get(moduleId); in getMetadataImage()