/external/autotest/frontend/health/ |
manual_check_passing_experimental.py | 53 job = tko_models.Job(job_idx=1) 58 tko_dedupe = tko_models.Test(job=job, status=success_status,
|
complete_failures_functional_test.py | 99 job = models.Job(job_idx=1) 105 old_passing_test = models.Test(job=job, status=success_status, 110 failing_test = models.Test(job=job, status=fail_status, 115 good_test = models.Test(job=job, status=success_status,
|
complete_failures_unittest.py | 169 job = models.Job(job_idx=1) 174 recent = models.Test(job=job, status=success_status, 179 old = models.Test(job=job, status=success_status, 196 job = models.Job(job_idx=1) 201 test = models.Test(job=job, status=success_status [all...] |
/external/autotest/server/site_tests/desktopui_CrashyRebootServer/ |
desktopui_CrashyRebootServer.py | 44 host.job.add_client_log(host.hostname, 47 job_record_context = host.job.get_record_context() 55 host.job.remove_client_log(host.hostname,
|
/external/autotest/tko/parsers/ |
base.py | 12 def start(self, job): 14 'job'.""" 16 self.job = job 62 """ Create a new instance of the job model used by the
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
DictionaryInfoUtilsTests.java | 31 final RunInLocale<SpacingAndPunctuations> job = new RunInLocale<SpacingAndPunctuations>() { local 33 protected SpacingAndPunctuations job(final Resources res) { 38 final SpacingAndPunctuations sp = job.runInLocale(res, Locale.ENGLISH);
|
/external/autotest/site_utils/ |
job_history.py | 6 # This module provides functions for caller to retrieve a job's history, 7 # including special tasks executed before and after the job, and each steps 22 LOG_BASE_URL = 'http://%s/tko/retrieve_logs.cgi?job=/results/' % AUTOTEST_SERVER 28 # Add some buffer before and after job start/end time when searching for special 29 # tasks. This is to guarantee to include reset before the job starts and repair 30 # and cleanup after the job finishes. 45 @return: A dictionary as the history entry of given job/task. 60 """Return a list of dictionaries of select job/task's history. 129 @param job_id: ID of the test job that's related to the special task. 133 Job id. Note that, None means the cache is not available [all...] |
/frameworks/base/services/core/java/com/android/server/job/ |
JobPackageTracker.java | 17 package com.android.server.job; 19 import android.app.job.JobInfo; 27 import com.android.server.job.controllers.JobStatus; 346 public void notePending(JobStatus job) { 348 job.madePending = now; 350 mCurDataSet.incPending(job.getSourceUid(), job.getSourcePackageName(), now); 353 public void noteNonpending(JobStatus job) { 355 mCurDataSet.decPending(job.getSourceUid(), job.getSourcePackageName(), now) [all...] |
JobServiceContext.java | 17 package com.android.server.job; 20 import android.app.job.JobInfo; 21 import android.app.job.JobParameters; 22 import android.app.job.IJobCallback; 23 import android.app.job.IJobService; 24 import android.app.job.JobWorkItem; 46 import com.android.server.job.controllers.JobStatus; 49 * Handles client binding and lifecycle of a job. Jobs execute one at a time on an instance of this 53 * {@link com.android.server.job.JobSchedulerService}. To execute a job and to cancel a job [all...] |
/external/autotest/client/common_lib/ |
test.py | 5 # initialize run once for each job 7 # run run the test (wrapped by job.run_test()) 10 # job backreference to the job this test instance is part of 11 # outputdir eg. results/<job>/<testname.tag> 12 # resultsdir eg. results/<job>/<testname.tag>/results 13 # profdir eg. results/<job>/<testname.tag>/profiling 14 # debugdir eg. results/<job>/<testname.tag>/debug 32 def __init__(self, job, bindir, outputdir): 33 self.job = jo [all...] |
/cts/tests/tests/print/src/android/print/cts/ |
PrintJobStateTransitionsTest.java | 116 * Create mock service callback for a session. Once the job is queued the test function is 148 private static boolean setState(PrintJob job, int state) { 152 return job.isQueued(); 154 return job.start(); 156 return job.block(null); 158 return job.complete(); 160 return job.fail(null); 162 return job.cancel(); 212 private static void checkState(PrintJob job, int state) throws Throwable { 213 eventually(() -> assertEquals(state, job.getInfo().getState())) [all...] |
/external/autotest/tko/ |
parse.py | 40 parser.add_option("-r", help="Reparse the results of a job", 45 "in the job name"), 68 help=("Allows parsing job to attempt to create a suite " 69 "timeline report, if it detects that the job being " 70 "parsed is a suite job."), 121 @param jobname: String representing the job name. 133 def mailfailure(jobname, job, message): 136 @param jobname: String representing the job name. 137 @param job: A job object [all...] |
/external/autotest/client/bin/ |
harness_autoserv.py | 12 job 13 The job object for this job 16 def __init__(self, job, harness_args): 18 job 19 The job object for this job 21 super(harness_autoserv, self).__init__(job) 39 fetcher = AutoservFetcher(self.job.pkgmgr, self) 40 self.job.pkgmgr.add_repository(fetcher [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
PrioritySchedulingTest.java | 17 package com.android.server.job; 20 import android.app.job.JobInfo; 21 import android.app.job.JobScheduler; 25 import com.android.server.job.MockPriorityJobService.TestEnvironment; 26 import com.android.server.job.MockPriorityJobService.TestEnvironment.Event; 75 Thread.sleep(10000); // Wait for job 4 to preempt one of the lower priority jobs 87 assertTrue("No job was preempted.", wasSomeJobPreempted); 113 Thread.sleep(10000); // Wait for job 4 to preempt one of the higher priority jobs 117 assertFalse("Higher priority job was preempted.", wasJob4Executed);
|
/external/autotest/frontend/afe/ |
frontend_test_utils.py | 73 Create a job row in the test database. 75 @param hosts - A list of explicit host ids for this job to be 77 @param metahosts - A list of label ids for each host that this job 79 @param priority - The job priority (integer). 80 @param active - bool, mark this job as running or not in the database? 83 @param hostless - if True, this job is intended to be hostless (in that 85 @param owner - The owner of the job. Aclgroups from which a job can 87 @param parent_job_id - The id of a parent_job. If a job with the id 90 @raises model.DoesNotExist: If parent_job_id is specified but a job wit [all...] |
/external/autotest/server/lib/ |
suite_report.py | 70 @param statuses: A list of job test statuses. 84 def make_job_entry(tko, job, parent=None, suite_job=False, job_entries=None): 88 @param job: A frontend.Job to generate an entry for. 90 @param suite_job: A boolean indicating wheret this represents a suite job. 91 @param job_entries: A dictionary mapping job id to earlier job entries. 95 statuses = tko.get_job_test_statuses_from_db(job.id) 106 logging.warn('TKO entry for %d missing time: %s' % (job.id, str(s))) 108 entry = make_entry(('Suite' if suite_job else 'HWTest', int(job.id)) [all...] |
/external/autotest/site_utils/sponge_lib/ |
autotest_job_info.py | 24 """Autotest job info.""" 32 def __init__(self, job): 33 self._job = job 37 self.build = job.build 38 self.build_version = job.build_version 39 self.board = job.board 43 """The id of the autotest job.""" 48 """The label of the autotest job.""" 53 """The user who launched the autotest job.""" 58 """The utc start time of the autotest job."" [all...] |
/external/autotest/server/ |
test.py | 19 mytest = test.test(job, '', %r) 20 job.sysinfo.log_before_each_test(mytest) 22 pickle.dump(job.sysinfo, open(sysinfo_pickle, 'w')) 23 job.record('GOOD', '', 'sysinfo.before') 29 mytest = test.test(job, '', %r) 35 job.sysinfo = pickle.load(open(sysinfo_pickle)) 36 job.sysinfo.__init__(job.resultdir) 37 job.sysinfo.log_after_each_test(mytest) 38 job.record('GOOD', '', 'sysinfo.after' [all...] |
/external/autotest/scheduler/ |
monitor_db_functional_test.py | 30 _PidfileType = enum.Enum('verify', 'cleanup', 'repair', 'job', 'gather', 35 drone_manager.AUTOSERV_PID_FILE: _PidfileType.JOB, 433 job, queue_entry = self._make_job_and_queue_entry() 435 self._run_dispatcher() # launches job 444 job, queue_entry = self._make_job_and_queue_entry() 445 job.reboot_before = model_attributes.RebootBefore.ALWAYS 446 job.save() 455 self._run_dispatcher() # job 478 # from here the job should run as normal 484 # reset fails, it copies its results over to the job directory usin [all...] |
/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...] |
/prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/ |
org.eclipse.core.jobs_3.5.300.v20130429-1813.jar | |
/prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/ |
org.eclipse.core.jobs_3.5.300.v20130429-1813.jar | |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/runtime/ |
RemoteAdtTestRunner.java | 33 import org.eclipse.core.runtime.jobs.Job; 95 * <li> First, a separate job per device is run to collect test tree data. A per device 100 * <li> A job per device is again launched to do the actual test run. A per device 154 TestTreeCollectorJob job = new TestTreeCollectorJob( local 157 job.setPriority(Job.INTERACTIVE); 158 job.schedule(); 160 collectorJobs.add(job); 165 for (TestTreeCollectorJob job : collectorJobs) { 167 job.join() 203 InstrumentationRunJob job = new InstrumentationRunJob( 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...] |
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/ |
shell.py | 20 from acts.libs.proc import job 58 job.Error: When the command executed but had an error. 91 except job.Error: 108 except job.Error: 136 except job.Error: 184 except job.Error as e: 217 except job.Error: 236 job.Error: Raised when the signal fail to reach
|