Home
last modified time | relevance | path

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

123

/cts/tests/tests/hardware/src/android/hardware/cts/
DHardwareBufferTest.java52 assertEquals(HardwareBuffer.RGBA_8888, buffer.getFormat()); in testCreate()
58 assertEquals(HardwareBuffer.RGBX_8888, buffer.getFormat()); in testCreate()
61 assertEquals(HardwareBuffer.RGB_888, buffer.getFormat()); in testCreate()
64 assertEquals(HardwareBuffer.RGB_565, buffer.getFormat()); in testCreate()
67 assertEquals(HardwareBuffer.BLOB, buffer.getFormat()); in testCreate()
109 assertEquals(HardwareBuffer.RGBA_8888, buffer.getFormat()); in testCreateFromNativeObject()
/cts/tests/tests/slice/src/android/slice/cts/
DSliceBuilderTest.java59 assertEquals(SliceItem.FORMAT_INT, item.getFormat()); in testInt()
77 assertEquals(SliceItem.FORMAT_IMAGE, item.getFormat()); in testIcon()
95 assertEquals(SliceItem.FORMAT_TEXT, item.getFormat()); in testText()
113 assertEquals(SliceItem.FORMAT_LONG, item.getFormat()); in testLong()
131 assertEquals(SliceItem.FORMAT_REMOTE_INPUT, item.getFormat()); in testRemoteInput()
149 assertEquals(SliceItem.FORMAT_BUNDLE, item.getFormat()); in testBundle()
170 assertEquals(SliceItem.FORMAT_ACTION, item.getFormat()); in testActionSubtype()
189 assertEquals(SliceItem.FORMAT_SLICE, item.getFormat()); in testSubsliceSubtype()
250 assertEquals(s1.getFormat(), s2.getFormat()); in assertEquivalent()
DSliceBindingTest.java93 assertEquals(SliceItem.FORMAT_SLICE, item.getFormat()); in testSubSlice()
110 assertEquals(SliceItem.FORMAT_TEXT, item.getFormat()); in testText()
125 assertEquals(SliceItem.FORMAT_IMAGE, item.getFormat()); in testIcon()
150 assertEquals(SliceItem.FORMAT_ACTION, item.getFormat()); in testAction()
174 assertEquals(SliceItem.FORMAT_INT, item.getFormat()); in testInt()
188 assertEquals(SliceItem.FORMAT_LONG, item.getFormat()); in testTimestamp()
226 assertEquals(SliceItem.FORMAT_BUNDLE, item.getFormat()); in testBundle()
DSliceManagerTest.java167 if (SliceItem.FORMAT_SLICE.equals(item.getFormat())) { in findAction()
170 if (SliceItem.FORMAT_ACTION.equals(item.getFormat())) { in findAction()
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/
DParcelablePrivateKey.java58 + " pk.format=" + mPrivateKey.getFormat() in ParcelablePrivateKey()
68 public String getFormat() { in getFormat() method in ParcelablePrivateKey
69 return mPrivateKey.getFormat(); in getFormat()
/cts/tests/tests/nativehardware/src/android/hardware/nativehardware/cts/
DHardwareBufferVrTest.java50 assertEquals(format, buffer.getFormat()); in testLayeredBuffersForVr()
57 assertEquals(format, buffer.getFormat()); in testLayeredBuffersForVr()
/cts/tests/tests/media/src/android/media/cts/
DAudioRecordingConfigurationTest.java134 mAudioRecord.getFormat(), mAudioRecord.getRoutedDevice(), configs)); in testAudioManagerGetActiveRecordConfigurations()
189 mAudioRecord.getAudioSessionId(), mAudioRecord.getFormat(), in doCallbackTest()
315 && (config.getFormat().getEncoding() != AudioFormat.ENCODING_INVALID) in verifyAudioConfig()
316 && (config.getFormat().getSampleRate() > 0) in verifyAudioConfig()
318 && ((config.getFormat().getChannelMask() != AudioFormat.CHANNEL_INVALID) in verifyAudioConfig()
319 || (config.getFormat().getChannelIndexMask() != in verifyAudioConfig()
DCodecImage.java95 public abstract int getFormat(); in getFormat() method in CodecImage
DAdaptivePlaybackTest.java385 return getFormat(c) != null; in isValid()
446 return getFormat(c) != null; in isValid()
508 return getFormat(c) != null && c.mediaList.length > 1; in isValid()
1261 codec.configureAndStart(media.getFormat(), s /* surface */);
1311 public MediaFormat getFormat() {
1406 Log.i(TAG, "format=" + media.getFormat());
1409 if (media.getFormat().containsKey(tag)) {
1410 ByteBuffer csd = media.getFormat().getByteBuffer(tag);
1484 !capabilities.isFormatSupported(media.getFormat())) {
1486 Log.w(TAG, "codec " + name + " doesn't support " + media.getFormat());
[all …]
DCodecUtils.java66 public int getFormat() { in getFormat() method in CodecUtils.ImageWrapper
67 return mImage.getFormat(); in getFormat()
DYUVImage.java73 public int getFormat() { in getFormat() method in YUVImage
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DDepthImage.java62 return new DepthImage(decode.getFormat(), decode.getFar(), in createFromXMPMetadata()
100 public String getFormat() { in getFormat() method in DepthImage
DDepthTransform.java37 public String getFormat(); in getFormat() method
/cts/tests/tests/keystore/src/android/keystore/cts/
DTransparentSecretKey.java47 public String getFormat() { in getFormat() method in TransparentSecretKey
/cts/tests/tests/widget/src/android/widget/cts/
DChronometerTest.java82 assertEquals(mActivity.getString(R.string.chronometer_format), chronometer.getFormat()); in testConstructorFromAttr()
90 assertEquals(mActivity.getString(R.string.chronometer_format), chronometer.getFormat()); in testConstructorFromStyle()
126 assertEquals(expected, chronometer.getFormat()); in testAccessFormat()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/image/
DRangeLinearDepthTransform.java48 public String getFormat() { in getFormat() method in RangeLinearDepthTransform
DRangeInverseDepthTransform.java47 public String getFormat() { in getFormat() method in RangeInverseDepthTransform
/cts/tests/musicrecognition/src/android/musicrecognition/cts/
DMusicRecognitionManagerTest.java120 .setAudioFormat(record.getFormat()) in testRecognitionRequest()
127 assertThat(request.getAudioFormat()).isEqualTo(record.getFormat()); in testRecognitionRequest()
275 .setAudioFormat(record.getFormat()) in invokeMusicRecognitionApi()
/cts/tests/camera/src/android/hardware/camera2/cts/
DImageWriterTest.java213 image.getFormat()); in testWriterFormatOverride()
214 assertTrue(image.getFormat() == format); in testWriterFormatOverride()
298 mWriter.getFormat() == CAMERA_PRIVATE_FORMAT); in readerWriterFormatTestByCamera()
DMultiResolutionReprocessCaptureTest.java300 int inputFormat = firstStreamInfo.getFormat(); in testMultiResolutionMandatoryStreamCombinationTest()
343 int inputFormat = streamInfo.get(0).getFormat(); in testMultiResolutionMandatoryStreamCombination()
357 final boolean inputIsYuv = inputConfig.getFormat() == ImageFormat.YUV_420_888; in testMultiResolutionMandatoryStreamCombination()
806 switch(image.getFormat()) { in dumpImage()
814 filename += "." + image.getFormat(); in dumpImage()
DMultiResolutionImageReaderTest.java266 multiResolutionOutputFormats, mandateInfo.getFormat()); in testMultiResolutionMandatoryStreamCombinationTest()
490 "expected format %d", img.getFormat(), format), format, img.getFormat()); in validateImage()
DRobustnessTest.java306 if (streamInfo.getFormat() == ImageFormat.YUV_420_888) { in testMandatoryStreamCombination()
318 if (streamInfo.getFormat() == ImageFormat.JPEG) { in testMandatoryStreamCombination()
541 if (streamInfo.getFormat() == ImageFormat.YUV_420_888) { in testMandatoryReprocessableStreamCombination()
555 if (streamInfo.getFormat() == ImageFormat.JPEG) { in testMandatoryReprocessableStreamCombination()
593 int inputFormat = streamInfo.get(0).getFormat(); in testMandatoryReprocessableStreamCombination()
619 final boolean inputIsYuv = inputConfig.getFormat() == ImageFormat.YUV_420_888; in testMandatoryReprocessableStreamCombination()
620 final boolean inputIsY8 = inputConfig.getFormat() == ImageFormat.Y8; in testMandatoryReprocessableStreamCombination()
631 inputConfig.getFormat(), in testMandatoryReprocessableStreamCombination()
2243 Pair p = Pair.create(Pair.create(new Integer(streamInfo.getFormat()), in isMandatoryCombinationAvailable()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java193 int format = image.getFormat(); in getDataFromImage()
204 "Invalid image format passed to getDataFromImage: " + image.getFormat()); in getDataFromImage()
301 int format = image.getFormat(); in checkAndroidImageFormat()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java381 int format = streamInfo.getFormat(); in setupConfigurationTargets()
1479 assertEquals("Format doesn't match", format, image.getFormat()); in checkImage()
1501 int format = image.getFormat(); in getDataFromImage()
1617 int format = image.getFormat(); in checkAndroidImageFormat()
2496 if (src.getFormat() != dst.getFormat()) { in imageCopy()
2499 if (src.getFormat() == ImageFormat.PRIVATE || in imageCopy()
2500 dst.getFormat() == ImageFormat.PRIVATE) { in imageCopy()
2592 switch (image.getFormat()) { in getEffectivePlaneSizeForImage()
2609 String.format("Invalid image format %d", image.getFormat())); in getEffectivePlaneSizeForImage()
2638 if (lhsImg.getFormat() != rhsImg.getFormat()) { in isImageStronglyEqual()
[all …]
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_BitmapTest.cpp84 static jint getFormat(JNIEnv* env, jclass, jobject jbitmap) { in getFormat() function
462 { "nGetFormat", "(Landroid/graphics/Bitmap;)I", (void*) getFormat },

123