Home
last modified time | relevance | path

Searched refs:setSound (Results 1 – 24 of 24) 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.java63 batteryChannel.setSound(Uri.parse("file://" + soundPath), new AudioAttributes.Builder() in createAll()
83 setup.setSound(null, null); in createAll()
130 screenshotChannel.setSound(null, // silent in createScreenshotChannel()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationChannelExtractorTest.java157 channel.setSound(Uri.EMPTY, new AudioAttributes.Builder() in testAudioAttributes_callStyleCanUseCallUsage()
181 channel.setSound(Uri.EMPTY, new AudioAttributes.Builder() in testAudioAttributes_nonCallStyleCannotUseCallUsage()
202 channel.setSound(Uri.EMPTY, new AudioAttributes.Builder() in testAudioAttributes_alarmCategoryCanUseAlarmUsage()
222 channel.setSound(Uri.EMPTY, new AudioAttributes.Builder() in testAudioAttributes_nonAlarmCategoryCannotUseAlarmUsage()
243 channel.setSound(Uri.EMPTY, new AudioAttributes.Builder() in testAudioAttributes_noMediaUsage()
264 channel.setSound(Uri.EMPTY, new AudioAttributes.Builder() in testAudioAttributes_noUnknownUsage()
DNotificationRecordTest.java166 builder.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in getNotification()
167 channel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in getNotification()
170 channel.setSound(null, null); in getNotification()
171 builder.setSound(null, null); in getNotification()
281 defaultChannel.setSound(null, null); in testSound_default_preUpgradeUsesNotification()
294 defaultChannel.setSound(null, null); in testSound_custom_preUpgradeUsesNotification()
307 defaultChannel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in testSound_default_userLocked_preUpgrade()
333 channel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in testSound_default_upgradeUsesChannel()
1026 channel.setSound(null, null); in testCalculateGrantableUris_PappProvided()
1047 channel.setSound(Uri.parse("content://something"), mock(AudioAttributes.class)); in testCalculateGrantableUris_PappProvided_invalidSound()
[all …]
DNotificationAttentionHelperTest.java466 mChannel.setSound(Settings.System.DEFAULT_NOTIFICATION_URI, in getNotificationRecord()
469 builder.setSound(CUSTOM_SOUND); in getNotificationRecord()
470 mChannel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in getNotificationRecord()
473 mChannel.setSound(null, null); in getNotificationRecord()
1374 channel.setSound(Uri.EMPTY, null); in testEmptyUriSoundTreatedAsNoSound()
1710 ringtoneChannel.setSound(Settings.System.DEFAULT_RINGTONE_URI, in testListenerHintCall()
1744 ringtoneChannel.setSound(Settings.System.DEFAULT_RINGTONE_URI, in testListenerHintBoth()
1763 ringtoneChannel.setSound(Settings.System.DEFAULT_RINGTONE_URI, in testListenerHintNotification_callSound()
1777 ringtoneChannel.setSound(Settings.System.DEFAULT_RINGTONE_URI, in testCannotInterruptRingtoneInsistentBeep()
1799 ringtoneChannel.setSound(Uri.fromParts("a", "b", "c"), in testRingtoneInsistentBeep_canUpdate()
[all …]
DPreferencesHelperTest.java594 channel2.setSound(new Uri.Builder().scheme("test").build(), mAudioAttributes); in testChannelXml()
662 channel2.setSound(CANONICAL_SOUND_URI, mAudioAttributes); in testChannelXmlForBackup()
761 idn.setSound(null, new AudioAttributes.Builder() in testReadXml_oldXml_migrates()
769 ido.setSound(null, new AudioAttributes.Builder() in testReadXml_oldXml_migrates()
776 idp.setSound(null, new AudioAttributes.Builder() in testReadXml_oldXml_migrates()
823 idn.setSound(null, new AudioAttributes.Builder() in testReadXml_oldXml_backup_migratesWhenPkgInstalled()
831 ido.setSound(null, new AudioAttributes.Builder() in testReadXml_oldXml_backup_migratesWhenPkgInstalled()
838 idp.setSound(null, new AudioAttributes.Builder() in testReadXml_oldXml_backup_migratesWhenPkgInstalled()
892 idn.setSound(null, new AudioAttributes.Builder() in testReadXml_newXml_noMigration_showPermissionNotification()
900 ido.setSound(null, new AudioAttributes.Builder() in testReadXml_newXml_noMigration_showPermissionNotification()
[all …]
DNotificationManagerServiceTest.java4191 updatedNotificationChannel.setSound(soundUri, in testUpdateNotificationChannelFromPrivilegedListener_noSoundUriPermission()
4223 updatedNotificationChannel.setSound(soundUri, in testUpdateNotificationChannelFromPrivilegedListener_noSoundUriPermission_sameSound()
6630 channel.setSound(Uri.EMPTY, null); in testBackupEmptySound()
6671 c.setSound(null, Notification.AUDIO_ATTRIBUTES_DEFAULT); in updateUriPermissions_update()
6734 c.setSound(null, Notification.AUDIO_ATTRIBUTES_DEFAULT); in updateUriPermissions_posterDoesNotOwnUri()
15611 sound.setSound(Uri.EMPTY, new AudioAttributes.Builder().setUsage(USAGE_MEDIA).build());
/frameworks/base/core/java/com/android/internal/notification/
DSystemNotificationChannels.java181 heavyWeightChannel.setSound(null, new AudioAttributes.Builder() in createAll()
190 systemChanges.setSound(null, new AudioAttributes.Builder() in createAll()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationChannelExtractor.java103 clone.setSound(clone.getSound(), new AudioAttributes.Builder(attributes) in process()
DPreferencesHelper.java1267 conversation.setSound(updatedParent.getSound(), updatedParent.getAudioAttributes()); in maybeUpdateChildConversationChannel()
2673 channel.setSound(restoredUri, channel.getAudioAttributes()); in onPackagesChanged()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationChannelTest.java222 channel.setSound(Uri.parse("content://" + Strings.repeat("A",65536)), in testLongAlertFields()
310 channel.setSound(uriToBeRestoredCanonicalized, mAudioAttributes); in testWriteXmlForBackup_customLookup()
590 original.setSound(Uri.EMPTY, new AudioAttributes.Builder().build()); in testCopy()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoService.java64 eggChan.setSound(Uri.EMPTY, Notification.AUDIO_ATTRIBUTES_DEFAULT); // cats are quiet in setupNotificationChannels()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstalledNotificationUtils.java221 channel.setSound(null, null); in createChannel()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
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 + "://" +
/frameworks/base/core/java/android/app/
DNotificationChannel.java442 copy.setSound(mSound, mAudioAttributes); in copy()
608 public void setSound(Uri sound, AudioAttributes audioAttributes) { in setSound() method in NotificationChannel
1127 setSound(forRestore ? restoreSoundUri(context, sound, pkgInstalled, usage) : sound, in populateFromXml()
DNotification.java4757 setSound(null); in setSilent()
5124 public Builder setSound(Uri sound) { in setSound() method in Notification.Builder
5138 public Builder setSound(Uri sound, int streamType) { in setSound() method in Notification.Builder
5153 public Builder setSound(Uri sound, AudioAttributes audioAttributes) { in setSound() method in Notification.Builder
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverStateMachine.java923 channel.setSound(null, null); in ensureNotificationChannelExists()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DSensorPrivacyService.java692 channel.setSound(null, null); in showSensorUseReminderNotification()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DSatelliteController.java4768 notificationChannel.setSound(null, null); in showSatelliteSystemNotification()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt2214 HSPLandroid/app/Notification$Builder;->setSound(Landroid/net/Uri;)Landroid/app/Notification$Builder;
2215 HSPLandroid/app/Notification$Builder;->setSound(Landroid/net/Uri;Landroid/media/AudioAttributes;)La…
2337 HSPLandroid/app/NotificationChannel;->setSound(Landroid/net/Uri;Landroid/media/AudioAttributes;)V
/frameworks/base/core/api/
Dcurrent.txt6725 method @Deprecated public android.app.Notification.Builder setSound(android.net.Uri);
6726 method @Deprecated public android.app.Notification.Builder setSound(android.net.Uri, int);
6727 …method @Deprecated public android.app.Notification.Builder setSound(android.net.Uri, android.media…
6967 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…
/frameworks/base/config/
Dboot-image-profile.txt2214 HSPLandroid/app/Notification$Builder;->setSound(Landroid/net/Uri;)Landroid/app/Notification$Builder;
2215 HSPLandroid/app/Notification$Builder;->setSound(Landroid/net/Uri;Landroid/media/AudioAttributes;)La…
2337 HSPLandroid/app/NotificationChannel;->setSound(Landroid/net/Uri;Landroid/media/AudioAttributes;)V