Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/pm/cts/
DPackageStatsTest.java31 long dataSize = 4096; in testPackageStats() local
38 stats.dataSize = dataSize; in testPackageStats()
59 assertEquals(expected.dataSize, actual.dataSize); in checkInfoSame()
/cts/tests/tests/graphics/src/android/opengl/cts/
DCompressedTextureLoader.java192 int dataSize = bitmap.getRowBytes() * bitmap.getHeight(); in createFromUncompressedETC1() local
195 dataBuffer = ByteBuffer.allocateDirect(dataSize).order(ByteOrder.nativeOrder()); in createFromUncompressedETC1()
212 private static ByteBuffer read(InputStream is, int dataSize) { in read() argument
214 dataBuffer = ByteBuffer.allocateDirect(dataSize).order(ByteOrder.nativeOrder()); in read()
216 for (int i = 0; i < dataSize; ) { in read()
217 int chunkSize = Math.min(ioBuffer.length, dataSize - i); in read()
253 int dataSize = (header.mWidth * header.mHeight * header.mBitCount) >> 3; in loadTexturePVRTC() local
254 ByteBuffer dataBuffer = read(is, dataSize); in loadTexturePVRTC()
428 int dataSize = (header.mWidth * header.mHeight * bpp) >> 3; in loadTextureDXT() local
429 if (dataSize != header.mPitchOrLinearSize) { in loadTextureDXT()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java198 int dataSize = width * height * ImageFormat.getBitsPerPixel(format) / 8; in getDataFromImage() local
201 quota.acquire(dataSize); in getDataFromImage()
206 data = new byte[dataSize]; in getDataFromImage()
/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/tests/location/src/android/location/cts/
DTestMeasurementUtil.java684 int dataSize = message.getData().length; in verifyGnssNavMessageMandatoryField() local
685 softAssert.assertTrue("Data size: expected = 40, actual = " + dataSize, in verifyGnssNavMessageMandatoryField()
686 dataSize == 40); in verifyGnssNavMessageMandatoryField()
/cts/tests/tests/os/src/android/os/cts/
DParcelTest.java94 assertEquals(p.dataSize(), p.dataAvail()); in testDataAvail()
96 assertEquals(p.dataSize() - p.dataPosition(), p.dataAvail()); in testDataAvail()
98 assertEquals(p.dataSize() - p.dataPosition(), p.dataAvail()); in testDataAvail()
100 assertEquals(p.dataSize() - p.dataPosition(), p.dataAvail()); in testDataAvail()
102 assertEquals(p.dataSize() - p.dataPosition(), p.dataAvail()); in testDataAvail()
150 assertEquals(0, p.dataSize()); in testSetDataPosition()
158 assertEquals(4, p.dataSize()); in testSetDataPosition()
170 assertEquals(0, p.dataSize()); in testDataSize()
172 assertEquals(4, p.dataSize()); in testDataSize()
174 assertEquals(8, p.dataSize()); in testDataSize()
[all …]
/cts/tools/dex-tools/dex/
Dclasses.out.dex24291 public long dataSize
57487 public final native int dataSize()
Dclasses0.out.dex37312 private int dataSize