Home
last modified time | relevance | path

Searched refs:job (Results 1 – 19 of 19) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DEclipseLintRunner.java62 LintJob job = (LintJob) startLint(resources, source, doc, fatalOnly, in runLint() local
65 job.join(); in runLint()
66 boolean fatal = job.isFatal(); in runLint()
136 LintJob job = new LintJob(client, resources, source); in startLint() local
137 job.schedule(); in startLint()
143 return job; in startLint()
181 for (Job job : currentJobs) { in cancelCurrentJobs()
182 job.cancel(); in cancelCurrentJobs()
186 for (Job job : currentJobs) { in cancelCurrentJobs()
188 job.join(); in cancelCurrentJobs()
DLintViewPart.java299 for (Job job : currentJobs) { in refreshStopIcon()
300 job.addJobChangeListener(this); in refreshStopIcon()
477 Job job = EclipseLintRunner.startLint(resources, null, null, in run() local
479 if (job != null && workbench != null) { in run()
480 job.addJobChangeListener(LintViewPart.this); in run()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/runtime/
DRemoteAdtTestRunner.java154 TestTreeCollectorJob job = new TestTreeCollectorJob( in runTests() local
157 job.setPriority(Job.INTERACTIVE); in runTests()
158 job.schedule(); in runTests()
160 collectorJobs.add(job); in runTests()
165 for (TestTreeCollectorJob job : collectorJobs) { in runTests()
167 job.join(); in runTests()
173 if (!job.getResult().isOK()) { in runTests()
174 endTestRunWithError(job.getResult().getMessage()); in runTests()
178 TestCollector collector = job.getCollector(); in runTests()
203 InstrumentationRunJob job = new InstrumentationRunJob( in runTests() local
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
DExportGradleTest.java71 Job job = new Job("Validate project") { in testSimpleAndroidApp() local
123 job.schedule(1000); in testSimpleAndroidApp()
124 job.join(); in testSimpleAndroidApp()
125 Object property = job.getProperty(ERROR_KEY); in testSimpleAndroidApp()
143 Job job = new Job("Validate project") { in testSimpleAndroidLib() local
200 job.schedule(1000); in testSimpleAndroidLib()
201 job.join(); in testSimpleAndroidLib()
202 Object property = job.getProperty(ERROR_KEY); in testSimpleAndroidLib()
217 Job job = new Job("Validate project") { in testPlainJavaProject() local
237 job.schedule(1000); in testPlainJavaProject()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/
DHierarchyViewerPluginDirector.java43 Job job = new Job(taskName) { in executeInBackground() local
50 job.setPriority(Job.SHORT); in executeInBackground()
51 job.setRule(mSchedulingRule); in executeInBackground()
52 job.schedule(); in executeInBackground()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplateHandlerTest.java715 Job job = new Job("Validate project") { in checkProject() local
727 job.schedule(1000); in checkProject()
728 job.join(); in checkProject()
729 Object property = job.getProperty(ERROR_KEY); in checkProject()
749 private void ensureValidProject(@NonNull Job job, @NonNull IProject project) throws Exception { in ensureValidProject() argument
751 ensureNoBuildErrors(job, project); in ensureValidProject()
755 ensureNoLintWarnings(job, project); in ensureValidProject()
761 private void ensureNoLintWarnings(final Job job, IProject project) { in ensureNoLintWarnings() argument
771 job.setProperty(ERROR_KEY, s); in ensureNoLintWarnings()
852 private void ensureNoBuildErrors(final Job job, final IProject project) throws Exception { in ensureNoBuildErrors() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DSdk.java707 Job job = new Job(String.format("Loading data for %1$s", target.getFullName())) { in checkAndLoadTargetData() local
755 job.setPriority(Job.BUILD); // build jobs are run after other interactive jobs in checkAndLoadTargetData()
756 job.setRule(ResourcesPlugin.getWorkspace().getRoot()); in checkAndLoadTargetData()
757 job.schedule(); in checkAndLoadTargetData()
1371 Job job = new Job("Android Library Update") { //$NON-NLS-1$
1388 job.setPriority(Job.BUILD);
1389 job.setRule(ResourcesPlugin.getWorkspace().getRoot());
1390 job.schedule();
1481 Job job = new Job("Update Android editor bindings") { //$NON-NLS-1$ in fixEditorAssociations() local
1520 job.setPriority(Job.BUILD); in fixEditorAssociations()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/
DAndroidJUnitLaunchConfigDelegate.java104 Job job = new Job("Junit Launch") { //$NON-NLS-1$ in doLaunch() local
114 job.setPriority(Job.INTERACTIVE); in doLaunch()
115 job.schedule(); in doLaunch()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DCustomViewFinder.java146 FindViewsJob job = new FindViewsJob(); in refresh() local
147 job.schedule(); in refresh()
150 job.join(); in refresh()
DRenderPreview.java491 Job job = mJob; in render() local
492 if (job != null) { in render()
493 job.cancel(); in render()
496 job = new AsyncRenderJob(); in render()
498 job = new RenderJob(); in render()
500 job.schedule(delay); in render()
501 job.addJobChangeListener(this); in render()
502 mJob = job; in render()
DLayoutMetadata.java195 WorkbenchJob job = new WorkbenchJob(display, "Update alternate views") { in setProperty() local
227 job.setSystem(true); in setProperty()
228 job.schedule(); in setProperty()
DGraphicalEditorPart.java880 CreateNewConfigJob job = new CreateNewConfigJob(this, mEditedFile, config); in createConfigFile() local
881 job.schedule(); in createConfigFile()
1626 Job job = new Job("Run Lint") { in renderWithBridge() local
1634 job.setSystem(true); in renderWithBridge()
1635 job.schedule(3000); // 3 seconds in renderWithBridge()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/actions/
DAddSupportJarAction.java520 Job job = new Job("Add Support Library Dependency to Project") { in addLibraryDependency() local
582 job.schedule(); in addLibraryDependency()
586 job.join(); in addLibraryDependency()
587 return job.getState() == IStatus.OK; in addLibraryDependency()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
DStateViewPage.java217 Job job = new Job("Updating GL State") { in selectionChanged() local
252 job.setPriority(Job.SHORT); in selectionChanged()
253 job.schedule(); in selectionChanged()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAdtPlugin.java1399 Job job = new Job(Messages.AdtPlugin_Android_SDK_Content_Loader) {
1501 job.setPriority(Job.BUILD); // build jobs are run after other interactive jobs
1502 job.setRule(ResourcesPlugin.getWorkspace().getRoot());
1504 job.schedule(delay);
1506 job.schedule();
1817 Job job = new Job("Check Android SDK") {
1858 job.setRule(ResourcesPlugin.getWorkspace().getRoot());
1859 job.setPriority(Job.SHORT); // a short background job, not interactive.
1860 job.schedule();
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DLayoutEditorDelegate.java467 Job job = null; in delegateRunLint() local
477 job = EclipseLintRunner.startLint(mClient, resources, file, in delegateRunLint()
481 if (job != null) { in delegateRunLint()
484 job.addJobChangeListener(new LintJobListener(graphicalEditor)); in delegateRunLint()
487 return job; in delegateRunLint()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/
DFrameSummaryViewPage.java256 Job job = new Job("Update Frame Statistics") { in updateFrameStats() local
296 job.setUser(true); in updateFrameStats()
297 job.schedule(); in updateFrameStats()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/welcome/
DAdtStartup.java300 Job job = new Job("Android SDK Ping") { // Job name, visible in progress view in createPingUsageServerJob() local
314 return job; in createPingUsageServerJob()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DAndroidPackageRenameParticipant.java277 FixImportsJob job = new FixImportsJob("Fix Rename Package", in createChange()
279 job.schedule(500); in createChange()