Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DTranscriptionService.java53 private ExecutorService executorService; field in TranscriptionService
135 ExecutorService executorService, in TranscriptionService() argument
138 this.executorService = executorService; in TranscriptionService()
191 if (executorService != null) { in cleanup()
192 executorService.shutdownNow(); in cleanup()
193 executorService = null; in cleanup()
229 if (executorService == null) { in getExecutorService()
233 executorService = Executors.newSingleThreadExecutor(); in getExecutorService()
235 return executorService; in getExecutorService()
/packages/apps/Dialer/java/com/android/dialer/commandline/impl/
DBlockingCommand.java54 private final ListeningExecutorService executorService; field in BlockingCommand
59 @BackgroundExecutor ListeningExecutorService executorService) { in BlockingCommand() argument
61 this.executorService = executorService; in BlockingCommand()
91 executorService.submit(() -> new DialerPhoneNumberUtil().parse(number, null)); in run()
100 executorService); in run()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/blockednumber/
DSystemBlockedNumberPhoneLookup.java54 private final ListeningExecutorService executorService; field in SystemBlockedNumberPhoneLookup
60 @BackgroundExecutor ListeningExecutorService executorService, in SystemBlockedNumberPhoneLookup() argument
63 this.executorService = executorService; in SystemBlockedNumberPhoneLookup()
72 return executorService.submit(() -> queryNumbers(ImmutableSet.of(number)).get(number)); in lookup()
89 return executorService.submit(() -> queryNumbers(existingInfoMap.keySet())); in getMostRecentInfo()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailPlaybackLayout.java241 public void onPlaybackStarted(int duration, ScheduledExecutorService executorService) { in onPlaybackStarted() argument
250 positionUpdater = new PositionUpdater(duration, executorService); in onPlaybackStarted()
383 private final ScheduledExecutorService executorService; field in VoicemailPlaybackLayout.PositionUpdater
406 public PositionUpdater(int durationMs, ScheduledExecutorService executorService) { in PositionUpdater() argument
408 this.executorService = executorService; in PositionUpdater()
420 executorService.scheduleAtFixedRate( in startUpdating()
DVoicemailPlaybackPresenter.java1020 void onPlaybackStarted(int duration, ScheduledExecutorService executorService); in onPlaybackStarted() argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DExecutorUtils.java98 final ScheduledExecutorService executorService = getBackgroundExecutor(name); in killTasks() local
99 executorService.shutdownNow(); in killTasks()
101 executorService.awaitTermination(5, TimeUnit.SECONDS); in killTasks()
105 if (executorService == sExecutorServiceForTests) { in killTasks()
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
DDefaultDialerExecutorFactory.java196 @NonNull ExecutorService executorService, @Nullable InputT input) { in executeOnCustomExecutorService()
197 dialerUiTaskFragment.executeOnCustomExecutor(Assert.isNotNull(executorService), input); in executeOnCustomExecutorService()
247 @NonNull ExecutorService executorService, @Nullable InputT input) { in executeOnCustomExecutorService()
248 Assert.isNotNull(executorService).execute(() -> run(input)); in executeOnCustomExecutorService()
DDialerExecutor.java197 @NonNull ExecutorService executorService, @Nullable InputT input); in executeOnCustomExecutorService()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DAsyncQueryLiveData.java52 ExecutorService executorService) { in AsyncQueryLiveData() argument
55 mExecutorService = executorService; in AsyncQueryLiveData()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
DSearchResultAggregator.java52 final ExecutorService executorService = mFeatureProvider.getExecutorService(); in fetchResults() local
58 executorService.execute(task); in fetchResults()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DDatabaseResultTask.java134 ExecutorService executorService = mFeatureProvider.getExecutorService(); in query() local
135 executorService.execute(rankerTask); in query()