/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 | 94 assertEquals(SliceItem.FORMAT_SLICE, item.getFormat()); in testSubSlice() 111 assertEquals(SliceItem.FORMAT_TEXT, item.getFormat()); in testText() 126 assertEquals(SliceItem.FORMAT_IMAGE, item.getFormat()); in testIcon() 153 assertEquals(SliceItem.FORMAT_ACTION, item.getFormat()); in testAction() 177 assertEquals(SliceItem.FORMAT_INT, item.getFormat()); in testInt() 191 assertEquals(SliceItem.FORMAT_LONG, item.getFormat()); in testTimestamp() 229 assertEquals(SliceItem.FORMAT_BUNDLE, item.getFormat()); in testBundle()
|
/cts/hostsidetests/securitybulletin/test-apps/TestLocationScanningServicesUsingSlices/src/android/security/cts/TestLocationScanningServicesUsingSlices/ |
D | PocActivity.java | 41 if (outerItem.getFormat().equals(FORMAT_SLICE)) { in onResume() 43 if (innerItem.getFormat().equals(FORMAT_ACTION)) { in onResume()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | HardwareBufferTest.java | 61 assertEquals(HardwareBuffer.RGBA_8888, buffer.getFormat()); in testCreate() 67 assertEquals(HardwareBuffer.RGBX_8888, buffer.getFormat()); in testCreate() 70 assertEquals(HardwareBuffer.RGB_888, buffer.getFormat()); in testCreate() 73 assertEquals(HardwareBuffer.RGB_565, buffer.getFormat()); in testCreate() 76 assertEquals(HardwareBuffer.BLOB, buffer.getFormat()); in testCreate() 107 assertEquals(format, buffer.getFormat()); in testCreateOptionalFormats() 153 assertEquals(HardwareBuffer.RGBA_8888, buffer.getFormat()); in testCreateFromNativeObject()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecEncoderTest.java | 344 MediaFormat format = mActiveEncCfg.getFormat(); in testSimpleEncode() 388 MediaFormat format = mActiveEncCfg.getFormat(); in testSimpleEncodeNative() 393 format = mActiveEncCfg.getBuilder().setColorFormat(colorFormat).build().getFormat(); in testSimpleEncodeNative() 450 MediaFormat format = mEncCfgParams[0].getFormat(); in testReconfigure() 501 reConfigureCodec(mEncCfgParams[1].getFormat(), isAsync, false, true); in testReconfigure() 532 MediaFormat format = mEncCfgParams[0].getFormat(); in testReconfigureNative() 533 MediaFormat reconfigFormat = mEncCfgParams.length > 1 ? mEncCfgParams[1].getFormat() : null; in testReconfigureNative() 538 format = mEncCfgParams[0].getBuilder().setColorFormat(colorFormat).build().getFormat(); in testReconfigureNative() 541 .getFormat(); in testReconfigureNative() 567 MediaFormat format = mActiveEncCfg.getFormat(); in testOnlyEos() [all …]
|
D | EncoderLevelTest.java | 184 MediaFormat formatNotForUse = cfg.getFormat(); in testVideoEncodeLevels() 193 configureCodec(cfg.getFormat(), false, true, true); in testVideoEncodeLevels()
|
/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/media/audio/src/android/media/audio/cts/ |
D | AudioRecordingConfigurationTest.java | 131 mAudioRecord.getFormat(), mAudioRecord.getRoutedDevice(), configs)); in testAudioManagerGetActiveRecordConfigurations() 187 mAudioRecord.getAudioSessionId(), mAudioRecord.getFormat(), in doCallbackTest() 279 && (config.getFormat().getEncoding() != AudioFormat.ENCODING_INVALID) in verifyAudioConfig() 280 && (config.getFormat().getSampleRate() > 0) in verifyAudioConfig() 282 && ((config.getFormat().getChannelMask() != AudioFormat.CHANNEL_INVALID) in verifyAudioConfig() 283 || (config.getFormat().getChannelIndexMask() != in verifyAudioConfig()
|
D | AudioProfileTest.java | 67 srcProf.getFormat(), targetProf.getFormat()); in testParcelableWriteToParcelCreate()
|
D | AudioMixTest.java | 169 assertEquals(OUTPUT_FORMAT_MONO_16KHZ_PCM, audioMix.getFormat()); in buildRenderToRemoteSubmix_success() 184 assertEquals(OUTPUT_FORMAT_MONO_16KHZ_PCM, audioMix.getFormat()); in buildLoopbackAndRenderToRemoteSubmix_success() 197 assertEquals(OUTPUT_FORMAT_MONO_16KHZ_PCM, audioMix.getFormat()); in buildRenderToSpeaker_success() 209 assertEquals(OUTPUT_FORMAT_MONO_16KHZ_PCM, audioMix.getFormat()); in buildLoopbackForPlayerMix_success() 221 assertEquals(OUTPUT_FORMAT_MONO_16KHZ_PCM, audioMix.getFormat()); in buildLoopbackForInjectorMix_success()
|
/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/keystore/src/android/keystore/cts/ |
D | TransparentSecretKey.java | 47 public String getFormat() { in getFormat() method in TransparentSecretKey
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | CodecImage.java | 94 public abstract int getFormat(); in getFormat() method in CodecImage
|
D | CodecUtils.java | 61 public int getFormat() { in getFormat() method in CodecUtils.ImageWrapper 62 return mImage.getFormat(); in getFormat()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ImageWriterTest.java | 223 image.getFormat()); in testWriterFormatOverride() 224 assertTrue(image.getFormat() == format); in testWriterFormatOverride() 252 assertEquals(imageWriterFormat, writer.getFormat()); in testWriterWithImageFormatOverride() 256 assertEquals(imageWriterFormat, outputImage.getFormat()); in testWriterWithImageFormatOverride() 282 assertEquals(HardwareBuffer.RGBA_8888, outputImage.getFormat()); in testWriterBuilderDefault() 313 assertEquals(ImageFormat.YV12, image.getFormat()); in testWriterBuilderSetImageFormatAndSize() 366 assertEquals(ImageFormat.JPEG, writer.getFormat()); in testWriterBuilderWithBLOB() 504 mWriter.getFormat() == CAMERA_PRIVATE_FORMAT); in readerWriterFormatTestByCamera()
|
/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 | 90 assertEquals(mActivity.getString(R.string.chronometer_format), chronometer.getFormat()); in testConstructorFromAttr() 98 assertEquals(mActivity.getString(R.string.chronometer_format), chronometer.getFormat()); in testConstructorFromStyle() 134 assertEquals(expected, chronometer.getFormat()); in testAccessFormat()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | AdaptivePlaybackTest.java | 411 return getFormat(c) != null; in isValid() 472 return getFormat(c) != null; in isValid() 534 return getFormat(c) != null && c.mediaList.length > 1; in isValid() 1302 codec.configureAndStart(media.getFormat(), s /* surface */); 1352 public MediaFormat getFormat() { 1447 Log.i(TAG, "format=" + media.getFormat()); 1451 if (media.getFormat().containsKey(tag)) { 1452 ByteBuffer csd = media.getFormat().getByteBuffer(tag); 1527 !capabilities.isFormatSupported(media.getFormat())) { 1529 Log.w(TAG, "codec " + name + " doesn't support " + media.getFormat()); [all …]
|
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/ |
D | VirtualCameraCaptureTest.java | 171 assertThat(image.getFormat()).isEqualTo(YUV_420_888); in virtualCamera_inputBuffer_doesntBlock() 192 assertThat(image.getFormat()).isEqualTo(outputPixelFormat); in virtualCamera_captureImage_succeeds() 215 assertThat(image.getFormat()).isEqualTo(outputPixelFormat); in virtualCamera_captureWithNoInput_capturesBlackImage() 239 assertThat(image.getFormat()).isEqualTo(outputPixelFormat); in virtualCamera_captureDownscaled_succeeds()
|
D | VirtualCameraUtils.java | 119 assertThat(streamConfig.getFormat()).isEqualTo(format); in assertVirtualCameraConfig() 207 return switch (image.getFormat()) { in imageHasColor() 211 fail("Encountered unsupported image format: " + image.getFormat()); in imageHasColor() 322 assertThat(image.getFormat()).isEqualTo(JPEG); in jpegImageToBitmap()
|
/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/ |
D | FileUtil.java | 60 @Nullable ColorInfo colorInfo = trackGroup.getFormat(0).colorInfo; in assertFileHasColorTransfer()
|
/cts/tests/musicrecognition/src/android/musicrecognition/cts/ |
D | MusicRecognitionManagerTest.java | 118 .setAudioFormat(record.getFormat()) in testRecognitionRequest() 125 assertThat(request.getAudioFormat()).isEqualTo(record.getFormat()); in testRecognitionRequest() 273 .setAudioFormat(record.getFormat()) in invokeMusicRecognitionApi()
|
/cts/tests/tests/virtualdevice/audio/src/android/virtualdevice/cts/audio/ |
D | SignalObserver.java | 231 return mAudioCapture.getFormat().getSampleRate(); in getSampleRate() 236 return mAudioCapture.getFormat().getChannelCount(); in getChannelCount()
|