Home
last modified time | relevance | path

Searched refs:LoudnessCodecInfo (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/media/java/android/media/
DLoudnessCodecController.java19 import static android.media.LoudnessCodecInfo.CodecMetadataType.CODEC_METADATA_TYPE_MPEG_4;
20 import static android.media.LoudnessCodecInfo.CodecMetadataType.CODEC_METADATA_TYPE_MPEG_D;
96 private final HashMap<LoudnessCodecInfo, Set<MediaCodec>> mMediaCodecs = new HashMap<>();
209 final LoudnessCodecInfo mcInfo = getCodecInfo(mc); in addMediaCodec()
252 LoudnessCodecInfo mcInfo; in removeMediaCodec()
304 LoudnessCodecInfo codecInfo = getCodecInfo(mediaCodec); in getLoudnessCodecParams()
339 Consumer<Entry<LoudnessCodecInfo, Set<MediaCodec>>> consumer) { in mediaCodecsConsume() argument
341 for (Entry<LoudnessCodecInfo, Set<MediaCodec>> entry : mMediaCodecs.entrySet()) { in mediaCodecsConsume()
348 private static LoudnessCodecInfo getCodecInfo(@NonNull MediaCodec mediaCodec) { in getCodecInfo()
349 LoudnessCodecInfo lci = new LoudnessCodecInfo(); in getCodecInfo()
DLoudnessCodecDispatcher.java87 final LoudnessCodecInfo codecInfo = mcEntry.getKey(); in dispatchLoudnessCodecParameterChange()
260 @NonNull LoudnessCodecInfo mcInfo) { in addLoudnessCodecInfo()
269 public void removeLoudnessCodecInfo(int sessionId, @NonNull LoudnessCodecInfo mcInfo) { in removeLoudnessCodecInfo()
278 public Bundle getLoudnessCodecParams(@NonNull LoudnessCodecInfo mcInfo) { in getLoudnessCodecParams()
DLoudnessCodecInfo.aidl27 parcelable LoudnessCodecInfo {
DIAudioService.aidl57 import android.media.LoudnessCodecInfo;
768 in LoudnessCodecInfo codecInfo); in addLoudnessCodecInfo()
770 oneway void removeLoudnessCodecInfo(int sessionId, in LoudnessCodecInfo codecInfo); in removeLoudnessCodecInfo()
772 PersistableBundle getLoudnessParams(in LoudnessCodecInfo codecInfo); in getLoudnessParams()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DLoudnessCodecHelperTest.java21 import static android.media.LoudnessCodecInfo.CodecMetadataType.CODEC_METADATA_TYPE_MPEG_4;
22 import static android.media.LoudnessCodecInfo.CodecMetadataType.CODEC_METADATA_TYPE_MPEG_D;
47 import android.media.LoudnessCodecInfo;
158 final LoudnessCodecInfo info = getLoudnessInfo(/*isDownmixing=*/true, in updateCodecParameters_dispatchUpdates()
175 final LoudnessCodecInfo info = getLoudnessInfo(/*isDownmixing=*/true, in updateCodecParameters_removedCodecInfo_noDispatch()
193 final LoudnessCodecInfo info = getLoudnessInfo(/*isDownmixing=*/true, in updateCodecParameters_stoppedPiids_noDispatch()
341 private static LoudnessCodecInfo getLoudnessInfo(boolean isDownmixing, int metadataType) {
342 LoudnessCodecInfo info = new LoudnessCodecInfo();
/frameworks/base/services/core/java/com/android/server/audio/
DLoudnessCodecHelper.java24 import static android.media.LoudnessCodecInfo.CodecMetadataType.CODEC_METADATA_TYPE_MPEG_4;
25 import static android.media.LoudnessCodecInfo.CodecMetadataType.CODEC_METADATA_TYPE_MPEG_D;
40 import android.media.LoudnessCodecInfo;
148 private final HashMap<LoudnessTrackId, Set<LoudnessCodecInfo>> mStartedConfigInfo =
414 LoudnessCodecInfo info) { in addLoudnessCodecInfo()
422 Set<LoudnessCodecInfo> infoSet; in addLoudnessCodecInfo()
470 void removeLoudnessCodecInfo(int sessionId, LoudnessCodecInfo codecInfo) { in removeLoudnessCodecInfo()
483 final Set<LoudnessCodecInfo> codecInfos = mStartedConfigInfo.get(config); in removeLoudnessCodecInfo()
490 PersistableBundle getLoudnessParams(LoudnessCodecInfo codecInfo) { in getLoudnessParams()
569 final Set<LoudnessCodecInfo> codecInfos = mStartedConfigInfo.get( in dump()
[all …]
DAudioService.java171 import android.media.LoudnessCodecInfo;
10952 LoudnessCodecInfo codecInfo) { in addLoudnessCodecInfo()
10958 public void removeLoudnessCodecInfo(int sessionId, LoudnessCodecInfo codecInfo) { in removeLoudnessCodecInfo()
10964 public PersistableBundle getLoudnessParams(LoudnessCodecInfo codecInfo) { in getLoudnessParams()