/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | ParcelTest.java | 38 T newInstance = parcelAndUnparcel(cls, obj); in assertParcelsCorrectly() local 39 assertThat(newInstance).isEqualTo(obj); in assertParcelsCorrectly() 56 T newInstance = parcel.readParcelable(ParcelTest.class.getClassLoader()); in parcelAndUnparcel() local 58 return newInstance; in parcelAndUnparcel()
|
/cts/tests/tests/content/src/android/content/om/cts/ |
D | OverlayManagerTransactionTest.java | 80 assertThat(OverlayManagerTransaction.newInstance()).isNotNull(); in newInstance_shouldSucceed() 86 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in registerFabricatedOverlay_withNull_shouldFail() 94 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in unregisterFabricatedOverlay_withNull_shouldFail() 103 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in commit_withNullOverlayable_shouldFail() 113 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in commit_withEmptyOverlayable_shouldFail() 122 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in commit_withNonExistOverlayable_shouldFail() 131 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in commit_withValidOverlayable_shouldSucceed() 144 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in commit_multipleRequests_shouldSucceed() 157 OverlayManagerTransaction.newInstance(); in commit_multipleRequests_shouldSucceed() 180 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in commit_notSelfTargetOverlay_isSelfTargetingTransaction_shouldSucceed() [all …]
|
/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/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 | ServReqUpnpAllTestCase.java | 45 reqList.add(WifiP2pUpnpServiceRequest.newInstance("ssdp:all")); in executeTest()
|
D | ServReqDnsPtrTestCase.java | 45 reqList.add(WifiP2pDnsSdServiceRequest.newInstance("_ipp._tcp")); in executeTest()
|
/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/hostsidetests/securitybulletin/test-apps/CVE-2023-21272/test-app/src/android/security/cts/CVE_2023_21272_test/ |
D | DeviceTest.java | 68 Object authority = partConstructor.newInstance(testAuthority, testAuthority); in testCVE_2023_21272() 70 Object path = pathPartConstructor.newInstance(testPath, testPath); in testCVE_2023_21272() 73 hierarchicalUriConstructor.newInstance( in testCVE_2023_21272()
|
/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/content/src/android/content/res/loader/cts/ |
D | ResourcesProviderTest.java | 81 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in loaderOverlay_withRegisteredOverlay_shouldSucceed() 209 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in loaderOverlay_withNotExistedOverlay_shouldFail() 216 OverlayManagerTransaction.newInstance(); in loaderOverlay_withNotExistedOverlay_shouldFail() 231 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in loaderOverlay_applyOnResources_shouldSucceed() 260 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in loaderOverlay_applyMultipleOverlays_shouldHaveUnionResult()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ImageWriterTest.java | 156 ImageReader reader = ImageReader.newInstance(READER_WIDTH, READER_HEIGHT, READER_FORMAT, in testAbandonedSurfaceExceptions() 158 ImageWriter writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 175 reader = ImageReader.newInstance(READER_WIDTH, READER_HEIGHT, READER_FORMAT, in testAbandonedSurfaceExceptions() 177 writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 199 ImageReader reader = ImageReader.newInstance(640, 480, format, 1 /*maxImages*/); in testWriterReaderBlobFormats() 200 ImageWriter writer = ImageWriter.newInstance(reader.getSurface(), 1 /*maxImages*/); in testWriterReaderBlobFormats() 214 ImageWriter defaultWriter = ImageWriter.newInstance(surface, MAX_NUM_IMAGES); in testWriterFormatOverride() 220 ImageWriter writer = ImageWriter.newInstance(surface, MAX_NUM_IMAGES, format); in testWriterFormatOverride() 465 mWriter = ImageWriter.newInstance(surface, MAX_NUM_IMAGES, format); in readerWriterFormatTestByCamera() 467 mWriter = ImageWriter.newInstance(surface, MAX_NUM_IMAGES); in readerWriterFormatTestByCamera()
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | BedsteadServiceLocator.kt | 79 return clazz.getDeclaredConstructor().newInstance() in <lambda>() 84 .newInstance(this) in <lambda>()
|
/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/hostsidetests/incrementalinstall/app/v1/src/android/incrementalinstall/incrementaltestapp/dynamiccode/ |
D | DynamicCodeShim.java | 35 mImpl = (IDynamicCode) clazz.newInstance(); in getString()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/powermanager/ |
D | PowerManagerStatsTests.java | 112 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testThermalHeadroomCalledIsPushed() 141 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testThermalStatusCalledIsPushed() 167 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testThermalHeadroomThresholdsCalledIsPushed() 186 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testThermalHeadroomThresholdsIsPulled()
|
/cts/hostsidetests/grammaticalinflection/src/android/grammaticalinflection/cts/ |
D | GrammaticalGenderAtomTests.java | 76 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testAtomLogging_genderSpecified_logsAtomSuccessfully() 94 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testAtomLogging_genderNotSpecified_logsAtomSuccessfully()
|
/cts/tests/tests/car/src/android/car/cts/utils/ |
D | DisplayUtils.java | 62 mReader = ImageReader.newInstance(width, height, PixelFormat.RGBA_8888, in createDisplay() 99 mReader = ImageReader.newInstance(metrics.widthPixels, metrics.heightPixels, in createDisplayWithDefaultDisplayMetricsAndWait()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/express/ |
D | ExpresslogAtomsTests.java | 116 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testExpressLogCounterAtom() 145 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testExpressLogCounterWithUidAtom() 180 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testExpressLogSampleAtomUniform() 219 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testExpressLogSampleAtomScaled() 259 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testExpressLogSampleWihtUidAtomUniform() 301 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testExpressLogSampleWithUidAtomScaled()
|
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/ |
D | ComponentStateChangedReportedStatsTests.java | 104 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testComponentStateChangedReportedForWholeApp() 139 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testComponentStateChangedReportedForLauncherActivity() 174 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testComponentStateChangedReportedForNoLauncherActivity() 209 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testComponentStateChangedReportedEnabledThenDisabled() 255 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testComponentStateChangedReportedEnabledThenDisabledWholeApp() 302 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testComponentStateChangedReportedForTwoDifferentStateLauncherActivities()
|