Home
last modified time | relevance | path

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

1234567891011

/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/
DParcelArrayPerfTest.java88 mWriteParcel.setDataPosition(0); in timeWriteByteArray()
97 mByteParcel.setDataPosition(0); in timeCreateByteArray()
106 mByteParcel.setDataPosition(0); in timeReadByteArray()
115 mWriteParcel.setDataPosition(0); in timeWriteIntArray()
124 mIntParcel.setDataPosition(0); in timeCreateIntArray()
133 mIntParcel.setDataPosition(0); in timeReadIntArray()
142 mWriteParcel.setDataPosition(0); in timeWriteLongArray()
151 mLongParcel.setDataPosition(0); in timeCreateLongArray()
160 mLongParcel.setDataPosition(0); in timeReadLongArray()
DParcelPerfTest.java46 mParcel.setDataPosition(0); in setUp()
60 mParcel.setDataPosition(0); in timeSetDataPosition()
109 mParcel.setDataPosition(0); in timeWriteByte()
118 mParcel.setDataPosition(0); in timeReadByte()
128 mParcel.setDataPosition(0); in timeWriteInt()
137 mParcel.setDataPosition(0); in timeReadInt()
147 mParcel.setDataPosition(0); in timeWriteLong()
156 mParcel.setDataPosition(0); in timeReadLong()
205 p.setDataPosition(0); in timeWriteException()
224 p.setDataPosition(0); in timeReadException()
[all …]
/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/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/wifi/tests/src/android/net/wifi/
DParcelUtilTest.java50 mParcel.setDataPosition(0); // Rewind data position back to the beginning for read. in readWriteNullPrivateKey()
60 mParcel.setDataPosition(0); // Rewind data position back to the beginning for read. in readWriteValidPrivateKey()
71 mParcel.setDataPosition(0); // Rewind data position back to the beginning for read. in readWriteNullCertificate()
81 mParcel.setDataPosition(0); // Rewind data position back to the beginning for read. in readWriteValidCertificate()
91 mParcel.setDataPosition(0); // Rewind data position back to the beginning for read. in readWriteNullCertificates()
103 mParcel.setDataPosition(0); // Rewind data position back to the beginning for read. in readWriteValidCertificates()
/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/
DWrappedApplicationKeyTest.java76 mParcel.setDataPosition(0); in writeToParcel_writesAliasToParcel()
86 mParcel.setDataPosition(0); in writeToParcel_writesKeyMaterial()
96 mParcel.setDataPosition(0); in writeToParcel_writesMetadata_nonNull()
106 mParcel.setDataPosition(0); in writeToParcel_writesMetadata_null()
116 mParcel.setDataPosition(0); in writeToParcel_writesMetadata_absent()
DRecoveryCertPathTest.java47 parcel.setDataPosition(0); in getCertPath_throwsIfCannnotDecode()
70 parcel.setDataPosition(0); in writeToThenReadFromParcel()
/frameworks/base/core/java/android/os/
DParcelableHolder.java110 mParcel.setDataPosition(0); in getParcelable()
134 mParcel.setDataPosition(0); in readFromParcel()
144 parcel.setDataPosition(MathUtils.addOrThrow(dataStartPos, dataSize)); in readFromParcel()
163 parcel.setDataPosition(sizePos); in writeToParcel()
165 parcel.setDataPosition(MathUtils.addOrThrow(parcel.dataPosition(), dataSize)); in writeToParcel()
DPooledStringWriter.java76 mOut.setDataPosition(mStart); in finish()
78 mOut.setDataPosition(pos); in finish()
DParcelableParcel.java45 src.setDataPosition(MathUtils.addOrThrow(pos, size)); in ParcelableParcel()
51 mParcel.setDataPosition(0); in getParcel()
/frameworks/av/media/libaudiofoundation/tests/
Daudiofoundation_parcelable_test.cpp83 data.setDataPosition(0); in TEST()
94 data.setDataPosition(0); in TEST()
108 data.setDataPosition(0); in TEST()
121 data.setDataPosition(0); in TEST()
136 data.setDataPosition(0); in TEST()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/procstats/
DSparseMappingTableTest.java53 dataParcel.setDataPosition(0); in testParcelingEmpty()
59 tableParcel.setDataPosition(0); in testParcelingEmpty()
87 dataParcel.setDataPosition(0); in testParceling()
93 tableParcel.setDataPosition(0); in testParceling()
134 dataParcel.setDataPosition(0); in testParcelingWithReset()
140 tableParcel.setDataPosition(0); in testParcelingWithReset()
/frameworks/base/core/java/android/content/pm/
DPackageParserCacheHelper.java62 mParcel.setDataPosition(poolPosition); in startAndInstall()
66 mParcel.setDataPosition(startPosition); in startAndInstall()
147 mParcel.setDataPosition(mStartPos); in finishAndUninstall()
151 mParcel.setDataPosition(mParcel.dataSize()); in finishAndUninstall()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCallAttributesTest.java41 parcel.setDataPosition(0); in testParcelUnparcelCallQuality()
58 parcel.setDataPosition(0); in testParcelUnparcelPreciseCallState()
75 parcel.setDataPosition(0); in testParcelUnparcelNetworkType()
/frameworks/av/media/libaudioclient/
DAudioVolumeGroup.cpp67 parcel->setDataPosition(position); in writeToParcel()
73 parcel->setDataPosition(sizePosition); in writeToParcel()
75 parcel->setDataPosition(position); in writeToParcel()
DAudioProductStrategy.cpp60 parcel->setDataPosition(position); in writeToParcel()
66 parcel->setDataPosition(sizePosition); in writeToParcel()
68 parcel->setDataPosition(position); in writeToParcel()
/frameworks/base/media/java/android/media/
DMetadata.java343 parcel.setDataPosition(MathUtils.addOrThrow(start, size)); in scanAllRecords()
404 parcel.setDataPosition(pin); in parse()
412 parcel.setDataPosition(pin); in parse()
418 parcel.setDataPosition(pin); in parse()
562 mParcel.setDataPosition(pos); in checkType()
/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/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()
487 parcel->setDataPosition(dataPos); in extract3GPPGlobalDescriptions()
503 parcel->setDataPosition(dataPos); in extract3GPPGlobalDescriptions()
/frameworks/av/media/libaaudio/tests/
Dtest_marshalling.cpp42 parcel.setDataPosition(pos); in TEST()
68 parcel.setDataPosition(pos); in TEST()
102 parcel.setDataPosition(pos); in TEST()
153 parcel.setDataPosition(pos); in TEST()
/frameworks/base/core/tests/coretests/src/android/os/
DTimestampedValueTest.java58 parcel.setDataPosition(0); in testParceling()
75 parcel.setDataPosition(0); in testParceling_valueClassOk()
109 parcel.setDataPosition(0); in testParceling_nullValue()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java241 mHistoryBuffer.setDataPosition(mHistoryBuffer.dataSize()); in finishIteratingHistory()
321 mHistoryBuffer.setDataPosition(0); in getNextParcel()
347 out.setDataPosition(0); in readFileToParcel()
357 p.setDataPosition(0); in skipHead()
408 p.setDataPosition(0); in readFromParcel()

1234567891011