Home
last modified time | relevance | path

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

12345678

/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(
66 create._CheckForAutoconnect(args)
73 create._CheckForAutoconnect(args)
78 create._CheckForAutoconnect(args)
100 create._CheckForSetup(args)
110 create._CheckForSetup(args)
[all …]
Dlocal_image_remote_host.py22 from acloud.create import base_avd_create
23 from acloud.create import create_common
Dlocal_image_remote_instance.py21 from acloud.create import create_common
22 from acloud.create import base_avd_create
/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 …]
DKeyguardControllerStateTest.java37 KeyguardControllerState state = KeyguardControllerState.create(testOutput); in testCreate_invalidOutput()
51 KeyguardControllerState state = KeyguardControllerState.create(testOutput); in testCreate()
/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_client_test.py40 iperf_client.create([{'AndroidDevice': 'foo'}])[0],
47 iperf_client.create([{'ssh_config': {'user': '', 'host': ''}}])[0],
54 iperf_client.create([{}])[0],
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/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/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 …]
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DMultiFailureDescriptionTest.java32 FailureDescription failure1 = FailureDescription.create("error message 1"); in testCreation()
33 FailureDescription failure2 = FailureDescription.create("error message 2"); in testCreation()
43 FailureDescription failure1 = FailureDescription.create("error message 1"); in testCreation_nested()
44 FailureDescription failure2 = FailureDescription.create("error message 2"); in testCreation_nested()
/tools/test/connectivity/acts/framework/tests/libs/ota/ota_tools/
Dota_tool_factory_test.py34 ret = ota_tool_factory.create(MockOtaTool.__name__, 'command')
41 ota_tool_factory.create(MockOtaTool.__name__, 'command')
47 ret_a = ota_tool_factory.create(MockOtaTool.__name__, 'command')
48 ret_b = ota_tool_factory.create(MockOtaTool.__name__, 'command')
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiParameterItem.kt186 fun create( in create() method
208 fun create( in create() method
218 modifiers = PsiModifierItem.create(codebase, original.modifiers), in create()
219 type = PsiTypeItem.create(codebase, original.type) in create()
225 fun create( in create() method
229 return original.map { create(codebase, it as PsiParameterItem) } in create()
DPsiPackageItem.kt135 …fun create(codebase: PsiBasedCodebase, psiPackage: PsiPackage, extraDocs: String?): PsiPackageItem… in create() method
155 fun create(codebase: PsiBasedCodebase, original: PsiPackageItem): PsiPackageItem { in create() method
161 modifiers = PsiModifierItem.create(codebase, original.modifiers) in create()
DPsiTypeParameterItem.kt57 … refs.mapNotNull { PsiTypeItem.create(codebase, it).asClass() }.filter { !it.isJavaLangObject() } in finishInitialization()
64 fun create(codebase: PsiBasedCodebase, psiClass: PsiTypeParameter): PsiTypeParameterItem { in create() method
/tools/acloud/
DREADME.md5 Acloud is a command line tool that assists users to create an Android Virtual
40 * [create](#create)
47 #### **create**
62 > $ acloud create
66 > $ acloud create --local-image [optional local-image-path]
71 > $ acloud create --local-instance
75 > $ acloud create --local-instance --local-image
90 Additional helpful create options are:
114 > $ acloud create --help
199 create a remote or local instance. It will automatically get invoked through
[all …]
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_runners/
Dota_runner_factory.py98 return create(ota_package, ota_sl4a, android_device, ota_tool_class_name,
102 def create(ota_package, function
123 ota_tool = ota_tool_factory.create(ota_tool_class_name, command)
/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/src/com/android/tradefed/testtype/
DDeviceBatteryLevelChecker.java137 FailureDescription failure = FailureDescription.create(e.getMessage()).setCause(e); in run()
147 FailureDescription.create("No battery charge information"); in run()
175 FailureDescription.create("Failed to determine battery level")); in runTest()
262 test, FailureDescription.create("Failed to read battery level")); in runBatteryCharging()
284 FailureDescription.create( in checkChargingSpeed()
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/
DFailureDescription.java155 public static FailureDescription create(String errorMessage) { in create() method in FailureDescription
156 return create(errorMessage, null); in create()
166 public static FailureDescription create( in create() method in FailureDescription
/tools/test/connectivity/acts/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/acloud/internal/script/
Dcreate_extradisk.sh20 gcloud compute disks create "${DISK_NAME}" --zone=${ZONE} --project=${PROJECT} --size="${1}GB"
29 gcloud compute images create "${IMAGE_NAME}" --source-disk-zone=${ZONE} --source-disk "${DISK_NAME}…
/tools/metalava/
Dbuild.gradle.kts150 return configurations.findByName("ktlint") ?: configurations.create("ktlint") { in Project()
151 val dependency = project.dependencies.create("com.pinterest:ktlint:0.33.0") in Project()
177 create<MavenPublication>(libraryName) { in <lambda>()
/tools/asuite/atest/docs/
Ddevelop_test_finders.md3 Learn about test finders and how to create a new test finder class.
20 **When should I create a new test finder class?**
23 that is the right time to create a new class. Metadata can be anything like
42 create a list of find methods that ```test_finder_handler``` will use to collect

12345678