Home
last modified time | relevance | path

Searched refs:compareData (Results 1 – 5 of 5) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/os/
H A DParcelTest.java137 assertTrue(Parcel.compareData(pA, iA, pB, iB, length)); in testCompareDataInRange_whenSameData()
156 assertTrue(Parcel.compareData(pA, iA, pB, iB, length)); in testCompareDataInRange_whenSameDataWithBinder()
172 assertFalse(Parcel.compareData(pA, iA, pB, iB, length)); in testCompareDataInRange_whenDifferentData()
190 () -> Parcel.compareData(pA, iA + length, pB, iB, 1)); in testCompareDataInRange_whenLimitOutOfBounds_throws()
192 () -> Parcel.compareData(pA, iA, pB, pB.dataSize(), 1)); in testCompareDataInRange_whenLimitOutOfBounds_throws()
194 () -> Parcel.compareData(pA, iA, pB, iB, length + 1)); in testCompareDataInRange_whenLimitOutOfBounds_throws()
196 () -> Parcel.compareData(pA, iA + length + 1, pB, iB, 0)); in testCompareDataInRange_whenLimitOutOfBounds_throws()
198 () -> Parcel.compareData(pA, iA, pB, iB + pB.dataSize() + 1, 0)); in testCompareDataInRange_whenLimitOutOfBounds_throws()
214 assertTrue(Parcel.compareData(pA, 0, pB, iB, 0)); in testCompareDataInRange_whenLengthZero()
215 assertTrue(Parcel.compareData(pA, iA + length, pB, iB, 0)); in testCompareDataInRange_whenLengthZero()
[all …]
/aosp14/frameworks/base/core/jni/
H A Dandroid_os_Parcel.cpp623 return thisParcel->compareData(*otherParcel); in android_os_Parcel_compareData()
/aosp14/frameworks/base/core/java/android/os/
H A DParcel.java795 public int compareData(Parcel other) { in compareData() method in Parcel
800 public static boolean compareData(Parcel a, int offsetA, Parcel b, int offsetB, int length) { in compareData() method in Parcel
4569 return Parcel.compareData(source, mPosition, otherSource, value.mPosition, mLength); in equals()
H A DBaseBundle.java621 return mParcelledData.compareData(other.mParcelledData) == 0; in kindofEquals()
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt37833 Landroid/os/Parcel;->compareData(Landroid/os/Parcel;)I