Searched refs:dataSize (Results 1 – 11 of 11) sorted by relevance
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageStatsTest.java | 33 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/ |
D | CompressedTextureLoader.java | 180 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/ |
D | FullBackupOnlyBackupAgent.java | 74 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/mediastress/jni/ |
D | native-media-jni.cpp | 128 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/ |
D | ItsUtils.java | 225 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/graphics/src/android/graphics/cts/ |
D | InsetsTest.java | 107 assertEquals(parcel.dataSize(), parcel.dataPosition()); in testParcel()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ParcelTest.java | 108 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/ |
D | TestMeasurementUtil.java | 810 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/app/src/android/app/cts/ |
D | WallpaperColorsTest.java | 77 Assert.assertEquals(parcel.dataPosition(), parcel.dataSize()); in parcelTest()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerDrmTestBase.java | 754 int dataSize = 0; in makeCencPSSH() local 764 rawPssh.putInt(dataSize); in makeCencPSSH()
|
/cts/tools/release-parser/tests/resources/ |
D | Shell.apk.pb.txt | 1480 name: "dataSize"
|