Searched refs:dataPosition (Results 1 – 3 of 3) sorted by relevance
51 int dataPosition = data.indexOf("*"); in testMarks() local53 assertEquals("Pointer should coincide with '*':\n " + snippet, dataPosition, in testMarks()
464 assertEquals(10, parcel.dataPosition()); in testDataPositionAfterStringWrite()470 assertEquals(1, parcel.dataPosition()); in testDataPositionAfterByteWrite()476 assertEquals(4, parcel.dataPosition()); in testDataPositionAfterIntWrite()482 assertEquals(8, parcel.dataPosition()); in testDataPositionAfterLongWrite()488 assertEquals(4, parcel.dataPosition()); in testDataPositionAfterFloatWrite()494 assertEquals(8, parcel.dataPosition()); in testDataPositionAfterDoubleWrite()501 assertEquals(0, parcel.dataPosition()); in testResetDataPositionAfterWrite()
65 return dataSize() - dataPosition(); in dataAvail()69 public int dataPosition() { in dataPosition() method in ShadowParcel758 int off = dataPosition() - 4; in readValue()772 int offset = dataPosition(); in readBundle()801 int oldPos = dataPosition(); in writeBundle()805 int newPos = dataPosition(); in writeBundle()