/frameworks/av/drm/mediadrm/plugins/clearkey/ |
SessionLibrary.cpp | 56 mSessions.add(sessionId, new Session(sessionId)); 57 return mSessions.valueFor(sessionId); 63 if (mSessions.indexOfKey(sessionId) < 0) { 66 return mSessions.valueFor(sessionId); 71 mSessions.removeItem(session->sessionId());
|
SessionLibrary.h | 52 mSessions;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
WifiAwareClientState.java | 55 private final SparseArray<WifiAwareDiscoverySessionState> mSessions = new SparseArray<>(); 91 for (int i = 0; i < mSessions.size(); ++i) { 92 mSessions.valueAt(i).terminate(); 94 mSessions.clear(); 119 return mSessions; 131 for (int i = 0; i < mSessions.size(); ++i) { 132 WifiAwareDiscoverySessionState session = mSessions.valueAt(i); 148 if (mSessions.get(sessionId) != null) { 152 mSessions.put(sessionId, session); 163 if (mSessions.get(sessionId) == null) [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
AudioInputDescriptor.cpp | 58 return mSessions.getOpenCount(); 125 return mSessions.hasActiveSession(); 130 return mSessions.isSourceActive(source); 136 return mSessions.getHighestPrioritySource(activeOnly); 142 return mSessions.valueAt(0)->isSoundTrigger(); 147 return mSessions.valueFor(session); 153 return mSessions.getActiveSessions(); 155 return mSessions; 162 return mSessions.getActiveSessionCount(); 164 return mSessions.size() [all...] |
/packages/apps/Camera2/src/com/android/camera/session/ |
CaptureSessionManagerImpl.java | 246 private final Map<String, CaptureSession> mSessions; 272 mSessions = new HashMap<>(); 286 synchronized (mSessions) { 287 mSessions.put(sessionUri.toString(), session); 293 synchronized (mSessions) { 294 return mSessions.get(sessionUri.toString()); 300 synchronized (mSessions) { 301 return mSessions.remove(sessionUri.toString()); 353 synchronized (mSessions) { 354 for (String sessionUri : mSessions.keySet()) [all...] |
/frameworks/base/services/core/java/com/android/server/media/ |
MediaSessionStack.java | 76 private final List<MediaSessionRecord> mSessions = new ArrayList<MediaSessionRecord>(); 107 mSessions.add(record); 122 mSessions.remove(record); 136 return mSessions.contains(record); 148 mSessions.remove(record); 149 mSessions.add(0, record); 216 for (MediaSessionRecord session : mSessions) { 329 int size = mSessions.size(); 331 final MediaSessionRecord session = mSessions.get(i);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
PackageInstallerService.java | 134 * File storing persisted {@link #mSessions} metadata. 139 * Directory storing persisted {@link #mSessions} metadata which is too 153 @GuardedBy("mSessions") 156 @GuardedBy("mSessions") 157 private final SparseArray<PackageInstallerSession> mSessions = new SparseArray<>(); 160 @GuardedBy("mSessions") 163 @GuardedBy("mSessions") 167 @GuardedBy("mSessions") 197 synchronized (mSessions) { 207 for (int i = 0; i < mSessions.size(); i++) [all...] |
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
AutofillManagerServiceImpl.java | 136 private final SparseArray<Session> mSessions = new SparseArray<>(); 236 final int sessionCount = mSessions.size(); 238 final Session session = mSessions.valueAt(i); 261 final Session session = mSessions.get(sessionId); 271 final Session session = mSessions.get(sessionId); 316 if (mSessions.size() > 0) { 327 final Session session = mSessions.get(sessionId); 348 final Session session = mSessions.get(sessionId); 401 } while (sessionId == NO_SESSION || mSessions.indexOfKey(sessionId) >= 0); 406 mSessions.put(newSession.id, newSession) [all...] |
/packages/apps/TV/src/com/android/tv/tuner/source/ |
TunerTsStreamerManager.java | 146 private final Map<TunerChannel, Set<Integer>> mSessions = new HashMap<>(); 153 mSessions.put(channel, sessions); 159 if (mSessions.containsKey(channel)) { 160 mSessions.get(channel).add(sessionId); 166 Set<Integer> sessions = mSessions.get(channel); 169 mSessions.remove(channel); 176 return mSessions.containsKey(channel);
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/ |
RichTvInputService.java | 66 private List<RichTvInputSessionImpl> mSessions; 72 if (mSessions != null) { 73 for (RichTvInputSessionImpl session : mSessions) { 90 mSessions = new ArrayList<RichTvInputSessionImpl>(); 110 mSessions.add(session); 221 mSessions.remove(this);
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
ANetworkSession.h | 107 KeyedVector<int32_t, sp<Session> > mSessions;
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
AudioInputDescriptor.h | 80 AudioSessionCollection mSessions;
|
/frameworks/av/media/libstagefright/foundation/ |
ANetworkSession.cpp | 934 ssize_t index = mSessions.indexOfKey(sessionID); 940 mSessions.removeItemsAt(index); 1151 mSessions.add(session->sessionID(), session); 1171 ssize_t index = mSessions.indexOfKey(sessionID); 1177 const sp<Session> session = mSessions.valueAt(index); 1210 ssize_t index = mSessions.indexOfKey(sessionID); 1216 const sp<Session> session = mSessions.valueAt(index); [all...] |
/device/google/contexthub/contexthubhal/ |
system_comms.cpp | 570 int status = mSessions.handleRx(buf); 649 status = mSessions.setup_and_add(CONTEXT_HUB_LOAD_APP, &mKeySession, appMsg); 659 status = mSessions.setup_and_add(CONTEXT_HUB_LOAD_APP, &mAppMgmtSession, appMsg); 665 status = mSessions.setup_and_add(CONTEXT_HUB_LOAD_APP, &mAppMgmtSession, appMsg); 669 status = mSessions.setup_and_add(CONTEXT_HUB_QUERY_APPS, &mAppInfoSession, appMsg); 673 status = mSessions.setup_and_add(CONTEXT_HUB_QUERY_MEMORY, &mMemInfoSession, appMsg);
|
system_comms.h | 272 } mSessions;
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
WifiAwareManagerFacade.java | 95 private SparseArray<WifiAwareSession> mSessions = new SparseArray<>(); 346 for (int i = 0; i < mSessions.size(); ++i) { 347 mSessions.valueAt(i).close(); 349 mSessions.clear(); 391 session = mSessions.get(clientId); 411 WifiAwareSession session = mSessions.get(clientId); 460 WifiAwareSession session = mSessions.get(clientId); 627 session = mSessions.get(clientId); 665 mSessions.put(mSessionId, session); [all...] |
/frameworks/base/media/java/android/media/session/ |
MediaSessionLegacyHelper.java | 59 private ArrayMap<PendingIntent, SessionHolder> mSessions 164 SessionHolder holder = mSessions.get(pi); 322 SessionHolder holder = mSessions.get(pi); 328 mSessions.put(pi, holder); 430 mSessions.remove(mPi);
|
/cts/tests/tests/net/src/android/net/wifi/aware/cts/ |
SingleDeviceTest.java | 77 private List<WifiAwareSession> mSessions = new ArrayList<>(); 115 mSessions.add(session); 396 for (WifiAwareSession session : mSessions) { 400 mSessions.clear(); [all...] |
/frameworks/av/drm/mediadrm/plugins/mock/ |
MockDrmCryptoPlugin.cpp | 92 mSessions.add(sessionId); 107 mSessions.removeAt(index); 733 ALOGD("findSession: nsessions=%zu, size=%zu", mSessions.size(), sessionId.size()); 734 for (size_t i = 0; i < mSessions.size(); ++i) { 735 if (memcmp(mSessions[i].array(), sessionId.array(), sessionId.size()) == 0) {
|
MockDrmCryptoPlugin.h | 144 SortedVector<Vector<uint8_t> > mSessions;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
ApplicationsState.java | 113 final ArrayList<Session> mSessions = new ArrayList<Session>(); 185 mSessions.add(s); 278 for (int i=0; i<mSessions.size(); i++) { 279 if (mSessions.get(i).mResumed) { 574 for (int i=0; i<mSessions.size(); i++) { 575 Session s = mSessions.get(i); 741 mSessions.remove(this); [all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/ |
CameraDeviceTest.java | [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
Session.java | 598 mService.mSessions.add(this); 675 mService.mSessions.remove(this);
|
WindowManagerService.java | 423 final ArraySet<Session> mSessions = new ArraySet<>(); [all...] |
/frameworks/base/services/core/java/com/android/server/accounts/ |
AccountManagerService.java | 197 private final LinkedHashMap<String, Session> mSessions = new LinkedHashMap<String, Session>(); [all...] |