Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java48 batteryChannel.setSound(Uri.parse("file://" + soundPath), new AudioAttributes.Builder() in createAll()
115 screenshotChannel.setSound(null, // silent in createScreenshotChannel()
126 screenshotChannel.setSound(legacySS.getSound(), legacySS.getAudioAttributes()); in createScreenshotChannel()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java137 builder.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in getNotification()
138 channel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in getNotification()
141 channel.setSound(null, null); in getNotification()
142 builder.setSound(null, null); in getNotification()
203 defaultChannel.setSound(null, null); in testSound_default_preUpgradeUsesNotification()
216 defaultChannel.setSound(null, null); in testSound_custom_preUpgradeUsesNotification()
229 defaultChannel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in testSound_default_userLocked_preUpgrade()
255 channel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in testSound_default_upgradeUsesChannel()
DNotificationChannelTest.java82 channel.setSound(Uri.EMPTY, null); in testBackupEmptySound()
DPreferencesHelperTest.java329 channel2.setSound(new Uri.Builder().scheme("test").build(), mAudioAttributes); in testChannelXml()
393 channel2.setSound(SOUND_URI, mAudioAttributes); in testChannelXmlForBackup()
460 channel.setSound(SOUND_URI, mAudioAttributes); in testBackupXml_backupCanonicalizedSoundUri()
487 channel.setSound(SOUND_URI, mAudioAttributes); in testRestoreXml_withExistentCanonicalizedSoundUri()
509 channel.setSound(SOUND_URI, mAudioAttributes); in testRestoreXml_withNonExistentCanonicalizedSoundUri()
552 channel.setSound(null, mAudioAttributes); in testBackupRestoreXml_withNullSoundUri()
764 channel.setSound(new Uri.Builder().scheme("test").build(), mAudioAttributes); in testUpdate()
774 channel2.setSound(new Uri.Builder().scheme("test2").build(), mAudioAttributes); in testUpdate()
889 channel.setSound(new Uri.Builder().scheme("test").build(), mAudioAttributes); in testCreateChannel_CannotChangeHiddenFields()
920 channel.setSound(new Uri.Builder().scheme("test").build(), mAudioAttributes); in testCreateChannel_CannotChangeHiddenFieldsAssistant()
[all …]
DBuzzBeepBlinkTest.java288 channel.setSound(Settings.System.DEFAULT_NOTIFICATION_URI, in getNotificationRecord()
291 builder.setSound(CUSTOM_SOUND); in getNotificationRecord()
292 channel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in getNotificationRecord()
295 channel.setSound(null, null); in getNotificationRecord()
1034 channel.setSound(Uri.EMPTY, null); in testEmptyUriSoundTreatedAsNoSound()
DNotificationManagerServiceTest.java3143 c.setSound(null, Notification.AUDIO_ATTRIBUTES_DEFAULT); in updateUriPermissions_update()
/frameworks/base/core/java/com/android/internal/notification/
DSystemNotificationChannels.java74 physicalKeyboardChannel.setSound(Settings.System.DEFAULT_NOTIFICATION_URI, in createAll()
170 heavyWeightChannel.setSound(null, new AudioAttributes.Builder() in createAll()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DChannelsTest.java86 legacyChannel.setSound(Settings.System.DEFAULT_NOTIFICATION_URI, in testInheritFromLegacy_keepsUserLockedLegacySettings()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java120 phoneCall.setSound(Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + "://" +
797 channel.setSound(Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + "://" +
816 channel.setSound(Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + "://" +
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstalledNotificationUtils.java220 channel.setSound(null, null); in createChannel()
/frameworks/base/core/java/android/app/
DNotificationChannel.java399 public void setSound(Uri sound, AudioAttributes audioAttributes) { in setSound() method in NotificationChannel
723 setSound(forRestore ? restoreSoundUri(context, sound) : sound, safeAudioAttributes(parser)); in populateFromXml()
DNotification.java4058 public Builder setSound(Uri sound) { in setSound() method in Notification.Builder
4072 public Builder setSound(Uri sound, int streamType) { in setSound() method in Notification.Builder
4087 public Builder setSound(Uri sound, AudioAttributes audioAttributes) { in setSound() method in Notification.Builder
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverStateMachine.java832 channel.setSound(null, null); in ensureNotificationChannelExists()
/frameworks/base/config/
Dboot-image-profile.txt1838 HSPLandroid/app/Notification$Builder;->setSound(Landroid/net/Uri;)Landroid/app/Notification$Builder;
1839 HSPLandroid/app/Notification$Builder;->setSound(Landroid/net/Uri;Landroid/media/AudioAttributes;)La…
1932 HSPLandroid/app/NotificationChannel;->setSound(Landroid/net/Uri;Landroid/media/AudioAttributes;)V
/frameworks/base/non-updatable-api/
Dcurrent.txt5581 method @Deprecated public android.app.Notification.Builder setSound(android.net.Uri);
5582 method @Deprecated public android.app.Notification.Builder setSound(android.net.Uri, int);
5583 …method @Deprecated public android.app.Notification.Builder setSound(android.net.Uri, android.media…
5783 method public void setSound(android.net.Uri, android.media.AudioAttributes);
/frameworks/base/api/
Dcurrent.txt5581 method @Deprecated public android.app.Notification.Builder setSound(android.net.Uri);
5582 method @Deprecated public android.app.Notification.Builder setSound(android.net.Uri, int);
5583 …method @Deprecated public android.app.Notification.Builder setSound(android.net.Uri, android.media…
5783 method public void setSound(android.net.Uri, android.media.AudioAttributes);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt4750 method public android.app.Notification.Builder setSound(android.net.Uri);
4751 method public deprecated android.app.Notification.Builder setSound(android.net.Uri, int);
4752 …method public android.app.Notification.Builder setSound(android.net.Uri, android.media.AudioAttrib…