/aosp12/frameworks/base/core/java/com/android/internal/infra/ |
H A D | ServiceConnector.java | 108 <R> AndroidFuture<R> postForResult(@NonNull Job<I, R> job); in postForResult() 159 interface Job<II, R> { interface 180 interface VoidJob<II> extends Job<II, Void> { 349 return postForResult((Job) job); in post() 385 if (!enqueue((Job<I, ?>) task)) { in enqueue() 392 private boolean enqueue(@NonNull Job<I, ?> job) { in enqueue() 397 void enqueueJobThread(@NonNull Job<I, ?> job) { in enqueueJobThread() 448 Job<I, ?> job; in processQueue() 534 Job<I, ?> job; in cancelPendingJobs() 638 for (Job<I, ?> pendingJob : mQueue) { in dump() [all …]
|
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
H A D | FileOperationService.java | 134 private Job mForegroundJob; 318 private void deleteJob(Job job) { in deleteJob() 365 public void onStart(Job job) { in onStart() 397 public void onFinished(Job job) { in onFinished() 427 private void updateForegroundState(Job job) { in updateForegroundState() 428 Job candidate = getCandidateForegroundJob(); in updateForegroundState() 455 private void cleanUpNotification(Job job) { in cleanUpNotification() 484 private Job getCandidateForegroundJob() { in getCandidateForegroundJob() 497 private final Job job; 516 private final Job mJob; [all …]
|
H A D | FileOperation.java | 101 abstract Job createJob(Context service, Job.Listener listener, String id, Features features); in createJob() 141 CopyJob createJob(Context service, Job.Listener listener, String id, Features features) { in createJob() 182 CopyJob createJob(Context service, Job.Listener listener, String id, Features features) { in createJob() 224 CopyJob createJob(Context service, Job.Listener listener, String id, Features features) { in createJob() 259 Job createJob(Context service, Job.Listener listener, String id, Features features) { in createJob()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | SnailItem.java | 23 import com.android.gallery3d.util.ThreadPool.Job; 39 public Job<Bitmap> requestImage(int type) { in requestImage() 41 return new Job<Bitmap>() { in requestImage() 50 public Job<BitmapRegionDecoder> requestLargeImage() { 52 return new Job<BitmapRegionDecoder>() {
|
H A D | ActionImage.java | 27 import com.android.gallery3d.util.ThreadPool.Job; 43 public Job<Bitmap> requestImage(int type) { in requestImage() 48 public Job<BitmapRegionDecoder> requestLargeImage() { in requestLargeImage() 52 private class BitmapJob implements Job<Bitmap> {
|
H A D | MediaItem.java | 24 import com.android.gallery3d.util.ThreadPool.Job; 53 public abstract Job<Bitmap> requestImage(int type); in requestImage() 54 public abstract Job<BitmapRegionDecoder> requestLargeImage(); in requestLargeImage()
|
H A D | UriImage.java | 32 import com.android.gallery3d.util.ThreadPool.Job; 71 public Job<Bitmap> requestImage(int type) { in requestImage() 76 public Job<BitmapRegionDecoder> requestLargeImage() { in requestLargeImage() 172 private class RegionDecoderJob implements Job<BitmapRegionDecoder> { 184 private class BitmapJob implements Job<Bitmap> {
|
H A D | PanoramaMetadataJob.java | 24 import com.android.gallery3d.util.ThreadPool.Job; 27 public class PanoramaMetadataJob implements Job<PanoramaMetadata> {
|
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/ |
H A D | TestJobListener.java | 32 public class TestJobListener implements Job.Listener { 35 private final List<Job> progress = new ArrayList<>(); 36 @Nullable private Job started; 37 @Nullable private Job finished; 40 public void onStart(Job job) { in onStart() 45 public void onFinished(Job job) { in onFinished()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | JobLimiter.java | 20 import com.android.gallery3d.util.ThreadPool.Job; 41 private static class JobWrapper<T> implements Future<T>, Job<T> { 43 private Job<T> mJob; 48 public JobWrapper(Job<T> job, FutureListener<T> listener) { in JobWrapper() 105 Job<T> job = null; in run() 136 public synchronized <T> Future<T> submit(Job<T> job, FutureListener<T> listener) { in submit()
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
H A D | SmartAsyncMediatorLiveData.kt | 23 import kotlinx.coroutines.Job 38 private var currentJob: Job? = null 48 abstract suspend fun loadDataAndPostValue(job: Job) 63 currentJob = coroutineContext[Job]
|
H A D | MicMutedLiveData.kt | 25 import kotlinx.coroutines.Job 39 override suspend fun loadDataAndPostValue(job: Job) {
|
H A D | SelectedAutofillServiceLiveData.kt | 24 import kotlinx.coroutines.Job 37 override suspend fun loadDataAndPostValue(job: Job) {
|
H A D | SelectedWallpaperServiceLiveData.kt | 24 import kotlinx.coroutines.Job 37 override suspend fun loadDataAndPostValue(job: Job) {
|
H A D | EnabledDeviceAdminsLiveData.kt | 24 import kotlinx.coroutines.Job 37 override suspend fun loadDataAndPostValue(job: Job) {
|
H A D | SelectedVoiceInteractionServiceLiveData.kt | 25 import kotlinx.coroutines.Job 38 override suspend fun loadDataAndPostValue(job: Job) {
|
H A D | EnabledInputMethodsLiveData.kt | 25 import kotlinx.coroutines.Job 38 override suspend fun loadDataAndPostValue(job: Job) {
|
H A D | EnabledNotificationListenersLiveData.kt | 25 import kotlinx.coroutines.Job 38 override suspend fun loadDataAndPostValue(job: Job) {
|
H A D | ForegroundPermNamesLiveData.kt | 22 import kotlinx.coroutines.Job 37 override suspend fun loadDataAndPostValue(job: Job) {
|
H A D | LauncherPackagesLiveData.kt | 23 import kotlinx.coroutines.Job 34 override suspend fun loadDataAndPostValue(job: Job) {
|
H A D | DisabledPrintServicesLiveData.kt | 25 import kotlinx.coroutines.Job 38 override suspend fun loadDataAndPostValue(job: Job) {
|
H A D | EnabledDreamServicesLiveData.kt | 25 import kotlinx.coroutines.Job 38 override suspend fun loadDataAndPostValue(job: Job) {
|
H A D | EnabledAccessibilityServicesLiveData.kt | 26 import kotlinx.coroutines.Job 40 override suspend fun loadDataAndPostValue(job: Job) {
|
H A D | RoleHoldersLiveData.kt | 24 import kotlinx.coroutines.Job 50 override suspend fun loadDataAndPostValue(job: Job) {
|
/aosp12/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/ |
H A D | ThreadPool.java | 44 public interface Job<T> { interface in ThreadPool 97 public <T> Future<T> submit(Job<T> job, FutureListener<T> listener) { in submit() 103 public <T> Future<T> submit(Job<T> job) { in submit() 110 private Job<T> mJob; 119 public Worker(Job<T> job, FutureListener<T> listener) { in Worker()
|