Searched refs:setSound (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
H A DNotificationChannels.java49 batteryChannel.setSound(Uri.parse("file://" + soundPath), new AudioAttributes.Builder()
116 screenshotChannel.setSound(Uri.parse(""), // silent
127 screenshotChannel.setSound(legacySS.getSound(), legacySS.getAudioAttributes());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
H A DNotificationChannelController.java59 alertChannel.setSound(Settings.System.DEFAULT_NOTIFICATION_URI,
77 simChannel.setSound(null, null);
134 voiceMailChannel.setSound(
/frameworks/support/compat/src/androidTest/java/androidx/core/app/
H A DNotificationCompatTest.java356 .setSound(Uri.EMPTY)
365 .setSound(Uri.EMPTY)
403 .setSound(Uri.EMPTY)
412 .setSound(Uri.EMPTY)
420 .setSound(Uri.EMPTY)
452 .setSound(Uri.EMPTY)
470 .setSound(Uri.EMPTY)
477 .setSound(Uri.EMPTY, AudioManager.STREAM_RING)
490 .setSound(Uri.EMPTY, 34)
503 .setSound(Ur
[all...]
/frameworks/base/core/java/com/android/internal/notification/
H A DSystemNotificationChannels.java69 physicalKeyboardChannel.setSound(Settings.System.DEFAULT_NOTIFICATION_URI,
164 heavyWeightChannel.setSound(null, new AudioAttributes.Builder()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationRecordTest.java141 builder.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES);
142 channel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES);
145 channel.setSound(null, null);
146 builder.setSound(null, null);
185 defaultChannel.setSound(null, null);
198 defaultChannel.setSound(null, null);
211 defaultChannel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES);
237 channel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES);
H A DRankingHelperTest.java372 channel2.setSound(new Uri.Builder().scheme("test").build(), mAudioAttributes);
433 channel2.setSound(SOUND_URI, mAudioAttributes);
498 channel.setSound(SOUND_URI, mAudioAttributes);
524 channel.setSound(SOUND_URI, mAudioAttributes);
545 channel.setSound(SOUND_URI, mAudioAttributes);
586 channel.setSound(null, mAudioAttributes);
793 channel.setSound(new Uri.Builder().scheme("test").build(), mAudioAttributes);
803 channel2.setSound(new Uri.Builder().scheme("test2").build(), mAudioAttributes);
878 channel.setSound(new Uri.Builder().scheme("test").build(), mAudioAttributes);
907 channel.setSound(ne
[all...]
H A DBuzzBeepBlinkTest.java263 channel.setSound(Settings.System.DEFAULT_NOTIFICATION_URI,
266 builder.setSound(CUSTOM_SOUND);
267 channel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES);
270 channel.setSound(null, null);
902 channel.setSound(Uri.EMPTY, null);
H A DNotificationManagerServiceTest.java2522 c.setSound(null, Notification.AUDIO_ATTRIBUTES_DEFAULT);
/frameworks/support/compat/src/main/java/androidx/core/app/
H A DNotificationCompatBuilder.java91 mBuilder.setSound(n.sound, n.audioStreamType);
149 .setSound(n.sound, n.audioAttributes);
202 mBuilder.setSound(null)
H A DNotificationCompat.java82 * {@link Builder#setSound}
1010 public Builder setSound(Uri sound) { method in class:NotificationCompat.Builder
1033 public Builder setSound(Uri sound, @StreamType int streamType) { method in class:NotificationCompat.Builder
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
H A DChannelsTest.java89 legacyChannel.setSound(Settings.System.DEFAULT_NOTIFICATION_URI,
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DNekoService.java62 eggChan.setSound(Uri.EMPTY, Notification.AUDIO_ATTRIBUTES_DEFAULT); // cats are quiet
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A 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/
H A DNotificationChannel.java373 public void setSound(Uri sound, AudioAttributes audioAttributes) { method in class:NotificationChannel
631 setSound(forRestore ? restoreSoundUri(context, sound) : sound, safeAudioAttributes(parser));
H A DNotification.java3786 * @deprecated use {@link NotificationChannel#setSound(Uri, AudioAttributes)} instead.
3789 public Builder setSound(Uri sound) { method in class:Notification.Builder
3800 * @deprecated use {@link NotificationChannel#setSound(Uri, AudioAttributes)}.
3803 public Builder setSound(Uri sound, int streamType) { method in class:Notification.Builder
3804 PlayerBase.deprecateStreamTypeForPlayback(streamType, "Notification", "setSound()");
3814 * @deprecated use {@link NotificationChannel#setSound(Uri, AudioAttributes)} instead.
3818 public Builder setSound(Uri sound, AudioAttributes audioAttributes) { method in class:Notification.Builder
3950 * {@link NotificationChannel#setSound(Uri, AudioAttributes)} instead.
/frameworks/base/config/
H A Dboot-image-profile.txt[all...]

Completed in 510 milliseconds