Home
last modified time | relevance | path

Searched refs:wasActive (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/services/camera/libcameraservice/device3/
DCamera3DeviceInjectionMethods.cpp147 bool wasActive = false; in injectCamera() local
157 wasActive = true; in injectCamera()
187 if (wasActive) { in injectCamera()
207 bool wasActive = false; in stopInjection() local
217 wasActive = true; in stopInjection()
228 if (wasActive) { in stopInjection()
DCamera3Device.cpp1295 bool wasActive = false; in createInputStream() local
1315 wasActive = true; in createInputStream()
1338 if (wasActive) { in createInputStream()
1405 bool wasActive = false; in createStream() local
1425 wasActive = true; in createStream()
1532 if (wasActive) { in createStream()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
DGestureAvailabilityDispatcher.java54 final boolean wasActive = mIsActive; in markSensorActive()
63 if (wasActive != isActive) { in markSensorActive()
/frameworks/base/services/core/java/com/android/server/media/
DAudioPlayerStateMonitor.java280 boolean wasActive = mPrevActiveAudioPlaybackConfigs.remove(pii) != null; in onPlaybackConfigChanged()
281 if (wasActive != config.isActive()) { in onPlaybackConfigChanged()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactory.java250 private static int getAction(boolean wasActive, boolean isActive) { in getAction() argument
251 if (!wasActive && isActive) { in getAction()
253 } else if (wasActive && !isActive) { in getAction()
/frameworks/base/media/mca/filterfw/native/core/
Dgl_env.cpp221 bool wasActive = IsActive(); in SwitchToSurfaceId() local
223 return wasActive ? Activate() : true; in SwitchToSurfaceId()
/frameworks/native/services/sensorservice/
DSensorService.cpp2118 bool wasActive = false; in updateOverrideUid() local
2122 wasActive = isUidActiveLocked(uid); in updateOverrideUid()
2129 if (wasActive != isActive) { in updateOverrideUid()
/frameworks/av/services/audioflinger/
DTracks.cpp769 bool wasActive = false; in destroy() local
774 wasActive = playbackThread->destroyTrack_l(this); in destroy()
776 if (isExternalTrack() && !wasActive) { in destroy()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp1348 bool wasActive = isUidActive(uid); in updateUid() local
1354 if (wasActive != isUidActive(uid) || state != previousState) { in updateUid()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java3366 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()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp3593 bool wasActive = false; in updateOverrideUid() local
3597 wasActive = isUidActiveLocked(uid, callingPackage); in updateOverrideUid()
3604 if (wasActive != isActive && !isActive) { in updateOverrideUid()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp5414 const bool wasActive = remainingOutput->isActive(); in closeOutput() local
5419 if (wasActive) { in closeOutput()