Searched refs:submit (Results 1 - 25 of 40) sorted by relevance

12

/packages/apps/Dialer/src/com/android/dialer/util/
H A DAsyncTaskExecutor.java24 * Interface used to submit {@link AsyncTask} objects to run in the background.
47 <T> AsyncTask<T, ?, ?> submit(Object identifier, AsyncTask<T, ?, ?> task, T... params); method in interface:AsyncTaskExecutor
H A DAsyncTaskExecutors.java83 "submit method must be called from ui thread, was: " + Thread.currentThread());
94 public <T> AsyncTask<T, ?, ?> submit(Object identifer, AsyncTask<T, ?, ?> task, method in class:AsyncTaskExecutors.SimpleAsyncTaskExecutor
/packages/apps/Dialer/tests/src/com/android/dialer/util/
H A DFakeAsyncTaskExecutor.java38 * This class is thread-safe. As per the contract of the AsyncTaskExecutor, the submit methods must
47 * call to {@link #submit(Object, AsyncTask, Object...)}.
124 public <T> AsyncTask<T, ?, ?> submit(Object identifier, method in class:FakeAsyncTaskExecutor.DelayedExecutor
131 + "Are you calling AsyncTaskExecutor.submit(...) from within the "
141 public <T> AsyncTask<T, ?, ?> submit(Object identifier, AsyncTask<T, ?, ?> task, T... params) { method in class:FakeAsyncTaskExecutor
143 return mBlockingExecutor.submit(identifier, task, params);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
H A DThreadPool.java97 public <T> Future<T> submit(Job<T> job, FutureListener<T> listener) { method in class:ThreadPool
103 public <T> Future<T> submit(Job<T> job) { method in class:ThreadPool
104 return submit(job, null);
/packages/apps/Dialer/src/com/android/dialer/voicemail/
H A DVoicemailArchivePlaybackPresenter.java54 mAsyncTaskExecutor.submit(Tasks.CHECK_FOR_CONTENT, new AsyncTask<Void, Void, Boolean>() {
H A DVoicemailAsyncTaskUtil.java106 mAsyncTaskExecutor.submit(Tasks.GET_VOICEMAIL_FILE_PATH,
139 mAsyncTaskExecutor.submit(Tasks.SET_VOICEMAIL_ARCHIVE_STATUS,
167 mAsyncTaskExecutor.submit(Tasks.ARCHIVE_VOICEMAIL_CONTENT,
H A DVoicemailPlaybackPresenter.java408 mAsyncTaskExecutor.submit(Tasks.CHECK_FOR_CONTENT, new AsyncTask<Void, Void, Boolean>() {
527 mAsyncTaskExecutor.submit(Tasks.CHECK_CONTENT_AFTER_CHANGE,
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarReceiver.java54 executor.submit(new Runnable() {
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DCallLogAsyncTaskUtil.java148 sAsyncTaskExecutor.submit(Tasks.GET_CALL_DETAILS,
271 sAsyncTaskExecutor.submit(Tasks.DELETE_CALL, new AsyncTask<Void, Void, Void>() {
308 sAsyncTaskExecutor.submit(Tasks.DELETE_BLOCKED_CALL, new AsyncTask<Void, Void, Long>() {
352 sAsyncTaskExecutor.submit(Tasks.MARK_VOICEMAIL_READ, new AsyncTask<Void, Void, Void>() {
376 sAsyncTaskExecutor.submit(Tasks.DELETE_VOICEMAIL, new AsyncTask<Void, Void, Void>() {
400 sAsyncTaskExecutor.submit(Tasks.MARK_CALL_READ, new AsyncTask<Void, Void, Void>() {
439 sAsyncTaskExecutor.submit(Tasks.UPDATE_DURATION, new AsyncTask<Void, Void, Void>() {
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DSlideshowDataAdapter.java175 return mThreadPool.submit(new Job<Slide>() {
202 mReloadTask = mThreadPool.submit(new ReloadTask());
H A DPanoramaMetadataSupport.java52 mGetPanoMetadataTask = app.getThreadPool().submit(
H A DSinglePhotoDataAdapter.java154 mTask = mThreadPool.submit(
157 mTask = mThreadPool.submit(
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DJobLimiter.java136 public synchronized <T> Future<T> submit(Job<T> job, FutureListener<T> listener) { method in class:JobLimiter
149 wrapper.setFuture(mPool.submit(wrapper, this));
/packages/apps/Camera2/src/com/android/camera/one/v2/commands/
H A DCameraCommandExecutor.java110 return mExecutor.submit(new CommandRunnable(command));
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DDetailsAddressResolver.java64 mAddressLookupJob = mContext.getThreadPool().submit(
H A DAlbumSetSlidingWindow.java431 return mThreadPool.submit(mMediaItem.requestImage(
495 return mThreadPool.submit(mLabelMaker.requestLabel(
H A DMenuExecutor.java346 mTask = mActivity.getBatchServiceThreadPoolIfAvailable().submit(operation, null);
355 mTask = mActivity.getBatchServiceThreadPoolIfAvailable().submit(operation, null);
/packages/apps/Messaging/src/android/support/v7/mms/
H A DDownloadRequest.java108 mPduTransferExecutor.submit(copyDownloadedPduToOutput);
H A DSendRequest.java139 final Future<byte[]> pendingResult = mPduTransferExecutor.submit(copyPduToArray);
/packages/apps/Gallery2/src/com/android/photos/shims/
H A DBitmapJobDrawable.java170 return sThreadPool.submit(
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DLocalBluetoothPreferences.java153 QueuedWork.singleThreadExecutor().submit(new Runnable() {
/packages/apps/TV/tests/common/src/com/android/tv/testing/
H A DUtils.java118 Future<?> temp = MainThreadExecutor.getInstance().submit(runnable);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DDictionaryService.java104 * It's important to note that we do not re-submit the request merely because the time is up.
179 mExecutor.submit(new Runnable() {
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DLocalAlbumSet.java170 mLoadTask = mApplication.getThreadPool().submit(new AlbumsLoader(), this);
/packages/apps/Settings/src/com/android/settings/wifi/
H A DWifiConfigController.java368 Button submit = mConfigUi.getSubmitButton();
369 if (submit == null) return;
371 submit.setVisibility(View.GONE);
374 /* show submit button if password, ip and proxy settings are valid */
376 Button submit = mConfigUi.getSubmitButton();
377 if (submit == null) return;
379 submit.setEnabled(isSubmittable());
404 // Disallow submit if the user has not selected a CA certificate for an EAP network
412 // Disallow submit if the user chooses to use system certificates for EAP server
421 // Disallow submit i
[all...]

Completed in 97 milliseconds

12