Home
last modified time | relevance | path

Searched refs:SafeParcelWriter (Results 1 – 7 of 7) sorted by relevance

/packages/modules/AppSearch/testing/safeparceltests/src/android/app/appsearch/safeparcel/
DSafeParcelableTest.java66 SafeParcelWriter.writeByteArray(mParcel, TEST_ID, buffer, false); in testReadWriteByteArray()
80 SafeParcelWriter.writeByteArray(mParcel, TEST_ID, null, true); in testReadWriteByteArrayNull()
91 SafeParcelWriter.writeByteArray(mParcel, TEST_ID, null, false); in testReadWriteByteArrayNullIgnore()
101 SafeParcelWriter.writeByteArrayArray(mParcel, TEST_ID, buffer, false); in testReadWriteByteArrayArray()
118 SafeParcelWriter.writeByteArrayArray(mParcel, TEST_ID, null, true); in testReadWriteByteArrayArrayNull()
129 SafeParcelWriter.writeByteArrayArray(mParcel, TEST_ID, null, false); in testReadWriteByteArrayArrayNullIgnore()
136 SafeParcelWriter.writeBoolean(mParcel, TEST_ID, val); in testReadWriteBoolean()
148 SafeParcelWriter.writeBooleanObject(mParcel, TEST_ID, val, false); in testReadWriteBooleanObject()
159 SafeParcelWriter.writeBooleanObject(mParcel, TEST_ID, null, true); in testReadWriteBooleanObjectNull()
170 SafeParcelWriter.writeBooleanObject(mParcel, TEST_ID, null, false); in testReadWriteBooleanObjectNullIgnore()
[all …]
DSafeParcelablePendingIntentTest.java66 SafeParcelWriter.writePendingIntent(parcel, 1, pendingIntent, false); in testWriteRead_success()
82 SafeParcelWriter.writePendingIntent(parcel, 1, null, false); in testWriteReadNull_success()
88 SafeParcelWriter.writePendingIntent(parcel, 1, null, true); in testWriteReadNull_success()
DSafeParcelableSparseArrayTest.java64 SafeParcelWriter.writeByteArraySparseArray( in testReadWriteBytesSparseArray()
80 SafeParcelWriter.writeTypedSparseArray( in testReadWriteBundleSparseArray()
145 SafeParcelWriter.writeParcelable(mParcel, TEST_ID, val, 0, false); in testReadWriteSafeParcelableWithSparseArray()
/packages/modules/AppSearch/safeparcel-processor/resources/templates/
Dtemplate.cs70 int myStart = android.app.appsearch.safeparcel.SafeParcelWriter.beginObjectHeader(parcel); in writeToParcel()
77 android.app.appsearch.safeparcel.SafeParcelWriter.<?cs var:field.write ?>(parcel in writeToParcel()
89 android.app.appsearch.safeparcel.SafeParcelWriter.finishObjectHeader(parcel, myStart); in writeToParcel()
DtemplateWithIndicator.cs77 int myStart = android.app.appsearch.safeparcel.SafeParcelWriter.beginObjectHeader(parcel); in writeToParcel()
84 android.app.appsearch.safeparcel.SafeParcelWriter.<?cs var:field.write ?>(parcel in writeToParcel()
94 android.app.appsearch.safeparcel.SafeParcelWriter.finishObjectHeader(parcel, myStart); in writeToParcel()
/packages/modules/AppSearch/framework/java/android/app/appsearch/safeparcel/
DSafeParcelWriter.java44 public class SafeParcelWriter { class
48 private SafeParcelWriter() {} in SafeParcelWriter() method in SafeParcelWriter
DSafeParcelReader.java111 if (getFieldId(header) != SafeParcelWriter.OBJECT_HEADER) { in validateObjectHeader()