Home
last modified time | relevance | path

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

12

/cts/tests/tests/hardware/src/android/hardware/cts/
DHardwareBufferTest.java109 assertEquals(HardwareBuffer.RGBA_8888, buffer.getFormat()); in testCreate()
115 assertEquals(HardwareBuffer.RGBX_8888, buffer.getFormat()); in testCreate()
118 assertEquals(HardwareBuffer.RGB_888, buffer.getFormat()); in testCreate()
121 assertEquals(HardwareBuffer.RGB_565, buffer.getFormat()); in testCreate()
124 assertEquals(HardwareBuffer.BLOB, buffer.getFormat()); in testCreate()
129 assertEquals(HardwareBuffer.RGBA_FP16, buffer.getFormat()); in testCreate()
132 assertEquals(HardwareBuffer.RGBA_1010102, buffer.getFormat()); in testCreate()
189 assertEquals(HardwareBuffer.RGBA_8888, buffer.getFormat()); in testCreateFromNativeObject()
/cts/tests/tests/slice/src/android/slice/cts/
DSliceBuilderTest.java58 assertEquals(SliceItem.FORMAT_INT, item.getFormat()); in testInt()
76 assertEquals(SliceItem.FORMAT_IMAGE, item.getFormat()); in testIcon()
94 assertEquals(SliceItem.FORMAT_TEXT, item.getFormat()); in testText()
112 assertEquals(SliceItem.FORMAT_LONG, item.getFormat()); in testLong()
130 assertEquals(SliceItem.FORMAT_REMOTE_INPUT, item.getFormat()); in testRemoteInput()
148 assertEquals(SliceItem.FORMAT_BUNDLE, item.getFormat()); in testBundle()
168 assertEquals(SliceItem.FORMAT_ACTION, item.getFormat()); in testActionSubtype()
187 assertEquals(SliceItem.FORMAT_SLICE, item.getFormat()); in testSubsliceSubtype()
248 assertEquals(s1.getFormat(), s2.getFormat()); in assertEquivalent()
DSliceBindingTest.java86 assertEquals(SliceItem.FORMAT_SLICE, item.getFormat()); in testSubSlice()
102 assertEquals(SliceItem.FORMAT_TEXT, item.getFormat()); in testText()
116 assertEquals(SliceItem.FORMAT_IMAGE, item.getFormat()); in testIcon()
140 assertEquals(SliceItem.FORMAT_ACTION, item.getFormat()); in testAction()
163 assertEquals(SliceItem.FORMAT_INT, item.getFormat()); in testInt()
176 assertEquals(SliceItem.FORMAT_LONG, item.getFormat()); in testTimestamp()
211 assertEquals(SliceItem.FORMAT_BUNDLE, item.getFormat()); in testBundle()
DSliceManagerTest.java152 if (SliceItem.FORMAT_SLICE.equals(item.getFormat())) { in findAction()
155 if (SliceItem.FORMAT_ACTION.equals(item.getFormat())) { in findAction()
/cts/tests/tests/nativehardware/src/android/hardware/nativehardware/cts/
DHardwareBufferVrTest.java44 assertEquals(format, buffer.getFormat()); in testLayeredBuffersForVr()
51 assertEquals(format, buffer.getFormat()); in testLayeredBuffersForVr()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DDepthTransform.java37 public String getFormat(); in getFormat() method
DDepthImage.java62 return new DepthImage(decode.getFormat(), decode.getFar(), in createFromXMPMetadata()
100 public String getFormat() { in getFormat() method in DepthImage
/cts/tests/tests/media/src/android/media/cts/
DAudioRecordingConfigurationTest.java130 mAudioRecord.getFormat(), mAudioRecord.getRoutedDevice(), configs)); in testAudioManagerGetActiveRecordConfigurations()
185 mAudioRecord.getAudioSessionId(), mAudioRecord.getFormat(), in doCallbackTest()
298 && (config.getFormat().getEncoding() != AudioFormat.ENCODING_INVALID) in verifyAudioConfig()
299 && (config.getFormat().getSampleRate() > 0) in verifyAudioConfig()
301 && ((config.getFormat().getChannelMask() != AudioFormat.CHANNEL_INVALID) in verifyAudioConfig()
302 || (config.getFormat().getChannelIndexMask() != in verifyAudioConfig()
DCodecImage.java95 public abstract int getFormat(); in getFormat() method in CodecImage
DCodecUtils.java64 public int getFormat() { in getFormat() method in CodecUtils.ImageWrapper
65 return mImage.getFormat(); in getFormat()
DAdaptivePlaybackTest.java342 return getFormat(c) != null; in isValid()
403 return getFormat(c) != null; in isValid()
459 return getFormat(c) != null && c.mediaList.length > 1; in isValid()
1162 codec.configureAndStart(media.getFormat(), s /* surface */);
1212 public MediaFormat getFormat() {
1298 Log.i(TAG, "format=" + media.getFormat());
1301 if (media.getFormat().containsKey(tag)) {
1302 ByteBuffer csd = media.getFormat().getByteBuffer(tag);
1365 !capabilities.isFormatSupported(media.getFormat())) {
1367 Log.w(TAG, "codec " + name + " doesn't support " + media.getFormat());
[all …]
DYUVImage.java73 public int getFormat() { in getFormat() method in YUVImage
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()
/cts/tests/tests/keystore/src/android/keystore/cts/
DTransparentSecretKey.java47 public String getFormat() { in getFormat() method in TransparentSecretKey
DTestUtils.java198 assertEquals("X.509", key.getFormat()); in assertKeyMaterialExportable()
200 assertEquals("PKCS#8", key.getFormat()); in assertKeyMaterialExportable()
202 assertEquals("RAW", key.getFormat()); in assertKeyMaterialExportable()
214 assertEquals(null, key.getFormat()); in assertKeyMaterialNotExportable()
/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/tests/widget/src/android/widget/cts/
DChronometerTest.java79 assertEquals(mActivity.getString(R.string.chronometer_format), chronometer.getFormat()); in testConstructorFromAttr()
87 assertEquals(mActivity.getString(R.string.chronometer_format), chronometer.getFormat()); in testConstructorFromStyle()
123 assertEquals(expected, chronometer.getFormat()); in testAccessFormat()
DRemoteViewsTest.java316 assertEquals("HH:MM:SS", chronometer.getFormat()); in testSetChronometer()
322 assertEquals("HH:MM:SS", chronometer.getFormat()); in testSetChronometer()
328 assertEquals("invalid", chronometer.getFormat()); in testSetChronometer()
571 assertNull(chronometer.getFormat()); in testSetString()
575 assertEquals(format, chronometer.getFormat()); in testSetString()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java176 int format = image.getFormat(); in getDataFromImage()
187 "Invalid image format passed to getDataFromImage: " + image.getFormat()); in getDataFromImage()
283 int format = image.getFormat(); in checkAndroidImageFormat()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java968 assertEquals("Format doesn't match", format, image.getFormat()); in checkImage()
987 int format = image.getFormat(); in getDataFromImage()
1074 int format = image.getFormat(); in checkAndroidImageFormat()
1849 if (src.getFormat() != dst.getFormat()) { in imageCopy()
1852 if (src.getFormat() == ImageFormat.PRIVATE || in imageCopy()
1853 dst.getFormat() == ImageFormat.PRIVATE) { in imageCopy()
1901 if (lhsImg.getFormat() != rhsImg.getFormat()) { in isImageStronglyEqual()
1902 Log.i(TAG, "lhsImg format " + lhsImg.getFormat() + " is different with rhsImg format " in isImageStronglyEqual()
1903 + rhsImg.getFormat()); in isImageStronglyEqual()
1997 assertEquals("Image format should be JPEG", ImageFormat.JPEG, image.getFormat()); in basicValidateJpegImage()
/cts/tests/camera/src/android/hardware/camera2/cts/
DReprocessCaptureTest.java1145 inputConfig.getWidth(), inputConfig.getHeight(), inputConfig.getFormat(), in setupReprocessableSession()
1150 inputConfig.getFormat() == mFirstImageReader.getImageFormat()); in setupReprocessableSession()
1375 switch(image.getFormat()) { in dumpImage()
1385 filename += "." + image.getFormat(); in dumpImage()
DImageWriterTest.java213 mWriter.getFormat() == CAMERA_PRIVATE_FORMAT); in readerWriterFormatTestByCamera()
/cts/tools/dasm/src/dasm/
DDopInfo.java124 InsnFormat format = dop.getFormat(); in getArgsFormat()
/cts/tests/tests/opengl/src/android/opengl/cts/
DCompressedTextureSurfaceView.java327 mCompressedTexture.getFormat(), in onSurfaceCreated()

12