Searched refs:wasActive (Results 1 – 12 of 12) sorted by relevance
147 bool wasActive = false; in injectCamera() local157 wasActive = true; in injectCamera()187 if (wasActive) { in injectCamera()207 bool wasActive = false; in stopInjection() local217 wasActive = true; in stopInjection()228 if (wasActive) { in stopInjection()
1295 bool wasActive = false; in createInputStream() local1315 wasActive = true; in createInputStream()1338 if (wasActive) { in createInputStream()1405 bool wasActive = false; in createStream() local1425 wasActive = true; in createStream()1532 if (wasActive) { in createStream()
54 final boolean wasActive = mIsActive; in markSensorActive()63 if (wasActive != isActive) { in markSensorActive()
280 boolean wasActive = mPrevActiveAudioPlaybackConfigs.remove(pii) != null; in onPlaybackConfigChanged()281 if (wasActive != config.isActive()) { in onPlaybackConfigChanged()
250 private static int getAction(boolean wasActive, boolean isActive) { in getAction() argument251 if (!wasActive && isActive) { in getAction()253 } else if (wasActive && !isActive) { in getAction()
221 bool wasActive = IsActive(); in SwitchToSurfaceId() local223 return wasActive ? Activate() : true; in SwitchToSurfaceId()
2118 bool wasActive = false; in updateOverrideUid() local2122 wasActive = isUidActiveLocked(uid); in updateOverrideUid()2129 if (wasActive != isActive) { in updateOverrideUid()
769 bool wasActive = false; in destroy() local774 wasActive = playbackThread->destroyTrack_l(this); in destroy()776 if (isExternalTrack() && !wasActive) { in destroy()
1348 bool wasActive = isUidActive(uid); in updateUid() local1354 if (wasActive != isUidActive(uid) || state != previousState) { in updateUid()
3366 boolean wasActive = h.isActive(); in onPlaybackConfigChange()3379 if (wasActive != h.isActive()) { in onPlaybackConfigChange()3419 boolean wasActive = h.isActive(); in onRecordingConfigChange()3428 if (wasActive != h.isActive()) { in onRecordingConfigChange()7617 boolean wasActive = h.isActive(); in handleMessage()7620 if (wasActive != h.isActive()) { in handleMessage()
3593 bool wasActive = false; in updateOverrideUid() local3597 wasActive = isUidActiveLocked(uid, callingPackage); in updateOverrideUid()3604 if (wasActive != isActive && !isActive) { in updateOverrideUid()
5414 const bool wasActive = remainingOutput->isActive(); in closeOutput() local5419 if (wasActive) { in closeOutput()