Home
last modified time | relevance | path

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

123

/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/
DAllocationInfo.java62 public static AllocationInfo newInstance(Allocation allocation) { in newInstance() method in AllocationInfo
89 public static AllocationInfo newInstance(Size size, int format, int usage) { in newInstance() method in AllocationInfo
127 public static AllocationInfo newInstance(Size size, int format) { in newInstance() method in AllocationInfo
128 return newInstance(size, format, Allocation.USAGE_SCRIPT); in newInstance()
145 public static AllocationInfo newInstance(Element element, Size size) { in newInstance() method in AllocationInfo
164 public static AllocationInfo newInstance(Element element, Size size, int usage) { in newInstance() method in AllocationInfo
193 return newInstance(getSize(), format, usage); in changeFormatAndUsage()
208 return newInstance(element, getSize()); in changeElementWithDefaultUsage()
223 return newInstance(getSize(), format, Allocation.USAGE_SCRIPT); in changeFormatWithDefaultUsage()
DScriptYuvMeans1d.java41 return AllocationInfo.newInstance(Element.U8_3(getRS()), UNIT_SQUARE); in createOutputInfo()
DScript.java228 checkEquals("allocation info", AllocationInfo.newInstance(allocation), in setInput()
252 checkEquals("allocation info", AllocationInfo.newInstance(allocation), in setOutput()
DScriptGraph.java441 AllocationInfo inputInfo = AllocationInfo.newInstance(mSize, mFormat, mUsage); in ScriptGraph()
551 return ctor.newInstance(inputInfo); in instantiateScript()
553 return ctor.newInstance(inputInfo, parameterMap); in instantiateScript()
DScriptYuvMeans2dTo1d.java44 return AllocationInfo.newInstance(inputInfo.getElement(), in createOutputInfo()
DScriptYuvCrop.java74 return AllocationInfo.newInstance(Element.U8_3(getRS()), outputSize); in createOutputInfo()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DLocalServices.java38 return WifiP2pUpnpServiceInfo.newInstance( in createRendererService()
52 return WifiP2pDnsSdServiceInfo.newInstance("MyPrinter", in createIppService()
61 return WifiP2pDnsSdServiceInfo.newInstance("Example", in createAfpService()
DServReqClearRequestTestCase.java44 WifiP2pUpnpServiceRequest.newInstance(); in executeTest()
46 WifiP2pUpnpServiceRequest.newInstance("ssdp:all"); in executeTest()
48 WifiP2pDnsSdServiceRequest.newInstance(); in executeTest()
50 WifiP2pDnsSdServiceRequest.newInstance("_ipp._tcp"); in executeTest()
DServReqRemoveRequestTestCase.java44 WifiP2pUpnpServiceRequest.newInstance(); in executeTest()
46 WifiP2pUpnpServiceRequest.newInstance("ssdp:all"); in executeTest()
48 WifiP2pDnsSdServiceRequest.newInstance(); in executeTest()
50 WifiP2pDnsSdServiceRequest.newInstance("_ipp._tcp"); in executeTest()
DServReqAllTestCase02.java48 reqList.add(WifiP2pServiceRequest.newInstance( in executeTest()
50 reqList.add(WifiP2pServiceRequest.newInstance( in executeTest()
DServReqAllTestCase03.java49 reqList.add(WifiP2pDnsSdServiceRequest.newInstance()); in executeTest()
50 reqList.add(WifiP2pUpnpServiceRequest.newInstance()); in executeTest()
DServReqMultiClientTestCase02.java44 WifiP2pDnsSdServiceRequest.newInstance("_ipp._tcp"); in executeTest()
46 WifiP2pDnsSdServiceRequest.newInstance("Example", "_afpovertcp._tcp"); in executeTest()
DServReqMultiClientTestCase01.java44 WifiP2pUpnpServiceRequest upnpReq = WifiP2pUpnpServiceRequest.newInstance(); in executeTest()
46 WifiP2pDnsSdServiceRequest.newInstance(); in executeTest()
DServReqDnsPtrTestCase.java45 reqList.add(WifiP2pDnsSdServiceRequest.newInstance("_ipp._tcp")); in executeTest()
DServReqDnsTxtTestCase.java45 reqList.add(WifiP2pDnsSdServiceRequest.newInstance("MyPrinter", in executeTest()
DServReqUpnpRootDeviceTestCase.java45 reqList.add(WifiP2pUpnpServiceRequest.newInstance("upnp:rootdevice")); in executeTest()
DServReqUpnpAllTestCase.java45 reqList.add(WifiP2pUpnpServiceRequest.newInstance("ssdp:all")); in executeTest()
DServReqAllTestCase01.java47 reqList.add(WifiP2pServiceRequest.newInstance( in executeTest()
/cts/tests/tests/permission/src/android/permission/cts/
DNoCaptureVideoPermissionTest.java48 ImageReader reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBX_8888, 1); in testCreatePublicVirtualDisplay()
71 ImageReader reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBX_8888, 1); in testCreateSecureVirtualDisplay()
92 ImageReader reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBX_8888, 1); in testCreatePrivateVirtualDisplay()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapRegionDecoderTest.java113 BitmapRegionDecoder.newInstance(is, false); in testNewInstanceInputStream()
132 .newInstance(imageData, 0, imageData.length, false); in testNewInstanceByteArray()
149 BitmapRegionDecoder.newInstance(filepath, false); in testNewInstanceStringAndFileDescriptor()
154 BitmapRegionDecoder.newInstance(fd, false); in testNewInstanceStringAndFileDescriptor()
173 BitmapRegionDecoder decoder = BitmapRegionDecoder.newInstance(is1, false); in testDecodeRegionInputStream()
199 BitmapRegionDecoder decoder = BitmapRegionDecoder.newInstance(is1, false); in testDecodeRegionInputStreamInBitmap()
229 .newInstance(imageData, 0, imageData.length, false); in testDecodeRegionByteArray()
255 BitmapRegionDecoder.newInstance(filepath, false); in testDecodeRegionStringAndFileDescriptor()
266 decoder = BitmapRegionDecoder.newInstance(fd1, false); in testDecodeRegionStringAndFileDescriptor()
283 BitmapRegionDecoder decoder = BitmapRegionDecoder.newInstance(is, false); in testRecycle()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DImageWriterTest.java149 ImageReader reader = ImageReader.newInstance(READER_WIDTH, READER_HEIGHT, READER_FORMAT, in testAbandonedSurfaceExceptions()
151 ImageWriter writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions()
168 reader = ImageReader.newInstance(READER_WIDTH, READER_HEIGHT, READER_FORMAT, in testAbandonedSurfaceExceptions()
170 writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions()
210 mWriter = ImageWriter.newInstance(surface, MAX_NUM_IMAGES); in readerWriterFormatTestByCamera()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DAbstractXmlPullParser.java43 XmlPullParserFactory fact = org.xmlpull.v1.XmlPullParserFactory.newInstance(); in parse()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DHtmlReport.java62 TransformerFactory factory = TransformerFactory.newInstance(); in printHtmlReport()
/cts/common/util/tests/src/com/android/compatibility/common/util/
DMetricsXmlSerializerTest.java59 XmlPullParserFactory factory = XmlPullParserFactory.newInstance(null, null); in setUp()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_object/
DTest_return_object.java168 "dot.junit.opcodes.return_object.d.T_return_object_15").newInstance(); in testVFE9()

123