Searched refs:soundUri (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/ |
D | DockObserver.java | 205 final Uri soundUri = Uri.parse("file://" + soundPath); in handleDockStateChange() local 206 if (soundUri != null) { in handleDockStateChange() 208 getContext(), soundUri); in handleDockStateChange()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerNotificationWarnings.java | 366 final Uri soundUri = Uri.parse("file://" + soundPath); in attachLowBatterySound() local 367 if (soundUri != null) { in attachLowBatterySound() 368 b.setSound(soundUri, AUDIO_ATTRIBUTES); in attachLowBatterySound() 369 if (DEBUG) Slog.d(TAG, "playing sound " + soundUri); in attachLowBatterySound()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | Notifier.java | 706 final Uri soundUri = Uri.parse("file://" + soundPath); in playWirelessChargingStartedSound() local 707 if (soundUri != null) { in playWirelessChargingStartedSound() 708 final Ringtone sfx = RingtoneManager.getRingtone(mContext, soundUri); in playWirelessChargingStartedSound()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 3713 Uri soundUri = record.getSound(); in buzzBeepBlinkLocked() local 3714 hasValidSound = soundUri != null && !Uri.EMPTY.equals(soundUri); in buzzBeepBlinkLocked() 3732 beep = playSound(record, soundUri); in buzzBeepBlinkLocked() 3793 private boolean playSound(final NotificationRecord record, Uri soundUri) { in playSound() argument 3803 if (DBG) Slog.v(TAG, "Playing sound " + soundUri in playSound() 3805 player.playAsync(soundUri, record.sbn.getUser(), looping, in playSound()
|