Home
last modified time | relevance | path

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

12

/tools/acloud/public/actions/
Dremote_instance_cf_device_factory_test.py118 factory = remote_instance_cf_device_factory.RemoteInstanceDeviceFactory(
122 self.assertEqual(factory._CreateGceInstance(), "ins-1234-userbuild-aosp-cf-x86-phone")
126 factory = remote_instance_cf_device_factory.RemoteInstanceDeviceFactory(
130 self.assertEqual(factory._CreateGceInstance(), "ins-1234-userbuild-fake-target")
134 factory = remote_instance_cf_device_factory.RemoteInstanceDeviceFactory(
138 self.assertEqual(factory._CreateGceInstance(), "ins-1234-userbuild-fake-target")
160 factory = remote_instance_cf_device_factory.RemoteInstanceDeviceFactory(
164 self.assertEqual(factory._InitRemotehost(), "host-1.1.1.1-userbuild-aosp_cf_x86_phone")
168 factory = remote_instance_cf_device_factory.RemoteInstanceDeviceFactory(
172 self.assertEqual(factory._InitRemotehost(), "host-1.1.1.1-userbuild-fake-target")
[all …]
Dremote_instance_fvp_device_factory_test.py69 factory = remote_instance_fvp_device_factory.RemoteInstanceDeviceFactory(
71 factory._ssh = ssh.Ssh(ip=fake_ip,
81 factory.CreateInstance()
89 factory._ssh.GetBaseCmd(constants.SSH_BIN)),
92 factory._ssh.GetBaseCmd(constants.SSH_BIN)),
95 factory._ssh.GetBaseCmd(constants.SCP_BIN)),
97 factory._ssh.GetBaseCmd(constants.SSH_BIN)),
100 factory._ssh.GetBaseCmd(constants.SCP_BIN)),
104 factory._ssh.GetBaseCmd(constants.SSH_BIN)),
/tools/treble/build/sandbox/
Dconfig_test.py84 cfg = config.factory(None)
91 cfg = config.factory(test_config.name)
107 cfg = config.factory(test_config.name)
136 cfg = config.factory(test_config.name)
162 cfg = config.factory(test_config.name)
184 cfg = config.factory(test_config.name)
244 cfg = config.factory(test_config.name)
270 cfg = config.factory(test_config.name)
285 cfg = config.factory(test_config.name)
Doverlay_test.py97 cfg=config.factory(test_config.name),
130 cfg=config.factory(test_config.name),
154 cfg=config.factory(test_config.name),
186 cfg=config.factory(test_config.name),
218 cfg=config.factory(test_config.name),
247 cfg=config.factory(test_config.name),
275 cfg=config.factory(test_config.name),
300 cfg=config.factory(test_config.name),
Dconfig.py512 def factory(config_filename): function
Dnsjail.py114 cfg=config.factory(overlay_config),
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/
DMixImageZipPreparer.java433 private static void initStoredZipEntry(ZipEntry entry, InputStreamFactory factory) in initStoredZipEntry() argument
436 entry.setCompressedSize(factory.getSize()); in initStoredZipEntry()
437 entry.setSize(factory.getSize()); in initStoredZipEntry()
438 entry.setCrc(factory.getCrc32()); in initStoredZipEntry()
464 for (Map.Entry<String, ? extends InputStreamFactory> factory : factories.entrySet()) { in createZip()
465 ZipEntry entry = new ZipEntry(factory.getKey()); in createZip()
472 if (factory.getValue().getSize() != (1L << 32) - 1) { in createZip()
473 initStoredZipEntry(entry, factory.getValue()); in createZip()
478 new BufferedInputStream(factory.getValue().createInputStream())) { in createZip()
/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/tradefederation/core/global_configuration/com/android/tradefed/config/
DGlobalConfiguration.java570 public void setKeyStoreFactory(IKeyStoreFactory factory) { in setKeyStoreFactory() argument
571 setConfigurationObjectNoThrow(KEY_STORE_TYPE_NAME, factory); in setKeyStoreFactory()
603 public void setSandboxFactory(ISandboxFactory factory) { in setSandboxFactory() argument
604 setConfigurationObjectNoThrow(SANDBOX_FACTORY_TYPE_NAME, factory); in setSandboxFactory()
DIGlobalConfiguration.java249 public void setSandboxFactory(ISandboxFactory factory); in setSandboxFactory() argument
256 public void setKeyStoreFactory(IKeyStoreFactory factory); in setKeyStoreFactory() argument
/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.kt141 val factory = JavaPsiFacade.getInstance(psiClass.project).elementFactory in <lambda>() constant
142 val psiMethod = factory.createConstructor(name, psiClass) in <lambda>()
DJavadoc.kt125 val factory = JavaPsiFacade.getElementFactory(psiElement.project) in mergeDocumentation() constant
127 val docComment = factory.createDocCommentFromText(doc) in mergeDocumentation()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DSubprocessConfigBuilder.java110 final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); in build() local
113 final DocumentBuilder builder = factory.newDocumentBuilder(); in build()
/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/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxConfigDump.java85 SandboxConfigurationFactory factory = SandboxConfigurationFactory.getInstance(); in parse() local
89 factory.createConfigurationFromArgs(argList.toArray(new String[0]), cmd); in parse()
DTradefedSandbox.java461 IConfigurationFactory factory = ConfigurationFactory.getInstance(); in dumpGlobalConfig() local
463 factory.createGlobalConfigurationFromArgs( in dumpGlobalConfig()
/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()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/
DRetryRescheduler.java222 void setConfigurationFactory(IConfigurationFactory factory) { in setConfigurationFactory() argument
223 mFactory = factory; in setConfigurationFactory()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraPerformanceTest.java441 XmlPullParserFactory factory = XmlPullParserFactory.newInstance(); in parse() local
442 XmlPullParser parser = factory.newPullParser(); in parse()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java470 XmlPullParserFactory factory = XmlPullParserFactory.newInstance(); in parseResults() local
471 XmlPullParser parser = factory.newPullParser(); in parseResults()
/tools/tradefederation/core/src/com/android/tradefed/command/
DConsole.java245 void setKeyStoreFactory(IKeyStoreFactory factory) { in setKeyStoreFactory() argument
246 mKeyStoreFactory = factory; in setKeyStoreFactory()
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java234 HttpRequestFactory factory =
237 return factory.buildRequest("GET", new GenericUrl("http://example.com"), null).execute();
/tools/dexter/testdata/expected/
Dlarge.rewrite7534 .params "name", "mode", "factory"
7547 .params "name", "mode", "factory", "errorHandler"
163832 .params "name", "mode", "factory"
163845 .params "name", "mode", "factory", "errorHandler"
446454 .params "context", "name", "factory", "version"
446472 .params "context", "name", "factory", "version", "errorHandler"
538684 ….local_ex v1, "factory", android.content.res.ConstantState, "Landroid/content/res/ConstantState<La…
538990 ….local_ex v2, "factory", android.content.res.ConstantState, "Landroid/content/res/ConstantState<La…
565255 .params "factory"
565819 .params "path", "factory", "flags"
[all …]

12