Home
last modified time | relevance | path

Searched refs:soundUri (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DDockObserver.java205 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/
DPowerNotificationWarnings.java366 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/
DNotifier.java706 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/
DNotificationManagerService.java3713 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()