/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
BaseClasspathContainerInitializer.java | 29 import org.eclipse.core.runtime.jobs.Job; 54 // Use a job to prevent requiring a workspace lock in this thread. 56 Job markerJob = new Job("Android SDK: Resolving error markers") { 66 // Don't return e2.getStatus(); the job control will then produce 76 markerJob.setPriority(Job.BUILD); 80 // Use a job to prevent requiring a workspace lock in this thread. 81 Job markerJob = new Job("Android SDK: Resolving error markers") { 98 markerJob.setPriority(Job.BUILD) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
SnailItem.java | 23 import com.android.gallery3d.util.ThreadPool.Job; 39 public Job<Bitmap> requestImage(int type) { 41 return new Job<Bitmap>() { 50 public Job<BitmapRegionDecoder> requestLargeImage() { 52 return new Job<BitmapRegionDecoder>() {
|
PanoramaMetadataJob.java | 24 import com.android.gallery3d.util.ThreadPool.Job; 27 public class PanoramaMetadataJob implements Job<PanoramaMetadata> {
|
ActionImage.java | 27 import com.android.gallery3d.util.ThreadPool.Job; 43 public Job<Bitmap> requestImage(int type) { 48 public Job<BitmapRegionDecoder> requestLargeImage() { 52 private class BitmapJob implements Job<Bitmap> {
|
MediaItem.java | 24 import com.android.gallery3d.util.ThreadPool.Job; 53 public abstract Job<Bitmap> requestImage(int type); 54 public abstract Job<BitmapRegionDecoder> requestLargeImage();
|
UriImage.java | 32 import com.android.gallery3d.util.ThreadPool.Job; 70 public Job<Bitmap> requestImage(int type) { 75 public Job<BitmapRegionDecoder> requestLargeImage() { 171 private class RegionDecoderJob implements Job<BitmapRegionDecoder> { 183 private class BitmapJob implements Job<Bitmap> {
|
/external/toolchain-utils/automation/clients/helper/ |
jobs.py | 3 from automation.common import job 8 to_return = job.Job(label, command, timeout)
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/ |
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) { 41 started = job; 45 public void onFinished(Job job) { 46 this.finished = job; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ |
MonitorStartup.java | 25 import org.eclipse.core.runtime.jobs.Job; 37 Job pingJob = new Job("Android SDK Ping") { 51 pingJob.setPriority(Job.DECORATE); // lowest priority
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
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) { 49 mJob = job; 105 Job<T> job = null; local 108 job = mJob; 112 result = job.run(jc) [all...] |
/external/autotest/frontend/ |
django_lite_unittest.py | 24 self.assertEqual(1, models.Job.objects.all().count())
|
/external/toolchain-utils/automation/clients/ |
output_test.py | 10 from automation.common import job 21 pwd_job = job.Job('pwd_job', command)
|
pwd_test.py | 8 from automation.common import job 19 pwd_job = job.Job('pwd_job', ' && '.join(command))
|
/sdk/eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/ |
HierarchyViewerPluginDirector.java | 29 import org.eclipse.core.runtime.jobs.Job; 43 Job job = new Job(taskName) { local 50 job.setPriority(Job.SHORT); 51 job.setRule(mSchedulingRule); 52 job.schedule();
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
FileOperationService.java | 50 public class FileOperationService extends Service implements Job.Listener { 97 // The executor and job factory are visible for testing and non-final 120 // The job whose notification is used to keep the service in foreground mode. 121 private final AtomicReference<Job> mForegroundJob = new AtomicReference<>(); 220 Log.w(TAG, "Duplicate job id: " + jobId 221 + ". Ignoring job request for operation: " + operation + "."); 225 Job job = operation.createJob(this, this, jobId, features); local 227 if (job == null) { 231 assert (job != null) 430 private final Job job; field in class:FileOperationService.JobRecord [all...] |
FileOperation.java | 83 abstract Job createJob(Context service, Job.Listener listener, String id, Features features); 120 CopyJob createJob(Context service, Job.Listener listener, String id, Features features) { 159 CopyJob createJob(Context service, Job.Listener listener, String id, Features features) { 199 CopyJob createJob(Context service, Job.Listener listener, String id, Features features) { 233 Job createJob(Context service, Job.Listener listener, String id, Features features) {
|
/external/mksh/src/ |
jobs.c | 54 #define JP_MEDIUM 2 /* print [job-num] -/+ command */ 55 #define JP_LONG 3 /* print [job-num] -/+ pid command */ 62 /* Job.flags values */ 63 #define JF_STARTED 0x001 /* set when all processes in job are started */ 64 #define JF_WAITING 0x002 /* set if j_waitj() is waiting on job */ 76 typedef struct job Job; 77 struct job { struct 78 Job *next; /* next job in list * 85 int job; \/* job number: %n *\/ member in struct:job 1652 int job = 0; local [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/ |
ThreadPool.java | 43 // A Job is like a Callable, but it has an addition JobContext parameter. 44 public interface Job<T> { 95 // Submit a job to the thread pool. The listener will be called when the 96 // job is finished (or cancelled). 97 public <T> Future<T> submit(Job<T> job, FutureListener<T> listener) { 98 Worker<T> w = new Worker<T>(job, listener); 103 public <T> Future<T> submit(Job<T> job) { 104 return submit(job, null) [all...] |
/external/autotest/frontend/health/ |
utils_unittest.py | 62 job = models.Job(job_idx=1) 66 early_pass = models.Test(job=job, status=GOOD_STATUS, 71 late_pass = models.Test(job=job, status=GOOD_STATUS, 84 job = models.Job(job_idx=1) 88 passing_test = models.Test(job=job, status=GOOD_STATUS [all...] |
/external/autotest/site_utils/ |
count_jobs.py | 30 return models.Job.objects.filter(created_on__gt=cutoff).count() 41 # TODO: Reporting a stat for each job created from the afe directly could be better.
|
/external/regex-re2/re2/ |
bitstate.cc | 25 struct Job { 66 Job *job_; // stack of text positions to explore 108 Job* newjob = new Job[maxjob_]; 113 LOG(DFATAL) << "Job stack overflow."; 134 Job* j = &job_[njob_++]; 148 // Pop job off stack. 168 // VLOG(0) << "Job: " << ip->id() << " " 326 job_ = new Job[maxjob_];
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
EclipseLintRunner.java | 29 import org.eclipse.core.runtime.jobs.Job; 62 LintJob job = (LintJob) startLint(resources, source, doc, fatalOnly, local 65 job.join(); 66 boolean fatal = job.isFatal(); 81 * Runs lint and updates the markers. Does not wait for the job to finish - 95 * @return the job running lint in the background. 97 public static Job startLint( 109 * Runs lint and updates the markers. Does not wait for the job to finish - 122 * @return the job running lint in the background. 124 public static Job startLint 136 LintJob job = new LintJob(client, resources, source); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ |
ExportGradleTest.java | 40 import org.eclipse.core.runtime.jobs.Job; 71 Job job = new Job("Validate project") { local 123 job.schedule(1000); 124 job.join(); 125 Object property = job.getProperty(ERROR_KEY); 143 Job job = new Job("Validate project") local 217 Job job = new Job("Validate project") { local [all...] |
/external/toolchain-utils/ |
test_gdb_dejagnu.py | 71 subject = 'Job failed: dejagnu test didn\'t finish' 73 'Job failed prematurely, check exception below.\n' + result[3]) 75 subject = 'Job finished: dejagnu test failed' 86 subject = 'Job finished: dejagnu test passed'
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
SlideshowDataAdapter.java | 29 import com.android.gallery3d.util.ThreadPool.Job; 94 private class ReloadTask implements Job<Void> { 175 return mThreadPool.submit(new Job<Slide>() {
|