Lines Matching refs:sessionEffects
1072 const KeyedVector <int, sp<SuspendedSessionDesc> >& sessionEffects = in checkSuspendOnAddEffectChain_l() local
1075 for (size_t i = 0; i < sessionEffects.size(); i++) { in checkSuspendOnAddEffectChain_l()
1076 const sp<SuspendedSessionDesc>& desc = sessionEffects.valueAt(i); in checkSuspendOnAddEffectChain_l()
1078 if (sessionEffects.keyAt(i) == EffectChain::kKeyForSuspendAll) { in checkSuspendOnAddEffectChain_l()
1095 KeyedVector <int, sp<SuspendedSessionDesc> > sessionEffects; in updateSuspendedSessions_l() local
1099 sessionEffects = mSuspendedSessions.valueAt(index); in updateSuspendedSessions_l()
1101 mSuspendedSessions.add(sessionId, sessionEffects); in updateSuspendedSessions_l()
1107 sessionEffects = mSuspendedSessions.valueAt(index); in updateSuspendedSessions_l()
1115 index = sessionEffects.indexOfKey(key); in updateSuspendedSessions_l()
1120 desc = sessionEffects.valueAt(index); in updateSuspendedSessions_l()
1126 sessionEffects.add(key, desc); in updateSuspendedSessions_l()
1134 desc = sessionEffects.valueAt(index); in updateSuspendedSessions_l()
1137 sessionEffects.removeItemsAt(index); in updateSuspendedSessions_l()
1138 if (sessionEffects.isEmpty()) { in updateSuspendedSessions_l()
1145 if (!sessionEffects.isEmpty()) { in updateSuspendedSessions_l()
1146 mSuspendedSessions.replaceValueFor(sessionId, sessionEffects); in updateSuspendedSessions_l()