Home
last modified time | relevance | path

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

12345

/external/autotest/server/cros/
Dprovision_unittest.py9 from autotest_lib.server.cros import provision
28 got = provision._get_label_action('cros-version:foo')
29 self.assertEqual(got, provision._Action('cros-version', 'foo'))
32 got = provision._get_label_action('webcam')
33 self.assertEqual(got, provision._Action('webcam', None))
36 got = provision._get_label_action('')
37 self.assertEqual(got, provision._Action('', None))
45 prefix = provision.get_version_label_prefix(v)
50 self._do_test_prefixes(provision.CROS_VERSION_PREFIX,
55 self._do_test_prefixes(provision.CROS_ANDROID_VERSION_PREFIX,
/external/guice/core/src/com/google/inject/internal/
DProvisionListenerStackCallback.java61 public T provision(InternalContext context, ProvisionCallback<T> callable) in provision() method in ProvisionListenerStackCallback
63 Provision provision = new Provision(context, callable); in provision() local
66 provision.provision(); in provision()
71 if (provision.exceptionDuringProvision != null) { in provision()
72 throw provision.exceptionDuringProvision; in provision()
75 provision.erredListener != null ? provision.erredListener.getClass() : "(unknown)"; in provision()
83 return provision.result; in provision()
108 public T provision() { in provision() method in ProvisionListenerStackCallback.Provision
127 provision(); in provision()
DProviderInternalFactory.java59 return provision(provider, dependency, constructionContext); in circularGet()
61 return provisionCallback.provision( in circularGet()
66 return provision(provider, dependency, constructionContext); in circularGet()
80 protected T provision(
DInternalProviderInstanceBindingImpl.java115 return provisionCallback.provision( in get()
162 return provision(dependency, context, constructionContext);
164 return provisionCallback.provision(
169 return provision(dependency, context, constructionContext);
179 private T provision(
DConstructorInjector.java91 return provision(context, constructionContext); in construct()
93 return provisionCallback.provision( in construct()
98 return provision(context, constructionContext); in construct()
108 private T provision(InternalContext context, ConstructionContext<T> constructionContext)
DInternalFactoryToInitializableAdapter.java51 protected T provision( in provision() method in InternalFactoryToInitializableAdapter
57 return super.provision(provider, dependency, constructionContext); in provision()
/external/guice/core/test/com/google/inject/
DProvisionListenerTest.java475 public <T> void onProvision(ProvisionInvocation<T> provision) { in testCallingBindingDotGetProviderDotGet()
476 provision.getBinding().getProvider().get(); // AGH! in testCallingBindingDotGetProviderDotGet()
549 public <T> void onProvision(ProvisionInvocation<T> provision) { in onProvision() argument
560 public <T> void onProvision(ProvisionInvocation<T> provision) { in onProvision() argument
563 provision.provision(); in onProvision()
576 public <T> void onProvision(ProvisionInvocation<T> provision) { in onProvision() argument
577 keys.add(provision.getBinding().getKey()); in onProvision()
578 T provisioned = provision.provision(); in onProvision()
583 if (provision.getBinding() instanceof InstanceBinding) { in onProvision()
584 Class<? super T> expected = provision.getBinding().getKey().getRawType(); in onProvision()
[all …]
/external/autotest/server/cros/dynamic_suite/
Dsuite_common.py22 from autotest_lib.server.cros import provision
59 build_prefix = provision.get_version_label_prefix(options.build)
63 builds[provision.CROS_ANDROID_VERSION_PREFIX] = options.cheets_build
64 if build_prefix == provision.CROS_VERSION_PREFIX:
65 builds[build_prefix] += provision.CHEETS_SUFFIX
68 builds[provision.FW_RW_VERSION_PREFIX] = options.firmware_rw_build
71 builds[provision.FW_RO_VERSION_PREFIX] = options.firmware_ro_build
97 cros_build = builds.get(provision.CROS_VERSION_PREFIX, None)
98 if cros_build.endswith(provision.CHEETS_SUFFIX):
100 provision.CHEETS_SUFFIX + '$', '', cros_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/autotest/server/control_segments/
Dreset4 from autotest_lib.server.cros import provision
30 provision.Cleanup.run_task_actions(job, target, labels_list)
33 provision.Verify.run_task_actions(job, target, labels_list)
37 # 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.Provision.run_task_actions(job, host, labels_list)
56 # Don't fail while updating the labels, provision is flaky enough by
74 job.record('END FAIL', None, 'provision')
103 job.record('END GOOD', None, 'provision',
Dverify2 from autotest_lib.server.cros import provision
28 provision.Verify.run_task_actions(job, target, labels_list)
32 # See the provision control segment for the explanation of why we're
Dcleanup6 from autotest_lib.server.cros import provision
43 provision.Cleanup.run_task_actions(job, host, labels_list)
47 # See the provision control segment for the explanation of why we're
/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.
Dcontrol11 TEST_CLASS = "provision"
15 This is a test used by the provision control segment in autoserv to set the
51 raise error.TestError("No provision value!")
Dprovision_AutoUpdate.py18 from autotest_lib.server.cros import provision
129 if value.endswith(provision.CHEETS_SUFFIX):
130 image = re.sub(provision.CHEETS_SUFFIX + '$', '', 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/guice/core/src/com/google/inject/spi/
DProvisionListener.java46 <T> void onProvision(ProvisionInvocation<T> provision); in onProvision() argument
64 public abstract T provision(); in provision() method in ProvisionListener.ProvisionInvocation
/external/autotest/venv/skylab_suite/
Dcros_suite.py320 provision = autotest.load('server.cros.provision')
321 return self.builds.get(provision.CROS_VERSION_PREFIX,
326 provision = autotest.load('server.cros.provision')
338 if prefix == provision.FW_RW_VERSION_PREFIX:
340 elif prefix == provision.FW_RO_VERSION_PREFIX:
/external/autotest/test_suites/
Dcontrol.ent-wificell19 from autotest_lib.server.cros import provision
25 args_dict['version_prefix'] = provision.CROS_VERSION_PREFIX
/external/autotest/server/
Dautoserv442 provision = parser.options.provision
463 if provision and client:
467 provision or reset)
555 elif provision:
556 job.provision(job_labels)
599 if results and (repair or verify or reset or cleanup or provision):
774 parser.options.provision or parser.options.reset or
Dautoserv.py442 provision = parser.options.provision
463 if provision and client:
467 provision or reset)
555 elif provision:
556 job.provision(job_labels)
599 if results and (repair or verify or reset or cleanup or provision):
774 parser.options.provision or parser.options.reset or
/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,

12345