Home
last modified time | relevance | path

Searched refs:setDataPosition (Results 1 – 25 of 140) sorted by relevance

123456

/frameworks/base/core/tests/benchmarks/src/android/os/
DParcelArrayBenchmark.java62 mWriteParcel.setDataPosition(0); in timeWriteByteArray()
69 mByteParcel.setDataPosition(0); in timeCreateByteArray()
76 mByteParcel.setDataPosition(0); in timeReadByteArray()
83 mWriteParcel.setDataPosition(0); in timeWriteIntArray()
90 mIntParcel.setDataPosition(0); in timeCreateIntArray()
97 mIntParcel.setDataPosition(0); in timeReadIntArray()
104 mWriteParcel.setDataPosition(0); in timeWriteLongArray()
111 mLongParcel.setDataPosition(0); in timeCreateLongArray()
118 mLongParcel.setDataPosition(0); in timeReadLongArray()
DParcelBenchmark.java30 mParcel.setDataPosition(0); in setUp()
43 mParcel.setDataPosition(0); in timeWriteByte()
52 mParcel.setDataPosition(0); in timeReadByte()
62 mParcel.setDataPosition(0); in timeWriteInt()
71 mParcel.setDataPosition(0); in timeReadInt()
81 mParcel.setDataPosition(0); in timeWriteLong()
90 mParcel.setDataPosition(0); in timeReadLong()
/frameworks/base/apct-tests/perftests/core/src/android/os/
DParcelPerfTest.java41 mParcel.setDataPosition(0); in setUp()
55 mParcel.setDataPosition(0); in timeSetDataPosition()
64 mParcel.setDataPosition(0); in timeWriteByte()
73 mParcel.setDataPosition(0); in timeReadByte()
83 mParcel.setDataPosition(0); in timeWriteInt()
92 mParcel.setDataPosition(0); in timeReadInt()
102 mParcel.setDataPosition(0); in timeWriteLong()
111 mParcel.setDataPosition(0); in timeReadLong()
DParcelArrayPerfTest.java87 mWriteParcel.setDataPosition(0); in timeWriteByteArray()
96 mByteParcel.setDataPosition(0); in timeCreateByteArray()
105 mByteParcel.setDataPosition(0); in timeReadByteArray()
114 mWriteParcel.setDataPosition(0); in timeWriteIntArray()
123 mIntParcel.setDataPosition(0); in timeCreateIntArray()
132 mIntParcel.setDataPosition(0); in timeReadIntArray()
141 mWriteParcel.setDataPosition(0); in timeWriteLongArray()
150 mLongParcel.setDataPosition(0); in timeCreateLongArray()
159 mLongParcel.setDataPosition(0); in timeReadLongArray()
/frameworks/av/media/libmedia/
DMetadata.cpp66 mData->setDataPosition(mBegin); in resetParcel()
75 mData->setDataPosition(mBegin); in updateLength()
77 mData->setDataPosition(end); in updateLength()
106 mData->setDataPosition(begin); in appendBool()
126 mData->setDataPosition(begin); in appendInt32()
143 mData->setDataPosition(mBegin); in checkKey()
159 mData->setDataPosition(pos + size); in checkKey()
162 mData->setDataPosition(curr); in checkKey()
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/
DSoundTriggerTest.java48 parcel.setDataPosition(0); in testKeyphraseParcelUnparcel_noUsers()
67 parcel.setDataPosition(0); in testKeyphraseParcelUnparcel_zeroUsers()
86 parcel.setDataPosition(0); in testKeyphraseParcelUnparcel_pos()
109 parcel.setDataPosition(0); in testKeyphraseSoundModelParcelUnparcel_noData()
132 parcel.setDataPosition(0); in testKeyphraseSoundModelParcelUnparcel_zeroData()
154 parcel.setDataPosition(0); in testKeyphraseSoundModelParcelUnparcel_noKeyphrases()
176 parcel.setDataPosition(0); in testKeyphraseSoundModelParcelUnparcel_zeroKeyphrases()
201 parcel.setDataPosition(0); in testKeyphraseSoundModelParcelUnparcel_largeData()
221 parcel.setDataPosition(0); in testRecognitionEventParcelUnparcel_noData()
238 parcel.setDataPosition(0); in testRecognitionEventParcelUnparcel_zeroData()
[all …]
/frameworks/base/wifi/tests/src/android/net/wifi/
DParcelUtilTest.java49 mParcel.setDataPosition(0); // Rewind data position back to the beginning for read. in readWriteNullPrivateKey()
59 mParcel.setDataPosition(0); // Rewind data position back to the beginning for read. in readWriteValidPrivateKey()
70 mParcel.setDataPosition(0); // Rewind data position back to the beginning for read. in readWriteNullCertificate()
80 mParcel.setDataPosition(0); // Rewind data position back to the beginning for read. in readWriteValidCertificate()
90 mParcel.setDataPosition(0); // Rewind data position back to the beginning for read. in readWriteNullCertificates()
102 mParcel.setDataPosition(0); // Rewind data position back to the beginning for read. in readWriteValidCertificates()
DWifiConfigurationTest.java57 parcelR.setDataPosition(0); in testWifiConfigurationParcel()
94 parcelR.setDataPosition(0); in testNetworkSelectionStatusParcel()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/
DAdvertiseDataTest.java45 parcel.setDataPosition(0); in testEmptyData()
56 parcel.setDataPosition(0); in testEmptyServiceUuid()
71 parcel.setDataPosition(0); in testEmptyManufacturerData()
86 parcel.setDataPosition(0); in testEmptyServiceData()
102 parcel.setDataPosition(0); in testServiceUuid()
123 parcel.setDataPosition(0); in testManufacturerData()
139 parcel.setDataPosition(0); in testServiceData()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/procstats/
DSparseMappingTableTest.java59 dataParcel.setDataPosition(0); in testParcelingEmpty()
65 tableParcel.setDataPosition(0); in testParcelingEmpty()
93 dataParcel.setDataPosition(0); in testParceling()
99 tableParcel.setDataPosition(0); in testParceling()
140 dataParcel.setDataPosition(0); in testParcelingWithReset()
146 tableParcel.setDataPosition(0); in testParcelingWithReset()
/frameworks/base/media/java/android/media/
DMetadata.java337 parcel.setDataPosition(MathUtils.addOrThrow(start, size)); in scanAllRecords()
397 parcel.setDataPosition(pin); in parse()
405 parcel.setDataPosition(pin); in parse()
411 parcel.setDataPosition(pin); in parse()
546 mParcel.setDataPosition(pos); in checkType()
/frameworks/av/media/libstagefright/timedtext/
DTextDescriptions.cpp131 parcel->setDataPosition(dataPos); in extract3GPPLocalDescriptions()
184 parcel->setDataPosition(dataPos); in extract3GPPLocalDescriptions()
276 parcel->setDataPosition(dataPos); in extract3GPPLocalDescriptions()
287 parcel->setDataPosition(dataPos); in extract3GPPLocalDescriptions()
298 parcel->setDataPosition(dataPos); in extract3GPPLocalDescriptions()
467 parcel->setDataPosition(dataPos); in extract3GPPGlobalDescriptions()
483 parcel->setDataPosition(dataPos); in extract3GPPGlobalDescriptions()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerMetadataParserTest.java53 mParcel.setDataPosition(0); in assertParseFail()
60 mParcel.setDataPosition(0); in assertParse()
75 mParcel.setDataPosition(offset); in adjustSize()
77 mParcel.setDataPosition(pos); in adjustSize()
82 mParcel.setDataPosition(0); in resetParcel()
98 mParcel.setDataPosition(0); in testMissingSizeAndMarker()
/frameworks/base/core/java/android/os/
DPooledStringWriter.java76 mOut.setDataPosition(mStart); in finish()
78 mOut.setDataPosition(pos); in finish()
DParcelableParcel.java43 src.setDataPosition(MathUtils.addOrThrow(pos, size)); in ParcelableParcel()
48 mParcel.setDataPosition(0); in getParcel()
DBinder.java602 data.setDataPosition(0); in transact()
606 reply.setDataPosition(0); in transact()
644 parcel.setDataPosition(0); in checkParcel()
686 reply.setDataPosition(0); in execTransact()
694 reply.setDataPosition(0); in execTransact()
/frameworks/av/media/libaaudio/tests/
Dtest_marshalling.cpp40 parcel.setDataPosition(pos); in TEST()
66 parcel.setDataPosition(pos); in TEST()
100 parcel.setDataPosition(pos); in TEST()
151 parcel.setDataPosition(pos); in TEST()
/frameworks/av/media/libaudioclient/
DAudioPolicy.cpp106 parcel->setDataPosition(position); in writeToParcel()
112 parcel->setDataPosition(sizePosition); in writeToParcel()
114 parcel->setDataPosition(position); in writeToParcel()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DNetworkEventTest.java35 p.setDataPosition(0); in testConnectEventParceling()
52 p.setDataPosition(0); in testDnsEventParceling()
/frameworks/base/tests/net/java/android/net/
DUidRangeTest.java97 p.setDataPosition(0); in marshall()
109 p.setDataPosition(0); in unmarshall()
/frameworks/base/core/java/android/app/usage/
DUsageEvents.java284 mParcel.setDataPosition(0); in UsageEvents()
287 mParcel.setDataPosition(positionInParcel); in UsageEvents()
351 mParcel.setDataPosition(0); in resetToStart()
459 p.setDataPosition(0); in writeToParcel()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DParceledListSliceTest.java24 parcel.setDataPosition(0); in testSmallList()
75 parcel.setDataPosition(0); in testLargeList()
105 parcel.setDataPosition(0); in testStringList()
128 parcel.setDataPosition(0); in testHomogeneousElements()
/frameworks/support/media-compat/tests/src/android/support/v4/media/
DMediaItemTest.java59 p.setDataPosition(0); in testBrowsableMediaItem()
88 p.setDataPosition(0); in testPlayableMediaItem()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNeighboringCellInfoTest.java68 p.setDataPosition(0); in testParcel()
71 p.setDataPosition(0); in testParcel()
/frameworks/support/media-compat/api21/android/support/v4/media/
DMediaBrowserServiceCompatApi21.java72 parcel.setDataPosition(0); in sendResult()
91 parcel.setDataPosition(0); in parcelListToItemList()

123456