/packages/inputmethods/LatinIME/native/dicttoolkit/ |
H A D | dict_toolkit_main.cpp | 37 const auto executor = CommandUtils::getCommandExecutor(commandType); local 38 return executor(argc - 1, argv + 1);
|
/packages/apps/Camera2/src/com/android/camera/async/ |
H A D | Observable.java | 42 * @param executor The executor on which the callback will be invoked. 47 public SafeCloseable addCallback(Runnable callback, Executor executor); argument
|
H A D | ExecutorCallback.java | 28 * which runs it on an executor. 38 * @param executor The executor on which to invoke the callback. 40 public ExecutorCallback(Callback<T> callback, Executor executor) { argument 42 mExecutor = executor;
|
H A D | ForwardingObservable.java | 38 public SafeCloseable addCallback(Runnable callback, Executor executor) { argument 39 return mDelegate.addCallback(callback, executor);
|
H A D | ObservableCombiner.java | 84 public SafeCloseable addCallback(Runnable callback, Executor executor) { argument 88 callbackLifetime.add(input.addCallback(callback, executor));
|
H A D | ConcurrentState.java | 37 public ExecutorListenerPair(Executor executor, Runnable listener) { argument 38 mExecutor = executor; 43 * Runs the callback on the executor. 76 public SafeCloseable addCallback(Runnable callback, Executor executor) { argument 77 final ExecutorListenerPair pair = new ExecutorListenerPair(executor, callback);
|
H A D | ResettingDelayedExecutor.java | 25 * An executor which executes with a delay, discarding pending executions such 40 public ResettingDelayedExecutor(ScheduledExecutorService executor, long delay, TimeUnit argument 42 mExecutor = executor;
|
/packages/apps/Camera2/src/com/android/camera/one/v2/commands/ |
H A D | ResettingRunnableCameraCommand.java | 44 public ResettingRunnableCameraCommand(CameraCommandExecutor executor, CameraCommand command) { argument 45 mExecutor = executor;
|
H A D | RunnableCameraCommand.java | 27 public RunnableCameraCommand(CameraCommandExecutor executor, CameraCommand command) { argument 28 mExecutor = executor;
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
H A D | ImageTaskManager.java | 58 * @param executor the executor on which the image close is run. if null, 62 public void releaseSemaphoreReference(final ImageToProcess img, Executor executor); argument
|
H A D | TaskChainedCompressImageToJpeg.java | 40 TaskChainedCompressImageToJpeg(ImageToProcess image, Executor executor, argument 42 super(image, executor, imageTaskManager, ProcessingPriority.SLOW, captureSession);
|
H A D | TaskPreviewChainedJpeg.java | 39 * @param executor Executor to fire off an events 46 Executor executor, 51 super(image, executor, imageTaskManager, ProcessingPriority.AVERAGE, captureSession, 45 TaskPreviewChainedJpeg(ImageToProcess image, Executor executor, ImageTaskManager imageTaskManager, CaptureSession captureSession, Size targetSize, LruResourcePool<Integer, ByteBuffer> byteBufferResourcePool) argument
|
H A D | ImageConsumer.java | 77 * @param executor The executor on which to execute events and image close 85 public boolean receiveImage(ImageToProcess img, Executor executor, argument 95 * @param executor executor on which to execute events and image close 102 public boolean receiveImage(ImageToProcess img, Executor executor,
|
H A D | TaskCompressImageToJpeg.java | 69 * @param executor Executor to run events 73 TaskCompressImageToJpeg(ImageToProcess image, Executor executor, argument 77 super(image, executor, imageTaskManager, ProcessingPriority.SLOW, captureSession);
|
H A D | TaskJpegEncode.java | 59 * @param executor Executor to avoid thread control leakage 64 public TaskJpegEncode(ImageToProcess image, Executor executor, argument 67 super(image, executor, imageTaskManager, preferredLane, captureSession);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarReceiver.java | 39 private final ExecutorService executor = Executors.newCachedThreadPool(); field in class:CalendarReceiver 54 executor.submit(new Runnable() {
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/ |
H A D | AvailableTicketCounter.java | 54 public SafeCloseable addCallback(final Runnable callback, final Executor executor) { argument 57 callbackLifetime.add(input.addCallback(callback, executor));
|
/packages/apps/Dialer/src/com/android/dialer/util/ |
H A D | AsyncTaskExecutors.java | 89 public SimpleAsyncTaskExecutor(Executor executor) { argument 90 mExecutor = executor;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
H A D | BatchingNamedTaskExecutor.java | 42 * @param executor A SourceTaskExecutor for actually executing the tasks. 44 public BatchingNamedTaskExecutor(NamedTaskExecutor executor) { argument 45 mExecutor = executor; 61 * Instructs the executor to submit the next batch of results. 80 * Cancel any unstarted tasks running in this executor. This instance
|
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
H A D | ObservableFrameServer.java | 117 public SafeCloseable addCallback(Runnable callback, Executor executor) { argument 118 return mAvailability.addCallback(callback, executor);
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
H A D | SettingObserver.java | 38 private Listener(Runnable runnable, Executor executor) { argument 40 mExecutor = executor; 87 public SafeCloseable addCallback(@Nonnull Runnable callback, @Nonnull Executor executor) { argument 88 Listener listener = new Listener(callback, executor);
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ringtone/ |
H A D | InCallTonePlayer.java | 51 * @param executor the {@link PausableExecutor} used to play tones in a background thread. 52 * @throws NullPointerException if audioModeProvider, toneGeneratorFactory, or executor are 55 public InCallTonePlayer(ToneGeneratorFactory toneGeneratorFactory, PausableExecutor executor) { argument 57 mExecutor = Preconditions.checkNotNull(executor);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | QueryTask.java | 79 NamedTaskExecutor executor, Handler handler, 84 executor.execute(task); 76 startQuery(String query, int maxResults, SuggestionCursorProvider<C> provider, NamedTaskExecutor executor, Handler handler, Consumer<C> consumer) argument
|
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/ |
H A D | YuvImageBackendImageSaver.java | 194 * @param executor Executor to be used for listener events in ImageBackend. 198 ImageBackend imageBackend, Rect crop, Executor executor) { 202 mExecutor = executor; 197 YuvImageBackendImageSaver(ImageRotationCalculator imageRotationCalculator, ImageBackend imageBackend, Rect crop, Executor executor) argument
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
H A D | MediaResourceManager.java | 63 * media encoding task. Loaded media will be encoded on a dedicated single threaded executor 102 // A dedicated single thread executor for performing background task after loading the resource 103 // on the media loading executor. This includes work such as encoding loaded media to be cached. 224 * Schedule an async media request on the given <code>executor</code>. 230 final MediaRequest<T> mediaRequest, final Executor executor) { 237 // We don't use SafeAsyncTask here since it enforces the shared thread pool executor 238 // whereas we want a dedicated thread pool executor. 286 mediaLoadingTask.executeOnExecutor(executor, (Void) null); 229 scheduleAsyncMediaRequest( final MediaRequest<T> mediaRequest, final Executor executor) argument
|