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.java741 String soundPath = Settings.Global.getString(cr, Settings.Global.LOCK_SOUND); in setupLocked() local
742 if (soundPath != null) { in setupLocked()
743 mLockSoundId = mLockSounds.load(soundPath, 1); in setupLocked()
745 if (soundPath == null || mLockSoundId == 0) { in setupLocked()
746 Log.w(TAG, "failed to load lock sound from " + soundPath); in setupLocked()
748 soundPath = Settings.Global.getString(cr, Settings.Global.UNLOCK_SOUND); in setupLocked()
749 if (soundPath != null) { in setupLocked()
750 mUnlockSoundId = mLockSounds.load(soundPath, 1); in setupLocked()
752 if (soundPath == null || mUnlockSoundId == 0) { in setupLocked()
753 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/util/
DNotificationChannels.java46 final String soundPath = Settings.Global.getString(context.getContentResolver(), in createAll() local
48 batteryChannel.setSound(Uri.parse("file://" + soundPath), new AudioAttributes.Builder() in createAll()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java799 final String soundPath = Settings.Global.getString(mContext.getContentResolver(), in playChargingStartedFeedback() local
801 if (isChargingFeedbackEnabled(userId) && soundPath != null) { in playChargingStartedFeedback()
802 final Uri soundUri = Uri.parse("file://" + soundPath); in playChargingStartedFeedback()