/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | HardwareBufferTest.java | 52 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/ |
D | SliceBuilderTest.java | 59 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()
|
D | SliceBindingTest.java | 93 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()
|
D | SliceManagerTest.java | 167 if (SliceItem.FORMAT_SLICE.equals(item.getFormat())) { in findAction() 170 if (SliceItem.FORMAT_ACTION.equals(item.getFormat())) { in findAction()
|
/cts/tests/tests/nativehardware/src/android/hardware/nativehardware/cts/ |
D | HardwareBufferVrTest.java | 50 assertEquals(format, buffer.getFormat()); in testLayeredBuffersForVr() 57 assertEquals(format, buffer.getFormat()); in testLayeredBuffersForVr()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | DepthTransform.java | 37 public String getFormat(); in getFormat() method
|
D | DepthImage.java | 62 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/ |
D | AudioRecordingConfigurationTest.java | 134 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()
|
D | CodecImage.java | 95 public abstract int getFormat(); in getFormat() method in CodecImage
|
D | AdaptivePlaybackTest.java | 385 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 …]
|
D | CodecUtils.java | 66 public int getFormat() { in getFormat() method in CodecUtils.ImageWrapper 67 return mImage.getFormat(); in getFormat()
|
D | YUVImage.java | 73 public int getFormat() { in getFormat() method in YUVImage
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | TransparentSecretKey.java | 47 public String getFormat() { in getFormat() method in TransparentSecretKey
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/image/ |
D | RangeLinearDepthTransform.java | 48 public String getFormat() { in getFormat() method in RangeLinearDepthTransform
|
D | RangeInverseDepthTransform.java | 47 public String getFormat() { in getFormat() method in RangeInverseDepthTransform
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ChronometerTest.java | 82 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/musicrecognition/src/android/musicrecognition/cts/ |
D | MusicRecognitionManagerTest.java | 120 .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/ |
D | ImageWriterTest.java | 213 image.getFormat()); in testWriterFormatOverride() 214 assertTrue(image.getFormat() == format); in testWriterFormatOverride() 298 mWriter.getFormat() == CAMERA_PRIVATE_FORMAT); in readerWriterFormatTestByCamera()
|
D | MultiResolutionReprocessCaptureTest.java | 300 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()
|
D | MultiResolutionImageReaderTest.java | 260 multiResolutionOutputFormats, mandateInfo.getFormat()); in testMultiResolutionMandatoryStreamCombinationTest() 484 "expected format %d", img.getFormat(), format), format, img.getFormat()); in validateImage()
|
D | RobustnessTest.java | 311 if (streamInfo.getFormat() == ImageFormat.YUV_420_888) { in testMandatoryStreamCombination() 323 if (streamInfo.getFormat() == ImageFormat.JPEG) { in testMandatoryStreamCombination() 546 if (streamInfo.getFormat() == ImageFormat.YUV_420_888) { in testMandatoryReprocessableStreamCombination() 560 if (streamInfo.getFormat() == ImageFormat.JPEG) { in testMandatoryReprocessableStreamCombination() 598 int inputFormat = streamInfo.get(0).getFormat(); in testMandatoryReprocessableStreamCombination() 624 final boolean inputIsYuv = inputConfig.getFormat() == ImageFormat.YUV_420_888; in testMandatoryReprocessableStreamCombination() 625 final boolean inputIsY8 = inputConfig.getFormat() == ImageFormat.Y8; in testMandatoryReprocessableStreamCombination() 636 inputConfig.getFormat(), in testMandatoryReprocessableStreamCombination() 2248 Pair p = Pair.create(Pair.create(new Integer(streamInfo.getFormat()), in isMandatoryCombinationAvailable()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsUtils.java | 193 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/ |
D | CameraTestUtils.java | 388 int format = streamInfo.getFormat(); in setupConfigurationTargets() 1498 assertEquals("Format doesn't match", format, image.getFormat()); in checkImage() 1520 int format = image.getFormat(); in getDataFromImage() 1640 int format = image.getFormat(); in checkAndroidImageFormat() 2716 if (src.getFormat() != dst.getFormat()) { in imageCopy() 2719 if (src.getFormat() == ImageFormat.PRIVATE || in imageCopy() 2720 dst.getFormat() == ImageFormat.PRIVATE) { in imageCopy() 2812 switch (image.getFormat()) { in getEffectivePlaneSizeForImage() 2829 String.format("Invalid image format %d", image.getFormat())); in getEffectivePlaneSizeForImage() 2858 if (lhsImg.getFormat() != rhsImg.getFormat()) { in isImageStronglyEqual() [all …]
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_BitmapTest.cpp | 84 static jint getFormat(JNIEnv* env, jclass, jobject jbitmap) { in getFormat() function 462 { "nGetFormat", "(Landroid/graphics/Bitmap;)I", (void*) getFormat },
|
/cts/tests/camera/api31test/src/android/camera/cts/api31test/ |
D | SPerfClassTest.java | 188 assertEquals("Image format isn't JPEG", image.getFormat(), ImageFormat.JPEG); in testSPerfClassJpegSizesByCamera()
|