Searched refs:numPlayingTones (Results 1 – 1 of 1) sorted by relevance
41 private @Nullable CountDownLatch numPlayingTones; field in InCallTonePlayer60 return numPlayingTones != null && numPlayingTones.getCount() > 0; in isPlayingTone()75 numPlayingTones = new CountDownLatch(1); in play()116 if (numPlayingTones != null) { in playOnBackgroundThread()117 numPlayingTones.await(info.toneLengthMillis, TimeUnit.MILLISECONDS); in playOnBackgroundThread()127 if (numPlayingTones != null) { in playOnBackgroundThread()128 numPlayingTones.countDown(); in playOnBackgroundThread()137 if (numPlayingTones != null) { in stop()138 numPlayingTones.countDown(); in stop()