Home
last modified time | relevance | path

Searched refs:USAGE_MEDIA (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioAttributes.java108 public final static int USAGE_MEDIA = 1; field in AudioAttributes
253 SUPPRESSIBLE_USAGES.put(USAGE_MEDIA, SUPPRESSIBLE_MEDIA); in SUPPRESSIBLE_USAGES.put() argument
268 USAGE_MEDIA,
664 case USAGE_MEDIA: in setUsage()
1103 case USAGE_MEDIA: in usageToString()
1161 return USAGE_MEDIA; in usageForStreamType()
1228 case USAGE_MEDIA: in toVolumeStreamType()
1288 USAGE_MEDIA,
DHwAudioSource.java221 .setUsage(AudioAttributes.USAGE_MEDIA) in build()
DAudioFocusRequest.java223 .setUsage(AudioAttributes.USAGE_MEDIA).build();
DSoundPool.java610 .setUsage(AudioAttributes.USAGE_MEDIA).build(); in build()
DAudioTrack.java962 .setUsage(AudioAttributes.USAGE_MEDIA) in build()
1196 || attributes.getUsage() != AudioAttributes.USAGE_MEDIA in shouldEnablePowerSaving()
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java717 { AudioAttributes.USAGE_MEDIA, AudioAttributes.USAGE_GAME };
727 case AudioAttributes.USAGE_MEDIA: in getFocusRampTimeMs()
DAudioService.java5707 if (app.hasMixAffectingUsage(AudioAttributes.USAGE_MEDIA, in hasMediaDynamicPolicy()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java228 AudioAttributes.USAGE_MEDIA); in testZenOff_NoMuteApplied()
241 AudioAttributes.USAGE_MEDIA); in testZenOn_AllowAlarmsMedia_NoAlarmMediaMuteApplied()
254 AudioAttributes.USAGE_MEDIA); in testZenOn_DisallowAlarmsMedia_AlarmMediaMuteApplied()
270 AudioAttributes.USAGE_MEDIA); in testTotalSilence()
293 AudioAttributes.USAGE_MEDIA); in testAlarmsOnly_alarmMediaMuteNotApplied()
/frameworks/base/core/java/android/widget/
DVideoView.java168 mAudioAttributes = new AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_MEDIA) in VideoView()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java144 mAudioAttrs = new AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_MEDIA).build(); in MediaSessionRecord()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt13955 field public static final int USAGE_MEDIA = 1; // 0x1
/frameworks/base/non-updatable-api/
Dcurrent.txt23356 field public static final int USAGE_MEDIA = 1; // 0x1
/frameworks/base/api/
Dcurrent.txt23356 field public static final int USAGE_MEDIA = 1; // 0x1