Home
last modified time | relevance | path

Searched refs:getFormat (Results 1 – 25 of 30) sorted by relevance

12

/cts/tests/tests/keystore/src/android/keystore/cts/
DTransparentSecretKey.java47 public String getFormat() { in getFormat() method in TransparentSecretKey
DTestUtils.java179 assertEquals("X.509", key.getFormat()); in assertKeyMaterialExportable()
181 assertEquals("PKCS#8", key.getFormat()); in assertKeyMaterialExportable()
183 assertEquals("RAW", key.getFormat()); in assertKeyMaterialExportable()
195 assertEquals(null, key.getFormat()); in assertKeyMaterialNotExportable()
DAndroidKeyStoreTest.java1134 assertNull("getFormat() should return null", privKey.getFormat()); in assertPrivateKeyEntryEquals()
1137 assertEquals("Public keys should be in X.509 format", "X.509", pubKey.getFormat()); in assertPrivateKeyEntryEquals()
/cts/tests/tests/media/src/android/media/cts/
DCodecImage.java95 public abstract int getFormat(); in getFormat() method in CodecImage
DCodecUtils.java55 public int getFormat() { in getFormat() method in CodecUtils.ImageWrapper
56 return mImage.getFormat(); in getFormat()
DAdaptivePlaybackTest.java340 return getFormat(c) != null; in isValid()
401 return getFormat(c) != null; in isValid()
457 return getFormat(c) != null && c.mediaList.length > 1; in isValid()
1171 codec.configureAndStart(media.getFormat(), s /* surface */);
1221 public MediaFormat getFormat() {
1307 Log.i(TAG, "format=" + media.getFormat());
1310 if (media.getFormat().containsKey(tag)) {
1311 ByteBuffer csd = media.getFormat().getByteBuffer(tag);
1617 protected MediaFormat getFormat(Codec c) {
1618 return getFormat(c, 0);
[all …]
DImageReaderDecoderTest.java614 assertEquals("Format doesn't match", format, image.getFormat()); in validateImage()
724 int format = image.getFormat(); in checkAndroidImageFormat()
754 int format = image.getFormat(); in getDataFromImage()
DVideoEncoderTest.java492 assertEquals("incorrect decoder format",decImage.getFormat(), ImageFormat.YUV_420_888); in renderDecodedBuffer()
493 assertEquals("incorrect encoder format", encImage.getFormat(), ImageFormat.YUV_420_888); in renderDecodedBuffer()
DAudioRecordTest.java624 final AudioFormat format = record.getFormat(); in createAudioRecord()
DEncodeDecodeTest.java1129 if (planes.length == 3 && image.getFormat() == ImageFormat.YUV_420_888) { in checkFrame()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java166 int format = image.getFormat(); in getDataFromImage()
177 "Invalid image format passed to getDataFromImage: " + image.getFormat()); in getDataFromImage()
252 int format = image.getFormat(); in checkAndroidImageFormat()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCameraTestUtils.java786 assertEquals("Format doesn't match", format, image.getFormat()); in checkImage()
805 int format = image.getFormat(); in getDataFromImage()
891 int format = image.getFormat(); in checkAndroidImageFormat()
1578 if (src.getFormat() != dst.getFormat()) { in imageCopy()
1581 if (src.getFormat() == ImageFormat.PRIVATE || in imageCopy()
1582 dst.getFormat() == ImageFormat.PRIVATE) { in imageCopy()
1630 if (lhsImg.getFormat() != rhsImg.getFormat()) { in isImageStronglyEqual()
1631 Log.i(TAG, "lhsImg format " + lhsImg.getFormat() + " is different with rhsImg format " in isImageStronglyEqual()
1632 + rhsImg.getFormat()); in isImageStronglyEqual()
1726 assertEquals("Image format should be JPEG", ImageFormat.JPEG, image.getFormat()); in basicValidateJpegImage()
DReprocessCaptureTest.java1143 inputConfig.getWidth(), inputConfig.getHeight(), inputConfig.getFormat(), in setupReprocessableSession()
1148 inputConfig.getFormat() == mFirstImageReader.getImageFormat()); in setupReprocessableSession()
1373 switch(image.getFormat()) { in dumpImage()
1383 filename += "." + image.getFormat(); in dumpImage()
DImageWriterTest.java246 mWriter.getFormat() == CAMERA_PRIVATE_FORMAT); in readerWriterFormatTestByCamera()
DRobustnessTest.java1256 (inputConfig.getFormat() == ImageFormat.YUV_420_888 ? 1 : 0) + in testReprocessStreamCombination()
1262 inputConfig.getFormat(), in testReprocessStreamCombination()
1285 if (inputConfig.getFormat() == ImageFormat.YUV_420_888) { in testReprocessStreamCombination()
DImageReaderTest.java497 int imageFormat = yuvImage.getFormat(); in convertPixelYuvToRgba()
/cts/tests/tests/widget/src/android/widget/cts/
DChronometerTest.java84 assertEquals(expected, chronometer.getFormat()); in testAccessFormat()
DRemoteViewsTest.java242 assertEquals("HH:MM:SS", chronometer.getFormat()); in testSetChronometer()
248 assertEquals("HH:MM:SS", chronometer.getFormat()); in testSetChronometer()
254 assertEquals("invalid", chronometer.getFormat()); in testSetChronometer()
486 assertNull(chronometer.getFormat()); in testSetString()
490 assertEquals(format, chronometer.getFormat()); in testSetString()
/cts/tools/dasm/src/dasm/
DDopInfo.java124 InsnFormat format = dop.getFormat(); in getArgsFormat()
DDAsm.java919 insn.opcode.getFormat() == Form51l.THE_ONE)) { in addOpcode()
923 && insn.opcode.getFormat() != Form51l.THE_ONE) { in addOpcode()
928 insn.opcode.getFormat() == Form51l.THE_ONE)) { in addOpcode()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java424 closedImage.getFormat(); in imageInvalidAccessTestAfterClose()
/cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/
DVideoEncoderDecoderTest.java799 public int getFormat() { in getFormat() method in VideoEncoderDecoderTest.YUVImage
871 assertTrue(image.getFormat() == ImageFormat.YUV_420_888); in queueInputImageEncoder()
1201 assertTrue(image.getFormat() == ImageFormat.YUV_420_888); in getPixelValuesFromImage()
/cts/tests/tests/graphics/src/android/opengl/cts/
DCompressedTextureLoader.java81 public int getFormat() { return mInternalFormat; } in getFormat() method in CompressedTextureLoader.Texture
DCompressedTextureSurfaceView.java353 mCompressedTexture.getFormat(), in onSurfaceCreated()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DCameraErrorCollector.java1056 expectEquals(msg + "Image format is wrong.", image.getFormat(), format); in expectImageProperties()

12