Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java702 String soundPath = Settings.Global.getString(cr, Settings.Global.LOCK_SOUND); in setupLocked() local
703 if (soundPath != null) { in setupLocked()
704 mLockSoundId = mLockSounds.load(soundPath, 1); in setupLocked()
706 if (soundPath == null || mLockSoundId == 0) { in setupLocked()
707 Log.w(TAG, "failed to load lock sound from " + soundPath); in setupLocked()
709 soundPath = Settings.Global.getString(cr, Settings.Global.UNLOCK_SOUND); in setupLocked()
710 if (soundPath != null) { in setupLocked()
711 mUnlockSoundId = mLockSounds.load(soundPath, 1); in setupLocked()
713 if (soundPath == null || mUnlockSoundId == 0) { in setupLocked()
714 Log.w(TAG, "failed to load unlock sound from " + soundPath); in setupLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/
DDockObserver.java203 final String soundPath = Settings.Global.getString(cr, whichSound); in handleDockStateChange() local
204 if (soundPath != null) { in handleDockStateChange()
205 final Uri soundUri = Uri.parse("file://" + soundPath); in handleDockStateChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java363 final String soundPath = Settings.Global.getString(cr, in attachLowBatterySound() local
365 if (soundPath != null) { in attachLowBatterySound()
366 final Uri soundUri = Uri.parse("file://" + soundPath); in attachLowBatterySound()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java703 final String soundPath = Settings.Global.getString(mContext.getContentResolver(), in playWirelessChargingStartedSound() local
705 if (enabled && soundPath != null) { in playWirelessChargingStartedSound()
706 final Uri soundUri = Uri.parse("file://" + soundPath); in playWirelessChargingStartedSound()