/frameworks/base/services/core/java/com/android/server/job/ |
JobCompletedListener.java | 17 package com.android.server.job; 19 import com.android.server.job.controllers.JobStatus; 22 * Used for communication between {@link com.android.server.job.JobServiceContext} and the 23 * {@link com.android.server.job.JobSchedulerService}. 28 * Callback for when a job is completed. 29 * @param needsReschedule Whether the implementing class should reschedule this job.
|
StateChangedListener.java | 17 package com.android.server.job; 19 import com.android.server.job.controllers.JobStatus; 22 * Interface through which a {@link com.android.server.job.controllers.StateController} informs 23 * the {@link com.android.server.job.JobSchedulerService} that there are some tasks potentially
|
/external/chromium_org/android_webview/browser/net/ |
aw_url_request_job_factory.cc | 44 URLRequestJob* job = next_factory_->MaybeCreateJobWithProtocolHandler( local 47 if (job) 48 return job; 51 // In that case the built in handlers will then be used to create the job.
|
/external/chromium_org/net/http/ |
http_stream_factory_impl_request_unittest.cc | 77 HttpStreamFactoryImpl::Job* job = local 78 new HttpStreamFactoryImpl::Job(factory, 85 request.AttachJob(job); 86 EXPECT_EQ(DEFAULT_PRIORITY, job->priority()); 89 EXPECT_EQ(MEDIUM, job->priority()); 91 // Make |job| the bound job. 92 request.OnStreamFailed(job, ERR_FAILED, SSLConfig()); 95 EXPECT_EQ(IDLE, job->priority()) [all...] |
/external/chromium_org/net/url_request/ |
url_request_intercepting_job_factory.cc | 27 URLRequestJob* job = interceptor_->MaybeInterceptRequest(request, local 29 if (job) 30 return job;
|
url_request_job_factory_impl.cc | 54 URLRequestJob* job = g_interceptor_for_testing->MaybeInterceptRequest( local 56 if (job) 57 return job;
|
url_request_job_manager.cc | 77 URLRequestJob* job = (*i)->MaybeIntercept(request, network_delegate); local 78 if (job) 79 return job; 83 URLRequestJob* job = job_factory->MaybeCreateJobWithProtocolHandler( local 85 if (job) 86 return job; 91 URLRequestJob* job = (kBuiltinFactories[i].factory)( local 93 DCHECK(job); // The built-in factories are not expected to fail! 94 return job; 125 URLRequestJob* job = (*i)->MaybeInterceptRedirect(request local 152 URLRequestJob* job = (*i)->MaybeInterceptResponse(request, local [all...] |
/external/chromium_org/third_party/npapi/npspy/extern/nspr/ |
prtpool.h | 66 /* queue a job */ 70 /* queue a job, when a socket is readable */ 75 /* queue a job, when a socket is writeable */ 80 /* queue a job, when a socket has a pending connection */ 85 /* queue a job, when the socket connection to addr succeeds or fails */ 90 /* queue a job, when a timer exipres */ 94 /* cancel a job */ 96 PR_CancelJob(PRJob *job); variable 98 /* join a job */ 100 PR_JoinJob(PRJob *job); variable [all...] |
/external/chromium_org/tools/gyp/test/mac/ |
gyptest-xctest.py | 20 job = subprocess.Popen(['xcodebuild', '-version'], variable 23 out, err = job.communicate() 24 if job.returncode != 0: 25 raise Exception('Error %d running xcodebuild' % job.returncode)
|
gyptest-postbuild-fail.py | 36 job = subprocess.Popen(['xcodebuild', '-version'], variable 39 out, err = job.communicate() 40 if job.returncode != 0: 42 raise Exception('Error %d running xcodebuild' % job.returncode)
|
/frameworks/base/core/java/android/app/job/ |
JobScheduler.java | 17 package android.app.job; 27 * See {@link android.app.job.JobInfo} for more description of the types of jobs that can be run 30 * system will execute this job on your application's {@link android.app.job.JobService}. 31 * You identify which JobService is meant to execute the logic for your job when you create the 33 * {@link android.app.job.JobInfo.Builder#JobInfo.Builder(int,android.content.ComponentName)}. 37 * and defer them as much as possible. Typically if you don't specify a deadline on your job, it 50 * if the run-time for your job is too short, or perhaps the system can't resolve the 62 * @param job The job you wish scheduled. Se [all...] |
JobParameters.java | 17 package android.app.job; 19 import android.app.job.IJobCallback; 20 import android.app.job.IJobCallback.Stub; 27 * Contains the parameters used to configure/identify your job. You do not create this object 47 * @return The unique id of this job, specified at creation time. 54 * @return The extras you passed in when constructing this job with 55 * {@link android.app.job.JobInfo.Builder#setExtras(android.os.PersistableBundle)}. This will 63 * For jobs with {@link android.app.job.JobInfo.Builder#setOverrideDeadline(long)} set, this 64 * provides an easy way to tell whether the job is being executed due to the deadline 65 * expiring. Note: If the job is running because its deadline expired, it implies that it [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
DictionaryInfoUtilsTests.java | 30 final RunInLocale<SpacingAndPunctuations> job = new RunInLocale<SpacingAndPunctuations>() { local 32 protected SpacingAndPunctuations job(final Resources res) { 37 final SpacingAndPunctuations sp = job.runInLocale(res, Locale.ENGLISH);
|
CapsModeUtilsTests.java | 56 final RunInLocale<SpacingAndPunctuations> job = new RunInLocale<SpacingAndPunctuations>() { local 58 protected SpacingAndPunctuations job(final Resources res) { 63 SpacingAndPunctuations sp = job.runInLocale(res, Locale.ENGLISH); 94 sp = job.runInLocale(res, Locale.FRENCH); 101 sp = job.runInLocale(res, Locale.GERMAN); 107 sp = job.runInLocale(res, Locale.ENGLISH); 115 sp = job.runInLocale(res, LocaleUtils.constructLocaleFromString("hy_AM"));
|
/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.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();
|
/external/chromium_org/net/socket_stream/ |
socket_stream_job_manager.cc | 28 SocketStreamJob* job = new SocketStreamJob(); local 29 job->InitSocketStream(new SocketStream(url, delegate, context, 31 return job; 39 SocketStreamJob* job = found->second(url, delegate, context, cookie_store); local 40 if (job) 41 return job; 43 SocketStreamJob* job = new SocketStreamJob(); local 44 job->InitSocketStream(new SocketStream(url, delegate, context, cookie_store)); 45 return job;
|
/external/chromium_org/sandbox/win/tests/integration_tests/ |
integration_tests_test.cc | 68 // Creates a job and tries to run a process inside it. The function can be 72 // JOB_OBJECT_LIMIT_BREAKAWAY_OK flag should be set on the job object created 77 HANDLE job = ::CreateJobObject(NULL, NULL); local 78 if (!job) 82 if (!::QueryInformationJobObject(job, JobObjectExtendedLimitInformation, 95 if (!::SetInformationJobObject(job, JobObjectExtendedLimitInformation, 99 if (!::AssignProcessToJobObject(job, ::GetCurrentProcess())) 112 // Terminate the job now. 113 ::TerminateJobObject(job, SBOX_TEST_SUCCEEDED); 267 // Running from inside job that allows us to escape from it should be ok [all...] |
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
StateController.java | 17 package com.android.server.job.controllers; 21 import com.android.server.job.JobSchedulerService; 22 import com.android.server.job.StateChangedListener; 42 * Implement the logic here to decide whether a job should be tracked by this controller.
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
RunInLocale.java | 27 protected abstract T job(final Resources res); method in class:RunInLocale 30 * Execute {@link #job(Resources)} method in specified system locale exclusively. 34 * @return the value returned from {@link #job(Resources)}. 40 return job(res); 46 return job(res);
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
DispatchThread.java | 38 super("Camera Job Dispatch Thread"); 46 * Queues up the job. 48 * @param job The job to run. 50 public void runJob(Runnable job) { 53 "Trying to run job on interrupted dispatcher thread"); 57 throw new RuntimeException("Camera master thread job queue full"); 60 mJobQueue.add(job); 66 * Queues up the job and wait for it to be done. 68 * @param job The job to run 112 Runnable job = null; local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeyboardTextsSet.java | 47 final RunInLocale<Void> job = new RunInLocale<Void>() { local 49 protected Void job(final Resources resource) { 55 job.runInLocale(res,
|
/external/chromium_org/chrome/browser/printing/ |
print_job_manager.cc | 25 void PrintQueriesQueue::QueuePrinterQuery(PrinterQuery* job) { 27 DCHECK(job); 28 queued_queries_.push_back(make_scoped_refptr(job)); 29 DCHECK(job->is_valid()); 50 scoped_refptr<PrinterQuery> job = local 52 return job; 102 for (PrintJobs::const_iterator job = to_stop.begin(); job != to_stop.end(); 103 ++job) { 104 // Wait for two minutes for the print job to be spooled [all...] |
/external/chromium_org/content/browser/service_worker/ |
service_worker_context_request_handler_unittest.cc | 99 scoped_refptr<net::URLRequestJob> job = local 101 ASSERT_TRUE(job.get()); 103 static_cast<ServiceWorkerWriteToCacheJob*>(job.get()); 130 scoped_refptr<net::URLRequestJob> job = local 132 ASSERT_TRUE(job.get()); 134 static_cast<ServiceWorkerWriteToCacheJob*>(job.get());
|
service_worker_controllee_request_handler_unittest.cc | 105 scoped_refptr<net::URLRequestJob> job = local 108 static_cast<ServiceWorkerURLRequestJob*>(job.get()); 155 scoped_refptr<net::URLRequestJob> job = local 158 static_cast<ServiceWorkerURLRequestJob*>(job.get());
|