/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/security/src/android/security/cts/ |
D | BitmapWrapper.java | 93 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()
|
D | WorkSourceTest.java | 63 assertEquals(p.dataSize(), p.dataPosition()); in testWorkChainParceling()
|
/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/tests/tests/binder_ndk/libbinder_ndk_test/ |
D | test_parcel.cpp | 441 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/ |
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/widget/src/android/widget/cts/ |
D | RemoteViewsFixedCollectionAdapterTest.java | 325 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 …]
|
D | RemoteViewsTest.java | 2577 return parcelAndRun(parcelable, /* flags= */ 0, Parcel::dataSize); in getParcelledSize()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2025/ |
D | IPCThreadState.h | 92 const uint8_t* data, size_t dataSize, 96 const uint8_t* data, size_t dataSize,
|
/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/tests/wallpapereffectsgeneration/src/android/wallpapereffectsgeneration/cts/ |
D | TexturedMeshTest.java | 66 Log.i(TAG, "textured mesh size = " + parcel.dataSize()); in testCreateTexturedMeshRequest()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | InsetsTest.java | 107 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/ |
D | PocAuthService.java | 97 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/ |
D | PocAuthService.java | 99 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/ |
D | PocAuthService.java | 101 payload.appendFrom(optionPayload, 0 /* offset */, optionPayload.dataSize()); in getAccountRemovalAllowed()
|
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/ |
D | WallpaperColorsTest.java | 77 Assert.assertEquals(parcel.dataPosition(), parcel.dataSize()); in parcelTest()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsUtils.java | 255 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/ |
D | ParcelTest.java | 207 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/ |
D | TestMeasurementUtil.java | 958 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/ |
D | Utils.java | 463 final int size = p.dataSize(); in getParcelableSize()
|
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | MediaPlayerDrmTestBase.java | 767 int dataSize = 0; in makeCencPSSH() local 777 rawPssh.putInt(dataSize); in makeCencPSSH()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioPlaybackConfigurationTest.java | 183 dstParcel.appendFrom(srcParcel, 0 /*offset*/, srcParcel.dataSize() /*size*/); in testParcelableWriteToParcel()
|
/cts/tools/release-parser/tests/resources/ |
D | Shell.apk.pb.txt | 1480 name: "dataSize"
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 13371 field @Deprecated public long dataSize; 33365 method public int dataSize();
|