Searched refs:mRingtone (Results 1 – 3 of 3) sorted by relevance
80 private final Ringtone mRingtone; field in RingtonePlayer.Client90 mRingtone = new Ringtone(getContextForUser(user), false); in Client()91 mRingtone.setAudioAttributes(aa); in Client()92 mRingtone.setUri(uri, volumeShaperConfig); in Client()101 mRingtone.stop(); in binderDied()129 client.mRingtone.setLooping(looping);130 client.mRingtone.setVolume(volume);131 client.mRingtone.play();143 client.mRingtone.stop();155 return client.mRingtone.isPlaying();[all …]
113 private Ringtone mRingtone; field in SeekBarVolumizer306 mRingtone = RingtoneManager.getRingtone(mContext, mDefaultUri); in onInitSample()307 if (mRingtone != null) { in onInitSample()308 mRingtone.setStreamType(mStreamType); in onInitSample()327 if (mRingtone != null) { in onStartSample()329 mRingtone.setAudioAttributes(new AudioAttributes.Builder(mRingtone in onStartSample()333 mRingtone.play(); in onStartSample()352 if (mRingtone != null) { in onStopSample()353 mRingtone.stop(); in onStopSample()419 return mRingtone != null && mRingtone.isPlaying(); in isSamplePlaying()
118 private @Mock Ringtone mRingtone; field in AccessibilityShortcutControllerTest156 when(mFrameworkObjectProvider.getRingtone(eq(mContext), any())).thenReturn(mRingtone); in setUp()479 verify(mRingtone, times(0)).play(); in testOnAccessibilityShortcut_showsWarningDialog_shouldTtsSpokenPrompt()498 verify(mRingtone).play(); in testOnAccessibilityShortcut_showsWarningDialog_ttsInitFail_noSpokenPrompt()