/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | FileOperationService.java | 51 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 …]
|
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()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
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>() {
|
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> {
|
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()
|
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> {
|
D | PanoramaMetadataJob.java | 24 import com.android.gallery3d.util.ThreadPool.Job; 27 public class PanoramaMetadataJob implements Job<PanoramaMetadata> {
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/ |
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()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
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()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | SmartAsyncMediatorLiveData.kt | 23 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>()
|
D | MicMutedLiveData.kt | 25 import kotlinx.coroutines.Job 39 override suspend fun loadDataAndPostValue(job: Job) { in loadDataAndPostValue()
|
D | SelectedAutofillServiceLiveData.kt | 24 import kotlinx.coroutines.Job 35 override suspend fun loadDataAndPostValue(job: Job) { in loadDataAndPostValue()
|
D | SelectedWallpaperServiceLiveData.kt | 24 import kotlinx.coroutines.Job 35 override suspend fun loadDataAndPostValue(job: Job) { in loadDataAndPostValue()
|
D | EnabledDeviceAdminsLiveData.kt | 24 import kotlinx.coroutines.Job in <lambda>() 35 override suspend fun loadDataAndPostValue(job: Job) { in <lambda>()
|
D | SelectedVoiceInteractionServiceLiveData.kt | 25 import kotlinx.coroutines.Job 38 override suspend fun loadDataAndPostValue(job: Job) { in loadDataAndPostValue()
|
D | EnabledInputMethodsLiveData.kt | 25 import kotlinx.coroutines.Job in <lambda>() 36 override suspend fun loadDataAndPostValue(job: Job) { in <lambda>()
|
D | EnabledNotificationListenersLiveData.kt | 25 import kotlinx.coroutines.Job in <lambda>() 38 override suspend fun loadDataAndPostValue(job: Job) { in <lambda>()
|
D | ForegroundPermNamesLiveData.kt | 23 import kotlinx.coroutines.Job 38 override suspend fun loadDataAndPostValue(job: Job) { in loadDataAndPostValue()
|
D | DisabledPrintServicesLiveData.kt | 25 import kotlinx.coroutines.Job in <lambda>() 36 override suspend fun loadDataAndPostValue(job: Job) { in <lambda>()
|
D | EnabledDreamServicesLiveData.kt | 25 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/ |
D | WaitForBroadcasts.kt | 26 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/ |
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()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/util/ |
D | Flow.kt | 21 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/ |
D | JavaFlowHelper.kt | 24 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/ |
D | RecentPermissionDecisionsLiveData.kt | 25 import kotlinx.coroutines.Job 35 override suspend fun loadDataAndPostValue(job: Job) { in loadDataAndPostValue()
|