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.java646 String soundPath = Settings.Global.getString(cr, Settings.Global.LOCK_SOUND); in setupLocked() local
647 if (soundPath != null) { in setupLocked()
648 mLockSoundId = mLockSounds.load(soundPath, 1); in setupLocked()
650 if (soundPath == null || mLockSoundId == 0) { in setupLocked()
651 Log.w(TAG, "failed to load lock sound from " + soundPath); in setupLocked()
653 soundPath = Settings.Global.getString(cr, Settings.Global.UNLOCK_SOUND); in setupLocked()
654 if (soundPath != null) { in setupLocked()
655 mUnlockSoundId = mLockSounds.load(soundPath, 1); in setupLocked()
657 if (soundPath == null || mUnlockSoundId == 0) { in setupLocked()
658 Log.w(TAG, "failed to load unlock sound from " + soundPath); in setupLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/
DDockObserver.java194 final String soundPath = Settings.Global.getString(cr, whichSound); in handleDockStateChange() local
195 if (soundPath != null) { in handleDockStateChange()
196 final Uri soundUri = Uri.parse("file://" + soundPath); in handleDockStateChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java255 final String soundPath = Settings.Global.getString(cr, in attachLowBatterySound() local
257 if (soundPath != null) { in attachLowBatterySound()
258 final Uri soundUri = Uri.parse("file://" + soundPath); in attachLowBatterySound()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java648 final String soundPath = Settings.Global.getString(mContext.getContentResolver(), in playWirelessChargingStartedSound() local
650 if (enabled && soundPath != null) { in playWirelessChargingStartedSound()
651 final Uri soundUri = Uri.parse("file://" + soundPath); in playWirelessChargingStartedSound()