Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/media/
DAudioPlayerStateMonitor.java279 boolean wasActive = mPrevActiveAudioPlaybackConfigs.remove(pii) != null; in onPlaybackConfigChanged()
280 if (wasActive != config.isActive()) { in onPlaybackConfigChanged()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactory.java232 private static int getAction(boolean wasActive, boolean isActive) { in getAction() argument
233 if (!wasActive && isActive) { in getAction()
235 } 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.cpp1823 bool wasActive = false; in updateOverrideUid() local
1827 wasActive = isUidActiveLocked(uid); in updateOverrideUid()
1834 if (wasActive != isActive) { in updateOverrideUid()
/frameworks/av/services/audioflinger/
DTracks.cpp634 bool wasActive = false; in destroy() local
639 wasActive = playbackThread->destroyTrack_l(this); in destroy()
641 if (isExternalTrack() && !wasActive) { in destroy()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp1004 bool wasActive = isUidActive(uid); in updateUid() local
1010 if (wasActive != isUidActive(uid) || state != previousState) { in updateUid()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp1610 bool wasActive = false; in createInputStream() local
1630 wasActive = true; in createInputStream()
1652 if (wasActive) { in createInputStream()
1754 bool wasActive = false; in createStream() local
1774 wasActive = true; in createStream()
1864 if (wasActive) { in createStream()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp2839 bool wasActive = false; in updateOverrideUid() local
2843 wasActive = isUidActiveLocked(uid, callingPackage); in updateOverrideUid()
2850 if (wasActive != isActive && !isActive) { in updateOverrideUid()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp4979 const bool wasActive = remainingOutput->isActive(); in closeOutput() local
4984 if (wasActive) { in closeOutput()