Searched refs:soundPath (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardViewMediator.java | 735 String soundPath = Settings.Global.getString(cr, Settings.Global.LOCK_SOUND); in setupLocked() local 736 if (soundPath != null) { in setupLocked() 737 mLockSoundId = mLockSounds.load(soundPath, 1); in setupLocked() 739 if (soundPath == null || mLockSoundId == 0) { in setupLocked() 740 Log.w(TAG, "failed to load lock sound from " + soundPath); in setupLocked() 742 soundPath = Settings.Global.getString(cr, Settings.Global.UNLOCK_SOUND); in setupLocked() 743 if (soundPath != null) { in setupLocked() 744 mUnlockSoundId = mLockSounds.load(soundPath, 1); in setupLocked() 746 if (soundPath == null || mUnlockSoundId == 0) { in setupLocked() 747 Log.w(TAG, "failed to load unlock sound from " + soundPath); in setupLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | DockObserver.java | 203 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/ |
D | NotificationChannels.java | 47 final String soundPath = Settings.Global.getString(context.getContentResolver(), in createAll() local 49 batteryChannel.setSound(Uri.parse("file://" + soundPath), new AudioAttributes.Builder() in createAll()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | Notifier.java | 741 final String soundPath = Settings.Global.getString(mContext.getContentResolver(), in playChargingStartedSound() local 743 if (isChargingFeedbackEnabled() && soundPath != null) { in playChargingStartedSound() 744 final Uri soundUri = Uri.parse("file://" + soundPath); in playChargingStartedSound()
|