Home
last modified time | relevance | path

Searched refs:dataPosition (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/av/media/libmedia/
DMetadata.cpp60 mBegin(p->dataPosition()) { } in Metadata()
73 const size_t end = mData->dataPosition(); in updateLength()
97 const size_t begin = mData->dataPosition(); in appendBool()
117 const size_t begin = mData->dataPosition(); in appendInt32()
141 size_t curr = mData->dataPosition(); in checkKey()
148 size_t pos = mData->dataPosition(); in checkKey()
DIMediaPlayerClient.cpp67 obj.appendFrom(const_cast<Parcel *>(&data), data.dataPosition(), data.dataAvail()); in onTransact()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerMetadataParserTest.java55 assertEquals(0, mParcel.dataPosition()); in assertParseFail()
73 final int pos = mParcel.dataPosition(); in adjustSize()
181 final int start = mParcel.dataPosition(); in testBadMetadataType()
344 final int start = mParcel.dataPosition(); in writeStringRecord()
354 final int start = mParcel.dataPosition(); in writeIntRecord()
364 final int start = mParcel.dataPosition(); in writeBooleanRecord()
374 final int start = mParcel.dataPosition(); in writeLongRecord()
384 final int start = mParcel.dataPosition(); in writeDoubleRecord()
394 final int start = mParcel.dataPosition(); in writeByteArrayRecord()
404 final int start = mParcel.dataPosition(); in writeDateRecord()
/frameworks/av/media/libaudioclient/
DAudioVolumeGroup.cpp59 size_t sizePosition = parcel->dataPosition(); in writeToParcel()
63 size_t position = parcel->dataPosition(); in writeToParcel()
72 size_t position = parcel->dataPosition(); in writeToParcel()
DAudioProductStrategy.cpp51 size_t sizePosition = parcel->dataPosition(); in writeToParcel()
56 size_t position = parcel->dataPosition(); in writeToParcel()
65 size_t position = parcel->dataPosition(); in writeToParcel()
DAudioPolicy.cpp129 size_t sizePosition = parcel->dataPosition(); in writeToParcel()
133 size_t position = parcel->dataPosition(); in writeToParcel()
140 size_t position = parcel->dataPosition(); in writeToParcel()
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java244 int posAfterWrite = p.dataPosition(); in parcel_unparcel_regular()
249 assertEquals(posAfterWrite, p.dataPosition()); in parcel_unparcel_regular()
257 int posAfterWrite = p.dataPosition(); in parcel_unparcel_withFrame()
262 assertEquals(posAfterWrite, p.dataPosition()); in parcel_unparcel_withFrame()
317 int posAfterWrite = p.dataPosition(); in parcel_unparcel_nocutout()
322 assertEquals(posAfterWrite, p.dataPosition()); in parcel_unparcel_nocutout()
330 int posAfterWrite = p.dataPosition(); in parcel_unparcel_inplace()
338 assertEquals(posAfterWrite, p.dataPosition()); in parcel_unparcel_inplace()
/frameworks/base/core/java/android/content/pm/
DPackageParserCacheHelper.java59 final int startPosition = mParcel.dataPosition(); in startAndInstall()
103 mStartPos = p.dataPosition(); in WriteHelper()
144 final int poolPosition = mParcel.dataPosition(); in finishAndUninstall()
/frameworks/base/core/java/android/os/
DPooledStringWriter.java54 mStart = out.dataPosition(); in PooledStringWriter()
75 final int pos = mOut.dataPosition(); in finish()
DParcelableParcel.java44 int pos = src.dataPosition(); in ParcelableParcel()
DParcel.java485 public final int dataPosition() { in dataPosition() method in Parcel
926 if (DEBUG_ARRAY_MAP) startPos = dataPosition(); in writeArrayMapInternal()
930 + (dataPosition()-startPos) + " bytes: key=0x" in writeArrayMapInternal()
1905 final int sizePosition = dataPosition(); in writeException()
1914 final int payloadPosition = dataPosition(); in writeException()
1928 final int sizePosition = dataPosition(); in writeException()
1931 final int payloadPosition = dataPosition(); in writeException()
1962 final int sizePosition = dataPosition(); in writeNoException()
1965 final int payloadPosition = dataPosition(); in writeNoException()
2944 int off = dataPosition() - 4; in readValue()
[all …]
DBaseBundle.java1579 int lengthPos = parcel.dataPosition(); in writeToParcelInner()
1583 int startPos = parcel.dataPosition(); in writeToParcelInner()
1585 int endPos = parcel.dataPosition(); in writeToParcelInner()
1636 int offset = parcel.dataPosition(); in readFromParcelInner()
1655 final int size = tmp.dataPosition(); in dumpStats()
/frameworks/av/media/libaaudio/tests/
Dtest_marshalling.cpp39 size_t pos = parcel.dataPosition(); in TEST()
65 size_t pos = parcel.dataPosition(); in TEST()
99 size_t pos = parcel.dataPosition(); in TEST()
149 size_t pos = parcel.dataPosition(); in TEST()
/frameworks/native/libs/binder/
DStatus.cpp105 const size_t header_start = parcel.dataPosition(); in readFromParcel()
155 parcel.setDataPosition(parcel.dataPosition() + remote_stack_trace_header_size); in readFromParcel()
161 const size_t header_start = parcel.dataPosition(); in readFromParcel()
DPersistableBundle.cpp101 size_t length_pos = parcel->dataPosition(); in writeToParcel()
105 size_t start_pos = parcel->dataPosition(); in writeToParcel()
107 size_t end_pos = parcel->dataPosition(); in writeToParcel()
/frameworks/base/media/java/android/media/
DMetadata.java305 final int start = parcel.dataPosition(); in scanAllRecords()
331 mKeyToPosMap.put(metadataId, parcel.dataPosition()); in scanAllRecords()
398 final int pin = parcel.dataPosition(); // to roll back in case of errors. in parse()
/frameworks/av/media/libstagefright/timedtext/
DTextDescriptions.cpp122 size_t dataPos = parcel->dataPosition(); in extract3GPPLocalDescriptions()
169 size_t dataPos = parcel->dataPosition(); in extract3GPPLocalDescriptions()
260 size_t dataPos = parcel->dataPosition(); in extract3GPPLocalDescriptions()
455 size_t dataPos = parcel->dataPosition(); in extract3GPPGlobalDescriptions()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java265 if (mCurrentParcel.dataPosition() < mCurrentParcelEnd) { in getNextParcel()
287 int curPos = p.dataPosition(); in getNextParcel()
307 final int curPos = p.dataPosition(); in getNextParcel()
/frameworks/base/core/java/android/app/usage/
DUsageEvents.java619 mParcel.appendFrom(data, data.dataPosition(), listByteLength); in UsageEvents()
620 mParcel.setDataSize(mParcel.dataPosition()); in UsageEvents()
863 final int listByteLength = p.dataPosition(); in writeToParcel()
882 data.writeInt(mParcel.dataPosition()); in writeToParcel()
/frameworks/base/core/java/android/app/admin/
DNetworkEvent.java91 final int initialPosition = in.dataPosition();
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java216 int start = out.dataPosition(); in writeToParcel()
221 + (out.dataPosition() - start) in writeToParcel()
230 if (DEBUG_PARCEL) Log.d(TAG, "Creating PooledStringWriter @ " + out.dataPosition()); in writeToParcelInner()
238 + " @ pos " + out.dataPosition() + "; returning partial result"); in writeToParcelInner()
242 + out.dataPosition() + ", size " + pwriter.getStringCount()); in writeToParcelInner()
248 + out.dataPosition() + ", size " + pwriter.getStringCount()); in writeToParcelInner()
271 if (DEBUG_PARCEL) Log.d(TAG, "write view: at " + out.dataPosition() in writeView()
324 if (DEBUG_PARCEL) Log.d(TAG, "write window #" + pos + ": at " + out.dataPosition() in writeNextEntryToParcel()
365 + mCurParcel.dataPosition()); in go()
373 if (DEBUG_PARCEL) Log.d(TAG, "Finished reading: at " + mCurParcel.dataPosition() in go()
[all …]
/frameworks/base/core/java/android/security/keymaster/
DKeymasterArgument.java37 final int pos = in.dataPosition();
/frameworks/av/drm/libmediadrm/
DIDrmClient.cpp70 obj.appendFrom(const_cast<Parcel *>(&data), data.dataPosition(), data.dataAvail()); in onTransact()
/frameworks/base/core/java/android/app/
DApplicationErrorReport.java433 int start = dest.dataPosition(); in writeToParcel()
442 int total = dest.dataPosition()-start; in writeToParcel()
450 Slog.d("Error", "ERR: TOTAL BYTES WRITTEN: " + (dest.dataPosition()-start)); in writeToParcel()
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableParcelable.java135 int actualLength = parcel.dataPosition(); in unmarshal()

12