/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareClientState.java | 54 private final SparseArray<WifiAwareDiscoverySessionState> mSessions = new SparseArray<>(); field in WifiAwareClientState 93 for (int i = 0; i < mSessions.size(); ++i) { in destroy() 94 mSessions.valueAt(i).terminate(); in destroy() 96 mSessions.clear(); in destroy() 125 return mSessions; in getSessions() 137 for (int i = 0; i < mSessions.size(); ++i) { in getAwareSessionStateForPubSubId() 138 WifiAwareDiscoverySessionState session = mSessions.valueAt(i); in getAwareSessionStateForPubSubId() 154 if (mSessions.get(sessionId) != null) { in addSession() 158 mSessions.put(sessionId, session); in addSession() 169 if (mSessions.get(sessionId) == null) { in removeSession() [all …]
|
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/ |
D | ContentCapturePerUserService.java | 88 private final SparseArray<ContentCaptureServerSession> mSessions = new SparseArray<>(); field in ContentCapturePerUserService 174 for (int i = 0; i < mSessions.size(); i++) { in updateLocked() 175 mSessions.valueAt(i).setContentCaptureEnabledLocked(!disabled); in updateLocked() 212 final int numSessions = mSessions.size(); in resurrectSessionsLocked() 219 final ContentCaptureServerSession session = mSessions.valueAt(i); in resurrectSessionsLocked() 225 final int numSessions = mSessions.size(); in onPackageUpdatingLocked() 230 final ContentCaptureServerSession session = mSessions.valueAt(i); in onPackageUpdatingLocked() 306 final ContentCaptureServerSession existingSession = mSessions.get(sessionId); in startSessionLocked() 347 mSessions.put(sessionId, newSession); in startSessionLocked() 357 final ContentCaptureServerSession session = mSessions.get(sessionId); in finishSessionLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 171 private final SparseArray<PackageInstallerSession> mSessions = new SparseArray<>(); field in PackageInstallerService 221 synchronized (mSessions) { in systemReady() 230 for (int i = 0; i < mSessions.size(); i++) { in systemReady() 231 final PackageInstallerSession session = mSessions.valueAt(i); in systemReady() 250 synchronized (mSessions) { in restoreAndApplyStagedSessionIfNeeded() 251 for (int i = 0; i < mSessions.size(); i++) { in restoreAndApplyStagedSessionIfNeeded() 252 final PackageInstallerSession session = mSessions.valueAt(i); in restoreAndApplyStagedSessionIfNeeded() 289 for (int i = 0; i < mSessions.size(); i++) { in reconcileStagesLocked() 290 final PackageInstallerSession session = mSessions.valueAt(i); in reconcileStagesLocked() 304 synchronized (mSessions) { in onPrivateVolumeMounted() [all …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | SessionLibrary.cpp | 60 mSessions.insert(std::pair<std::vector<uint8_t>, in createSession() 63 mSessions.find(sessionId); in createSession() 64 if (itr != mSessions.end()) { in createSession() 75 mSessions.find(sessionId); in findSession() 76 if (itr != mSessions.end()) { in findSession() 85 mSessions.erase(session->sessionId()); in destroySession()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
D | SessionLibrary.cpp | 56 mSessions.add(sessionId, new Session(sessionId)); in createSession() 57 return mSessions.valueFor(sessionId); in createSession() 63 if (mSessions.indexOfKey(sessionId) < 0) { in findSession() 66 return mSessions.valueFor(sessionId); in findSession() 71 mSessions.removeItem(session->sessionId()); in destroySession()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionStack.java | 77 private final List<MediaSessionRecord> mSessions = new ArrayList<MediaSessionRecord>(); field in MediaSessionStack 107 mSessions.add(record); in addSession() 122 mSessions.remove(record); in removeSession() 136 return mSessions.contains(record); in contains() 146 for (MediaSessionRecord record : mSessions) { in getMediaSessionRecord() 163 mSessions.remove(record); in onPlaystateChanged() 164 mSessions.add(0, record); in onPlaystateChanged() 231 for (MediaSessionRecord session : mSessions) { in findMediaButtonSession() 344 int size = mSessions.size(); in getPriorityList() 346 final MediaSessionRecord session = mSessions.get(i); in getPriorityList()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiWakeMetrics.java | 39 private final List<Session> mSessions = new ArrayList<>(); field in WifiWakeMetrics 146 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()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerServiceImpl.java | 148 private final SparseArray<Session> mSessions = new SparseArray<>(); field in AutofillManagerServiceImpl 202 final int sessionCount = mSessions.size(); in updateLocked() 204 final Session session = mSessions.valueAt(i); in updateLocked() 263 final Session session = mSessions.get(sessionId); in setAuthenticationResultLocked() 273 final Session session = mSessions.get(sessionId); in setHasCallback() 378 if (mSessions.size() > 0) { in pruneAbandonedSessionsLocked() 389 final Session session = mSessions.get(sessionId); in setAutofillFailureLocked() 403 final Session session = mSessions.get(sessionId); in finishSessionLocked() 427 final Session session = mSessions.get(sessionId); in cancelSessionLocked() 485 || mSessions.indexOfKey(sessionId) >= 0); in createSessionByTokenLocked() [all …]
|
/frameworks/base/media/apex/java/android/media/ |
D | MediaSession2Service.java | 84 private Map<String, MediaSession2> mSessions = new ArrayMap<>(); field in MediaSession2Service 138 mSessions.clear(); in onDestroy() 198 MediaSession2 previousSession = mSessions.get(session.getId()); in addSession() 206 mSessions.put(session.getId(), session); in addSession() 223 if (mSessions.get(session.getId()) != session) { in removeSession() 227 mSessions.remove(session.getId()); in removeSession() 247 list.addAll(mSessions.values()); in getSessions()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
D | SessionLibrary.h | 45 size_t numOpenSessions() const { return mSessions.size(); } in numOpenSessions() 57 std::map<std::vector<uint8_t>, sp<Session> > mSessions; variable
|
/frameworks/base/services/core/java/com/android/server/lights/ |
D | LightsService.java | 84 private final List<Session> mSessions = new ArrayList<>(); field in LightsService.LightsManagerBinderService 157 mSessions.add(new Session(token)); in openSession() 177 mSessions.remove(session); in closeSessionInternal() 199 for (int i = mSessions.size() - 1; i >= 0; i--) { in invalidateLightStatesLocked() 200 SparseArray<LightState> requests = mSessions.get(i).mRequests; in invalidateLightStatesLocked() 220 for (int i = 0; i < mSessions.size(); i++) { in getSessionLocked() 221 if (token.equals(mSessions.get(i).mToken)) { in getSessionLocked() 222 return mSessions.get(i); in getSessionLocked()
|
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionLegacyHelper.java | 59 private ArrayMap<PendingIntent, SessionHolder> mSessions field in MediaSessionLegacyHelper 165 SessionHolder holder = mSessions.get(pi); in getSession() 323 SessionHolder holder = mSessions.get(pi); in getHolder() 329 mSessions.put(pi, holder); in getHolder() 431 mSessions.remove(mPi); in update()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/ |
D | SessionLibrary.h | 52 mSessions; variable
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.cpp | 92 mSessions.add(sessionId); in openSession() 107 mSessions.removeAt(index); in closeSession() 733 ALOGD("findSession: nsessions=%zu, size=%zu", mSessions.size(), sessionId.size()); in findSession() 734 for (size_t i = 0; i < mSessions.size(); ++i) { in findSession() 735 if (memcmp(mSessions[i].array(), sessionId.array(), sessionId.size()) == 0) { in findSession()
|
D | MockDrmCryptoPlugin.h | 144 SortedVector<Vector<uint8_t> > mSessions; variable
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 130 final ArrayList<Session> mSessions = new ArrayList<>(); field in ApplicationsState 252 mSessions.add(s); in newSession() 444 for (int i = 0; i < mSessions.size(); i++) { in doPauseIfNeededLocked() 445 if (mSessions.get(i).mResumed) { in doPauseIfNeededLocked() 752 for (int i = 0; i < mSessions.size(); i++) { in rebuildActiveSessions() 753 Session s = mSessions.get(i); in rebuildActiveSessions() 953 mSessions.remove(this); in onDestroy() 1078 int flags = getCombinedSessionFlags(mSessions); in handleMessage()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Session.java | 481 mService.mSessions.add(this); in windowAddedLocked() 562 mService.mSessions.remove(this); in killSessionLocked()
|
D | WindowManagerService.java | 494 final ArraySet<Session> mSessions = new ArraySet<>(); field in WindowManagerService 4857 for (int i=0; i<mSessions.size(); i++) { in handleMessage() 4858 callbacks.add(mSessions.valueAt(i).mCallback); in handleMessage() 5962 for (int i=0; i<mSessions.size(); i++) { in dumpSessionsLocked() 5963 Session s = mSessions.valueAt(i); in dumpSessionsLocked() 7595 for (int i = mSessions.size() - 1; i >= 0; --i) { in disableNonVrUi() 7596 final Session s = mSessions.valueAt(i); in disableNonVrUi()
|
D | DisplayContent.java | 1431 for (int i = 0; i < mWmService.mSessions.size(); i++) { in updateRotationUnchecked() 1432 if (mWmService.mSessions.valueAt(i).hasAlertWindowSurfaces()) { in updateRotationUnchecked() 3215 if (!mWmService.mSessions.contains(wsa.mSession)) { in destroyLeakedSurfaces()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 201 private final LinkedHashMap<String, Session> mSessions = new LinkedHashMap<String, Session>(); field in AccountManagerService 4739 synchronized (mSessions) { 4740 mSessions.put(toString(), this); 4810 synchronized (mSessions) { 4811 if (mSessions.remove(toString()) == null) { 5238 synchronized (mSessions) { 5240 fout.println("Active Sessions: " + mSessions.size()); 5241 for (Session session : mSessions.values()) {
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 40330 Landroid/media/session/MediaSessionLegacyHelper;->mSessions:Landroid/util/ArrayMap;
|