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

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A 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;
H A DAudioSession.h100 audio_source_t getHighestPrioritySource(bool activeOnly) const;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioInputDescriptor.cpp63 audio_source_t AudioInputDescriptor::inputSource(bool activeOnly) const
65 return getHighestPrioritySource(activeOnly);
130 audio_source_t AudioInputDescriptor::getHighestPrioritySource(bool activeOnly) const
133 return mSessions.getHighestPrioritySource(activeOnly);
147 AudioSessionCollection AudioInputDescriptor::getAudioSessions(bool activeOnly) const
149 if (activeOnly) {
156 size_t AudioInputDescriptor::getAudioSessionCount(bool activeOnly) const
158 if (activeOnly) {
242 if (getAudioSessionCount(true/*activeOnly*/) == 1) {
H A DAudioSession.cpp255 audio_source_t AudioSessionCollection::getHighestPrioritySource(bool activeOnly) const
262 if (activeOnly && audioSession->activeCount() == 0) {
/frameworks/base/services/core/java/com/android/server/am/
H A 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);
565 dumpAggregatedStats(PrintWriter pw, long aggregateHours, long now, String reqPackage, boolean isCompact, boolean dumpDetails, boolean dumpFullDetails, boolean dumpAll, boolean activeOnly) argument
[all...]
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionStack.java317 * @param activeOnly True to only return active sessions, false to return
323 public ArrayList<MediaSessionRecord> getPriorityList(boolean activeOnly, int userId) { argument
338 if (!activeOnly) {
/frameworks/base/core/java/com/android/internal/app/procstats/
H A DProcessStats.java1285 boolean dumpAll, boolean activeOnly) {
1338 if (activeOnly && !proc.isInUse()) {
1366 if (activeOnly && !proc.isInUse()) {
1380 if (activeOnly && !svc.isInUse()) {
1429 if (activeOnly && !proc.isInUse()) {
1454 dumpSummaryLocked(pw, reqPackage, now, activeOnly);
1472 public void dumpSummaryLocked(PrintWriter pw, String reqPackage, long now, boolean activeOnly) { argument
1476 ALL_PROC_STATES, NON_CACHED_PROC_STATES, now, totalTime, reqPackage, activeOnly);
1612 int[] sortProcStates, long now, long totalTime, String reqPackage, boolean activeOnly) {
1614 procStates, sortProcStates, now, reqPackage, activeOnly);
1284 dumpLocked(PrintWriter pw, String reqPackage, long now, boolean dumpSummary, boolean dumpAll, boolean activeOnly) argument
1610 dumpFilteredSummaryLocked(PrintWriter pw, String header, String prefix, int[] screenStates, int[] memStates, int[] procStates, int[] sortProcStates, long now, long totalTime, String reqPackage, boolean activeOnly) argument
1625 collectProcessesLocked(int[] screenStates, int[] memStates, int[] procStates, int sortProcStates[], long now, String reqPackage, boolean activeOnly) argument
[all...]
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp516 activeDesc->getAudioSessions(true /*activeOnly*/);
1744 (source_priority(desc->getHighestPrioritySource(false /*activeOnly*/)) <
1757 AudioSessionCollection sessions = reusedInputDesc->getAudioSessions(false /*activeOnly*/);
1944 true /*activeOnly*/);
2004 activeDesc->getAudioSessions(true /*activeOnly*/);
2043 if (inputDesc->getAudioSessionCount(true/*activeOnly*/) == 1) {
2358 bool activeOnly = true; local
2367 if (activeOnly && !desc->isStreamActive(AUDIO_STREAM_MUSIC)) {
2370 ALOGV("selectOutputForMusicEffects activeOnly %d output %d flags 0x%08x",
2371 activeOnly, outpu
[all...]

Completed in 176 milliseconds