Searched refs:mParcel (Results 1 – 4 of 4) 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 …]
94 Parcel mParcel; field in RILRequest125 rr.mParcel = Parcel.obtain(); in obtain()132 rr.mParcel.writeInt(request); in obtain()133 rr.mParcel.writeInt(rr.mSerial); in obtain()198 if (mParcel != null) { in onError()199 mParcel.recycle(); in onError()200 mParcel = null; in onError()339 data = rr.mParcel.marshall(); in handleMessage()340 rr.mParcel.recycle(); in handleMessage()341 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 …]