/frameworks/base/core/tests/benchmarks/src/android/os/ |
D | ParcelArrayBenchmark.java | 62 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()
|
D | ParcelBenchmark.java | 30 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/ |
D | ParcelArrayPerfTest.java | 88 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()
|
D | ParcelPerfTest.java | 46 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/ |
D | Metadata.cpp | 66 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/ |
D | SoundTriggerTest.java | 48 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/ |
D | AdvertiseDataTest.java | 45 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/ |
D | ParcelUtilTest.java | 50 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/ |
D | WrappedApplicationKeyTest.java | 76 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()
|
D | RecoveryCertPathTest.java | 47 parcel.setDataPosition(0); in getCertPath_throwsIfCannnotDecode() 70 parcel.setDataPosition(0); in writeToThenReadFromParcel()
|
/frameworks/base/core/java/android/os/ |
D | ParcelableHolder.java | 110 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()
|
D | PooledStringWriter.java | 76 mOut.setDataPosition(mStart); in finish() 78 mOut.setDataPosition(pos); in finish()
|
D | ParcelableParcel.java | 45 src.setDataPosition(MathUtils.addOrThrow(pos, size)); in ParcelableParcel() 51 mParcel.setDataPosition(0); in getParcel()
|
/frameworks/av/media/libaudiofoundation/tests/ |
D | audiofoundation_parcelable_test.cpp | 83 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/ |
D | SparseMappingTableTest.java | 53 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/ |
D | PackageParserCacheHelper.java | 62 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/ |
D | CallAttributesTest.java | 41 parcel.setDataPosition(0); in testParcelUnparcelCallQuality() 58 parcel.setDataPosition(0); in testParcelUnparcelPreciseCallState() 75 parcel.setDataPosition(0); in testParcelUnparcelNetworkType()
|
/frameworks/av/media/libaudioclient/ |
D | AudioVolumeGroup.cpp | 67 parcel->setDataPosition(position); in writeToParcel() 73 parcel->setDataPosition(sizePosition); in writeToParcel() 75 parcel->setDataPosition(position); in writeToParcel()
|
D | AudioProductStrategy.cpp | 60 parcel->setDataPosition(position); in writeToParcel() 66 parcel->setDataPosition(sizePosition); in writeToParcel() 68 parcel->setDataPosition(position); in writeToParcel()
|
/frameworks/base/media/java/android/media/ |
D | Metadata.java | 343 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/ |
D | MediaPlayerMetadataParserTest.java | 53 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/ |
D | TextDescriptions.cpp | 131 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/ |
D | test_marshalling.cpp | 42 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/ |
D | TimestampedValueTest.java | 58 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/ |
D | BatteryStatsHistory.java | 241 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()
|