Home
last modified time | relevance | path

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

/tools/acloud/public/actions/
Dremote_instance_cf_device_factory_test.py115 factory = remote_instance_cf_device_factory.RemoteInstanceDeviceFactory(
119 self.assertEqual(factory._CreateGceInstance(), "ins-1234-userbuild-aosp-cf-x86-phone")
123 factory = remote_instance_cf_device_factory.RemoteInstanceDeviceFactory(
127 self.assertEqual(factory._CreateGceInstance(), "ins-1234-userbuild-fake-target")
131 factory = remote_instance_cf_device_factory.RemoteInstanceDeviceFactory(
135 self.assertEqual(factory._CreateGceInstance(), "ins-1234-userbuild-fake-target")
157 factory = remote_instance_cf_device_factory.RemoteInstanceDeviceFactory(
161 self.assertEqual(factory._InitRemotehost(), "host-1.1.1.1-userbuild-aosp_cf_x86_phone")
165 factory = remote_instance_cf_device_factory.RemoteInstanceDeviceFactory(
169 self.assertEqual(factory._InitRemotehost(), "host-1.1.1.1-userbuild-fake-target")
[all …]
/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/test_framework/com/android/tradefed/targetprep/multi/
DMixImageZipPreparer.java429 private static void initStoredZipEntry(ZipEntry entry, InputStreamFactory factory) in initStoredZipEntry() argument
432 entry.setCompressedSize(factory.getSize()); in initStoredZipEntry()
433 entry.setSize(factory.getSize()); in initStoredZipEntry()
434 entry.setCrc(factory.getCrc32()); in initStoredZipEntry()
460 for (Map.Entry<String, ? extends InputStreamFactory> factory : factories.entrySet()) { in createZip()
461 ZipEntry entry = new ZipEntry(factory.getKey()); in createZip()
468 if (factory.getValue().getSize() != (1L << 32) - 1) { in createZip()
469 initStoredZipEntry(entry, factory.getValue()); in createZip()
474 new BufferedInputStream(factory.getValue().createInputStream())) { in createZip()
/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/tradefederation/core/global_configuration/com/android/tradefed/config/
DIGlobalConfiguration.java249 public void setSandboxFactory(ISandboxFactory factory); in setSandboxFactory() argument
256 public void setKeyStoreFactory(IKeyStoreFactory factory); in setKeyStoreFactory() argument
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()
/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>()
/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()
/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()
/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.java442 XmlPullParserFactory factory = XmlPullParserFactory.newInstance(); in parse() local
443 XmlPullParser parser = factory.newPullParser(); in parse()
/tools/asuite/asuite_plugin/prebuilt/
Dasuite_plugin-1.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/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/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/tests/src/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java234 HttpRequestFactory factory =
237 return factory.buildRequest("GET", new GenericUrl("http://example.com"), null).execute();
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...