Home
last modified time | relevance | path

Searched refs:USAGE_NOTIFICATION_RINGTONE (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioAttributes.java148 public final static int USAGE_NOTIFICATION_RINGTONE = 6; field in AudioAttributes
311 SUPPRESSIBLE_USAGES.put(USAGE_NOTIFICATION_RINGTONE, SUPPRESSIBLE_CALL); in SUPPRESSIBLE_USAGES.put() argument
341 USAGE_NOTIFICATION_RINGTONE,
899 case USAGE_NOTIFICATION_RINGTONE: in setUsage()
1493 case USAGE_NOTIFICATION_RINGTONE: in usageToString()
1545 case AudioAttributes.USAGE_NOTIFICATION_RINGTONE: in usageToXsdString()
1588 USAGE_NOTIFICATION_RINGTONE); in AudioUsage.AUDIO_USAGE_NOTIFICATION_TELEPHONY_RINGTONE.toString()
1641 return USAGE_NOTIFICATION_RINGTONE; in usageForStreamType()
1779 case USAGE_NOTIFICATION_RINGTONE: in toVolumeStreamType()
1845 USAGE_NOTIFICATION_RINGTONE,
[all …]
DRingtone.java89 .setUsage(AudioAttributes.USAGE_NOTIFICATION_RINGTONE)
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationChannelExtractorTest.java26 import static android.media.AudioAttributes.USAGE_NOTIFICATION_RINGTONE;
158 .setUsage(USAGE_NOTIFICATION_RINGTONE) in testAudioAttributes_callStyleCanUseCallUsage()
172 assertThat(r.getAudioAttributes().getUsage()).isEqualTo(USAGE_NOTIFICATION_RINGTONE); in testAudioAttributes_callStyleCanUseCallUsage()
182 .setUsage(USAGE_NOTIFICATION_RINGTONE) in testAudioAttributes_nonCallStyleCannotUseCallUsage()
195 assertThat(channel.getAudioAttributes().getUsage()).isEqualTo(USAGE_NOTIFICATION_RINGTONE); in testAudioAttributes_nonCallStyleCannotUseCallUsage()
DNotificationAttentionHelperTest.java30 import static android.media.AudioAttributes.USAGE_NOTIFICATION_RINGTONE;
1711 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testListenerHintCall()
1745 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testListenerHintBoth()
1764 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testListenerHintNotification_callSound()
1778 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testCannotInterruptRingtoneInsistentBeep()
1800 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testRingtoneInsistentBeep_canUpdate()
1828 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testRingtoneInsistentBeep_clearEffectsStopsSoundAndVibration()
1851 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testRingtoneInsistentBeep_neverVibratesWhenEffectsClearedBeforeDelay()
1873 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testCannotInterruptRingtoneInsistentBuzz()
1897 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testCanInterruptRingtoneNonInsistentBeep()
[all …]
DNotificationRecordTest.java130 .setUsage(AudioAttributes.USAGE_NOTIFICATION_RINGTONE)
DZenModeHelperTest.java515 AudioAttributes.USAGE_NOTIFICATION_RINGTONE); in testZenOn_StarredCallers_CallTypesBlocked()
534 verifyApplyRestrictions(true, false, AudioAttributes.USAGE_NOTIFICATION_RINGTONE); in testZenOn_AllCallers_CallTypesAllowed()
611 verifyApplyRestrictions(false, true, AudioAttributes.USAGE_NOTIFICATION_RINGTONE); in testAlarmsOnly_callsMuteApplied()
DPreferencesHelperTest.java370 .setUsage(AudioAttributes.USAGE_NOTIFICATION_RINGTONE) in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHearingAidAudioRoutingConstants.java51 AudioAttributes.USAGE_NOTIFICATION_RINGTONE
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DAudioAttributesUnitTest.java44 AudioAttributes.usageToString(AudioAttributes.USAGE_NOTIFICATION_RINGTONE)); in testUsageToString_returnCorrectStrings()
/frameworks/base/core/java/android/os/
DVibrationAttributes.java350 return AudioAttributes.USAGE_NOTIFICATION_RINGTONE; in getAudioUsage()
525 case AudioAttributes.USAGE_NOTIFICATION_RINGTONE: in setUsage()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationChannelExtractor.java85 && attributes.getUsage() == AudioAttributes.USAGE_NOTIFICATION_RINGTONE) { in process()
DNotificationAttentionHelper.java26 import static android.media.AudioAttributes.USAGE_NOTIFICATION_RINGTONE;
634 if (playingRecord.getAudioAttributes().getUsage() == USAGE_NOTIFICATION_RINGTONE in isLoopingRingtoneNotification()
947 != AudioAttributes.USAGE_NOTIFICATION_RINGTONE) { in disableNotificationEffects()
953 == AudioAttributes.USAGE_NOTIFICATION_RINGTONE) { in disableNotificationEffects()
/frameworks/base/core/java/android/app/
Dnotification.aconfig153 description: "Only CallStyle notifs can use USAGE_NOTIFICATION_RINGTONE"
DNotificationChannel.java1206 } else if (AudioAttributes.USAGE_NOTIFICATION_RINGTONE == usage) { in getUncanonicalizedSoundUri()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationChannelTest.java286 AudioAttributes.USAGE_NOTIFICATION_RINGTONE, AudioColumns.IS_RINGTONE); in testWriteXmlForBackup_customLookup_ringtoneUsage()
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibratorManagerServiceTest.java804 eq(AudioAttributes.USAGE_NOTIFICATION_RINGTONE), anyInt(), anyString()); in vibrate_withVibrationAttributes_usesCorrespondingAudioUsageInAppOpsManager()
1897 .setUsage(AudioAttributes.USAGE_NOTIFICATION_RINGTONE) in onExternalVibration_withOngoingExternalVibration_mutesPreviousVibration()
2036 .setUsage(AudioAttributes.USAGE_NOTIFICATION_RINGTONE) in onExternalVibration_withRingtone_usesRingerModeSettings()
2141 .setUsage(AudioAttributes.USAGE_NOTIFICATION_RINGTONE) in onExternalVibration_withAdaptiveHaptics_returnsCorrectAdaptiveScales()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java118 AudioAttributes.USAGE_NOTIFICATION_RINGTONE).build());
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java1054 case AudioAttributes.USAGE_NOTIFICATION_RINGTONE: in getFocusRampTimeMs()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt13961 field public static final int USAGE_NOTIFICATION_RINGTONE = 6; // 0x6
/frameworks/base/core/api/
Dcurrent.txt21121 field public static final int USAGE_NOTIFICATION_RINGTONE = 6; // 0x6