Home
last modified time | relevance | path

Searched refs:setSound (Results 1 – 25 of 37) sorted by relevance

12

/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
H A DNotificationChannelController.java70 alertChannel.setSound(Settings.System.DEFAULT_NOTIFICATION_URI, in createAll()
87 simChannel.setSound(null, null); in createAll()
155 voiceMailChannel.setSound( in migrateVoicemailNotificationSettings()
171 callforwardChannel.setSound(deprecatedChannel.getSound(), in migrateCallFowardNotificationChannel()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
H A DSoundPreferenceControllerTest.java221 channel.setSound(sound, Notification.AUDIO_ATTRIBUTES_DEFAULT); in testOnPreferenceChange()
260 channel.setSound(null, new AudioAttributes.Builder().setUsage( in testOnPreferenceTreeClick_alarmSound()
281 channel.setSound(null, new AudioAttributes.Builder().setUsage( in testOnPreferenceTreeClick_ringtoneSound()
302 channel.setSound(null, new AudioAttributes.Builder().setUsage( in testOnPreferenceTreeClick_otherSound()
336 channel.setSound(Uri.EMPTY, Notification.AUDIO_ATTRIBUTES_DEFAULT); in testHasValidSound()
339 channel.setSound(null, Notification.AUDIO_ATTRIBUTES_DEFAULT); in testHasValidSound()
H A DImportancePreferenceControllerTest.java246 channel.setSound(null, Notification.AUDIO_ATTRIBUTES_DEFAULT); in testImportanceLowToHigh()
265 channel.setSound(null, Notification.AUDIO_ATTRIBUTES_DEFAULT); in testImportanceHighToLow()
/aosp12/packages/apps/Dialer/java/com/android/dialer/notification/
H A DNotificationChannelManager.java126 channel.setSound( in createIncomingCallChannel()
140 channel.setSound( in createOngoingCallChannel()
154 channel.setSound( in createMissedCallChannel()
H A DVoicemailChannelUtils.java230 channel.setSound( in migrateVoicemailSoundSettings()
261 channel.setSound( in newChannel()
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DBuzzBeepBlinkTest.java343 builder.setSound(CUSTOM_SOUND); in getNotificationRecord()
344 mChannel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in getNotificationRecord()
347 mChannel.setSound(null, null); in getNotificationRecord()
1208 channel.setSound(Uri.EMPTY, null); in testEmptyUriSoundTreatedAsNoSound()
1580 ringtoneChannel.setSound(Uri.fromParts("a", "b", "c"), in testRingtoneInsistentBeep_canUpdate()
1606 ringtoneChannel.setSound(Uri.fromParts("a", "b", "c"), in testRingtoneInsistentBeep_clearEffectsStopsSoundAndVibration()
1628 ringtoneChannel.setSound(Uri.fromParts("a", "b", "c"), in testRingtoneInsistentBeep_neverVibratesWhenEffectsClearedBeforeDelay()
1649 ringtoneChannel.setSound(Uri.EMPTY, in testCannotInterruptRingtoneInsistentBuzz()
1691 ringtoneChannel.setSound(null, in testCanInterruptRingtoneNonInsistentBuzz()
1732 ringtoneChannel.setSound(null, in testRingtoneInsistentBuzz_doesNotBlockFutureSoundsOnceStopped()
[all …]
H A DNotificationRecordTest.java148 builder.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in getNotification()
149 channel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in getNotification()
152 channel.setSound(null, null); in getNotification()
153 builder.setSound(null, null); in getNotification()
250 defaultChannel.setSound(null, null); in testSound_default_preUpgradeUsesNotification()
263 defaultChannel.setSound(null, null); in testSound_custom_preUpgradeUsesNotification()
276 defaultChannel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in testSound_default_userLocked_preUpgrade()
302 channel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in testSound_default_upgradeUsesChannel()
H A DPreferencesHelperTest.java448 channel2.setSound(new Uri.Builder().scheme("test").build(), mAudioAttributes); in testChannelXml()
514 channel2.setSound(SOUND_URI, mAudioAttributes); in testChannelXmlForBackup()
588 channel.setSound(SOUND_URI, mAudioAttributes); in testBackupXml_backupCanonicalizedSoundUri()
615 channel.setSound(SOUND_URI, mAudioAttributes); in testRestoreXml_withExistentCanonicalizedSoundUri()
637 channel.setSound(SOUND_URI, mAudioAttributes); in testRestoreXml_withNonExistentCanonicalizedSoundUri()
681 channel.setSound(null, mAudioAttributes); in testBackupRestoreXml_withNullSoundUri()
893 channel.setSound(new Uri.Builder().scheme("test").build(), mAudioAttributes); in testUpdate()
1018 channel.setSound(new Uri.Builder().scheme("test").build(), mAudioAttributes); in testCreateChannel_CannotChangeHiddenFields()
1091 update1.setSound(new Uri.Builder().scheme("test").build(), in testLockFields_soundAndVibration()
1634 newChannel.setSound(Uri.EMPTY, null); in testCreateChannel_alreadyExists()
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
H A DNotificationChannels.java52 batteryChannel.setSound(Uri.parse("file://" + soundPath), new AudioAttributes.Builder() in createAll()
112 screenshotChannel.setSound(null, // silent in createScreenshotChannel()
/aosp12/frameworks/base/core/java/com/android/internal/notification/
H A DSystemNotificationChannels.java77 physicalKeyboardChannel.setSound(Settings.System.DEFAULT_NOTIFICATION_URI, in createAll()
180 heavyWeightChannel.setSound(null, new AudioAttributes.Builder() in createAll()
/aosp12/packages/apps/Settings/src/com/android/settings/notification/app/
H A DImportancePreferenceController.java91 mChannel.setSound(RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION), in onPreferenceChange()
H A DSoundPreferenceController.java94 mChannel.setSound((Uri) newValue, mChannel.getAudioAttributes()); in onPreferenceChange()
/aosp12/packages/apps/Traceur/src/com/android/traceur/
H A DReceiver.java281 tracingChannel.setSound(null, null); in createNotificationChannels()
289 saveTraceChannel.setSound(null, null); in createNotificationChannels()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/
H A DNotificationUtils.kt117 channel.setSound(null, null)
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/ui/
H A DNotificationChannelManager.java135 channel.setSound( in createChannel()
/aosp12/packages/apps/Car/Messenger/src/com/android/car/messenger/core/service/
H A DMessengerService.java139 channel.setSound(Settings.System.DEFAULT_NOTIFICATION_URI, attributes); in sendServiceRunningNotification()
/aosp12/packages/apps/Dialer/java/com/android/dialer/app/calllog/
H A DLegacyVoicemailNotifier.java129 .setSound(pinnedTelephonyManager.getVoicemailRingtoneUri(handle)) in createNotification()
H A DVisualVoicemailNotifier.java168 .setSound(getVoicemailRingtoneUri(context, handle)) in createNotificationForVoicemail()
/aosp12/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DNekoService.java64 eggChan.setSound(Uri.EMPTY, Notification.AUDIO_ATTRIBUTES_DEFAULT); // cats are quiet in setupNotificationChannels()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
H A DAutoGrantPermissionsNotifier.java121 autoGrantedPermissionsChannel.setSound(Uri.EMPTY, null); in createAutoGrantNotifierChannel()
/aosp12/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationTestList.java115 phoneCall.setSound(Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + "://" +
793 channel.setSound(Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + "://" +
812 channel.setSound(Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + "://" +
/aosp12/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
H A DPackageInstalledNotificationUtils.java220 channel.setSound(null, null); in createChannel()
/aosp12/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/
H A DNotificationEntryTest.java189 channel.setSound(null, new AudioAttributes.Builder().setUsage(USAGE_ALARM).build()); in testIsAudioAttributes()
/aosp12/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
H A DSelfManagedCallingActivity.java301 channel.setSound(ringtoneUri, new AudioAttributes.Builder() in configureNotificationChannel()
/aosp12/frameworks/base/core/java/android/app/
H A DNotificationChannel.java530 public void setSound(Uri sound, AudioAttributes audioAttributes) { in setSound() method in NotificationChannel
964 setSound(forRestore ? restoreSoundUri(context, sound) : sound, safeAudioAttributes(parser)); in populateFromXml()

12