Searched refs:unparceled (Results 1 – 7 of 7) sorted by relevance
/cts/tests/app/src/android/app/cts/ |
D | AdjustmentTest.java | 76 final Adjustment unparceled = Adjustment.CREATOR.createFromParcel(outParcel); in testParcelling() local 78 assertEquals(mAdjustment.getPackage(), unparceled.getPackage()); in testParcelling() 79 assertEquals(mAdjustment.getKey(), unparceled.getKey()); in testParcelling() 80 assertEquals(mAdjustment.getExplanation(), unparceled.getExplanation()); in testParcelling() 81 assertEquals(mAdjustment.getUserHandle(), unparceled.getUserHandle()); in testParcelling() 83 assertEquals("Hello, world!", unparceled.getSignals().getString("foobar")); in testParcelling() 84 assertEquals(47, unparceled.getSignals().getInt("chirp")); in testParcelling()
|
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/ |
D | AdjustmentTest.java | 82 final Adjustment unparceled = Adjustment.CREATOR.createFromParcel(outParcel); in testParcelling() local 84 assertEquals(mAdjustment.getPackage(), unparceled.getPackage()); in testParcelling() 85 assertEquals(mAdjustment.getKey(), unparceled.getKey()); in testParcelling() 86 assertEquals(mAdjustment.getExplanation(), unparceled.getExplanation()); in testParcelling() 87 assertEquals(mAdjustment.getUserHandle(), unparceled.getUserHandle()); in testParcelling() 89 assertEquals("Hello, world!", unparceled.getSignals().getString("foobar")); in testParcelling() 90 assertEquals(47, unparceled.getSignals().getInt("chirp")); in testParcelling()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | RemoteViewsFixedCollectionAdapterTest.java | 129 RemoteCollectionItems unparceled = parcelAndUnparcel(items); in testParcelingAndUnparceling() local 130 assertEquals(2, unparceled.getItemCount()); in testParcelingAndUnparceling() 131 assertEquals(3, unparceled.getItemId(0)); in testParcelingAndUnparceling() 132 assertEquals(5, unparceled.getItemId(1)); in testParcelingAndUnparceling() 133 assertEquals(R.layout.textview_singleline, unparceled.getItemView(0).getLayoutId()); in testParcelingAndUnparceling() 134 assertEquals(R.layout.textview_gravity, unparceled.getItemView(1).getLayoutId()); in testParcelingAndUnparceling() 135 assertTrue(unparceled.hasStableIds()); in testParcelingAndUnparceling() 136 assertEquals(10, unparceled.getViewTypeCount()); in testParcelingAndUnparceling() 137 assertNotNull(unparceled.getItemView(0).mApplication); in testParcelingAndUnparceling() 139 unparceled.getItemView(0).mApplication, unparceled.getItemView(1).mApplication); in testParcelingAndUnparceling() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | View_BaseSavedStateTest.java | 92 BaseSavedState unparceled = BaseSavedState.CREATOR.createFromParcel(parcel); in testCreator() local 93 assertNotNull(unparceled); in testCreator() 94 assertEquals(AbsSavedState.EMPTY_STATE, unparceled.getSuperState()); in testCreator()
|
D | AbsSavedStateTest.java | 100 AbsSavedState unparceled = AbsSavedState.CREATOR.createFromParcel(parcel); in testCreator() local 101 assertNotNull(unparceled); in testCreator() 102 assertNull(unparceled.getSuperState()); in testCreator()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ImsStreamMediaProfileTest.java | 150 ImsStreamMediaProfile unparceled = (ImsStreamMediaProfile) parcelUnparcel(data); in testReceivingRttAudio() local 152 assertTrue(unparceled.isReceivingRttAudio()); in testReceivingRttAudio()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapTest.java | 1852 Bitmap unparceled = Bitmap.CREATOR.createFromParcel(p); in testParcelF16ColorSpace() local 1853 assertSame(cs, unparceled.getColorSpace()); in testParcelF16ColorSpace()
|