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.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.java219 private static int getAction(boolean wasActive, boolean isActive) { in getAction() argument
220 if (!wasActive && isActive) { in getAction()
222 } 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.cpp1874 bool wasActive = false; in updateOverrideUid() local
1878 wasActive = isUidActiveLocked(uid); in updateOverrideUid()
1885 if (wasActive != isActive) { in updateOverrideUid()
/frameworks/av/services/audioflinger/
DTracks.cpp630 bool wasActive = false; in destroy() local
635 wasActive = playbackThread->destroyTrack_l(this); in destroy()
637 if (isExternalTrack() && !wasActive) { in destroy()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp937 bool wasActive = isUidActive(uid); in updateUid() local
943 if (wasActive != isUidActive(uid) || state != previousState) { in updateUid()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp1604 bool wasActive = false; in createInputStream() local
1624 wasActive = true; in createInputStream()
1646 if (wasActive) { in createInputStream()
1748 bool wasActive = false; in createStream() local
1768 wasActive = true; in createStream()
1858 if (wasActive) { in createStream()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp2798 bool wasActive = false; in updateOverrideUid() local
2802 wasActive = isUidActiveLocked(uid, callingPackage); in updateOverrideUid()
2809 if (wasActive != isActive && !isActive) { in updateOverrideUid()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp4903 const bool wasActive = remainingOutput->isActive(); in closeOutput() local
4908 if (wasActive) { in closeOutput()