HomeSort by relevance Sort by last modified time
    Searched refs:job (Results 1 - 25 of 383) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/app/job/
JobInfo.aidl 17 package android.app.job;
JobParameters.aidl 17 package android.app.job;
IJobScheduler.aidl 17 package android.app.job;
19 import android.app.job.JobInfo;
26 int schedule(in JobInfo job);
IJobService.aidl 17 package android.app.job;
19 import android.app.job.JobParameters;
24 * service implementation will extend android.app.job.JobService.
28 /** Begin execution of application's job. */
30 /** Stop execution of application's job. */
IJobCallback.aidl 17 package android.app.job;
25 * which Job Service instance is reporting.
33 * @param jobId Unique integer used to identify this job.
34 * @param ongoing True to indicate that the client is processing the job. False if the job is
41 * @param jobId Unique integer used to identify this job.
42 * @param reschedule Whether or not to reschedule this job.
46 * Tell the job manager that the client is done with its execution, so that it can go on to
49 * @param jobId Unique integer used to identify this job.
50 * @param reschedule Whether or not to reschedule this job
    [all...]
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...]
  /frameworks/base/services/core/java/com/android/server/job/controllers/
JobStatus.java 17 package com.android.server.job.controllers;
19 import android.app.job.JobInfo;
30 * Uniquely identifies a job internally.
31 * Created from the public {@link android.app.job.JobInfo} object when it lands on the scheduler.
32 * Contains current state of the requirements of the job, as well as a function to evaluate
44 final JobInfo job; field in class:JobStatus
45 /** Uid of the package requesting this job. */
59 * Earliest point in the future at which this job will be eligible to run. A value of 0
64 * Latest point in the future at which this job must be run. A value of {@link Long#MAX_VALUE}
68 /** How many times this job has failed, used to compute back-off. *
    [all...]
TimeController.java 17 package com.android.server.job.controllers;
28 import com.android.server.job.JobSchedulerService;
29 import com.android.server.job.StateChangedListener;
38 * This class sets an alarm for the next expiring job, and determines whether a job's minimum
48 /** Set an alarm for the next job expiry. */
50 /** Set an alarm for the next job delay expiry. This*/
87 * Check if the job has a timing constraint, and if so determine where to insert it in our
91 public synchronized void maybeStartTrackingJob(JobStatus job) {
92 if (job.hasTimingDelayConstraint() || job.hasDeadlineConstraint())
157 JobStatus job = it.next(); local
185 final JobStatus job = it.next(); local
    [all...]
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.
  /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/net/http/
http_stream_factory_impl_request.cc 47 for (std::set<Job*>::iterator it = jobs_.begin(); it != jobs_.end(); ++it)
65 void HttpStreamFactoryImpl::Request::AttachJob(Job* job) {
66 DCHECK(job);
67 jobs_.insert(job);
68 factory_->request_map_[job] = this;
90 Job* job,
98 OnJobSucceeded(job);
103 Job* job
    [all...]
http_stream_factory_impl_request.h 35 // Called when the Job determines the appropriate |spdy_session_key| for the
42 // Attaches |job| to this request. Does not mean that Request will use |job|,
43 // but Request will own |job|.
44 void AttachJob(HttpStreamFactoryImpl::Job* job);
47 // |job_net_log| is the BoundNetLog of the Job that fulfilled this request.
57 // Called by an attached Job if it sets up a SpdySession.
58 void OnNewSpdySessionReady(Job* job,
    [all...]
  /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/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)
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Dispatcher.java 42 private final Deque<Job> readyJobs = new ArrayDeque<Job>();
45 private final Deque<Job> runningJobs = new ArrayDeque<Job>();
106 Job job = new Job(this, client, request, receiver); local
108 if (runningJobs.size() < maxRequests && runningJobsForHost(job) < maxRequestsPerHost) {
109 runningJobs.add(job);
110 getExecutorService().execute(job);
141 Job job = i.next(); local
    [all...]
  /external/chromium_org/content/browser/service_worker/
service_worker_job_coordinator.cc 22 scoped_ptr<ServiceWorkerRegisterJobBase> job) {
24 job->Start();
25 jobs_.push_back(job.release());
26 } else if (!job->Equals(jobs_.back())) {
27 jobs_.push_back(job.release());
29 // Note we are releasing 'job' here.
36 ServiceWorkerRegisterJobBase* job) {
37 DCHECK(job == jobs_.front());
39 delete job;
68 << job_queues_.size() << " job queues"
    [all...]
service_worker_register_job_base.h 20 // Starts the job. This method should be called once and only once per job.
23 // Aborts the job. This method should be called once and only once per job.
27 // Returns true if this job is identical to |job| for the purpose of
31 virtual bool Equals(ServiceWorkerRegisterJobBase* job) = 0;
33 // Returns the type of this job.
  /frameworks/base/core/java/android/app/
JobSchedulerImpl.java 20 import android.app.job.JobInfo;
21 import android.app.job.JobScheduler;
22 import android.app.job.IJobScheduler;
40 public int schedule(JobInfo job) {
42 return mBinder.schedule(job);
  /external/chromium_org/net/url_request/
url_request_http_job_unittest.cc 99 scoped_refptr<TestURLRequestHttpJob> job(
101 EXPECT_EQ(DEFAULT_PRIORITY, job->priority());
103 job->SetPriority(LOWEST);
104 EXPECT_EQ(LOWEST, job->priority());
106 job->SetPriority(LOW);
107 EXPECT_EQ(LOW, job->priority());
109 job->Start();
110 EXPECT_EQ(LOW, job->priority());
112 job->SetPriority(MEDIUM);
113 EXPECT_EQ(MEDIUM, job->priority())
    [all...]
  /external/chromium_org/chrome/browser/policy/cloud/
device_management_service_browsertest.cc 132 scoped_ptr<DeviceManagementRequestJob> job(
135 job->SetGaiaToken("gaia_auth_token");
136 job->SetOAuthToken("oauth_token");
137 job->SetClientID("testid");
138 job->GetRequest()->mutable_register_request();
139 job->Start(base::Bind(&DeviceManagementServiceIntegrationTest::OnJobDone,
193 scoped_ptr<DeviceManagementRequestJob> job(service_->CreateJob(
196 job->SetDMToken(token_);
197 job->SetClientID("testid");
199 job->GetRequest()->mutable_service_api_access_request()
    [all...]
  /external/chromium_org/components/policy/core/common/cloud/
external_policy_data_fetcher.cc 23 // Helper that forwards the result of a fetch job from the thread that the
25 // ExternalPolicyDataFetcher which started the job runs on.
29 ExternalPolicyDataFetcher::Job* job,
33 base::Bind(callback, job, result, base::Passed(&data)));
36 // Helper that forwards a job cancelation confirmation from the thread that the
38 // ExternalPolicyDataFetcher which canceled the job runs on.
45 // Helper invoked when a job cancelation confirmation has been forwarded to the
46 // thread which canceled the job. The helper itself does nothing. It exists so
47 // that the |job| can be passed as base::Owned(), allowing it to be deleted o
98 Job* job = new Job( local
239 ExternalPolicyDataFetcher::Job* job = it->second; local
258 ExternalPolicyDataFetcher::Job* job = it->second; local
    [all...]
external_policy_data_updater.cc 140 // If the job is currently running, a corresponding |fetch_job_| exists in the
141 // |external_policy_data_fetcher_|. The job must eventually call back to the
143 // If the job is currently not running, |fetch_job_| is NULL and no callbacks
145 ExternalPolicyDataFetcher::Job* fetch_job_; // Not owned.
192 // Cancel the fetch job in the |external_policy_data_fetcher_|.
194 // Inform the |updater_| that the job was canceled.
210 // Start a fetch job in the |external_policy_data_fetcher_|. This will
221 // The fetch job in the |external_policy_data_fetcher_| is finished.
278 // This function may have been invoked because the job was obsoleted and is
318 // Check whether a job exists for this |key| already
319 FetchJob* job = job_map_[key]; local
346 std::map<std::string, FetchJob*>::iterator job = job_map_.find(key); local
358 FetchJob* job = job_queue_.front().get(); local
    [all...]
  /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...]

Completed in 712 milliseconds

1 2 3 4 5 6 7 8 91011>>