Home
last modified time | relevance | path

Searched refs:getFieldId (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AppSearch/testing/safeparceltests/src/android/app/appsearch/safeparcel/
DSafeParcelableTest.java1556 int id = SafeParcelReader.getFieldId(header); in testSkipUnknownField()
1598 assertThat(SafeParcelReader.getFieldId(parcel.readInt())).isEqualTo(1); in writeToParcel_doNotParcelTypeDefaultValues_changedValueParceled()
1600 assertThat(SafeParcelReader.getFieldId(parcel.readInt())).isEqualTo(3); in writeToParcel_doNotParcelTypeDefaultValues_changedValueParceled()
1602 assertThat(SafeParcelReader.getFieldId(parcel.readInt())).isEqualTo(4); in writeToParcel_doNotParcelTypeDefaultValues_changedValueParceled()
1604 assertThat(SafeParcelReader.getFieldId(parcel.readInt())).isEqualTo(5); in writeToParcel_doNotParcelTypeDefaultValues_changedValueParceled()
1606 assertThat(SafeParcelReader.getFieldId(parcel.readInt())).isEqualTo(6); in writeToParcel_doNotParcelTypeDefaultValues_changedValueParceled()
1608 assertThat(SafeParcelReader.getFieldId(parcel.readInt())).isEqualTo(7); in writeToParcel_doNotParcelTypeDefaultValues_changedValueParceled()
1610 assertThat(SafeParcelReader.getFieldId(parcel.readInt())).isEqualTo(8); in writeToParcel_doNotParcelTypeDefaultValues_changedValueParceled()
1612 assertThat(SafeParcelReader.getFieldId(parcel.readInt())).isEqualTo(9); in writeToParcel_doNotParcelTypeDefaultValues_changedValueParceled()
/packages/modules/AppSearch/safeparcel-processor/resources/templates/
Dtemplate.cs30 switch (android.app.appsearch.safeparcel.SafeParcelReader.getFieldId(header)) { in createFromParcel()
DtemplateWithIndicator.cs34 switch (android.app.appsearch.safeparcel.SafeParcelReader.getFieldId(header)) { in createFromParcel()
/packages/modules/AppSearch/framework/java/android/app/appsearch/safeparcel/
DSafeParcelReader.java58 public static int getFieldId(int header) { in getFieldId() method in SafeParcelReader
111 if (getFieldId(header) != SafeParcelWriter.OBJECT_HEADER) { in validateObjectHeader()