Home
last modified time | relevance | path

Searched refs:mAudioFocusInfo (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/car-lib/src/android/car/oem/
DAudioFocusEntry.java37 private final AudioFocusInfo mAudioFocusInfo; field in AudioFocusEntry
47 mAudioFocusInfo = Objects.requireNonNull(audioFocusInfo, in AudioFocusEntry()
58 return mAudioFocusInfo; in getAudioFocusInfo()
94 return new StringBuilder().append("{ attributes: ").append(mAudioFocusInfo.getAttributes()) in getAudioFocusInfoString()
95 .append(", UID : ").append(mAudioFocusInfo.getClientUid()) in getAudioFocusInfoString()
96 .append(", client Id: ").append(mAudioFocusInfo.getClientId()) in getAudioFocusInfoString()
97 .append(", pkg: ").append(mAudioFocusInfo.getPackageName()) in getAudioFocusInfoString()
98 .append(", gain: ").append(mAudioFocusInfo.getGainRequest()) in getAudioFocusInfoString()
99 .append(", loss received: ").append(mAudioFocusInfo.getLossReceived()) in getAudioFocusInfoString()
100 .append(", flags: ").append(mAudioFocusInfo.getFlags()) in getAudioFocusInfoString()
[all …]
/packages/services/Car/service/src/com/android/car/audio/
DFocusEntry.java39 private final AudioFocusInfo mAudioFocusInfo; field in FocusEntry
50 mAudioFocusInfo = audioFocusInfo; in FocusEntry()
62 return mAudioFocusInfo; in getAudioFocusInfo()
78 return mAudioFocusInfo.getClientId(); in getClientId()
90 return (mAudioFocusInfo.getFlags() & AudioManager.AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS) in wantsPauseInsteadOfDucking()
95 Bundle bundle = mAudioFocusInfo.getAttributes().getBundle(); in receivesDuckEvents()
107 mAudioFocusInfo.getPackageName()) in receivesDuckEvents()
113 writer.printf("%s - %s\n", getClientId(), mAudioFocusInfo.getAttributes()); in dump()
132 CarAudioContextInfo.dumpCarAudioAttributesProto(mAudioFocusInfo.getAttributes(), in dumpProto()
152 stringBuilder.append(mAudioFocusInfo.getAttributes()); in toString()