Home
last modified time | relevance | path

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

/packages/modules/AppSearch/testing/safeparceltests/src/android/app/appsearch/safeparcel/
DTestSafeParcelable.java21 public class TestSafeParcelable extends AbstractSafeParcelable { class
23 public static final Creator<TestSafeParcelable> CREATOR = new TestSafeParcelableCreator();
26 public TestSafeParcelable( in TestSafeParcelable() method in TestSafeParcelable
35 public TestSafeParcelable(String stringVal1, String stringVal2) { in TestSafeParcelable() method in TestSafeParcelable
61 if (object instanceof TestSafeParcelable) { in equals()
62 TestSafeParcelable parcelable = (TestSafeParcelable) object; in equals()
DSafeParcelableTest.java503 TestSafeParcelable val = new TestSafeParcelable("begin", "end"); in testReadWriteSafeParcelable()
507 TestSafeParcelable readVal = in testReadWriteSafeParcelable()
508 SafeParcelReader.createParcelable(mParcel, header, TestSafeParcelable.CREATOR); in testReadWriteSafeParcelable()
521 TestSafeParcelable readBuffer = in testReadWriteSafeParcelableNull()
522 SafeParcelReader.createParcelable(mParcel, header, TestSafeParcelable.CREATOR); in testReadWriteSafeParcelableNull()
1225 TestSafeParcelable[] array = in testReadWriteBetweenTypedArrayAndParcelArray()
1226 new TestSafeParcelable[] { in testReadWriteBetweenTypedArrayAndParcelArray()
1227 new TestSafeParcelable("foo", "bar"), in testReadWriteBetweenTypedArrayAndParcelArray()
1228 new TestSafeParcelable("one", "two"), in testReadWriteBetweenTypedArrayAndParcelArray()
1229 new TestSafeParcelable("fantastic", "four"), in testReadWriteBetweenTypedArrayAndParcelArray()
[all …]
DTestSafeParcelableV2.java92 public TestSafeParcelable parcelableVar;
119 public TestSafeParcelable[] parcelableArray;
122 public List<TestSafeParcelable> parcelableList;
202 @Param(id = 13) TestSafeParcelable parcelableVar, in TestSafeParcelableV2()
211 @Param(id = 22) TestSafeParcelable[] parcelableArray, in TestSafeParcelableV2()
212 @Param(id = 23) List<TestSafeParcelable> parcelableList, in TestSafeParcelableV2()