Searched refs:dataPosition (Results 1 – 6 of 6) sorted by relevance
51 int dataPosition = data.indexOf("*"); in testMarks() local53 assertEquals("Pointer should coincide with '*':\n " + snippet, dataPosition, in testMarks()
172 return NATIVE_PTR_TO_PARCEL.get(nativePtr).dataPosition(); in nativeDataPosition()755 return dataSize() - dataPosition(); in dataAvailable()768 public int dataPosition() { in dataPosition() method in ShadowParcel.ByteBuffer777 int dataPosition = dataPosition(); in dataSize() local778 return totalSize > dataPosition ? totalSize : dataPosition; in dataSize()835 private int toIndex(int dataPosition) { in toIndex() argument838 for (; i < buffer.size() && calculatedPos < dataPosition; i++) { in toIndex()
525 assertThat(parcel.dataPosition()).isEqualTo(4); in testDataPositionAfterSomeWrites()528 assertThat(parcel.dataPosition()).isEqualTo(8); in testDataPositionAfterSomeWrites()531 assertThat(parcel.dataPosition()).isEqualTo(16); in testDataPositionAfterSomeWrites()534 assertThat(parcel.dataPosition()).isEqualTo(36); in testDataPositionAfterSomeWrites()545 assertThat(parcel.dataPosition()).isEqualTo(4); in testDataPositionAfterSomeReads()548 assertThat(parcel.dataPosition()).isEqualTo(8); in testDataPositionAfterSomeReads()551 assertThat(parcel.dataPosition()).isEqualTo(16); in testDataPositionAfterSomeReads()589 parcel.setDataPosition(parcel.dataPosition()); in testSetDataPositionToEmptyString()
106 int dataPosition = data.getPosition(); in consume() local109 data.setPosition(dataPosition); in consume()
38 public long dataPosition; field in TrackFragment
375 fragment.dataPosition = atomPosition; in readAtomHeader()871 trackBundle.fragment.dataPosition = baseDataPosition; in parseTfhd()949 fragment.trunDataPosition[index] = fragment.dataPosition; in parseTrun()