/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapRegionDecoderTest.java | 155 BitmapRegionDecoder.newInstance(is); in testNewInstanceInputStream() 175 .newInstance(imageData, 0, imageData.length); in testNewInstanceByteArray() 192 BitmapRegionDecoder.newInstance(filepath); in testNewInstanceStringAndFileDescriptor() 197 BitmapRegionDecoder.newInstance(pfd); in testNewInstanceStringAndFileDescriptor() 218 BitmapRegionDecoder decoder = BitmapRegionDecoder.newInstance(is1); in testDecodeRegionInputStream() 246 BitmapRegionDecoder decoder = BitmapRegionDecoder.newInstance(is1); in testDecodeRegionInputStreamInBitmap() 278 .newInstance(imageData, 0, imageData.length); in testDecodeRegionByteArray() 305 BitmapRegionDecoder decoder = BitmapRegionDecoder.newInstance(filepath); in testDecodeRegionStringAndFileDescriptor() 315 decoder = BitmapRegionDecoder.newInstance(pfd1); in testDecodeRegionStringAndFileDescriptor() 331 BitmapRegionDecoder decoder = BitmapRegionDecoder.newInstance(is); in testRecycle() [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | AllocationInfo.java | 62 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()
|
D | Script.java | 228 checkEquals("allocation info", AllocationInfo.newInstance(allocation), in setInput() 252 checkEquals("allocation info", AllocationInfo.newInstance(allocation), in setOutput()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | LocalServices.java | 38 return WifiP2pUpnpServiceInfo.newInstance( in createRendererService() 52 return WifiP2pDnsSdServiceInfo.newInstance("MyPrinter", in createIppService() 61 return WifiP2pDnsSdServiceInfo.newInstance("Example", in createAfpService()
|
D | ServReqClearRequestTestCase.java | 44 WifiP2pUpnpServiceRequest.newInstance(); in executeTest() 46 WifiP2pUpnpServiceRequest.newInstance("ssdp:all"); in executeTest() 48 WifiP2pDnsSdServiceRequest.newInstance(); in executeTest() 50 WifiP2pDnsSdServiceRequest.newInstance("_ipp._tcp"); in executeTest()
|
D | ServReqRemoveRequestTestCase.java | 44 WifiP2pUpnpServiceRequest.newInstance(); in executeTest() 46 WifiP2pUpnpServiceRequest.newInstance("ssdp:all"); in executeTest() 48 WifiP2pDnsSdServiceRequest.newInstance(); in executeTest() 50 WifiP2pDnsSdServiceRequest.newInstance("_ipp._tcp"); in executeTest()
|
D | ServReqAllTestCase02.java | 48 reqList.add(WifiP2pServiceRequest.newInstance( in executeTest() 50 reqList.add(WifiP2pServiceRequest.newInstance( in executeTest()
|
D | ServReqAllTestCase03.java | 49 reqList.add(WifiP2pDnsSdServiceRequest.newInstance()); in executeTest() 50 reqList.add(WifiP2pUpnpServiceRequest.newInstance()); in executeTest()
|
D | ServReqMultiClientTestCase02.java | 44 WifiP2pDnsSdServiceRequest.newInstance("_ipp._tcp"); in executeTest() 46 WifiP2pDnsSdServiceRequest.newInstance("Example", "_afpovertcp._tcp"); in executeTest()
|
D | ServReqMultiClientTestCase01.java | 44 WifiP2pUpnpServiceRequest upnpReq = WifiP2pUpnpServiceRequest.newInstance(); in executeTest() 46 WifiP2pDnsSdServiceRequest.newInstance(); in executeTest()
|
D | ServReqDnsTxtTestCase.java | 45 reqList.add(WifiP2pDnsSdServiceRequest.newInstance("MyPrinter", in executeTest()
|
D | ServReqUpnpAllTestCase.java | 45 reqList.add(WifiP2pUpnpServiceRequest.newInstance("ssdp:all")); in executeTest()
|
D | ServReqDnsPtrTestCase.java | 45 reqList.add(WifiP2pDnsSdServiceRequest.newInstance("_ipp._tcp")); in executeTest()
|
D | ServReqUpnpRootDeviceTestCase.java | 45 reqList.add(WifiP2pUpnpServiceRequest.newInstance("upnp:rootdevice")); in executeTest()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ImageWriterTest.java | 146 ImageReader reader = ImageReader.newInstance(READER_WIDTH, READER_HEIGHT, READER_FORMAT, in testAbandonedSurfaceExceptions() 148 ImageWriter writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 165 reader = ImageReader.newInstance(READER_WIDTH, READER_HEIGHT, READER_FORMAT, in testAbandonedSurfaceExceptions() 167 writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 189 ImageReader reader = ImageReader.newInstance(640, 480, format, 1 /*maxImages*/); in testWriterReaderBlobFormats() 190 ImageWriter writer = ImageWriter.newInstance(reader.getSurface(), 1 /*maxImages*/); in testWriterReaderBlobFormats() 204 ImageWriter defaultWriter = ImageWriter.newInstance(surface, MAX_NUM_IMAGES); in testWriterFormatOverride() 210 ImageWriter writer = ImageWriter.newInstance(surface, MAX_NUM_IMAGES, format); in testWriterFormatOverride() 259 mWriter = ImageWriter.newInstance(surface, MAX_NUM_IMAGES, format); in readerWriterFormatTestByCamera() 261 mWriter = ImageWriter.newInstance(surface, MAX_NUM_IMAGES); in readerWriterFormatTestByCamera()
|
/cts/tests/tests/wifi/src/android/net/wifi/p2p/cts/ |
D | WifiP2pServiceRequestTest.java | 49 WifiP2pServiceRequest.newInstance( in testValidRawRequest() 54 WifiP2pUpnpServiceRequest.newInstance( in testValidRawRequest() 68 WifiP2pServiceRequest.newInstance( in testInvalidRawRequest()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | NoCaptureVideoPermissionTest.java | 48 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/hostsidetests/inputmethodservice/deviceside/provider/src/android/inputmethodservice/cts/provider/ |
D | EventProvider.java | 72 final UriHelper uriHelper = mUriFactory.newInstance(uri); in query() 94 final UriHelper uriHelper = mUriFactory.newInstance(uri); in insert() 110 final UriHelper uriHelper = mUriFactory.newInstance(uri); in delete() 130 final UriHelper uriHelper = mUriFactory.newInstance(uri); in update()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | HardwareRendererTests.kt | 70 val reader = ImageReader.newInstance( in <lambda>() 149 val reader = ImageReader.newInstance(TEST_WIDTH, TEST_HEIGHT, PixelFormat.RGBA_8888, 1, in testBasicDrawCpuConsumer() 198 val reader = ImageReader.newInstance(TEST_WIDTH, TEST_HEIGHT, PixelFormat.RGBA_8888, 1, in testBasicDrawGpuConsumer() 257 val reader = ImageReader.newInstance(TEST_WIDTH, TEST_HEIGHT, PixelFormat.RGBA_8888, 1, in testSetStopped() 282 val reader = ImageReader.newInstance(TEST_WIDTH, TEST_HEIGHT, PixelFormat.RGBA_8888, 1, in testNoSurface() 308 val reader = ImageReader.newInstance(TEST_WIDTH, TEST_HEIGHT, PixelFormat.RGBA_8888, 1, in testClearContent() 351 val reader = ImageReader.newInstance(TEST_WIDTH, TEST_HEIGHT, PixelFormat.RGBA_8888, 1, in testDestroy() 420 val reader = ImageReader.newInstance( in testLotsOfBuffers()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Activities/ |
D | TestActivity.java | 113 Fragment fragment = PhaseStartFragment.newInstance(CTSTest.ACCURACY); in onCreate() 395 fragment = AccuracyFragment.newInstance(); in switchToTestFragment() 398 fragment = RobustnessFragment.newInstance(); in switchToTestFragment() 401 fragment = ComplexMovementFragment.newInstance(); //Complex Motion in switchToTestFragment() 426 Fragment fragment = PhaseStartFragment.newInstance(phase); in switchToStartFragment()
|
/cts/hostsidetests/incrementalinstall/app/v1/src/android/incrementalinstall/incrementaltestapp/dynamiccode/ |
D | DynamicCodeShim.java | 35 mImpl = (IDynamicCode) clazz.newInstance(); in getString()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | AssetManagerTest.java | 31 final AssetManager[] assetManager = {AssetManager.class.newInstance()}; in testCloseThenFinalize()
|
/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/ |
D | TestUtils.java | 128 AndroidHttpClient httpClient = AndroidHttpClient.newInstance(null); in assertHttpClientSucceeds() 139 AndroidHttpClient httpClient = AndroidHttpClient.newInstance(null); in assertHttpClientFails()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainInteractionSessionService.java | 39 return (VoiceInteractionSession) constructor.newInstance(this); in onNewSession()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | NdkApiXmlReport.java | 134 DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); in main() 158 Transformer tr = TransformerFactory.newInstance().newTransformer(); in main() 235 DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); in saveToXML() 264 Transformer tr = TransformerFactory.newInstance().newTransformer(); in saveToXML()
|