Searched refs:wasActive (Results 1 – 9 of 9) sorted by relevance
279 boolean wasActive = mPrevActiveAudioPlaybackConfigs.remove(pii) != null; in onPlaybackConfigChanged()280 if (wasActive != config.isActive()) { in onPlaybackConfigChanged()
232 private static int getAction(boolean wasActive, boolean isActive) { in getAction() argument233 if (!wasActive && isActive) { in getAction()235 } else if (wasActive && !isActive) { in getAction()
221 bool wasActive = IsActive(); in SwitchToSurfaceId() local223 return wasActive ? Activate() : true; in SwitchToSurfaceId()
1823 bool wasActive = false; in updateOverrideUid() local1827 wasActive = isUidActiveLocked(uid); in updateOverrideUid()1834 if (wasActive != isActive) { in updateOverrideUid()
634 bool wasActive = false; in destroy() local639 wasActive = playbackThread->destroyTrack_l(this); in destroy()641 if (isExternalTrack() && !wasActive) { in destroy()
1004 bool wasActive = isUidActive(uid); in updateUid() local1010 if (wasActive != isUidActive(uid) || state != previousState) { in updateUid()
1610 bool wasActive = false; in createInputStream() local1630 wasActive = true; in createInputStream()1652 if (wasActive) { in createInputStream()1754 bool wasActive = false; in createStream() local1774 wasActive = true; in createStream()1864 if (wasActive) { in createStream()
2839 bool wasActive = false; in updateOverrideUid() local2843 wasActive = isUidActiveLocked(uid, callingPackage); in updateOverrideUid()2850 if (wasActive != isActive && !isActive) { in updateOverrideUid()
4979 const bool wasActive = remainingOutput->isActive(); in closeOutput() local4984 if (wasActive) { in closeOutput()