/cts/tests/controls/src/android/controls/cts/ |
D | CtsControlTemplateTest.java | 70 ControlTemplate fromParcel = parcelAndUnparcel(toParcel); in testUnparcelingCorrectClass_none() local 72 assertEquals(ControlTemplate.getNoTemplateObject(), fromParcel); in testUnparcelingCorrectClass_none() local 79 ControlTemplate fromParcel = parcelAndUnparcel(toParcel); in testUnparcelingCorrectClass_toggle() local 81 assertEquals(ControlTemplate.TYPE_TOGGLE, fromParcel.getTemplateType()); in testUnparcelingCorrectClass_toggle() 82 assertTrue(fromParcel instanceof ToggleTemplate); in testUnparcelingCorrectClass_toggle() 89 ControlTemplate fromParcel = parcelAndUnparcel(toParcel); in testUnparcelingCorrectClass_range() local 91 assertEquals(ControlTemplate.TYPE_RANGE, fromParcel.getTemplateType()); in testUnparcelingCorrectClass_range() 92 assertTrue(fromParcel instanceof RangeTemplate); in testUnparcelingCorrectClass_range() 120 ControlTemplate fromParcel = parcelAndUnparcel(toParcel); in testUnparcelingCorrectClass_thumbnail() local 122 assertEquals(ControlTemplate.TYPE_THUMBNAIL, fromParcel.getTemplateType()); in testUnparcelingCorrectClass_thumbnail() [all …]
|
/cts/tests/tests/resolverservice/src/android/service/resolver/cts/ |
D | ResolverTargetTest.java | 69 ResolverTarget fromParcel = ResolverTarget.CREATOR.createFromParcel(parcel); in sanityCheckParcelability() local 71 assertThat(fromParcel.getChooserScore(), is(1.0f)); in sanityCheckParcelability() 72 assertThat(fromParcel.getLaunchScore(), is(0.5f)); in sanityCheckParcelability() 73 assertThat(fromParcel.getRecencyScore(), is(0.3f)); in sanityCheckParcelability() 74 assertThat(fromParcel.getSelectProbability(), is(0.2f)); in sanityCheckParcelability() 75 assertThat(fromParcel.getTimeSpentScore(), is(0.1f)); in sanityCheckParcelability()
|
/cts/tests/tests/view/receivecontent/src/android/view/cts/receivecontent/ |
D | ContentInfoTest.java | 230 ContentInfo fromParcel = parcelAndUnparcel(original); in testParcel_withMinimalMetadata() local 231 assertThat(fromParcel.getClip().getItemAt(0).getText()).isEqualTo("Hello"); in testParcel_withMinimalMetadata() 232 assertThat(fromParcel.getSource()).isEqualTo(SOURCE_AUTOFILL); in testParcel_withMinimalMetadata() 233 assertThat(fromParcel.getFlags()).isEqualTo(0); in testParcel_withMinimalMetadata() 234 assertThat(fromParcel.getLinkUri()).isEqualTo(null); in testParcel_withMinimalMetadata() 235 assertThat(fromParcel.getExtras()).isEqualTo(null); in testParcel_withMinimalMetadata() 249 ContentInfo fromParcel = parcelAndUnparcel(original); in testParcel_withAllMetadata() local 250 assertThat(fromParcel.getClip().getItemAt(0).getText()).isEqualTo("Hello"); in testParcel_withAllMetadata() 251 assertThat(fromParcel.getSource()).isEqualTo(original.getSource()); in testParcel_withAllMetadata() 252 assertThat(fromParcel.getFlags()).isEqualTo(original.getFlags()); in testParcel_withAllMetadata() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/ |
D | GetDownloadableSubscriptionMetadataResultTest.java | 75 GetDownloadableSubscriptionMetadataResult fromParcel = in testWriteToParcel() local 78 assertEquals(EuiccService.RESULT_RESOLVABLE_ERRORS, fromParcel.getResult()); in testWriteToParcel() 79 assertNull(fromParcel.getDownloadableSubscription()); in testWriteToParcel()
|
D | GetDefaultDownloadableSubscriptionListResultTest.java | 75 GetDefaultDownloadableSubscriptionListResult fromParcel = in testWriteToParcel() local 78 assertEquals(EuiccService.RESULT_RESOLVABLE_ERRORS, fromParcel.getResult()); in testWriteToParcel() 79 assertNull(fromParcel.getDownloadableSubscriptions()); in testWriteToParcel()
|
D | EuiccProfileInfoTest.java | 67 EuiccProfileInfo fromParcel = EuiccProfileInfo.CREATOR.createFromParcel(parcel); in testWriteToParcel() local 69 assertEquals(p, fromParcel); in testWriteToParcel() 92 EuiccProfileInfo fromParcel = EuiccProfileInfo.CREATOR.createFromParcel(parcel); in testWriteToParcelNullCarrierId() local 94 assertEquals(p, fromParcel); in testWriteToParcelNullCarrierId()
|
/cts/tests/uwb/src/android/uwb/cts/ |
D | SessionHandleTest.java | 50 SessionHandle fromParcel = SessionHandle.CREATOR.createFromParcel(parcel); in testParcel() local 51 assertEquals(handle, fromParcel); in testParcel()
|
D | UwbAddressTest.java | 77 UwbAddress fromParcel = UwbAddress.CREATOR.createFromParcel(parcel); in runParcel() local 78 assertEquals(address, fromParcel); in runParcel()
|
D | AngleOfArrivalMeasurementTest.java | 75 AngleOfArrivalMeasurement fromParcel = in testParcel() local 77 assertEquals(measurement, fromParcel); in testParcel()
|
D | DistanceMeasurementTest.java | 84 DistanceMeasurement fromParcel = in testParcel() local 86 assertEquals(measurement, fromParcel); in testParcel()
|
D | AngleMeasurementTest.java | 92 AngleMeasurement fromParcel = AngleMeasurement.CREATOR.createFromParcel(parcel); in testParcel() local 93 assertEquals(measurement, fromParcel); in testParcel()
|
D | RangingReportTest.java | 89 RangingReport fromParcel = RangingReport.CREATOR.createFromParcel(parcel); in testParcel() local 90 assertEquals(report, fromParcel); in testParcel()
|
D | RangingMeasurementTest.java | 96 RangingMeasurement fromParcel = RangingMeasurement.CREATOR.createFromParcel(parcel); in testParcel() local 97 assertEquals(measurement, fromParcel); in testParcel()
|
/cts/tests/app/src/android/app/cts/ |
D | NotificationChannelGroupTest.java | 59 NotificationChannelGroup fromParcel = in testWriteToParcel() local 61 assertEquals(group, fromParcel); in testWriteToParcel()
|
/cts/tests/location/location_none/src/android/location/cts/none/ |
D | GnssMeasurementRequestTest.java | 50 GnssMeasurementRequest fromParcel = GnssMeasurementRequest.CREATOR.createFromParcel(parcel); in testWriteToParcel() local 52 assertEquals(request, fromParcel); in testWriteToParcel()
|
D | GnssStatusTest.java | 69 GnssStatus fromParcel = GnssStatus.CREATOR.createFromParcel(parcel); in testRoundtrip() local 70 assertEquals(gnssStatus, fromParcel); in testRoundtrip()
|
/cts/tests/location/location_privileged/src/android/location/cts/privileged/ |
D | GnssMeasurementRequestTest.java | 73 GnssMeasurementRequest fromParcel = GnssMeasurementRequest.CREATOR.createFromParcel(parcel); in testWriteToParcel() local 75 assertEquals(request, fromParcel); in testWriteToParcel()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | StyleSpanTest.java | 44 StyleSpan fromParcel = new StyleSpan(p); in testConstructor() local 45 assertEquals(2, fromParcel.getStyle()); in testConstructor()
|