/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
H A D | NotificationChannelController.java | 70 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 D | SoundPreferenceControllerTest.java | 221 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 D | ImportancePreferenceControllerTest.java | 246 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 D | NotificationChannelManager.java | 126 channel.setSound( in createIncomingCallChannel() 140 channel.setSound( in createOngoingCallChannel() 154 channel.setSound( in createMissedCallChannel()
|
H A D | VoicemailChannelUtils.java | 230 channel.setSound( in migrateVoicemailSoundSettings() 261 channel.setSound( in newChannel()
|
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | BuzzBeepBlinkTest.java | 343 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 D | NotificationRecordTest.java | 148 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 D | PreferencesHelperTest.java | 448 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 D | NotificationChannels.java | 52 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 D | SystemNotificationChannels.java | 77 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 D | ImportancePreferenceController.java | 91 mChannel.setSound(RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION), in onPreferenceChange()
|
H A D | SoundPreferenceController.java | 94 mChannel.setSound((Uri) newValue, mChannel.getAudioAttributes()); in onPreferenceChange()
|
/aosp12/packages/apps/Traceur/src/com/android/traceur/ |
H A D | Receiver.java | 281 tracingChannel.setSound(null, null); in createNotificationChannels() 289 saveTraceChannel.setSound(null, null); in createNotificationChannels()
|
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | NotificationUtils.kt | 117 channel.setSound(null, null)
|
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
H A D | NotificationChannelManager.java | 135 channel.setSound( in createChannel()
|
/aosp12/packages/apps/Car/Messenger/src/com/android/car/messenger/core/service/ |
H A D | MessengerService.java | 139 channel.setSound(Settings.System.DEFAULT_NOTIFICATION_URI, attributes); in sendServiceRunningNotification()
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
H A D | LegacyVoicemailNotifier.java | 129 .setSound(pinnedTelephonyManager.getVoicemailRingtoneUri(handle)) in createNotification()
|
H A D | VisualVoicemailNotifier.java | 168 .setSound(getVoicemailRingtoneUri(context, handle)) in createNotificationForVoicemail()
|
/aosp12/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
H A D | NekoService.java | 64 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 D | AutoGrantPermissionsNotifier.java | 121 autoGrantedPermissionsChannel.setSound(Uri.EMPTY, null); in createAutoGrantNotifierChannel()
|
/aosp12/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | NotificationTestList.java | 115 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 D | PackageInstalledNotificationUtils.java | 220 channel.setSound(null, null); in createChannel()
|
/aosp12/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/ |
H A D | NotificationEntryTest.java | 189 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 D | SelfManagedCallingActivity.java | 301 channel.setSound(ringtoneUri, new AudioAttributes.Builder() in configureNotificationChannel()
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | NotificationChannel.java | 530 public void setSound(Uri sound, AudioAttributes audioAttributes) { in setSound() method in NotificationChannel 964 setSound(forRestore ? restoreSoundUri(context, sound) : sound, safeAudioAttributes(parser)); in populateFromXml()
|