Home
last modified time | relevance | path

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

/cts/hostsidetests/securitybulletin/test-apps/launchanywhere/src/com/android/security/cts/launchanywhere/
DCVE_2017_13315.java28 int bundleLenPos = data.dataPosition(); in generate()
31 int bundleStartPos = data.dataPosition(); in generate()
42 int byteArrayLenPos = data.dataPosition(); in generate()
44 int byteArrayStartPos = data.dataPosition(); in generate()
55 int byteArrayEndPos = data.dataPosition(); in generate()
61 int bundleEndPos = data.dataPosition(); in generate()
DCVE_2017_13312.java28 int bundleLenPos = data.dataPosition(); in generate()
31 int bundleStartPos = data.dataPosition(); in generate()
54 int byteArrayLenPos = data.dataPosition(); in generate()
56 int byteArrayStartPos = data.dataPosition(); in generate()
61 int byteArrayEndPos = data.dataPosition(); in generate()
67 int bundleEndPos = data.dataPosition(); in generate()
DCVE_2017_13286.java31 int bundleLenPos = data.dataPosition(); in generate()
34 int bundleStartPos = data.dataPosition(); in generate()
51 int byteArrayLenPos = data.dataPosition(); in generate()
53 int byteArrayStartPos = data.dataPosition(); in generate()
64 int byteArrayEndPos = data.dataPosition(); in generate()
70 int bundleEndPos = data.dataPosition(); in generate()
DCVE_2017_13289.java29 int bundleLenPos = data.dataPosition(); in generate()
32 int bundleStartPos = data.dataPosition(); in generate()
71 int byteArrayLenPos = data.dataPosition(); in generate()
73 int byteArrayStartPos = data.dataPosition(); in generate()
78 int byteArrayEndPos = data.dataPosition(); in generate()
84 int bundleEndPos = data.dataPosition(); in generate()
/cts/tests/tests/security/src/android/security/cts/
DBitmapWrapper.java67 final int before = dest.dataPosition(); in writeToParcel()
69 final int oldEnd = dest.dataPosition(); in writeToParcel()
77 dest.setDataPosition(dest.dataPosition() + colorSpaceLen); in writeToParcel()
81 dest.setDataPosition(dest.dataPosition() - 4); in writeToParcel()
86 dest.setDataPosition(dest.dataPosition() - 4); in writeToParcel()
95 int newEnd = dest.dataPosition() + dataSize; in writeToParcel()
100 dest.setDataPosition(dest.dataPosition() + skip); in writeToParcel()
DAmbiguousBundlesTest.java69 mContextBinderSize = mContextBinder.dataPosition(); in test_android_CVE_2020_0082()
132 int sizePosition = parcel.dataPosition(); in test_android_CVE_2020_0082()
135 int startPosition = parcel.dataPosition(); in test_android_CVE_2020_0082()
169 int bundleDataSize = parcel.dataPosition() - startPosition; in test_android_CVE_2020_0082()
296 int smallerParcelableSize = p.dataPosition(); in test_android_CVE_2018_9339()
298 int biggerParcelableSize = p.dataPosition() - smallerParcelableSize; in test_android_CVE_2018_9339()
348 int bundleLengthPosition = parcel.dataPosition(); in test_android_CVE_2018_9339()
351 int bundleStart = parcel.dataPosition(); in test_android_CVE_2018_9339()
357 int bundleEnd = parcel.dataPosition(); in test_android_CVE_2018_9339()
646 int sizePosition = parcel.dataPosition(); in test_lazyValueNegativeLength()
[all …]
DNanoAppBundleTest.java335 int bundleLenPos = data.dataPosition(); in nanoAppFilterParcel()
338 int bundleStartPos = data.dataPosition(); in nanoAppFilterParcel()
352 int byteArrayLenPos = data.dataPosition(); in nanoAppFilterParcel()
354 int byteArrayStartPos = data.dataPosition(); in nanoAppFilterParcel()
365 int byteArrayEndPos = data.dataPosition(); in nanoAppFilterParcel()
371 int bundleEndPos = data.dataPosition(); in nanoAppFilterParcel()
DWorkSourceTest.java63 assertEquals(p.dataSize(), p.dataPosition()); in testWorkChainParceling()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2412/
Dpoc.cpp55 size_t lengthPos = pData->dataPosition(); in writeBundle()
59 size_t startPos = pData->dataPosition(); in writeBundle()
69 size_t endPos = pData->dataPosition(); in writeBundle()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0921/src/android/security/cts/CVE_2021_0921/
DGenMalformedParcel.java20 int bundleLenPos = data.dataPosition(); in parsingPackageImplParcel()
23 int bundleStartPos = data.dataPosition(); in parsingPackageImplParcel()
187 int byteArrayLenPos = data.dataPosition(); in parsingPackageImplParcel()
189 int byteArrayStartPos = data.dataPosition(); in parsingPackageImplParcel()
197 int byteArrayEndPos = data.dataPosition(); in parsingPackageImplParcel()
202 int bundleEndPos = data.dataPosition(); in parsingPackageImplParcel()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0928/src/android/security/cts/CVE_2021_0928/
DAInjector.java47 int a = parcel.dataPosition(); in createClipData()
51 int b = parcel.dataPosition(); in createClipData()
219 mRewind = dest.dataPosition(); in writeToParcel()
222 dest.setDataPosition(dest.dataPosition() - mRewind); in writeToParcel()
251 int bundleLengthPos = dest.dataPosition(); in writeToParcel()
254 int bundleStartPos = dest.dataPosition(); in writeToParcel()
256 int bundleEndPos = dest.dataPosition(); in writeToParcel()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DParcelTest.java53 int parcelSize = parcel.dataPosition(); in parcelAndUnparcel()
57 assertThat(parcel.dataPosition()).isEqualTo(parcelSize); in parcelAndUnparcel()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0685/src/android/security/cts/CVE_2021_0685/
DPocAmbiguator.java68 int sizePosition = parcel.dataPosition(); in make()
71 int startPosition = parcel.dataPosition(); in make()
100 int bundleDataSize = parcel.dataPosition() - startPosition; in make()
113 parcel.appendFrom(skipParcel, BUNDLE_SKIP, skipParcel.dataPosition() - BUNDLE_SKIP); in writeBundleSkippingHeaders()
/cts/tests/tests/content/src/android/content/cts/
DCursorWindowContentProvider.java85 fdPos = tmp.dataPosition(); in writeToParcel()
101 tmp.setDataPosition(dest.dataPosition()); in writeToParcel()
102 dest.appendFrom(tmp, dest.dataPosition(), tmp.dataAvail()); in writeToParcel()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-20944/test-app/src/android/security/cts/CVE_2023_20944_test/
DPocActivity.java74 int startOffset = p.dataPosition(); in createLabelInjectingOptions()
80 int innerBundleLengthPos = p.dataPosition(); in createLabelInjectingOptions()
82 int endOffset = p.dataPosition(); in createLabelInjectingOptions()
/cts/tests/tests/graphics/src/android/graphics/cts/
DANativeWindowTest.java254 assertEquals(0, parcel.dataPosition()); in testWriteToParcel()
257 assertNotEquals(0, parcel.dataPosition()); in testWriteToParcel()
272 assertEquals(0, parcel.dataPosition()); in testReadFromParcel()
275 assertNotEquals(0, parcel.dataPosition()); in testReadFromParcel()
290 assertEquals(0, parcel.dataPosition()); in testWriteReadFromParcel()
293 assertNotEquals(0, parcel.dataPosition()); in testWriteReadFromParcel()
DInsetsTest.java107 assertEquals(parcel.dataSize(), parcel.dataPosition()); in testParcel()
/cts/tests/tests/hardware/src/android/hardware/cts/
DHardwareBufferTest.java235 assertEquals(0, parcel.dataPosition()); in testWriteJavaReadNativeParcel()
238 assertNotEquals(0, parcel.dataPosition()); in testWriteJavaReadNativeParcel()
259 assertEquals(0, parcel.dataPosition()); in testWriteNativeReadJavaParcel()
262 assertNotEquals(0, parcel.dataPosition()); in testWriteNativeReadJavaParcel()
/cts/tests/tests/os/src/android/os/cts/
DParcelTest.java184 d1 = p.dataPosition(); in testAppendFrom()
187 d2 = p.dataPosition(); in testAppendFrom()
209 assertEquals(p.dataSize() - p.dataPosition(), p.dataAvail()); in testDataAvail()
211 assertEquals(p.dataSize() - p.dataPosition(), p.dataAvail()); in testDataAvail()
213 assertEquals(p.dataSize() - p.dataPosition(), p.dataAvail()); in testDataAvail()
215 assertEquals(p.dataSize() - p.dataPosition(), p.dataAvail()); in testDataAvail()
268 assertEquals(0, p.dataPosition()); in testDataPosition()
270 int dP1 = p.dataPosition(); in testDataPosition()
272 int dP2 = p.dataPosition(); in testDataPosition()
283 assertEquals(0, p.dataPosition()); in testSetDataPosition()
[all …]
DParcelIntegrationTest.java109 final int pos = parcel.dataPosition(); in onCreate()
DBundleTest.java1340 final int lengthPos = p.dataPosition(); in testBundleLengthNotAlignedByFour()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DTextBoundsInfoTest.java219 final int dataPosition = parcel.dataPosition(); in testTextBoundsInfo_writeToParcel() local
221 parcel.setDataPosition(dataPosition); in testTextBoundsInfo_writeToParcel()
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/
DWallpaperColorsTest.java77 Assert.assertEquals(parcel.dataPosition(), parcel.dataSize()); in parcelTest()
/cts/tools/release-parser/tests/resources/
DShell.apk.pb.txt1476 name: "dataPosition"
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt33364 method public int dataPosition();