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/util/
DNotificationChannels.java61 final String soundPath = Settings.Global.getString(context.getContentResolver(), in createAll() local
63 batteryChannel.setSound(Uri.parse("file://" + soundPath), new AudioAttributes.Builder() in createAll()
/frameworks/base/services/core/java/com/android/server/
DDockObserver.java305 final String soundPath = Settings.Global.getString(cr, whichSound); in handleDockStateChange() local
306 if (soundPath != null) { in handleDockStateChange()
307 final Uri soundUri = Uri.parse("file://" + soundPath); in handleDockStateChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java1610 String soundPath = Settings.Global.getString(cr, Settings.Global.LOCK_SOUND);
1611 if (soundPath != null) {
1612 mLockSoundId = mLockSounds.load(soundPath, 1);
1614 if (soundPath == null || mLockSoundId == 0) {
1615 Log.w(TAG, "failed to load lock sound from " + soundPath);
1617 soundPath = Settings.Global.getString(cr, Settings.Global.UNLOCK_SOUND);
1618 if (soundPath != null) {
1619 mUnlockSoundId = mLockSounds.load(soundPath, 1);
1621 if (soundPath == null || mUnlockSoundId == 0) {
1622 Log.w(TAG, "failed to load unlock sound from " + soundPath);
[all …]
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java1003 final String soundPath = Settings.Global.getString(mContext.getContentResolver(), in playChargingStartedFeedback() local
1006 final Uri soundUri = Uri.parse("file://" + soundPath); in playChargingStartedFeedback()