/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/ |
D | WifiNanClientState.java | 40 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/ |
D | BordeauxSessionManager.java | 71 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/ |
D | AudioInputDescriptor.cpp | 58 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/ |
D | PackageInstallerService.java | 186 private final SparseArray<PackageInstallerSession> mSessions = new SparseArray<>(); field in PackageInstallerService 219 synchronized (mSessions) { in PackageInstallerService() 229 for (int i = 0; i < mSessions.size(); i++) { in PackageInstallerService() 230 final PackageInstallerSession session = mSessions.valueAt(i); in PackageInstallerService() 252 for (int i = 0; i < mSessions.size(); i++) { in reconcileStagesLocked() 253 final PackageInstallerSession session = mSessions.valueAt(i); in reconcileStagesLocked() 267 synchronized (mSessions) { in onPrivateVolumeMounted() 273 synchronized (mSessions) { in onSecureContainersAvailable() 282 for (int i = 0; i < mSessions.size(); i++) { in onSecureContainersAvailable() 283 final PackageInstallerSession session = mSessions.valueAt(i); in onSecureContainersAvailable() [all …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
D | SessionLibrary.cpp | 56 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()
|
D | SessionLibrary.h | 52 mSessions; variable
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionStack.java | 54 private final ArrayList<MediaSessionRecord> mSessions = new ArrayList<MediaSessionRecord>(); field in MediaSessionStack 103 mSessions.add(record); in addSession() 116 mSessions.remove(record); in removeSession() 133 mSessions.remove(record); in onPlaystateChange() 134 mSessions.add(0, record); in onPlaystateChange() 320 int size = mSessions.size(); in getPriorityListLocked() 322 final MediaSessionRecord session = mSessions.get(i); in getPriorityListLocked()
|
D | MediaSessionService.java | 528 private final ArrayList<MediaSessionRecord> mSessions = new ArrayList<MediaSessionRecord>(); field in MediaSessionService.UserRecord 547 for (int i = mSessions.size() - 1; i >= 0; i--) { in destroyLocked() 548 MediaSessionRecord session = mSessions.get(i); in destroyLocked() 554 return mSessions; in getSessionsLocked() 558 mSessions.add(session); in addSessionLocked() 562 mSessions.remove(session); in removeSessionLocked() 570 int size = mSessions.size(); in dumpLocked() 575 pw.println(indent + mSessions.get(i).toString()); in dumpLocked()
|
/frameworks/av/media/libstagefright/foundation/ |
D | ANetworkSession.cpp | 934 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/ |
D | MediaSessionLegacyHelper.java | 59 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/ |
D | MockDrmCryptoPlugin.cpp | 91 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()
|
D | MockDrmCryptoPlugin.h | 143 SortedVector<Vector<uint8_t> > mSessions; variable
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioInputDescriptor.h | 78 AudioSessionCollection mSessions; variable
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 103 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() 692 mSessions.remove(this); in release()
|
/frameworks/av/include/media/stagefright/foundation/ |
D | ANetworkSession.h | 107 KeyedVector<int32_t, sp<Session> > mSessions; member
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Session.java | 553 mService.mSessions.add(this); in windowAddedLocked() 568 mService.mSessions.remove(this); in killSessionLocked()
|
D | WindowManagerService.java | 398 final ArraySet<Session> mSessions = new ArraySet<>(); field in WindowManagerService 8528 for (int i=0; i<mSessions.size(); i++) { in handleMessage() 8529 callbacks.add(mSessions.valueAt(i).mCallback); in handleMessage() 9505 if (!mSessions.contains(wsa.mSession)) { in reclaimSomeSurfaceMemoryLocked() 10206 for (int i=0; i<mSessions.size(); i++) { in dumpSessionsLocked() 10207 Session s = mSessions.valueAt(i); in dumpSessionsLocked()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 255 private final LinkedHashMap<String, Session> mSessions = new LinkedHashMap<String, Session>(); field in AccountManagerService 3815 synchronized (mSessions) { in Session() 3816 mSessions.put(toString(), this); in Session() 3869 synchronized (mSessions) { in close() 3870 if (mSessions.remove(toString()) == null) { in close() 4888 synchronized (mSessions) { in dumpUser() 4890 fout.println("Active Sessions: " + mSessions.size()); in dumpUser() 4891 for (Session session : mSessions.values()) { in dumpUser()
|
/frameworks/base/docs/html/training/tv/tif/ |
D | tvinput.jd | 131 mSessions = new ArrayList<BaseTvInputSessionImpl>();
|
D | ui.jd | 105 mSessions.add(session);
|