Home
last modified time | relevance | path

Searched refs:activeOnly (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioInputDescriptor.h60 audio_source_t inputSource(bool activeOnly = false) const;
66 AudioSessionCollection getAudioSessions(bool activeOnly) const;
67 size_t getAudioSessionCount(bool activeOnly) const;
68 audio_source_t getHighestPrioritySource(bool activeOnly) const;
DAudioSession.h100 audio_source_t getHighestPrioritySource(bool activeOnly) const;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioInputDescriptor.cpp63 audio_source_t AudioInputDescriptor::inputSource(bool activeOnly) const in inputSource()
65 return getHighestPrioritySource(activeOnly); in inputSource()
130 audio_source_t AudioInputDescriptor::getHighestPrioritySource(bool activeOnly) const in getHighestPrioritySource()
133 return mSessions.getHighestPrioritySource(activeOnly); in getHighestPrioritySource()
147 AudioSessionCollection AudioInputDescriptor::getAudioSessions(bool activeOnly) const in getAudioSessions()
149 if (activeOnly) { in getAudioSessions()
156 size_t AudioInputDescriptor::getAudioSessionCount(bool activeOnly) const in getAudioSessionCount()
158 if (activeOnly) { in getAudioSessionCount()
DAudioSession.cpp255 audio_source_t AudioSessionCollection::getHighestPrioritySource(bool activeOnly) const in getHighestPrioritySource()
262 if (activeOnly && audioSession->activeCount() == 0) { in getHighestPrioritySource()
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java567 boolean dumpAll, boolean activeOnly) {
585 stats.dumpLocked(pw, reqPackage, now, !dumpFullDetails, dumpAll, activeOnly);
587 stats.dumpSummaryLocked(pw, reqPackage, now, activeOnly);
660 boolean activeOnly = false;
775 activeOnly = true;
918 dumpDetails, dumpFullDetails, dumpAll, activeOnly);
948 activeOnly);
953 processStats.dumpSummaryLocked(pw, reqPackage, now, activeOnly);
1003 activeOnly);
1005 processStats.dumpSummaryLocked(pw, reqPackage, now, activeOnly);
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionStack.java323 public ArrayList<MediaSessionRecord> getPriorityList(boolean activeOnly, int userId) { in getPriorityList() argument
338 if (!activeOnly) { in getPriorityList()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java1285 boolean dumpAll, boolean activeOnly) { in dumpLocked() argument
1338 if (activeOnly && !proc.isInUse()) { in dumpLocked()
1366 if (activeOnly && !proc.isInUse()) { in dumpLocked()
1380 if (activeOnly && !svc.isInUse()) { in dumpLocked()
1429 if (activeOnly && !proc.isInUse()) { in dumpLocked()
1454 dumpSummaryLocked(pw, reqPackage, now, activeOnly); in dumpLocked()
1472 public void dumpSummaryLocked(PrintWriter pw, String reqPackage, long now, boolean activeOnly) { in dumpSummaryLocked() argument
1476 ALL_PROC_STATES, NON_CACHED_PROC_STATES, now, totalTime, reqPackage, activeOnly); in dumpSummaryLocked()
1612 int[] sortProcStates, long now, long totalTime, String reqPackage, boolean activeOnly) { in dumpFilteredSummaryLocked() argument
1614 procStates, sortProcStates, now, reqPackage, activeOnly); in dumpFilteredSummaryLocked()
[all …]
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp2358 bool activeOnly = true; in selectOutputForMusicEffects() local
2367 if (activeOnly && !desc->isStreamActive(AUDIO_STREAM_MUSIC)) { in selectOutputForMusicEffects()
2371 activeOnly, output, desc->mFlags); in selectOutputForMusicEffects()
2391 activeOnly = false; in selectOutputForMusicEffects()