Searched refs:mParcel (Results 1 – 6 of 6) sorted by relevance
39 private Parcel mParcel = null; field in MediaPlayerMetadataParserTest45 mParcel = Parcel.obtain(); in setUp()53 mParcel.setDataPosition(0); in assertParseFail()54 assertFalse(mMetadata.parse(mParcel)); in assertParseFail()55 assertEquals(0, mParcel.dataPosition()); in assertParseFail()60 mParcel.setDataPosition(0); in assertParse()61 assertTrue(mMetadata.parse(mParcel)); in assertParse()73 final int pos = mParcel.dataPosition(); in adjustSize()75 mParcel.setDataPosition(offset); in adjustSize()76 mParcel.writeInt(pos - offset); in adjustSize()[all …]
23 private Parcel mParcel; field in ParcelBenchmark27 mParcel = Parcel.obtain(); in setUp()32 mParcel.recycle(); in tearDown()33 mParcel = null; in tearDown()39 mParcel.writeByte(val); in timeWriteByte()44 mParcel.setDataCapacity(reps); in timeReadByte()46 mParcel.readByte(); in timeReadByte()53 mParcel.writeInt(val); in timeWriteInt()58 mParcel.setDataCapacity(reps << 2); in timeReadInt()60 mParcel.readInt(); in timeReadInt()[all …]
154 private Parcel mParcel = null; field in UsageEvents177 mParcel = Parcel.obtain(); in UsageEvents()178 mParcel.setDataPosition(0); in UsageEvents()179 mParcel.appendFrom(in, in.dataPosition(), listByteLength); in UsageEvents()180 mParcel.setDataSize(mParcel.dataPosition()); in UsageEvents()181 mParcel.setDataPosition(positionInParcel); in UsageEvents()226 readEventFromParcel(mParcel, eventOut); in getNextEvent()230 mParcel.recycle(); in getNextEvent()231 mParcel = null; in getNextEvent()244 if (mParcel != null) { in resetToStart()[all …]
24 final Parcel mParcel; field in ParcelableParcel28 mParcel = Parcel.obtain(); in ParcelableParcel()33 mParcel = Parcel.obtain(); in ParcelableParcel()37 mParcel.appendFrom(src, src.dataPosition(), size); in ParcelableParcel()42 mParcel.setDataPosition(0); in getParcel()43 return mParcel; in getParcel()57 dest.writeInt(mParcel.dataSize()); in writeToParcel()58 dest.appendFrom(mParcel, 0, mParcel.dataSize()); in writeToParcel()
113 Parcel mParcel; field in RILRequest143 rr.mParcel = Parcel.obtain(); in obtain()150 rr.mParcel.writeInt(request); in obtain()151 rr.mParcel.writeInt(rr.mSerial); in obtain()218 if (mParcel != null) { in onError()219 mParcel.recycle(); in onError()220 mParcel = null; in onError()368 data = rr.mParcel.marshall(); in handleMessage()369 rr.mParcel.recycle(); in handleMessage()370 rr.mParcel = null; in handleMessage()[all …]
253 private Parcel mParcel; field in Metadata406 mParcel = parcel; in parse()436 return mParcel.readString(); in getString()444 return mParcel.readInt(); in getInt()452 return mParcel.readInt() == 1; in getBoolean()462 return mParcel.readLong(); in getLong()470 return mParcel.readDouble(); in getDouble()478 return mParcel.createByteArray(); in getByteArray()486 final long timeSinceEpoch = mParcel.readLong(); in getDate()487 final String timeZone = mParcel.readString(); in getDate()[all …]