Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DNotificationChannelController.java65 alertChannel.setSound(Settings.System.DEFAULT_NOTIFICATION_URI, in createAll()
82 simChannel.setSound(null, null); in createAll()
147 voiceMailChannel.setSound( in migrateVoicemailNotificationSettings()
163 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.java133 builder.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in getNotification()
134 channel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in getNotification()
137 channel.setSound(null, null); in getNotification()
138 builder.setSound(null, null); in getNotification()
177 defaultChannel.setSound(null, null); in testSound_default_preUpgradeUsesNotification()
190 defaultChannel.setSound(null, null); in testSound_custom_preUpgradeUsesNotification()
203 defaultChannel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in testSound_default_userLocked_preUpgrade()
229 channel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in testSound_default_upgradeUsesChannel()
DNotificationChannelTest.java82 channel.setSound(Uri.EMPTY, null); in testBackupEmptySound()
DPreferencesHelperTest.java326 channel2.setSound(new Uri.Builder().scheme("test").build(), mAudioAttributes); in testChannelXml()
390 channel2.setSound(SOUND_URI, mAudioAttributes); in testChannelXmlForBackup()
457 channel.setSound(SOUND_URI, mAudioAttributes); in testBackupXml_backupCanonicalizedSoundUri()
484 channel.setSound(SOUND_URI, mAudioAttributes); in testRestoreXml_withExistentCanonicalizedSoundUri()
506 channel.setSound(SOUND_URI, mAudioAttributes); in testRestoreXml_withNonExistentCanonicalizedSoundUri()
549 channel.setSound(null, mAudioAttributes); in testBackupRestoreXml_withNullSoundUri()
761 channel.setSound(new Uri.Builder().scheme("test").build(), mAudioAttributes); in testUpdate()
771 channel2.setSound(new Uri.Builder().scheme("test2").build(), mAudioAttributes); in testUpdate()
886 channel.setSound(new Uri.Builder().scheme("test").build(), mAudioAttributes); in testCreateChannel_CannotChangeHiddenFields()
917 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.java3065 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()
169 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/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstalledNotificationUtils.java220 channel.setSound(null, null); in createChannel()
/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/core/java/android/app/
DNotificationChannel.java396 public void setSound(Uri sound, AudioAttributes audioAttributes) { in setSound() method in NotificationChannel
719 setSound(forRestore ? restoreSoundUri(context, sound) : sound, safeAudioAttributes(parser)); in populateFromXml()
DNotification.java4055 public Builder setSound(Uri sound) { in setSound() method in Notification.Builder
4069 public Builder setSound(Uri sound, int streamType) { in setSound() method in Notification.Builder
4084 public Builder setSound(Uri sound, AudioAttributes audioAttributes) { in setSound() method in Notification.Builder
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverStateMachine.java823 channel.setSound(null, null); in ensureNotificationChannelExists()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...