Home
last modified time | relevance | path

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

/packages/apps/Car/Messenger/src/com/android/car/messenger/tts/
DTTSHelper.java73 private final Map<String, BatchListener> mListeners = new HashMap<>();
198 mListeners.put(currentBatchId, new BatchListener(listener)); in playInternal()
237 BiConsumer<BatchListener, Pair<String, Integer>> callback) {
240 BatchListener listener = mListeners.get(parsedId.first);
256 safeInvokeAsync(utteranceId, BatchListener::onStart);
264 safeInvokeAsync(utteranceId, BatchListener::onDone);
272 safeInvokeAsync(utteranceId, BatchListener::onStop);
280 safeInvokeAsync(utteranceId, BatchListener::onError);
288 private class BatchListener { class in TTSHelper
292 BatchListener(Listener listener) { in BatchListener() method in TTSHelper.BatchListener