Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java477 private void startFlushingSpeechItems(Object callerIdentity) { in startFlushingSpeechItems() argument
479 if (callerIdentity == null) { in startFlushingSpeechItems()
482 mFlushedObjects.add(callerIdentity); in startFlushingSpeechItems()
486 private void endFlushingSpeechItems(Object callerIdentity) { in endFlushingSpeechItems() argument
488 if (callerIdentity == null) { in endFlushingSpeechItems()
491 mFlushedObjects.remove(callerIdentity); in endFlushingSpeechItems()
511 private synchronized SpeechItem maybeRemoveCurrentSpeechItem(Object callerIdentity) { in maybeRemoveCurrentSpeechItem() argument
513 (mCurrentSpeechItem.getCallerIdentity() == callerIdentity)) { in maybeRemoveCurrentSpeechItem()
598 public int stopForApp(final Object callerIdentity) { in stopForApp() argument
599 if (callerIdentity == null) { in stopForApp()
[all …]
DAudioPlaybackHandler.java58 public void stopForApp(Object callerIdentity) { in stopForApp() argument
59 if (DBG) Log.d(TAG, "Removing all callback items for : " + callerIdentity); in stopForApp()
60 removeWorkItemsFor(callerIdentity); in stopForApp()
63 if (current != null && (current.getCallerIdentity() == callerIdentity)) { in stopForApp()
102 private void removeWorkItemsFor(Object callerIdentity) { in removeWorkItemsFor() argument
107 if (item.getCallerIdentity() == callerIdentity) { in removeWorkItemsFor()
DPlaybackQueueItem.java12 Object callerIdentity) { in PlaybackQueueItem() argument
14 mCallerIdentity = callerIdentity; in PlaybackQueueItem()
DSilencePlaybackQueueItem.java26 Object callerIdentity, long silenceDurationMs) { in SilencePlaybackQueueItem() argument
27 super(dispatcher, callerIdentity); in SilencePlaybackQueueItem()
DAudioPlaybackQueueItem.java39 Object callerIdentity, in AudioPlaybackQueueItem() argument
41 super(dispatcher, callerIdentity); in AudioPlaybackQueueItem()
DSynthesisPlaybackQueueItem.java75 Object callerIdentity, AbstractEventLogger logger) { in SynthesisPlaybackQueueItem() argument
76 super(dispatcher, callerIdentity); in SynthesisPlaybackQueueItem()
DPlaybackSynthesisCallback.java57 @NonNull UtteranceProgressDispatcher dispatcher, @NonNull Object callerIdentity, in PlaybackSynthesisCallback() argument
63 mCallerIdentity = callerIdentity; in PlaybackSynthesisCallback()
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java2292 Identity callerIdentity in addGnssMeasurementsListener() local
2294 mGnssMeasurementsListeners.put(listener, callerIdentity); in addGnssMeasurementsListener()
2297 if (isThrottlingExemptLocked(callerIdentity) in addGnssMeasurementsListener()
2329 Identity callerIdentity in addGnssNavigationMessageListener() local
2331 mGnssNavigationMessageListeners.put(listener, callerIdentity); in addGnssNavigationMessageListener()
2334 if (isThrottlingExemptLocked(callerIdentity) in addGnssNavigationMessageListener()