Home
last modified time | relevance | path

Searched refs:Job (Results 1 – 25 of 112) sorted by relevance

12345

/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DFileOperationService.java51 public class FileOperationService extends Service implements Job.Listener {
134 private Job mForegroundJob;
247 Job job = operation.createJob(this, this, jobId, features); in handleOperation()
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()
447 Notification notification = (candidate.getState() == Job.STATE_STARTED) in updateForegroundState()
455 private void cleanUpNotification(Job job) { in cleanUpNotification()
[all …]
DFileOperation.java101 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()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DSnailItem.java23 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>() {
DActionImage.java27 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> {
DMediaItem.java24 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()
DUriImage.java32 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> {
DPanoramaMetadataJob.java24 import com.android.gallery3d.util.ThreadPool.Job;
27 public class PanoramaMetadataJob implements Job<PanoramaMetadata> {
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestJobListener.java32 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()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DJobLimiter.java20 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()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DSmartAsyncMediatorLiveData.kt23 import kotlinx.coroutines.Job in <lambda>()
38 private var currentJob: Job? = null in <lambda>()
46 abstract suspend fun loadDataAndPostValue(job: Job) in <lambda>()
61 currentJob = coroutineContext[Job] in <lambda>()
DMicMutedLiveData.kt25 import kotlinx.coroutines.Job
39 override suspend fun loadDataAndPostValue(job: Job) { in loadDataAndPostValue()
DSelectedAutofillServiceLiveData.kt24 import kotlinx.coroutines.Job
35 override suspend fun loadDataAndPostValue(job: Job) { in loadDataAndPostValue()
DSelectedWallpaperServiceLiveData.kt24 import kotlinx.coroutines.Job
35 override suspend fun loadDataAndPostValue(job: Job) { in loadDataAndPostValue()
DEnabledDeviceAdminsLiveData.kt24 import kotlinx.coroutines.Job in <lambda>()
35 override suspend fun loadDataAndPostValue(job: Job) { in <lambda>()
DSelectedVoiceInteractionServiceLiveData.kt25 import kotlinx.coroutines.Job
38 override suspend fun loadDataAndPostValue(job: Job) { in loadDataAndPostValue()
DEnabledInputMethodsLiveData.kt25 import kotlinx.coroutines.Job in <lambda>()
36 override suspend fun loadDataAndPostValue(job: Job) { in <lambda>()
DEnabledNotificationListenersLiveData.kt25 import kotlinx.coroutines.Job in <lambda>()
38 override suspend fun loadDataAndPostValue(job: Job) { in <lambda>()
DForegroundPermNamesLiveData.kt23 import kotlinx.coroutines.Job
38 override suspend fun loadDataAndPostValue(job: Job) { in loadDataAndPostValue()
DDisabledPrintServicesLiveData.kt25 import kotlinx.coroutines.Job in <lambda>()
36 override suspend fun loadDataAndPostValue(job: Job) { in <lambda>()
DEnabledDreamServicesLiveData.kt25 import kotlinx.coroutines.Job in <lambda>()
36 override suspend fun loadDataAndPostValue(job: Job) { in <lambda>()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DWaitForBroadcasts.kt26 import kotlinx.coroutines.Job
38 @GuardedBy("mutex") private var currentJob: Job? = null
68 private fun Job?.maybeStartNewWaitForBroadcasts(): Job = in maybeStartNewWaitForBroadcasts() method
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
DThreadPool.java44 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()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/util/
DFlow.kt21 import kotlinx.coroutines.Job
58 var delayJob: Job? = null in <lambda>()
59 var sendJob: Job? = null in <lambda>()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DJavaFlowHelper.kt24 import kotlinx.coroutines.Job
29 fun <T> collect(scope: CoroutineScope, flow: Flow<T>, collector: Consumer<T>): Job = in collect()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/v33/
DRecentPermissionDecisionsLiveData.kt25 import kotlinx.coroutines.Job
35 override suspend fun loadDataAndPostValue(job: Job) { in loadDataAndPostValue()

12345