Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/
DWifiNanClientState.java40 private final SparseArray<WifiNanSessionState> mSessions = new SparseArray<>(); field in WifiNanClientState
53 for (int i = 0; i < mSessions.size(); ++i) { in destroy()
54 mSessions.valueAt(i).destroy(); in destroy()
56 mSessions.clear(); in destroy()
73 for (int i = 0; i < mSessions.size(); ++i) { in getNanSessionStateForPubSubId()
74 WifiNanSessionState session = mSessions.valueAt(i); in getNanSessionStateForPubSubId()
84 WifiNanSessionState session = mSessions.get(sessionId); in createSession()
89 mSessions.put(sessionId, new WifiNanSessionState(sessionId, listener, events)); in createSession()
93 WifiNanSessionState session = mSessions.get(sessionId); in destroySession()
99 mSessions.delete(sessionId); in destroySession()
[all …]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DBordeauxSessionManager.java71 private ConcurrentHashMap<String, Session> mSessions = field in BordeauxSessionManager
88 Session session = mSessions.get(mKey); in modelChanged()
110 if (mSessions.containsKey(key.value)) { in getSessionBinder()
111 return mSessions.get(key.value).learner.getBinder(); in getSessionBinder()
121 mSessions.put(key.value, stored); in getSessionBinder()
134 mSessions.put(key.value, session); in getSessionBinder()
143 for (Map.Entry<String, Session> session : mSessions.entrySet()) { in saveSessions()
156 Session session = mSessions.get(key.value); in saveSession()
179 synchronized(mSessions) { in loadSessions()
180 mSessionStorage.getAllSessions(mSessions); in loadSessions()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioInputDescriptor.cpp58 return mSessions.getOpenCount(); in getOpenRefCount()
69 return mSessions.size() > 0 ? mSessions.valueAt(0)->inputSource() : in inputSource()
127 return mSessions.hasActiveSession(); in isActive()
132 return mSessions.isSourceActive(source); in isSourceActive()
138 return mSessions.valueAt(0)->isSoundTrigger(); in isSoundTrigger()
143 return mSessions.valueFor(session); in getAudioSession()
148 return mSessions.getActiveSessions(); in getActiveAudioSessions()
153 return mSessions.addSession(session, audioSession, /*AudioSessionInfoProvider*/this); in addAudioSession()
157 return mSessions.removeSession(session); in removeAudioSession()
168 mSessions.onSessionInfoUpdate(); in setPatchHandle()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java190 private final SparseArray<PackageInstallerSession> mSessions = new SparseArray<>(); field in PackageInstallerService
223 synchronized (mSessions) { in PackageInstallerService()
233 for (int i = 0; i < mSessions.size(); i++) { in PackageInstallerService()
234 final PackageInstallerSession session = mSessions.valueAt(i); in PackageInstallerService()
256 for (int i = 0; i < mSessions.size(); i++) { in reconcileStagesLocked()
257 final PackageInstallerSession session = mSessions.valueAt(i); in reconcileStagesLocked()
271 synchronized (mSessions) { in onPrivateVolumeMounted()
277 synchronized (mSessions) { in onSecureContainersAvailable()
286 for (int i = 0; i < mSessions.size(); i++) { in onSecureContainersAvailable()
287 final PackageInstallerSession session = mSessions.valueAt(i); in onSecureContainersAvailable()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/
DSessionLibrary.cpp56 mSessions.add(sessionId, new Session(sessionId)); in createSession()
57 return mSessions.valueFor(sessionId); in createSession()
63 return mSessions.valueFor(sessionId); in findSession()
68 mSessions.removeItem(session->sessionId()); in destroySession()
DSessionLibrary.h52 mSessions; variable
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionStack.java54 private final ArrayList<MediaSessionRecord> mSessions = new ArrayList<MediaSessionRecord>(); field in MediaSessionStack
102 mSessions.add(record); in addSession()
115 mSessions.remove(record); in removeSession()
132 mSessions.remove(record); in onPlaystateChange()
133 mSessions.add(0, record); in onPlaystateChange()
328 int size = mSessions.size(); in getPriorityListLocked()
330 final MediaSessionRecord session = mSessions.get(i); in getPriorityListLocked()
DMediaSessionService.java537 private final ArrayList<MediaSessionRecord> mSessions = new ArrayList<MediaSessionRecord>(); field in MediaSessionService.UserRecord
549 for (int i = mSessions.size() - 1; i >= 0; i--) { in destroyLocked()
550 MediaSessionRecord session = mSessions.get(i); in destroyLocked()
556 return mSessions; in getSessionsLocked()
560 mSessions.add(session); in addSessionLocked()
564 mSessions.remove(session); in removeSessionLocked()
572 int size = mSessions.size(); in dumpLocked()
577 pw.println(indent + mSessions.get(i).toString()); in dumpLocked()
/frameworks/av/media/libstagefright/foundation/
DANetworkSession.cpp934 ssize_t index = mSessions.indexOfKey(sessionID); in destroySession()
940 mSessions.removeItemsAt(index); in destroySession()
1151 mSessions.add(session->sessionID(), session); in createClientOrServer()
1171 ssize_t index = mSessions.indexOfKey(sessionID); in connectUDPSession()
1177 const sp<Session> session = mSessions.valueAt(index); in connectUDPSession()
1210 ssize_t index = mSessions.indexOfKey(sessionID); in sendRequest()
1216 const sp<Session> session = mSessions.valueAt(index); in sendRequest()
1228 ssize_t index = mSessions.indexOfKey(sessionID); in switchToWebSocketMode()
1234 const sp<Session> session = mSessions.valueAt(index); in switchToWebSocketMode()
1262 for (size_t i = 0; i < mSessions.size(); ++i) { in threadLoop()
[all …]
/frameworks/base/media/java/android/media/session/
DMediaSessionLegacyHelper.java59 private ArrayMap<PendingIntent, SessionHolder> mSessions field in MediaSessionLegacyHelper
164 SessionHolder holder = mSessions.get(pi); in getSession()
364 SessionHolder holder = mSessions.get(pi); in getHolder()
370 mSessions.put(pi, holder); in getHolder()
472 mSessions.remove(mPi); in update()
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.cpp91 mSessions.add(sessionId); in openSession()
106 mSessions.removeAt(index); in closeSession()
732 ALOGD("findSession: nsessions=%d, size=%d", mSessions.size(), sessionId.size()); in findSession()
733 for (size_t i = 0; i < mSessions.size(); ++i) { in findSession()
734 if (memcmp(mSessions[i].array(), sessionId.array(), sessionId.size()) == 0) { in findSession()
DMockDrmCryptoPlugin.h143 SortedVector<Vector<uint8_t> > mSessions; variable
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioInputDescriptor.h78 AudioSessionCollection mSessions; variable
/frameworks/av/include/media/stagefright/foundation/
DANetworkSession.h107 KeyedVector<int32_t, sp<Session> > mSessions; member
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java103 final ArrayList<Session> mSessions = new ArrayList<Session>(); field in ApplicationsState
172 mSessions.add(s); in newSession()
257 for (int i=0; i<mSessions.size(); i++) { in doPauseIfNeededLocked()
258 if (mSessions.get(i).mResumed) { in doPauseIfNeededLocked()
513 for (int i=0; i<mSessions.size(); i++) { in rebuildActiveSessions()
514 Session s = mSessions.get(i); in rebuildActiveSessions()
676 mSessions.remove(this); in release()
/frameworks/base/services/core/java/com/android/server/wm/
DSession.java553 mService.mSessions.add(this); in windowAddedLocked()
568 mService.mSessions.remove(this); in killSessionLocked()
DWindowManagerService.java404 final ArraySet<Session> mSessions = new ArraySet<>(); field in WindowManagerService
8695 for (int i=0; i<mSessions.size(); i++) { in handleMessage()
8696 callbacks.add(mSessions.valueAt(i).mCallback); in handleMessage()
9700 if (!mSessions.contains(wsa.mSession)) { in reclaimSomeSurfaceMemoryLocked()
10410 for (int i=0; i<mSessions.size(); i++) { in dumpSessionsLocked()
10411 Session s = mSessions.valueAt(i); in dumpSessionsLocked()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java255 private final LinkedHashMap<String, Session> mSessions = new LinkedHashMap<String, Session>(); field in AccountManagerService
3848 synchronized (mSessions) { in Session()
3849 mSessions.put(toString(), this); in Session()
3902 synchronized (mSessions) { in close()
3903 if (mSessions.remove(toString()) == null) { in close()
4921 synchronized (mSessions) { in dumpUser()
4923 fout.println("Active Sessions: " + mSessions.size()); in dumpUser()
4924 for (Session session : mSessions.values()) { in dumpUser()
/frameworks/base/docs/html/training/tv/tif/
Dtvinput.jd131 mSessions = new ArrayList&lt;BaseTvInputSessionImpl&gt;();
Dui.jd105 mSessions.add(session);