Searched refs:wasActive (Results 1 – 9 of 9) sorted by relevance
280 boolean wasActive = mPrevActiveAudioPlaybackConfigs.remove(pii) != null; in onPlaybackConfigChanged()281 if (wasActive != config.isActive()) { in onPlaybackConfigChanged()
219 private static int getAction(boolean wasActive, boolean isActive) { in getAction() argument220 if (!wasActive && isActive) { in getAction()222 } else if (wasActive && !isActive) { in getAction()
221 bool wasActive = IsActive(); in SwitchToSurfaceId() local223 return wasActive ? Activate() : true; in SwitchToSurfaceId()
1874 bool wasActive = false; in updateOverrideUid() local1878 wasActive = isUidActiveLocked(uid); in updateOverrideUid()1885 if (wasActive != isActive) { in updateOverrideUid()
630 bool wasActive = false; in destroy() local635 wasActive = playbackThread->destroyTrack_l(this); in destroy()637 if (isExternalTrack() && !wasActive) { in destroy()
937 bool wasActive = isUidActive(uid); in updateUid() local943 if (wasActive != isUidActive(uid) || state != previousState) { in updateUid()
1604 bool wasActive = false; in createInputStream() local1624 wasActive = true; in createInputStream()1646 if (wasActive) { in createInputStream()1748 bool wasActive = false; in createStream() local1768 wasActive = true; in createStream()1858 if (wasActive) { in createStream()
2798 bool wasActive = false; in updateOverrideUid() local2802 wasActive = isUidActiveLocked(uid, callingPackage); in updateOverrideUid()2809 if (wasActive != isActive && !isActive) { in updateOverrideUid()
4903 const bool wasActive = remainingOutput->isActive(); in closeOutput() local4908 if (wasActive) { in closeOutput()