Lines Matching refs:sessionEffects
780 const KeyedVector <int, sp<SuspendedSessionDesc> >& sessionEffects = in checkSuspendOnAddEffectChain_l() local
783 for (size_t i = 0; i < sessionEffects.size(); i++) { in checkSuspendOnAddEffectChain_l()
784 sp<SuspendedSessionDesc> desc = sessionEffects.valueAt(i); in checkSuspendOnAddEffectChain_l()
786 if (sessionEffects.keyAt(i) == EffectChain::kKeyForSuspendAll) { in checkSuspendOnAddEffectChain_l()
803 KeyedVector <int, sp<SuspendedSessionDesc> > sessionEffects; in updateSuspendedSessions_l() local
807 sessionEffects = mSuspendedSessions.valueAt(index); in updateSuspendedSessions_l()
809 mSuspendedSessions.add(sessionId, sessionEffects); in updateSuspendedSessions_l()
815 sessionEffects = mSuspendedSessions.valueAt(index); in updateSuspendedSessions_l()
823 index = sessionEffects.indexOfKey(key); in updateSuspendedSessions_l()
828 desc = sessionEffects.valueAt(index); in updateSuspendedSessions_l()
834 sessionEffects.add(key, desc); in updateSuspendedSessions_l()
842 desc = sessionEffects.valueAt(index); in updateSuspendedSessions_l()
845 sessionEffects.removeItemsAt(index); in updateSuspendedSessions_l()
846 if (sessionEffects.isEmpty()) { in updateSuspendedSessions_l()
853 if (!sessionEffects.isEmpty()) { in updateSuspendedSessions_l()
854 mSuspendedSessions.replaceValueFor(sessionId, sessionEffects); in updateSuspendedSessions_l()