Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/media/java/android/media/
H A DAudioAttributes.java140 public final static int USAGE_NOTIFICATION_RINGTONE = 6; field in AudioAttributes
294 SUPPRESSIBLE_USAGES.put(USAGE_NOTIFICATION_RINGTONE, SUPPRESSIBLE_CALL); in SUPPRESSIBLE_USAGES.put() argument
324 USAGE_NOTIFICATION_RINGTONE,
846 case USAGE_NOTIFICATION_RINGTONE: in setUsage()
1386 case USAGE_NOTIFICATION_RINGTONE: in usageToString()
1438 case AudioAttributes.USAGE_NOTIFICATION_RINGTONE: in usageToXsdString()
1481 USAGE_NOTIFICATION_RINGTONE); in AudioUsage.AUDIO_USAGE_NOTIFICATION_TELEPHONY_RINGTONE.toString()
1533 return USAGE_NOTIFICATION_RINGTONE; in usageForStreamType()
1636 case USAGE_NOTIFICATION_RINGTONE: in toVolumeStreamType()
1702 USAGE_NOTIFICATION_RINGTONE,
[all …]
H A DRingtone.java88 .setUsage(AudioAttributes.USAGE_NOTIFICATION_RINGTONE)
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
H A DAudioTransientPlayersFragment.java23 import static android.media.AudioAttributes.USAGE_NOTIFICATION_RINGTONE;
49 USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, USAGE_ASSISTANT, USAGE_NOTIFICATION_RINGTONE,
/aosp12/packages/apps/Settings/src/com/android/settings/notification/app/
H A DSoundPreferenceController.java20 import static android.media.AudioAttributes.USAGE_NOTIFICATION_RINGTONE;
107 } else if (USAGE_NOTIFICATION_RINGTONE in handlePreferenceTreeClick()
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DBuzzBeepBlinkTest.java27 import static android.media.AudioAttributes.USAGE_NOTIFICATION_RINGTONE;
1489 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testListenerHintCall()
1526 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testListenerHintBoth()
1544 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testListenerHintNotification_callSound()
1559 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testCannotInterruptRingtoneInsistentBeep()
1581 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testRingtoneInsistentBeep_canUpdate()
1607 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testRingtoneInsistentBeep_clearEffectsStopsSoundAndVibration()
1629 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testRingtoneInsistentBeep_neverVibratesWhenEffectsClearedBeforeDelay()
1650 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testCannotInterruptRingtoneInsistentBuzz()
1673 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testCanInterruptRingtoneNonInsistentBeep()
[all …]
H A DRankingHelperTest.java198 .setUsage(AudioAttributes.USAGE_NOTIFICATION_RINGTONE) in setUp()
H A DZenModeHelperTest.java335 AudioAttributes.USAGE_NOTIFICATION_RINGTONE); in testZenOn_StarredCallers_CallTypesBlocked()
355 AudioAttributes.USAGE_NOTIFICATION_RINGTONE); in testZenOn_AllCallers_CallTypesAllowed()
441 AudioAttributes.USAGE_NOTIFICATION_RINGTONE); in testAlarmsOnly_callsMuteApplied()
H A DNotificationRecordTest.java117 .setUsage(AudioAttributes.USAGE_NOTIFICATION_RINGTONE)
H A DPreferencesHelperTest.java278 .setUsage(AudioAttributes.USAGE_NOTIFICATION_RINGTONE) in setUp()
/aosp12/packages/apps/Settings/src/com/android/settings/accessibility/
H A DRingVibrationPreferenceFragment.java58 return AudioAttributes.USAGE_NOTIFICATION_RINGTONE; in getPreviewVibrationAudioAttributesUsage()
/aosp12/frameworks/base/core/java/android/os/
H A DVibrationAttributes.java208 return AudioAttributes.USAGE_NOTIFICATION_RINGTONE; in getAudioUsage()
392 case AudioAttributes.USAGE_NOTIFICATION_RINGTONE: in setUsage()
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DAudioAttributesUnitTest.java44 AudioAttributes.usageToString(AudioAttributes.USAGE_NOTIFICATION_RINGTONE)); in testUsageToString_returnCorrectStrings()
/aosp12/packages/services/Car/service/src/com/android/car/audio/
H A DCarAudioDynamicRouting.java47 AudioAttributes.USAGE_NOTIFICATION_RINGTONE
H A DCarAudioContext.java160 AudioAttributes.USAGE_NOTIFICATION_RINGTONE in CONTEXT_TO_USAGES.put() argument
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DRingtoneFactory.java129 .setUsage(AudioAttributes.USAGE_NOTIFICATION_RINGTONE) in setRingtoneAudioAttributes()
H A DRinger.java124 .setUsage(AudioAttributes.USAGE_NOTIFICATION_RINGTONE)
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
H A DCarAudioFocusUnitTest.java23 import static android.media.AudioAttributes.USAGE_NOTIFICATION_RINGTONE;
559 AudioFocusInfo callRingFocusInfo = getInfo(USAGE_NOTIFICATION_RINGTONE, FIRST_CLIENT_ID, in onAudioFocus_delayedFocusRequestAfterDoubleReject_delayedGainesFocus()
/aosp12/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
H A DSelfManagedCallingActivity.java302 .setUsage(AudioAttributes.USAGE_NOTIFICATION_RINGTONE) in configureNotificationChannel()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DVibratorManagerServiceTest.java584 eq(AudioAttributes.USAGE_NOTIFICATION_RINGTONE), anyInt(), anyString());
1012 .setUsage(AudioAttributes.USAGE_NOTIFICATION_RINGTONE)
1054 .setUsage(AudioAttributes.USAGE_NOTIFICATION_RINGTONE)
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
H A DSoundPreferenceControllerTest.java282 AudioAttributes.USAGE_NOTIFICATION_RINGTONE).build()); in testOnPreferenceTreeClick_ringtoneSound()
/aosp12/frameworks/base/services/core/java/com/android/server/audio/
H A DMediaFocusControl.java834 case AudioAttributes.USAGE_NOTIFICATION_RINGTONE: in getFocusRampTimeMs()
/aosp12/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
H A DCarAudioFocusTest.java88 .setUsage(AudioAttributes.USAGE_NOTIFICATION_RINGTONE)
/aosp12/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationTestList.java118 AudioAttributes.USAGE_NOTIFICATION_RINGTONE).build());
/aosp12/packages/apps/Dialer/java/com/android/incallui/
H A DStatusBarNotifier.java415 audioAttributes.setUsage(AudioAttributes.USAGE_NOTIFICATION_RINGTONE); in buildAndSendNotification()
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerService.java63 import static android.media.AudioAttributes.USAGE_NOTIFICATION_RINGTONE;
5668 != AudioAttributes.USAGE_NOTIFICATION_RINGTONE) {
5674 == AudioAttributes.USAGE_NOTIFICATION_RINGTONE) {
7557 if (playingRecord.getAudioAttributes().getUsage() == USAGE_NOTIFICATION_RINGTONE

12