Home
last modified time | relevance | path

Searched refs:factory (Results 1 – 13 of 13) sorted by relevance

/tools/acloud/public/actions/
Dremote_instance_cf_device_factory_test.py123 factory = remote_instance_cf_device_factory.RemoteInstanceDeviceFactory(
127 self.assertEqual(factory._CreateGceInstance(), "ins-1234-userbuild-aosp-cf-x86-phone")
131 factory = remote_instance_cf_device_factory.RemoteInstanceDeviceFactory(
135 self.assertEqual(factory._CreateGceInstance(), "ins-1234-userbuild-fake-target")
139 factory = remote_instance_cf_device_factory.RemoteInstanceDeviceFactory(
143 self.assertEqual(factory._CreateGceInstance(), "ins-1234-userbuild-fake-target")
167 factory = remote_instance_cf_device_factory.RemoteInstanceDeviceFactory(
171 self.assertEqual(factory._InitRemotehost(), "host-1.1.1.1-userbuild-aosp_cf_x86_phone")
175 factory = remote_instance_cf_device_factory.RemoteInstanceDeviceFactory(
179 self.assertEqual(factory._InitRemotehost(), "host-1.1.1.1-userbuild-fake-target")
[all …]
Dremote_instance_fvp_device_factory_test.py72 factory = remote_instance_fvp_device_factory.RemoteInstanceDeviceFactory(
74 factory._ssh = ssh.Ssh(ip=fake_ip,
84 factory.CreateInstance()
92 factory._ssh.GetBaseCmd(constants.SSH_BIN)),
95 factory._ssh.GetBaseCmd(constants.SSH_BIN)),
98 factory._ssh.GetBaseCmd(constants.SCP_BIN)),
100 factory._ssh.GetBaseCmd(constants.SSH_BIN)),
103 factory._ssh.GetBaseCmd(constants.SCP_BIN)),
107 factory._ssh.GetBaseCmd(constants.SSH_BIN)),
/tools/treble/build/sandbox/
Dconfig_test.py87 cfg = config.factory(None)
94 cfg = config.factory(test_config.name)
111 cfg = config.factory(test_config.name)
140 cfg = config.factory(test_config.name)
166 cfg = config.factory(test_config.name)
191 cfg = config.factory(test_config.name)
251 cfg = config.factory(test_config.name)
277 cfg = config.factory(test_config.name)
292 cfg = config.factory(test_config.name)
Doverlay_test.py141 cfg=config.factory(test_config.name),
174 cfg=config.factory(test_config.name),
198 cfg=config.factory(test_config.name),
230 cfg=config.factory(test_config.name),
264 cfg=config.factory(test_config.name),
298 cfg=config.factory(test_config.name),
327 cfg=config.factory(test_config.name),
355 cfg=config.factory(test_config.name),
380 cfg=config.factory(test_config.name),
399 cfg=config.factory(test_config.name),
[all …]
Dconfig.py499 def factory(config_filename): function
Dnsjail.py116 cfg=config.factory(overlay_config),
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DXml.kt80 val factory = DocumentBuilderFactory.newInstance() in createDocumentBuilder() constant
81 factory.isNamespaceAware = namespaceAware in createDocumentBuilder()
82 factory.isValidating = false in createDocumentBuilder()
83 factory.setFeature(EXTERNAL_GENERAL_ENTITIES, false) in createDocumentBuilder()
84 factory.setFeature(EXTERNAL_PARAMETER_ENTITIES, false) in createDocumentBuilder()
85 factory.setFeature(LOAD_EXTERNAL_DTD, false) in createDocumentBuilder()
86 return factory.newDocumentBuilder() in createDocumentBuilder()
/tools/apksig/src/test/java/com/android/apksig/util/
DDataSourceFromRAFChunkTest.java42 public DataSourceFromRAFFactory factory; field in DataSourceFromRAFChunkTest
93 factory.create(f, 2, contents.length), in createDataSource()
DDataSourceFromRAFTest.java44 public DataSourceFromRAFFactory factory; field in DataSourceFromRAFTest
89 factory.create(f), in createDataSource()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiConstructorItem.kt138 val factory = JavaPsiFacade.getInstance(psiClass.project).elementFactory in createDefaultConstructor() constant
139 val psiMethod = factory.createConstructor(name, psiClass) in createDefaultConstructor()
DJavadoc.kt125 val factory = JavaPsiFacade.getElementFactory(psiElement.project) in mergeDocumentation() constant
127 val docComment = factory.createDocCommentFromText(doc) in mergeDocumentation()
/tools/asuite/asuite_plugin/src/java/com/android/atest/run/
DAtestRunConfiguration.java50 protected AtestRunConfiguration(Project project, ConfigurationFactory factory, String name) { in AtestRunConfiguration() argument
51 super(project, factory, name); in AtestRunConfiguration()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DExtraField.java173 SegmentFactory factory = identifySegmentFactory(headerId); in parseSegments() local
174 Segment seg = factory.make(headerId, data); in parseSegments()