Home
last modified time | relevance | path

Searched refs:newInstance (Results 1 – 25 of 52) sorted by relevance

123

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSimplePerfUtilTest.java45 spu = SimplePerfUtil.newInstance(mockDevice, SimplePerfType.STAT); in testCommandStringPreparerWithoutParams()
52 spu = SimplePerfUtil.newInstance(mockDevice, SimplePerfType.RECORD); in testCommandStringPreparerWithParams()
66 spu = SimplePerfUtil.newInstance(mockDevice, SimplePerfType.LIST); in testCommandStringPreparerWithNullCommand()
73 spu = SimplePerfUtil.newInstance(null, SimplePerfType.STAT); in testConstructorWithNullParameter()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostTest.java930 cl = URLClassLoader.newInstance(urls); in getClasses()
961 cl = URLClassLoader.newInstance(urls); in getClasses()
1043 Object testObj = classObj.getDeclaredConstructor().newInstance(); in loadObject()
1301 test = this.getClass().getDeclaredConstructor().newInstance(); in createHostTest()
DGTestXmlResultParser.java92 DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); in parseResult()
/tools/platform-compat/java/android/processor/compat/changeid/
DXmlWriter.java113 TransformerFactory transformerFactory = TransformerFactory.newInstance(); in write()
127 DocumentBuilderFactory documentFactory = DocumentBuilderFactory.newInstance(); in createDocument()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DSubprocessConfigBuilder.java110 final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); in build()
147 TransformerFactory transformerFactory = TransformerFactory.newInstance(); in build()
/tools/apksig/src/apksigner/java/com/android/apksigner/
DSignerParams.java215 .newInstance(keystoreProviderArg); in loadPrivateKeyAndCertsFromKeyStore()
218 ksProvider = (Provider) ksProviderClass.getConstructor().newInstance(); in loadPrivateKeyAndCertsFromKeyStore()
DApkSignerTool.java989 .newInstance(constructorParam); in installProvider()
992 provider = (Provider) providerClass.getConstructor().newInstance(); in installProvider()
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1BerParser.java177 obj = containerClass.getConstructor().newInstance(); in parseChoice()
223 t = containerClass.getConstructor().newInstance(); in parseSequence()
/tools/tradefederation/core/src/com/android/tradefed/build/
DBuildInfo.java448 .newInstance(getBuildId(), getBuildTargetName()); in clone()
634 Class.forName(buildClass).getDeclaredConstructor().newInstance(); in fromProto()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java194 serializer = XmlPullParserFactory.newInstance(TYPE, null).newSerializer(); in writeResults()
470 XmlPullParserFactory factory = XmlPullParserFactory.newInstance(); in parseResults()
/tools/apifinder/src/test/com/android/apifinder/
DJavaApiUsedByMainlineModuleTest.java18 compilationHelper = CompilationTestHelper.newInstance( in setUp()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DAutoLogCollector.java36 Object o = mClass.getDeclaredConstructor().newInstance(); in getInstanceForValue()
DCollectorHelper.java46 collector.getClass().getDeclaredConstructor().newInstance(); in cloneCollectors()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyYamlResultHandlerFactory.java74 return (T) handlerClass.newInstance(); in getHandlerInstance()
/tools/tradefederation/core/src/com/android/tradefed/util/xml/
DAbstractXmlParser.java56 SAXParserFactory parserFactory = SAXParserFactory.newInstance(); in parse()
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/util/proto/
DTestRecordProtoUtil.java60 CodedInputStream is = CodedInputStream.newInstance(stream); in readFromFile()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DXml.kt80 val factory = DocumentBuilderFactory.newInstance() in createDocumentBuilder()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSimplePerfUtil.java56 public static SimplePerfUtil newInstance(ITestDevice device, SimplePerfType type) in newInstance() method in SimplePerfUtil
DTestFilterHelper.java263 cl = URLClassLoader.newInstance(urlList.toArray(new URL[0])); in shouldRun()
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DSubprocessConfigBuilderTest.java73 DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance(); in testCreateWrapperConfig()
/tools/tradefederation/core/src/com/android/tradefed/device/battery/
DBatteryController.java116 .newInstance(); in loadConfigs()
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DScheduleMultipleDeviceMetricCollector.java96 .newInstance(); in initMetricCollectors()
/tools/tradefederation/contrib/src/com/android/regression/tests/
DMetricsXmlParser.java151 SAXParserFactory parserFactory = SAXParserFactory.newInstance(); in parse()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleSplitter.java208 T clone = (T) prep.getClass().getDeclaredConstructor().newInstance(); in clonePreparers()
/tools/test/graphicsbenchmark/performance_tests/helper/src/com/android/game/qualification/
DGameCoreConfigurationXmlParser.java91 DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); in parse()

123