Home
last modified time | relevance | path

Searched refs:create (Results 1 – 25 of 227) sorted by relevance

12345678910

/tools/acloud/create/
Dcreate_test.py22 from acloud.create import avd_spec
23 from acloud.create import create
24 from acloud.create import gce_local_image_remote_instance
45 create.GetAvdCreatorClass(avd_type, ins_type, image_source)
48 avd_creator_class = create.GetAvdCreatorClass(
67 create._CheckForAutoconnect(args)
74 create._CheckForAutoconnect(args)
79 create._CheckForAutoconnect(args)
101 create._CheckForSetup(args)
111 create._CheckForSetup(args)
[all …]
Dcreate.py30 from acloud.create import avd_spec
31 from acloud.create import cheeps_remote_image_remote_instance
32 from acloud.create import gce_local_image_remote_instance
33 from acloud.create import gce_remote_image_remote_instance
34 from acloud.create import goldfish_local_image_local_instance
35 from acloud.create import goldfish_remote_image_remote_instance
36 from acloud.create import local_image_local_instance
37 from acloud.create import local_image_remote_instance
38 from acloud.create import local_image_remote_host
39 from acloud.create import remote_image_remote_instance
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/retry/
DBaseRetryDecisionTest.java122 TestRunResult result = createResult(null, FailureDescription.create("failure2")); in testShouldRetry_failure()
133 FailureDescription.create("failure"), in testShouldRetry_failure_nonRetriable()
134 FailureDescription.create("failure2").setRetriable(false)); in testShouldRetry_failure_nonRetriable()
145 TestRunResult result = createResult(null, FailureDescription.create("failure2")); in testShouldRetry_success()
158 TestRunResult result = createResult(null, FailureDescription.create("failure2")); in testShouldRetry_morefailure()
164 TestRunResult result2 = createResult(FailureDescription.create("failure"), null); in testShouldRetry_morefailure()
171 FailureDescription failure = FailureDescription.create("run failure"); in testShouldRetry_runFailure()
181 FailureDescription failure = FailureDescription.create("run failure"); in testShouldRetry_runFailure_nonRetriable()
185 FailureDescription failure2 = FailureDescription.create("run failure2"); in testShouldRetry_runFailure_nonRetriable()
197 FailureDescription failure = FailureDescription.create("run failure"); in testShouldRetry_multi_runFailure_nonRetriable()
[all …]
DResultAggregatorTest.java128 mDetailedListener.testFailed(test2, FailureDescription.create("I failed. retry me.")); in testForwarding()
191 mAggregator.testFailed(test2, FailureDescription.create("I failed. retry me.")); in testForwarding()
221 FailureDescription.create("run fail"), in testForwarding_runFailure()
222 FailureDescription.create("run fail 2")); in testForwarding_runFailure()
345 mDetailedListener.testRunFailed(EasyMock.eq(FailureDescription.create("run fail"))); in testForwarding_runFailure_noRerun()
357 mAggListener.testFailed(test2, FailureDescription.create("I failed. retry me.")); in testForwarding_runFailure_noRerun()
362 mAggListener.testRunFailed(EasyMock.eq(FailureDescription.create("run fail"))); in testForwarding_runFailure_noRerun()
441 mDetailedListener.testRunFailed(EasyMock.eq(FailureDescription.create("run fail"))); in testForwarding_runFailure_aggregation()
456 FailureDescription.create("I failed. retry me."), in testForwarding_runFailure_aggregation()
457 FailureDescription.create("I failed. retry me."))); in testForwarding_runFailure_aggregation()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt168 return PsiTypeItem.create(codebase, codebase.getClassType(psiClass)) in <lambda>()
242 val type = PsiTypeItem.create(codebase, extendsListTypes[0]) in <lambda>()
248 this.superClassType = PsiTypeItem.create(codebase, superType) in <lambda>()
260 val create: (PsiClassType) -> PsiTypeItem = { in <lambda>() constant
261 val type = PsiTypeItem.create(codebase, it) in <lambda>()
265 (1 until extendsListTypes.size).mapTo(result) { create(extendsListTypes[it]) } in <lambda>()
266 interfaces.mapTo(result) { create(it) } in <lambda>()
341 newMethod = PsiMethodItem.create(codebase, this, method) in <lambda>()
345 newMethod = PsiMethodItem.create(codebase, this, psiMethod) in <lambda>()
412 fun create(codebase: PsiBasedCodebase, psiClass: PsiClass): PsiClassItem { in <lambda>() method
[all …]
DPsiModifierItem.kt52 …fun create(codebase: PsiBasedCodebase, element: PsiModifierListOwner, documentation: String?): Psi… in create() method
55 create(codebase, element, element) in create()
57 create(codebase, element) in create()
171 … private fun create(codebase: PsiBasedCodebase, element: PsiModifierListOwner): PsiModifierItem { in create() method
196 PsiAnnotationItem.create(codebase, it, qualifiedName) in create()
202 private fun create( in create() method
215 … psiAnnotations.map { PsiAnnotationItem.create(codebase, it) }.toMutableList() in create()
240 UAnnotationItem.create(codebase, it, qualifiedName) in create()
248 annotations.add(PsiAnnotationItem.create(codebase, it)) in create()
272 fun create(codebase: PsiBasedCodebase, original: PsiModifierItem): PsiModifierItem { in create() method
[all …]
DPsiMethodItem.kt245 val duplicated = create(codebase, targetContainingClass as PsiClassItem, psiMethod) in <lambda>()
350 fun create( in <lambda>() method
369 PsiParameterItem.create(codebase, parameter, index) in <lambda>()
373 PsiParameterItem.create(codebase, parameter, index) in <lambda>()
403 fun create( in <lambda>() method
414 modifiers = PsiModifierItem.create(codebase, original.modifiers), in <lambda>()
415 returnType = PsiTypeItem.create(codebase, original.returnType), in <lambda>()
416 parameters = PsiParameterItem.create(codebase, original.parameters()) in <lambda>()
DPsiBasedCodebase.kt300 val packageItem = PsiPackageItem.create(this, psiPackage, packageHtml) in <lambda>()
455 val classItem = PsiClassItem.create(this, clz) in <lambda>()
603 return PsiTypeItem.create(this, psiType) in <lambda>()
607 return PsiTypeItem.create(this, getFactory().createType(psiClass)) in <lambda>()
649 val extra = PsiMethodItem.create(this, cls, updatedMethod) in <lambda>()
710 …val provider = TypeAnnotationProvider.Static.create(arrayOf(createPsiAnnotation("@$ANDROIDX_NONNUL… in <lambda>()
719 …val provider = TypeAnnotationProvider.Static.create(arrayOf(createPsiAnnotation("@$ANDROIDX_NULLAB… in <lambda>()
731 return PsiAnnotationItem.create(this, psiAnnotation) in <lambda>()
DPsiParameterItem.kt184 fun create( in create() method
206 fun create( in create() method
216 modifiers = PsiModifierItem.create(codebase, original.modifiers), in create()
217 type = PsiTypeItem.create(codebase, original.type) in create()
223 fun create( in create() method
227 return original.map { create(codebase, it as PsiParameterItem) } in create()
DPsiAnnotationItem.kt115 …fun create(codebase: PsiBasedCodebase, psiAnnotation: PsiAnnotation, qualifiedName: String? = psiA… in <lambda>() method
119 fun create(codebase: PsiBasedCodebase, original: PsiAnnotationItem): PsiAnnotationItem { in <lambda>() method
125 fun create( in <lambda>() method
290 override val value: AnnotationAttributeValue = PsiAnnotationValue.create(
297 … fun create(codebase: PsiBasedCodebase, value: PsiAnnotationMemberValue): PsiAnnotationValue { in create() method
347 create(codebase, it) in <lambda>()
DUAnnotationItem.kt114 …fun create(codebase: PsiBasedCodebase, uAnnotation: UAnnotation, qualifiedName: String? = uAnnotat… in <lambda>() method
118 fun create(codebase: PsiBasedCodebase, original: UAnnotationItem): UAnnotationItem { in <lambda>() method
280 override val value: AnnotationAttributeValue = UAnnotationValue.create(
287 fun create(codebase: PsiBasedCodebase, value: UExpression): UAnnotationValue { in create() method
345 create(codebase, it) in <lambda>()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DPairTest.java27 Pair<Object, Object> p1 = Pair.create(obj1, obj1); in testPairs()
36 p1 = Pair.create(null, null); in testPairs()
37 p2 = Pair.create(null, null); in testPairs()
44 p1 = Pair.create(null, new Object()); in testPairs()
45 p2 = Pair.create(null, new Object()); in testPairs()
49 p1 = Pair.create(null, obj1); in testPairs()
50 p2 = Pair.create(null, obj1); in testPairs()
55 p1 = Pair.create(obj1, obj2); in testPairs()
56 p2 = Pair.create(obj1, obj2); in testPairs()
59 Pair<String, String> p3 = Pair.create(new String("abc"), new String("2.4")); in testPairs()
[all …]
/tools/acloud/
DREADME.md5 Acloud is a command line tool that assists users to create an Android Virtual
40 * [create](#create)
47 #### **create**
60 > $ acloud create
64 > $ acloud create --local-image [optional local-image-path]
69 > $ acloud create --local-instance
73 > $ acloud create --local-instance --local-image
88 Additional helpful create options are:
112 > $ acloud create --help
197 create a remote or local instance. It will automatically get invoked through
[all …]
/tools/tradefederation/core/tests/res/testtype/
Dpython_output2.txt40 testParseHWPropertyStr (create.create_common_test.CreateCommonTest)
42 testProcessHWPropertyWithInvalidArgs (create.create_common_test.CreateCommonTest)
44 testGetBranchFromRepo (create.avd_spec_test.AvdSpecTest)
46 testGetBuildTarget (create.avd_spec_test.AvdSpecTest)
48 testParseHWPropertyStr (create.avd_spec_test.AvdSpecTest)
50 testProcessHWPropertyWithInvalidArgs (create.avd_spec_test.AvdSpecTest)
52 testProcessImageArgs (create.avd_spec_test.AvdSpecTest)
54 testProcessLocalImageArgs (create.avd_spec_test.AvdSpecTest)
165 Test create a temp dir and encoutered error during deletion. ... ok
167 Test create a temp dir and dir no longer exists during deletion. ... ok
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/
DProtoResultParserTest.java161 mMockListener.testFailed(test2, FailureDescription.create("I failed")); in testEvents()
252 FailureDescription.create(failure.getMessage()) in testEvents_invocationFailure()
294 FailureDescription.create(failure.getMessage()) in testEvents_invocationFailure_errorNotSet()
338 mMockListener.testRunFailed(FailureDescription.create("run failure")); in testRunFail_interleavedWithTest()
380 mMockListener.testFailed(test2, FailureDescription.create("I failed")); in testEvents_finaleProto()
434 mMockListener.testRunFailed(FailureDescription.create("run failure")); in testRunFail_interleavedWithTest_finalProto()
471 FailureDescription.create("run failure") in testRunFail_failureDescription()
488 FailureDescription.create("run failure") in testRunFail_failureDescription()
517 mMockListener.testRunFailed(FailureDescription.create("run failure")); in testRun_withAttempts()
573 mMockListener.testFailed(test2, FailureDescription.create("I failed")); in testEvents_subprocess()
[all …]
/tools/test/connectivity/acts/framework/tests/libs/ota/ota_runners/
Dota_runner_factory_test.py104 ota_runner_factory.create('ota_package', ['ota_sl4a'],
110 ota_runner_factory.create({
116 ret = ota_runner_factory.create('', '', self.device)
121 ret = ota_runner_factory.create([], [], self.device)
126 first_return = ota_runner_factory.create([], [], self.device)
128 second_return = ota_runner_factory.create([], [], self.device)
134 first_return = ota_runner_factory.create(
136 second_return = ota_runner_factory.create(
/tools/apksig/src/test/java/com/android/apksig/util/
DDataSourceFromRAFFactory.java23 @Override DataSource create(RandomAccessFile file) { in create() method
27 @Override DataSource create(RandomAccessFile file, long offset, long size) { in create() method
32 @Override DataSource create(RandomAccessFile file) { in create() method
36 @Override DataSource create(RandomAccessFile file, long offset, long size) { in create() method
41 abstract DataSource create(RandomAccessFile file); in create() method in DataSourceFromRAFFactory
42 abstract DataSource create(RandomAccessFile file, long offset, long size); in create() method in DataSourceFromRAFFactory
/tools/test/connectivity/acts/framework/tests/controllers/
Dmonsoon_test.py31 monsoons = monsoon.create([12345])
35 monsoons = monsoon.create([{'type': 'LvpmStockMonsoon', 'serial': 10}])
40 monsoons = monsoon.create([23456])
44 monsoons = monsoon.create([{'type': 'HvpmMonsoon', 'serial': 10}])
50 monsoon.create([{'type': 'UNKNOWN', 'serial': 10}])
54 monsoon.create([{'type': 'LvpmStockMonsoon'}])
Diperf_server_test.py41 iperf_server.create([12345])[0],
48 iperf_server.create(['12345'])[0],
55 iperf_server.create(['12345BAD_STRING'])
60 iperf_server.create([{'ssh_config': {'user': '', 'host': ''},
68 iperf_server.create([{'AndroidDevice': '53R147', 'port': 0}])[0],
75 iperf_server.create([{'AndroidDevice': '53R147', 'ssh_config': {}}])
/tools/metalava/src/main/java/com/android/tools/metalava/
DAnnotationsMerger.kt298 val annotationItem = PsiAnnotationItem.create(codebase, annotation) in mergeQualifierAnnotationsFromCodebase()
577 return PsiAnnotationItem.create( in createAnnotation()
660 return PsiAnnotationItem.create( in createAnnotation()
695 return PsiAnnotationItem.create( in createAnnotation()
709 PsiAnnotationItem.create( in createAnnotation()
719 PsiAnnotationItem.create( in createAnnotation()
746 … return PsiAnnotationItem.create(codebase, XmlBackedAnnotationItem(codebase, name, attributes)) in createAnnotation()
781 override val value: AnnotationAttributeValue = DefaultAnnotationValue.create(valueLiteral)
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DInstrumentationTestTest.java402 FailureDescription.create( in testRun_betterFailure()
467 FailureDescription.create(RUN_ERROR_MSG, FailureStatus.TEST_FAILURE)); in testRun_rerun()
522 FailureDescription.create( in testRun_duplicate()
710 FailureDescription.create(RUN_ERROR_MSG, FailureStatus.TEST_FAILURE)); in testRun_rerunCoverage()
819 FailureDescription.create(RUN_ERROR_MSG, FailureStatus.TEST_FAILURE)); in testRun_rebootBeforeReRun()
885 FailureDescription.create(RUN_ERROR_MSG, FailureStatus.TEST_FAILURE)); in testRun_resume()
1019 FailureDescription.create( in testCollectWorks_RunCrash()
1078 FailureDescription.create("Instrumentation run failed due to 'Process crashed.'"); in testRun_noMoreTests()
1083 FailureDescription.create( in testRun_noMoreTests()
/tools/test/connectivity/acts_tests/tests/google/bt/pts/instructions/
DMCAP_PTS_INSTRUCTIONS57 Save handle from create mdep
79 Save handle from create mdep
159 [PTS Interaction] Bring device out of range to create link loss
169 [PTS Interaction] Bring device out of range to create link loss
287 Save handle from create mdep
303 Save handle from create mdep
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DDeviceBatteryLevelChecker.java138 FailureDescription.create(e.getMessage()) in run()
154 FailureDescription.create("No battery charge information"); in run()
182 FailureDescription.create("Failed to determine battery level")); in runTest()
269 test, FailureDescription.create("Failed to read battery level")); in runBatteryCharging()
291 FailureDescription.create( in checkChargingSpeed()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/
DExecutableHostTestTest.java103 FailureDescription.create( in testRunHostExecutable_doesNotExists()
204 FailureDescription.create( in testRunHostExecutable_dnae()
274 FailureDescription.create( in testRunHostExecutable_notFound()
325 FailureDescription.create("stdout\nExit Code: 5") in testRunHostExecutable_failure()
371 FailureDescription.create("stdout\nTimeout.\nExit Code: 5") in testRunHostExecutable_timeout()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DAnnotationItem.kt739 fun create(name: String, value: String): DefaultAnnotationAttribute { in create() method
740 return DefaultAnnotationAttribute(name, DefaultAnnotationValue.create(value)) in create()
806 list.add(DefaultAnnotationAttribute.create(name, value)) in addAttribute()
817 fun create(value: String): DefaultAnnotationValue { in create() method
860 DefaultAnnotationValue.create(it.trim()) in <lambda>()

12345678910