Home
last modified time | relevance | path

Searched refs:copy2 (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/content/src/android/content/pm/cts/
DApplicationInfoTest.java297 final ApplicationInfo copy2 = ApplicationInfo.CREATOR.createFromParcel(p); in testWriteToParcelDontSquash() local
304 assertNotSame(copy1, copy2); in testWriteToParcelDontSquash()
307 assertEquals(applicationInfo.packageName, copy2.packageName); in testWriteToParcelDontSquash()
308 assertEquals(copy1.packageName, copy2.packageName); in testWriteToParcelDontSquash()
310 assertEquals(applicationInfo.flags, copy2.flags); in testWriteToParcelDontSquash()
311 assertEquals(copy1.flags, copy2.flags); in testWriteToParcelDontSquash()
332 final ApplicationInfo copy2 = ApplicationInfo.CREATOR.createFromParcel(p); in testWriteToParcelSquash() local
337 assertSame(copy1, copy2); // in testWriteToParcelSquash()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/systemupdate/
DSystemUpdatePolicyTest.java280 final SystemUpdatePolicy copy2 = SystemUpdatePolicy.CREATOR.createFromParcel(parcel2); in testWriteSystemUpdatePolicyToParcel() local
281 assertThat(copy2).isNotNull(); in testWriteSystemUpdatePolicyToParcel()
282 assertSystemUpdatePoliciesEqual(policy2, copy2); in testWriteSystemUpdatePolicyToParcel()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapColorSpaceTest.java953 Bitmap copy2 = copy.copy(srcConfig, false); in copyAlpha8() local
957 copy2.getColorSpace()); in copyAlpha8()
964 ColorSpace.get(ColorSpace.Named.SRGB), copy2.getColorSpace()); in copyAlpha8()