Searched refs:mActiveSessions (Results 1 – 5 of 5) sorted by relevance
102 if (!mActiveSessions.contains(this)) { in start()164 private final ArrayList<HighPerfSession> mActiveSessions = new ArrayList<>(); field in SystemPerformanceHinter245 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 …]
90 private final Set<Session> mActiveSessions = new HashSet<>(); field in SoundTriggerModule123 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()
101 private final ArrayMap<Integer, ArrayMap<IBinder, ArraySet<AppHintSession>>> mActiveSessions; field in HintManagerService163 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 …]
43 private val mActiveSessions = AtomicInteger(0) in <lambda>() constant74 if (mActiveSessions.incrementAndGet() == 1) { in <lambda>()80 if (mActiveSessions.decrementAndGet() == 0) { in <lambda>()
163 final ArrayList<WeakReference<Session>> mActiveSessions = new ArrayList<>(); field in ApplicationsState818 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 …]