Searched refs:sound (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/core/java/android/app/
H A DNotificationManager.java38 * <li>Alerting the user by flashing the backlight, playing a sound,
128 if (notification.sound != null) {
129 notification.sound = notification.sound.getCanonicalUri();
131 notification.sound.checkFileUriExposed("Notification.sound");
153 if (notification.sound != null) {
154 notification.sound = notification.sound.getCanonicalUri();
156 notification.sound
[all...]
H A DNotification.java67 * Use the default notification sound. This will ignore any given
68 * {@link #sound}.
210 * The sound to play.
213 * To play the default notification sound, see {@link #defaults}.
216 public Uri sound; field in class:Notification
226 * The audio stream type to use when playing the sound.
317 * set if you want the sound and/or vibration play each time the
737 sound = Uri.CREATOR.createFromParcel(parcel);
799 that.sound = this.sound; // androi
1438 setSound(Uri sound) argument
1451 setSound(Uri sound, int streamType) argument
[all...]
/frameworks/support/v4/honeycomb/android/support/v4/app/
H A DNotificationCompatHoneycomb.java35 .setSound(n.sound, n.audioStreamType)
/frameworks/support/v4/ics/android/support/v4/app/
H A DNotificationCompatIceCreamSandwich.java36 .setSound(n.sound, n.audioStreamType)
/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationCompat.java419 * Set the sound to play. It will play on the default stream.
421 public Builder setSound(Uri sound) { argument
422 mNotification.sound = sound;
428 * Set the sound to play. It will play on the stream you supply.
433 public Builder setSound(Uri sound, int streamType) { argument
434 mNotification.sound = sound;
482 * Set this flag if you would only like the sound, vibrate
/frameworks/support/v4/jellybean/android/support/v4/app/
H A DNotificationCompatJellybean.java39 .setSound(n.sound, n.audioStreamType)
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationTestList.java88 new Test("Off and sound") {
92 pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "sound");
98 n.sound = Uri.parse("file://" + Environment.getExternalStorageDirectory() +
100 Log.d(TAG, "n.sound=" + n.sound);
454 n.sound = Uri.parse(
465 n.sound = Uri.parse(
468 Log.d(TAG, "n.sound=" + n.sound);
478 n.sound
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DStorageNotification.java274 boolean sound, boolean visible, PendingIntent pi) {
298 if (sound) {
273 setUsbStorageNotification(int titleId, int messageId, int icon, boolean sound, boolean visible, PendingIntent pi) argument
/frameworks/base/services/java/com/android/server/usb/
H A DUsbDeviceManager.java694 notification.sound = null;
729 notification.sound = null;
/frameworks/base/services/java/com/android/server/
H A DNotificationManagerService.java128 // sound or vibration
943 pw.println(prefix + " sound=" + notification.sound);
1087 // sound
1847 // sound
1849 // should we use the default notification sound? (indicated either by
1850 // DEFAULT_SOUND or because notification.sound is pointing at
1855 .equals(notification.sound);
1863 // check to see if the default notification sound is silent
1867 } else if (notification.sound !
[all...]
H A DInputMethodManagerService.java631 mImeSwitcherNotification.sound = null;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DBaseStatusBar.java1048 || notification.sound != null
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java1359 notification.sound = null;

Completed in 857 milliseconds