Home
last modified time | relevance | path

Searched refs:mTonePlayer (Results 1 – 2 of 2) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
DRingbackPlayer.java43 private InCallTonePlayer mTonePlayer; field in RingbackPlayer
69 if (mTonePlayer == null) { in startRingbackForCall()
72 mTonePlayer = mPlayerFactory.createPlayer(InCallTonePlayer.TONE_RING_BACK); in startRingbackForCall()
73 mTonePlayer.startTone(); in startRingbackForCall()
88 if (mTonePlayer == null) { in stopRingbackForCall()
93 mTonePlayer.stopTone(); in stopRingbackForCall()
94 mTonePlayer = null; in stopRingbackForCall()
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java185 private TonePlayer mTonePlayer = null; field in StkAppService
2262 mTonePlayer = new TonePlayer(); in playTone()
2263 mTonePlayer.play(settings.tone); in playTone()
2315 if (mTonePlayer != null) { in handleStopTone()
2316 mTonePlayer.stop(); in handleStopTone()
2317 mTonePlayer.release(); in handleStopTone()
2318 mTonePlayer = null; in handleStopTone()
2327 return mTonePlayer == null ? true : false; in isNoTonePlaying()