/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()
|
D | ScriptYuvMeans1d.java | 41 return AllocationInfo.newInstance(Element.U8_3(getRS()), UNIT_SQUARE); in createOutputInfo()
|
/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 | ServReqDnsPtrTestCase.java | 45 reqList.add(WifiP2pDnsSdServiceRequest.newInstance("_ipp._tcp")); 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 | ServReqUpnpRootDeviceTestCase.java | 45 reqList.add(WifiP2pUpnpServiceRequest.newInstance("upnp:rootdevice")); in executeTest()
|
D | ServReqAllTestCase01.java | 47 reqList.add(WifiP2pServiceRequest.newInstance( in executeTest()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapRegionDecoderTest.java | 148 BitmapRegionDecoder.newInstance(is, false); in testNewInstanceInputStream() 168 .newInstance(imageData, 0, imageData.length, false); in testNewInstanceByteArray() 186 BitmapRegionDecoder.newInstance(filepath, false); in testNewInstanceStringAndFileDescriptor() 191 BitmapRegionDecoder.newInstance(fd, false); in testNewInstanceStringAndFileDescriptor() 212 BitmapRegionDecoder decoder = BitmapRegionDecoder.newInstance(is1, false); in testDecodeRegionInputStream() 240 BitmapRegionDecoder decoder = BitmapRegionDecoder.newInstance(is1, false); in testDecodeRegionInputStreamInBitmap() 272 .newInstance(imageData, 0, imageData.length, false); in testDecodeRegionByteArray() 300 BitmapRegionDecoder.newInstance(filepath, false); in testDecodeRegionStringAndFileDescriptor() 311 decoder = BitmapRegionDecoder.newInstance(fd1, false); in testDecodeRegionStringAndFileDescriptor() 329 BitmapRegionDecoder decoder = BitmapRegionDecoder.newInstance(is, false); in testRecycle() [all …]
|
/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/camera/src/android/hardware/camera2/cts/ |
D | ImageWriterTest.java | 114 ImageReader reader = ImageReader.newInstance(READER_WIDTH, READER_HEIGHT, READER_FORMAT, in testAbandonedSurfaceExceptions() 116 ImageWriter writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 133 reader = ImageReader.newInstance(READER_WIDTH, READER_HEIGHT, READER_FORMAT, in testAbandonedSurfaceExceptions() 135 writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 175 mWriter = ImageWriter.newInstance(surface, MAX_NUM_IMAGES); in readerWriterFormatTestByCamera()
|
/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/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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Dialogs/ |
D | AccuracyResultDialog.java | 32 public static AccuracyResultDialog newInstance(ResultObject resultObject) { in newInstance() method in AccuracyResultDialog
|
D | ComplexMovementResultDialog.java | 32 public static ComplexMovementResultDialog newInstance(ResultObject resultObject) { in newInstance() method in ComplexMovementResultDialog
|
D | Lap2Dialog.java | 33 public static Lap2Dialog newInstance() { in newInstance() method in Lap2Dialog
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | SmallStructsTest.java | 156 .newInstance(mRS, sAllocationElements); in testSmallStructsOfCharArray() 216 .newInstance(mRS, sAllocationElements); in testSmallStructsOfHeterogeneousTypes()
|