Home
last modified time | relevance | path

Searched refs:provision (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/external/autotest/server/cros/
Dprovision_unittest.py9 from autotest_lib.server.cros import provision
23 got = provision._get_label_action('cros-version:foo')
24 self.assertEqual(got, provision._Action('cros-version', 'foo'))
27 got = provision._get_label_action('webcam')
28 self.assertEqual(got, provision._Action('webcam', None))
31 got = provision._get_label_action('')
32 self.assertEqual(got, provision._Action('', None))
40 prefix = provision.get_version_label_prefix(v)
45 self._do_test_prefixes(provision.CROS_VERSION_PREFIX,
50 self._do_test_prefixes(provision.ANDROID_BUILD_VERSION_PREFIX,
[all …]
/external/guice/core/test/com/google/inject/
DProvisionListenerTest.java389 public <T> void onProvision(ProvisionInvocation<T> provision) { in testCallingBindingDotGetProviderDotGet()
390 provision.getBinding().getProvider().get(); // AGH! in testCallingBindingDotGetProviderDotGet()
448 public <T> void onProvision(ProvisionInvocation<T> provision) { in onProvision() argument
457 public <T> void onProvision(ProvisionInvocation<T> provision) { in onProvision() argument
460 provision.provision(); in onProvision()
471 public <T> void onProvision(ProvisionInvocation<T> provision) { in onProvision() argument
472 keys.add(provision.getBinding().getKey()); in onProvision()
473 T provisioned = provision.provision(); in onProvision()
478 if (provision.getBinding() instanceof InstanceBinding) { in onProvision()
479 Class<? super T> expected = provision.getBinding().getKey().getRawType(); in onProvision()
[all …]
/external/guice/core/src/com/google/inject/internal/
DProvisionListenerStackCallback.java63 public T provision(Errors errors, InternalContext context, ProvisionCallback<T> callable) in provision() method in ProvisionListenerStackCallback
65 Provision provision = new Provision(errors, context, callable); in provision() local
68 provision.provision(); in provision()
73 if (provision.exceptionDuringProvision != null) { in provision()
74 throw provision.exceptionDuringProvision; in provision()
76 Object listener = provision.erredListener != null ? in provision()
77 provision.erredListener.getClass() : "(unknown)"; in provision()
83 return provision.result; in provision()
111 public T provision() { in provision() method in ProvisionListenerStackCallback.Provision
133 provision(); in provision()
DProviderInternalFactory.java61 return provision(provider, errors, dependency, constructionContext); in circularGet()
63 return provisionCallback.provision(errors, context, new ProvisionCallback<T>() { in circularGet()
65 return provision(provider, errors, dependency, constructionContext); in circularGet()
79 protected T provision(Provider<? extends T> provider, Errors errors, Dependency<?> dependency,
DConstructorInjector.java85 return provision(errors, context, constructionContext); in construct()
87 return provisionCallback.provision(errors, context, new ProvisionCallback<T>() { in construct()
89 return provision(errors, context, constructionContext); in construct()
99 private T provision(Errors errors, InternalContext context,
/external/autotest/server/control_segments/
Dreset4 from autotest_lib.server.cros import provision
30 provision.run_special_task_actions(job, target, labels_list,
31 provision.Cleanup)
34 provision.run_special_task_actions(job, target, labels_list,
35 provision.Verify)
39 # See the provision control segment for the explanation of why we're
Dprovision11 from autotest_lib.server.cros import provision
21 'chromeos/autotest/provision/label_update_durations')
47 job.record('START', None, 'provision')
52 provision.run_special_task_actions(job, host, labels_list,
53 provision.Provision)
57 # Don't fail while updating the labels, provision is flaky enough by
78 job.record('END FAIL', None, 'provision')
107 job.record('END GOOD', None, 'provision',
Dverify2 from autotest_lib.server.cros import provision
28 provision.run_special_task_actions(job, target, labels_list,
29 provision.Verify)
33 # See the provision control segment for the explanation of why we're
Drepair6 from autotest_lib.server.cros import provision
40 provision.run_special_task_actions(job, target, labels_list,
41 provision.Repair)
45 # See the provision control segment for the explanation of why we're
Dcleanup6 from autotest_lib.server.cros import provision
43 provision.run_special_task_actions(job, host, labels_list,
44 provision.Cleanup)
48 # See the provision control segment for the explanation of why we're
/external/autotest/test_suites/
Dcontrol.provision7 NAME = "provision"
26 from autotest_lib.server.cros import provision
31 args_dict['name'] = 'provision'
34 args_dict['version_prefix'] = provision.CROS_VERSION_PREFIX
/external/autotest/server/hosts/
Dhost_info.py11 from autotest_lib.server.cros import provision
42 provision.CROS_VERSION_PREFIX,
43 provision.CROS_ANDROID_VERSION_PREFIX,
44 provision.ANDROID_BUILD_VERSION_PREFIX,
45 provision.TESTBED_BUILD_VERSION_PREFIX,
/external/autotest/server/site_tests/provision_FirmwareUpdate/
Dcontrol11 TEST_CLASS = "provision"
15 This is a test used by the provision control segment in autoserv to set the
30 raise error.TestError("No provision value!")
Dcontrol.rw_only11 TEST_CLASS = "provision"
15 This is a test used by the provision control segment in autoserv to set the
30 raise error.TestError("No provision value!")
/external/autotest/server/site_tests/provision_AutoUpdate/
Dcontrol.double11 TEST_CLASS = 'provision'
22 This test is to ensure that we can provision out of a given build.
24 does the first-round provision by scheduling a provision special task
26 provision that verifies the auto-update actually works.
Dprovision_AutoUpdate.py15 from autotest_lib.server.cros import provision
63 if value.endswith(provision.CHEETS_SUFFIX):
64 image = re.sub(provision.CHEETS_SUFFIX + '$', '', value)
Dcontrol11 TEST_CLASS = "provision"
15 This is a test used by the provision control segment in autoserv to set the
52 raise error.TestError("No provision value!")
/external/autotest/server/site_tests/provision_AndroidUpdate/
Dcontrol11 TEST_CLASS = "provision"
15 This is a test used by the provision control segment in autoserv to set the
30 raise error.TestError("No provision value!")
/external/autotest/scheduler/
Drdb_lib.py11 from autotest_lib.server.cros import provision
48 if not provision.is_for_special_action(self._labels[dep].name):
50 elif provision.Provision.acts_on(self._labels[dep].name):
/external/autotest/server/site_tests/provision_TestbedUpdate/
Dcontrol11 TEST_CLASS = "provision"
15 This is a test used by the provision control segment in autoserv to set the
30 raise error.TestError("No provision value!")
/external/autotest/server/cros/dynamic_suite/
Ddynamic_suite.py18 from autotest_lib.server.cros import provision
211 provision.CROS_VERSION_PREFIX,
212 provision.CROS_ANDROID_VERSION_PREFIX,
213 provision.ANDROID_BUILD_VERSION_PREFIX,
382 if provision.ANDROID_BUILD_VERSION_PREFIX in self.builds:
416 provision.join(version_prefix, build)
Ddynamic_suite_unittest.py18 from autotest_lib.server.cros import provision
30 _BUILDS = {provision.CROS_VERSION_PREFIX: 'build_1',
31 provision.FW_RW_VERSION_PREFIX:'fwrw_build_1'}
/external/guice/core/src/com/google/inject/spi/
DProvisionListener.java50 <T> void onProvision(ProvisionInvocation<T> provision); in onProvision() argument
68 public abstract T provision(); in provision() method in ProvisionListener.ProvisionInvocation
/external/autotest/server/
Dautoserv407 provision = parser.options.provision
433 if provision and client:
437 provision or reset)
494 elif provision:
495 job.provision(job_labels)
540 if results and (repair or verify or reset or cleanup or provision):
723 parser.options.provision or parser.options.reset or
Dautoserv.py407 provision = parser.options.provision
433 if provision and client:
437 provision or reset)
494 elif provision:
495 job.provision(job_labels)
540 if results and (repair or verify or reset or cleanup or provision):
723 parser.options.provision or parser.options.reset or

12345678910>>...12