Home
last modified time | relevance | path

Searched refs:dataSize (Results 1 – 24 of 24) sorted by relevance

/cts/tests/tests/content/src/android/content/pm/cts/
DPackageStatsTest.java33 long dataSize = 4096; in testPackageStats() local
40 stats.dataSize = dataSize; in testPackageStats()
61 assertEquals(expected.dataSize, actual.dataSize); in checkInfoSame()
/cts/tests/tests/security/src/android/security/cts/
DBitmapWrapper.java93 int dataSize = mReplaceFields.get(Field.DataSize); in writeToParcel() local
94 dest.writeInt(dataSize); in writeToParcel()
95 int newEnd = dest.dataPosition() + dataSize; in writeToParcel()
104 int dataSize = mReplaceFields.get(Field.DataSize); in writeToParcel() local
105 dest.writeInt(dataSize); in writeToParcel()
DWorkSourceTest.java63 assertEquals(p.dataSize(), p.dataPosition()); in testWorkChainParceling()
/cts/tests/tests/opengl/src/android/opengl/cts/
DCompressedTextureLoader.java180 int dataSize = bitmap.getRowBytes() * bitmap.getHeight(); in createFromUncompressedETC1() local
183 dataBuffer = ByteBuffer.allocateDirect(dataSize).order(ByteOrder.nativeOrder()); in createFromUncompressedETC1()
200 private static ByteBuffer read(InputStream is, int dataSize) { in read() argument
202 dataBuffer = ByteBuffer.allocateDirect(dataSize).order(ByteOrder.nativeOrder()); in read()
204 for (int i = 0; i < dataSize; ) { in read()
205 int chunkSize = Math.min(ioBuffer.length, dataSize - i); in read()
241 int dataSize = (header.mWidth * header.mHeight * header.mBitCount) >> 3; in loadTexturePVRTC() local
242 ByteBuffer dataBuffer = read(is, dataSize); in loadTexturePVRTC()
416 int dataSize = (header.mWidth * header.mHeight * bpp) >> 3; in loadTextureDXT() local
417 if (dataSize != header.mPitchOrLinearSize) { in loadTextureDXT()
[all …]
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_parcel.cpp441 int dataSize = AParcel_getDataSize(p1); in TEST_F() local
442 uint8_t* data = new uint8_t[dataSize]; in TEST_F()
443 EXPECT_OK(AParcel_marshal(p1, data, 0, dataSize)); in TEST_F()
445 EXPECT_OK(AParcel_unmarshal(p2, data, dataSize)); in TEST_F()
464 int dataSize = AParcel_getDataSize(p); in TEST_F() local
465 uint8_t* data = new uint8_t[dataSize]; in TEST_F()
466 EXPECT_EQ(STATUS_INVALID_OPERATION, AParcel_marshal(p, data, 0, dataSize)); in TEST_F()
478 int dataSize = AParcel_getDataSize(p); in TEST_F() local
479 uint8_t* data = new uint8_t[dataSize]; in TEST_F()
480 EXPECT_EQ(STATUS_INVALID_OPERATION, AParcel_marshal(p, data, 0, dataSize)); in TEST_F()
[all …]
/cts/hostsidetests/backup/FullBackupOnly/src/
DFullBackupOnlyBackupAgent.java74 int dataSize = data.getDataSize(); in onRestore() local
80 byte[] dataBuf = new byte[dataSize]; in onRestore()
81 data.readEntityData(dataBuf, 0, dataSize); in onRestore()
/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsFixedCollectionAdapterTest.java325 int dataSize = parcelAndRun(items, Parcel::dataSize); in testSerializationSize_largeCollection() local
328 assertLessThan(10_000, dataSize); in testSerializationSize_largeCollection()
338 int dataSize = parcelAndRun(items, Parcel::dataSize); in testSerializationSize_largeCollection_multiPackage() local
341 assertLessThan(12_000, dataSize); in testSerializationSize_largeCollection_multiPackage()
348 int dataSize = parcelAndRun(items, Parcel::dataSize); in testSerializationSize_extraLargeCollection() local
351 assertLessThan(70_000, dataSize); in testSerializationSize_extraLargeCollection()
367 int dataSize = parcelAndRun(joinedRemoteViews, Parcel::dataSize); in testSerializationSize_largeCollectionInLandPortRemoteViews() local
370 assertLessThan(15_000, dataSize); in testSerializationSize_largeCollectionInLandPortRemoteViews()
388 int dataSize = parcelAndRun(joinedRemoteViews, Parcel::dataSize); in testSerializationSize_largeCollectionInLandPortRemoteViews_multiPackage() local
391 assertLessThan(20_000, dataSize); in testSerializationSize_largeCollectionInLandPortRemoteViews_multiPackage()
[all …]
DRemoteViewsTest.java2577 return parcelAndRun(parcelable, /* flags= */ 0, Parcel::dataSize); in getParcelledSize()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2025/
DIPCThreadState.h92 const uint8_t* data, size_t dataSize,
96 const uint8_t* data, size_t dataSize,
/cts/tests/tests/mediastress/jni/
Dnative-media-jni.cpp128 XAuint32 dataSize, /* input */ in AndroidBufferQueueCallback() argument
148 assert(0 == dataSize); in AndroidBufferQueueCallback()
154 assert(BUFFER_SIZE == dataSize); in AndroidBufferQueueCallback()
/cts/tests/wallpapereffectsgeneration/src/android/wallpapereffectsgeneration/cts/
DTexturedMeshTest.java66 Log.i(TAG, "textured mesh size = " + parcel.dataSize()); in testCreateTexturedMeshRequest()
/cts/tests/tests/graphics/src/android/graphics/cts/
DInsetsTest.java107 assertEquals(parcel.dataSize(), parcel.dataPosition()); in testParcel()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-35669/test-app/src/android/security/cts/CVE_2023_35669_test/
DPocAuthService.java97 payload.appendFrom(optionPayload, 0 /* offset */, optionPayload.dataSize()); in getAccountRemovalAllowed()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21124/test-app/src/android/security/cts/CVE_2023_21124_test/
DPocAuthService.java99 payload.appendFrom(optionPayload, 0 /* offset */, optionPayload.dataSize()); in addAccount()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21131/test-app/src/android/security/cts/CVE_2023_21131_test/
DPocAuthService.java101 payload.appendFrom(optionPayload, 0 /* offset */, optionPayload.dataSize()); in getAccountRemovalAllowed()
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/
DWallpaperColorsTest.java77 Assert.assertEquals(parcel.dataPosition(), parcel.dataSize()); in parcelTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java255 int dataSize = width * height * ImageFormat.getBitsPerPixel(format) / 8; in getDataFromImage() local
259 quota.acquire(dataSize); in getDataFromImage()
265 data = new byte[dataSize]; in getDataFromImage()
/cts/tests/tests/os/src/android/os/cts/
DParcelTest.java207 assertEquals(p.dataSize(), p.dataAvail()); in testDataAvail()
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()
282 assertEquals(0, p.dataSize()); in testSetDataPosition()
290 assertEquals(4, p.dataSize()); in testSetDataPosition()
303 assertEquals(0, p.dataSize()); in testDataSize()
305 assertEquals(4, p.dataSize()); in testDataSize()
307 assertEquals(8, p.dataSize()); in testDataSize()
[all …]
/cts/tests/location/common/src/android/location/cts/common/
DTestMeasurementUtil.java958 int dataSize = message.getData().length; in verifyGnssNavMessageMandatoryField() local
959 softAssert.assertTrue("Data size: expected = 40, actual = " + dataSize, in verifyGnssNavMessageMandatoryField()
960 dataSize == 40); in verifyGnssNavMessageMandatoryField()
/cts/tests/tests/voiceinteraction/common/src/android/voiceinteraction/common/
DUtils.java463 final int size = p.dataSize(); in getParcelableSize()
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaPlayerDrmTestBase.java767 int dataSize = 0; in makeCencPSSH() local
777 rawPssh.putInt(dataSize); in makeCencPSSH()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioPlaybackConfigurationTest.java183 dstParcel.appendFrom(srcParcel, 0 /*offset*/, srcParcel.dataSize() /*size*/); in testParcelableWriteToParcel()
/cts/tools/release-parser/tests/resources/
DShell.apk.pb.txt1480 name: "dataSize"
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt13371 field @Deprecated public long dataSize;
33365 method public int dataSize();