/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | SimplePerfUtilTest.java | 45 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/src/com/android/tradefed/util/xml/ |
D | AndroidManifestWriter.java | 97 Transformer xformer = TransformerFactory.newInstance().newTransformer(); in saveXmlToFile() 119 DocumentBuilderFactory docFactory = DocumentBuilderFactory.newInstance(); in parse()
|
D | AbstractXmlParser.java | 56 SAXParserFactory parserFactory = SAXParserFactory.newInstance(); in parse()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | EmmaXmlReportParser.java | 64 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); in parseXmlFile() 68 XPathFactory xpFactory = XPathFactory.newInstance(); in parseXmlFile()
|
D | SimplePerfUtil.java | 56 public static SimplePerfUtil newInstance(ITestDevice device, SimplePerfType type) in newInstance() method in SimplePerfUtil
|
D | MetricsXmlParser.java | 152 SAXParserFactory parserFactory = SAXParserFactory.newInstance(); in parse()
|
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/ |
D | PackageManagerOTATestUtils.java | 164 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); in getNodeForXPath() 168 XPathFactory xpFactory = XPathFactory.newInstance(); in getNodeForXPath()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | ScheduleMultipleDeviceMetricCollector.java | 93 klass.asSubclass(ScheduledDeviceMetricCollector.class).newInstance(); in initMetricCollectors()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleSplitter.java | 182 T clone = (T) prep.getClass().newInstance(); in clonePreparers()
|
D | ITestSuite.java | 255 return this.getClass().newInstance(); in createInstance()
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | ApkSignerTool.java | 601 .newInstance(constructorParam); in installProvider() 604 provider = (Provider) providerClass.getConstructor().newInstance(); in installProvider() 697 .newInstance(keystoreProviderArg); in loadPrivateKeyAndCertsFromKeyStore() 700 ksProvider = (Provider) ksProviderClass.getConstructor().newInstance(); in loadPrivateKeyAndCertsFromKeyStore()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | GTestXmlResultParser.java | 90 DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); in parseResult()
|
D | HostTest.java | 738 URLClassLoader cl = URLClassLoader.newInstance(urls); in getClasses() 809 Object testObj = classObj.newInstance(); in loadObject() 1013 test = this.getClass().newInstance(); in createHostTest()
|
D | AndroidJUnitTest.java | 442 shard = this.getClass().newInstance(); in getTestShard()
|
D | CodeCoverageTestBase.java | 168 return clazz.asSubclass(ICompressionStrategy.class).newInstance(); in getCompressionStrategy()
|
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ |
D | Asn1BerParser.java | 176 obj = containerClass.getConstructor().newInstance(); in parseChoice() 218 t = containerClass.getConstructor().newInstance(); in parseSequence()
|
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/ |
D | GLBenchmarkTest.java | 216 DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance(); in parseResultXml()
|
D | EmmcPerformanceTest.java | 367 mSpUtil = SimplePerfUtil.newInstance(mTestDevice, SimplePerfType.STAT); in setUp()
|
D | MicroBenchTest.java | 375 mSpUtil = SimplePerfUtil.newInstance(mTestDevice, SimplePerfType.STAT); in run()
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatter.java | 177 serializer = XmlPullParserFactory.newInstance(TYPE, null).newSerializer(); in writeResults() 403 XmlPullParserFactory factory = XmlPullParserFactory.newInstance(); in parseResults()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatterTest.java | 269 XPath xpath = XPathFactory.newInstance().newXPath(); in getXmlNodes()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | ConfigurationXmlParser.java | 346 SAXParserFactory parserFactory = SAXParserFactory.newInstance(); in parse()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | InvocationExecution.java | 415 IMetricCollector clone = collector.getClass().newInstance(); in cloneCollectors()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | CameraPerformanceTest.java | 441 XmlPullParserFactory factory = XmlPullParserFactory.newInstance(); in parse()
|