Home
last modified time | relevance | path

Searched refs:USAGE_NOTIFICATION (Results 1 – 15 of 15) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarDuckingInfoTest.java20 import static android.media.AudioAttributes.USAGE_NOTIFICATION;
41 private static final int[] sUsagesHoldingFocus = {USAGE_MEDIA, USAGE_NOTIFICATION};
69 .containsExactly(USAGE_MEDIA, USAGE_NOTIFICATION); in constructor_validInputs_succeeds()
DCarDuckingUtilsTest.java24 import static android.media.AudioAttributes.USAGE_NOTIFICATION;
110 generateAudioFocusInfoForUsage(USAGE_NOTIFICATION), in getUsagesHoldingFocus_removesDuplicateUsages()
112 generateAudioFocusInfoForUsage(USAGE_NOTIFICATION)); in getUsagesHoldingFocus_removesDuplicateUsages()
117 assertThat(usages).asList().containsExactly(USAGE_MEDIA, USAGE_NOTIFICATION); in getUsagesHoldingFocus_removesDuplicateUsages()
/packages/apps/Dialer/java/com/android/dialer/notification/
DNotificationChannelManager.java127 null, new AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_NOTIFICATION).build()); in createIncomingCallChannel()
141 null, new AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_NOTIFICATION).build()); in createOngoingCallChannel()
155 null, new AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_NOTIFICATION).build()); in createMissedCallChannel()
DVoicemailChannelUtils.java200 new AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_NOTIFICATION).build()); in migrateVoicemailSoundSettings()
231 new AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_NOTIFICATION).build()); in newChannel()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTransientPlayersFragment.java22 import static android.media.AudioAttributes.USAGE_NOTIFICATION;
50 USAGE_VOICE_COMMUNICATION, USAGE_ALARM, USAGE_NOTIFICATION));
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DHalAudioFocusTest.java22 import static android.media.AudioAttributes.USAGE_NOTIFICATION;
393 mHalAudioFocus.requestAudioFocus(USAGE_NOTIFICATION, ZONE_ID, AUDIOFOCUS_GAIN); in getActiveUsagesForZone_withMultipleUsages_getsUsages()
398 USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, USAGE_NOTIFICATION); in getActiveUsagesForZone_withMultipleUsages_getsUsages()
DAudioControlWrapperAidlTest.java20 import static android.media.AudioAttributes.USAGE_NOTIFICATION;
196 new ArrayList<>(), new int[]{USAGE_MEDIA, USAGE_NOTIFICATION}); in onDevicesToDuckChange_convertsUsagesToXsdStrings()
/packages/apps/Settings/src/com/android/settings/accessibility/
DNotificationVibrationPreferenceFragment.java54 return AudioAttributes.USAGE_NOTIFICATION; in getPreviewVibrationAudioAttributesUsage()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DNotificationChannelManager.java137 new AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_NOTIFICATION) in createChannel()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/service/
DMessengerService.java131 .setUsage(AudioAttributes.USAGE_NOTIFICATION) in sendServiceRunningNotification()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioContext.java176 AudioAttributes.USAGE_NOTIFICATION, in CONTEXT_TO_USAGES.put() argument
/packages/apps/Car/Notification/src/com/android/car/notification/
DBeeper.java173 .setUsage(AudioAttributes.USAGE_NOTIFICATION) in play()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java680 AudioAttributes.USAGE_NOTIFICATION : AudioAttributes.USAGE_ALARM); in getAlertAudioAttributes()
/packages/services/Telephony/src/com/android/phone/
DPhoneUtils.java533 .setUsage(AudioAttributes.USAGE_NOTIFICATION) in playSound()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioFocusTest.java103 .setUsage(AudioAttributes.USAGE_NOTIFICATION)