Lines Matching refs:mMediaPlayer
212 private var mMediaPlayer: MediaPlayer? = null in <lambda>() variable in com.android.deskclock.AsyncRingtonePlayer.MediaPlayerPlaybackDelegate
241 mMediaPlayer = MediaPlayer() in <lambda>()
242 mMediaPlayer!!.setOnErrorListener { _, _, _ -> in <lambda>()
252 mMediaPlayer!!.setDataSource(context, alarmNoise!!) in <lambda>()
261 mMediaPlayer!!.reset() in <lambda>()
262 mMediaPlayer!!.setDataSource(context, getFallbackRingtoneUri(context)) in <lambda>()
290 mMediaPlayer!!.setAudioAttributes(AudioAttributes.Builder() in <lambda>()
301 mMediaPlayer!!.setVolume(IN_CALL_VOLUME, IN_CALL_VOLUME) in <lambda>()
303 mMediaPlayer!!.setVolume(0f, 0f) in <lambda>()
310 mMediaPlayer!!.setAudioStreamType(AudioManager.STREAM_ALARM) in <lambda>()
311 mMediaPlayer!!.isLooping = true in <lambda>()
312 mMediaPlayer!!.prepare() in <lambda>()
315 mMediaPlayer!!.start() in <lambda>()
332 if (mMediaPlayer != null) { in <lambda>()
333 mMediaPlayer?.stop() in <lambda>()
334 mMediaPlayer?.release() in <lambda>()
335 mMediaPlayer = null in <lambda>()
350 if (mMediaPlayer == null || !mMediaPlayer!!.isPlaying) { in <lambda>()
361 mMediaPlayer!!.setVolume(1f, 1f) in <lambda>()
367 mMediaPlayer!!.setVolume(volume, volume) in <lambda>()