Searched refs:soundPath (Results 1 – 4 of 4) sorted by relevance
646 String soundPath = Settings.Global.getString(cr, Settings.Global.LOCK_SOUND); in setupLocked() local647 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 …]
194 final String soundPath = Settings.Global.getString(cr, whichSound); in handleDockStateChange() local195 if (soundPath != null) { in handleDockStateChange()196 final Uri soundUri = Uri.parse("file://" + soundPath); in handleDockStateChange()
255 final String soundPath = Settings.Global.getString(cr, in attachLowBatterySound() local257 if (soundPath != null) { in attachLowBatterySound()258 final Uri soundUri = Uri.parse("file://" + soundPath); in attachLowBatterySound()
648 final String soundPath = Settings.Global.getString(mContext.getContentResolver(), in playWirelessChargingStartedSound() local650 if (enabled && soundPath != null) { in playWirelessChargingStartedSound()651 final Uri soundUri = Uri.parse("file://" + soundPath); in playWirelessChargingStartedSound()