Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java496 return mFlushAll > 0 || mFlushedObjects.contains(speechItem.getCallerIdentity()); in isFlushed()
512 (mCurrentSpeechItem.getCallerIdentity() == callerIdentity)) { in maybeRemoveCurrentSpeechItem()
556 stopForApp(speechItem.getCallerIdentity()); in enqueueSpeechItem()
578 msg.obj = speechItem.getCallerIdentity(); in enqueueSpeechItem()
762 public Object getCallerIdentity() { in getCallerIdentity() method in TextToSpeechService.SpeechItem
840 mCallbacks.dispatchOnSuccess(getCallerIdentity(), utteranceId); in dispatchOnSuccess()
848 mCallbacks.dispatchOnStop(getCallerIdentity(), utteranceId, isStarted()); in dispatchOnStop()
856 mCallbacks.dispatchOnStart(getCallerIdentity(), utteranceId); in dispatchOnStart()
864 mCallbacks.dispatchOnError(getCallerIdentity(), utteranceId, errorCode); in dispatchOnError()
872 …mCallbacks.dispatchOnBeginSynthesis(getCallerIdentity(), utteranceId, sampleRateInHz, audioFormat,… in dispatchOnBeginSynthesis()
[all …]
DTextToSpeech.java830 private IBinder getCallerIdentity() { in getCallerIdentity() method in TextToSpeech
831 return mServiceConnection.getCallerIdentity(); in getCallerIdentity()
853 service.setCallback(getCallerIdentity(), null); in shutdown()
854 service.stop(getCallerIdentity()); in shutdown()
1103 return service.playAudio(getCallerIdentity(), utteranceUri, queueMode, in speak()
1106 return service.speak(getCallerIdentity(), text, queueMode, getParams(params), in speak()
1178 return service.playAudio(getCallerIdentity(), earconUri, queueMode,
1238 return service.playSilence(getCallerIdentity(), durationInMs,
1345 return service.stop(getCallerIdentity());
1505 if (service.loadVoice(getCallerIdentity(), voiceName) == TextToSpeech.ERROR) {
[all …]
DAudioPlaybackHandler.java63 if (current != null && (current.getCallerIdentity() == callerIdentity)) { in stopForApp()
107 if (item.getCallerIdentity() == callerIdentity) { in removeWorkItemsFor()
DPlaybackQueueItem.java17 Object getCallerIdentity() { in getCallerIdentity() method in PlaybackQueueItem