Home
last modified time | relevance | path

Searched refs:dataSize (Results 1 – 12 of 12) 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/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/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/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/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java225 int dataSize = width * height * ImageFormat.getBitsPerPixel(format) / 8; in getDataFromImage() local
229 quota.acquire(dataSize); in getDataFromImage()
235 data = new byte[dataSize]; in getDataFromImage()
/cts/tests/tests/os/src/android/os/cts/
DParcelTest.java108 assertEquals(p.dataSize(), p.dataAvail()); in testDataAvail()
110 assertEquals(p.dataSize() - p.dataPosition(), p.dataAvail()); in testDataAvail()
112 assertEquals(p.dataSize() - p.dataPosition(), p.dataAvail()); in testDataAvail()
114 assertEquals(p.dataSize() - p.dataPosition(), p.dataAvail()); in testDataAvail()
116 assertEquals(p.dataSize() - p.dataPosition(), p.dataAvail()); in testDataAvail()
164 assertEquals(0, p.dataSize()); in testSetDataPosition()
172 assertEquals(4, p.dataSize()); in testSetDataPosition()
184 assertEquals(0, p.dataSize()); in testDataSize()
186 assertEquals(4, p.dataSize()); in testDataSize()
188 assertEquals(8, p.dataSize()); in testDataSize()
[all …]
/cts/tests/tests/location/src/android/location/cts/
DTestMeasurementUtil.java810 int dataSize = message.getData().length; in verifyGnssNavMessageMandatoryField() local
811 softAssert.assertTrue("Data size: expected = 40, actual = " + dataSize, in verifyGnssNavMessageMandatoryField()
812 dataSize == 40); in verifyGnssNavMessageMandatoryField()
/cts/tests/tests/graphics/src/android/graphics/cts/
DInsetsTest.java107 assertEquals(parcel.dataSize(), parcel.dataPosition()); in testParcel()
/cts/tests/app/src/android/app/cts/
DWallpaperColorsTest.java77 Assert.assertEquals(parcel.dataPosition(), parcel.dataSize()); in parcelTest()
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerDrmTestBase.java754 int dataSize = 0; in makeCencPSSH() local
764 rawPssh.putInt(dataSize); in makeCencPSSH()
/cts/tools/release-parser/tests/resources/
DShell.apk.pb.txt1480 name: "dataSize"