Searched refs:getSound (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationIntrusivenessExtractor.java52 if (record.getSound() != null && record.getSound() != Uri.EMPTY) {
H A DNotificationRecord.java215 Uri sound = mChannel.getSound();
405 if (getSound() != null) {
406 proto.write(NotificationRecordProto.SOUND, getSound().toString());
925 public Uri getSound() { method in class:NotificationRecord
1050 visitGrantableUri(channel.getSound(), (channel.getUserLockedFields()
H A DRankingHelper.java1068 if (!Objects.equals(original.getSound(), update.getSound())) {
H A DNotificationManagerService.java4771 Uri soundUri = record.getSound();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
H A DChannelsTest.java97 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, newChannel.getSound());
106 assertEquals(Uri.EMPTY, newChannel.getSound());
116 assertEquals(Uri.EMPTY, newChannel.getSound());
/frameworks/base/core/java/android/app/
H A DNotificationChannel.java503 public Uri getSound() { method in class:NotificationChannel
682 Uri sound = getSound();
721 Uri sound = forBackup ? getSoundForBackup(context) : getSound();
784 if (getSound() != null) {
785 record.put(ATT_SOUND, getSound().toString());
911 if (getSound() != null ? !getSound().equals(that.getSound()) : that.getSound() != null) {
931 result = 31 * result + (getSound() !
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
H A DNotificationChannels.java127 screenshotChannel.setSound(legacySS.getSound(), legacySS.getAudioAttributes());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
H A DVoicemailNotificationSettingsUtil.java78 return (channel != null) ? channel.getSound() : getRingTonePreference(context);
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationRecordTest.java192 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, record.getSound());
205 assertEquals(CUSTOM_SOUND, record.getSound());
219 assertEquals(CUSTOM_SOUND, record.getSound());
231 assertEquals(null, record.getSound());
244 assertEquals(CUSTOM_SOUND, record.getSound());
H A DBuzzBeepBlinkTest.java595 assertTrue(r.getSound() != null);
613 assertTrue(r.getSound() != null);
630 assertTrue(r.getSound() != null);
649 assertTrue(r.getSound() != null);
H A DRankingHelperTest.java278 assertEquals(expected.getSound(), actual.getSound());
532 assertEquals(localUri, actualChannel.getSound());
553 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, actualChannel.getSound());
579 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, actualChannel.getSound());
594 assertEquals(null, actualChannel.getSound());
1299 PKG, UID, channel.getId(), false).getSound());
/frameworks/base/config/
H A Dboot-image-profile.txt[all...]

Completed in 227 milliseconds