Home
last modified time | relevance | path

Searched refs:mActiveSessions (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/window/
DSystemPerformanceHinter.java102 if (!mActiveSessions.contains(this)) { in start()
164 private final ArrayList<HighPerfSession> mActiveSessions = new ArrayList<>(); field in SystemPerformanceHinter
245 mActiveSessions.add(session); in startSession()
295 mActiveSessions.remove(session); in endSession()
358 for (int i = 0; i < mActiveSessions.size(); i++) { in calculateActiveHintFlags()
359 flags |= mActiveSessions.get(i).hintFlags & filterFlags; in calculateActiveHintFlags()
371 for (int i = 0; i < mActiveSessions.size(); i++) { in calculateActiveHintFlagsForDisplay()
372 final HighPerfSession session = mActiveSessions.get(i); in calculateActiveHintFlagsForDisplay()
374 flags |= mActiveSessions.get(i).hintFlags & filterFlags; in calculateActiveHintFlagsForDisplay()
403 pw.println(innerPrefix + "Active sessions (" + mActiveSessions.size() + "):"); in dump()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerModule.java90 private final Set<Session> mActiveSessions = new HashSet<>(); field in SoundTriggerModule
123 mActiveSessions.add(session); in attach()
142 callbacks = new ArrayList<>(mActiveSessions.size()); in binderDied()
143 for (Session session : mActiveSessions) { in binderDied()
146 mActiveSessions.clear(); in binderDied()
194 mActiveSessions.remove(session); in removeSession()
201 callbacks = new ArrayList<>(mActiveSessions.size()); in onResourcesAvailable()
202 for (Session session : mActiveSessions) { in onResourcesAvailable()
/frameworks/base/services/core/java/com/android/server/power/hint/
DHintManagerService.java101 private final ArrayMap<Integer, ArrayMap<IBinder, ArraySet<AppHintSession>>> mActiveSessions; field in HintManagerService
163 mActiveSessions = new ArrayMap<>(); in HintManagerService()
379 ArrayMap<IBinder, ArraySet<AppHintSession>> tokenMap = mActiveSessions.get(uid); in onUidGone()
423 ArrayMap<IBinder, ArraySet<AppHintSession>> tokenMap = mActiveSessions.get(uid); in onUidStateChanged()
581 mActiveSessions.get(uid); in handleMessage()
896 mActiveSessions.get(callingUid); in createHintSessionWithConfig()
899 mActiveSessions.put(callingUid, tokenMap); in createHintSessionWithConfig()
962 for (int i = 0; i < mActiveSessions.size(); i++) { in dump()
963 pw.println("Uid " + mActiveSessions.keyAt(i).toString() + ":"); in dump()
965 mActiveSessions.valueAt(i); in dump()
[all …]
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/
DPerfettoViewCapture.kt43 private val mActiveSessions = AtomicInteger(0) in <lambda>() constant
74 if (mActiveSessions.incrementAndGet() == 1) { in <lambda>()
80 if (mActiveSessions.decrementAndGet() == 0) { in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java163 final ArrayList<WeakReference<Session>> mActiveSessions = new ArrayList<>(); field in ApplicationsState
818 mActiveSessions.clear(); in rebuildActiveSessions()
822 mActiveSessions.add(new WeakReference<>(s)); in rebuildActiveSessions()
1085 for (WeakReference<Session> sessionRef : mActiveSessions) { in handleMessage()
1093 for (WeakReference<Session> sessionRef : mActiveSessions) { in handleMessage()
1101 for (WeakReference<Session> sessionRef : mActiveSessions) { in handleMessage()
1109 for (WeakReference<Session> sessionRef : mActiveSessions) { in handleMessage()
1118 for (WeakReference<Session> sessionRef : mActiveSessions) { in handleMessage()
1126 for (WeakReference<Session> sessionRef : mActiveSessions) { in handleMessage()
1135 for (WeakReference<Session> sessionRef : mActiveSessions) { in handleMessage()
[all …]