/cts/tests/location/location_gnss/src/android/location/cts/gnss/suplClient/ |
D | SuplRrlpMessagesGenerator.java | 85 version.setMinToNewInstance().setInteger(BigInteger.ZERO); in generateSuplStartLocalLocationMessage() 86 version.setMajToNewInstance().setInteger(BigInteger.valueOf(2)); in generateSuplStartLocalLocationMessage() 87 version.setServindToNewInstance().setInteger(BigInteger.ZERO); in generateSuplStartLocalLocationMessage() 94 .setInteger(BigInteger.valueOf(new Random().nextInt(65536))); in generateSuplStartLocalLocationMessage() 156 version.setMinToNewInstance().setInteger(BigInteger.ZERO); in generateSuplPositionInitLocalLocationMessage() 157 version.setMajToNewInstance().setInteger(BigInteger.valueOf(2)); in generateSuplPositionInitLocalLocationMessage() 158 version.setServindToNewInstance().setInteger(BigInteger.ZERO); in generateSuplPositionInitLocalLocationMessage() 194 navigationModelData.setGpsWeekToNewInstance().setInteger(BigInteger.ZERO); in generateSuplPositionInitLocalLocationMessage() 195 navigationModelData.setGpsToeToNewInstance().setInteger(BigInteger.ZERO); in generateSuplPositionInitLocalLocationMessage() 196 navigationModelData.setNSATToNewInstance().setInteger(BigInteger.ZERO); in generateSuplPositionInitLocalLocationMessage() [all …]
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | EncoderConfigParams.java | 219 mFormat.setInteger(MediaFormat.KEY_SAMPLE_RATE, mSampleRate); in getFormat() 220 mFormat.setInteger(MediaFormat.KEY_CHANNEL_COUNT, mChannelCount); in getFormat() 222 mFormat.setInteger(MediaFormat.KEY_FLAC_COMPRESSION_LEVEL, mCompressionLevel); in getFormat() 224 mFormat.setInteger(MediaFormat.KEY_BIT_RATE, mBitRate); in getFormat() 227 mFormat.setInteger(MediaFormat.KEY_PROFILE, mProfile); in getFormat() 228 mFormat.setInteger(MediaFormat.KEY_AAC_PROFILE, mProfile); in getFormat() 230 mFormat.setInteger(MediaFormat.KEY_PCM_ENCODING, mPcmEncoding); in getFormat() 232 mFormat.setInteger(MediaFormat.KEY_WIDTH, mWidth); in getFormat() 233 mFormat.setInteger(MediaFormat.KEY_HEIGHT, mHeight); in getFormat() 234 mFormat.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in getFormat() [all …]
|
D | CodecDecoderMultiAccessUnitTestBase.java | 256 format.setInteger(MediaFormat.KEY_MAX_INPUT_SIZE, maxInputSize); in configureKeysForLargeAudioFrameMode() 257 format.setInteger(MediaFormat.KEY_BUFFER_BATCH_MAX_OUTPUT_SIZE, maxOutputSize); in configureKeysForLargeAudioFrameMode() 258 format.setInteger(MediaFormat.KEY_BUFFER_BATCH_THRESHOLD_OUTPUT_SIZE, in configureKeysForLargeAudioFrameMode()
|
D | HDRDecoderTestBase.java | 135 format.setInteger(MediaFormat.KEY_PROFILE, in validateHDRInfo() 139 format.setInteger(MediaFormat.KEY_PROFILE, in validateHDRInfo()
|
/cts/tests/video/src/android/video/cts/ |
D | CodecEncoderPerformanceTestBase.java | 103 fmt.setInteger(MediaFormat.KEY_WIDTH, format.getInteger(MediaFormat.KEY_WIDTH)); in setUpEncoderFormat() 104 fmt.setInteger(MediaFormat.KEY_HEIGHT, format.getInteger(MediaFormat.KEY_HEIGHT)); in setUpEncoderFormat() 105 fmt.setInteger(MediaFormat.KEY_BIT_RATE, bitrate); in setUpEncoderFormat() 106 fmt.setInteger(MediaFormat.KEY_FRAME_RATE, in setUpEncoderFormat() 109 fmt.setInteger(MediaFormat.KEY_COLOR_FORMAT, in setUpEncoderFormat() 126 mDecoderFormat.setInteger(MediaFormat.KEY_PRIORITY, mKeyPriority); in setUpFormats() 128 mEncoderFormat.setInteger(MediaFormat.KEY_PRIORITY, mKeyPriority); in setUpFormats() 146 mDecoderFormat.setInteger(MediaFormat.KEY_OPERATING_RATE, operatingRateToSet); in setUpFormats() 147 mEncoderFormat.setInteger(MediaFormat.KEY_OPERATING_RATE, operatingRateToSet); in setUpFormats() 149 mDecoderFormat.setInteger(MediaFormat.KEY_OPERATING_RATE, -1); in setUpFormats() [all …]
|
D | CodecDecoderPerformanceTestBase.java | 48 mDecoderFormat.setInteger(MediaFormat.KEY_PRIORITY, mKeyPriority); in setUpFormat() 49 mDecoderFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, in setUpFormat() 57 mDecoderFormat.setInteger(MediaFormat.KEY_OPERATING_RATE, operatingRateToSet); in setUpFormat() 59 mDecoderFormat.setInteger(MediaFormat.KEY_OPERATING_RATE, -1); in setUpFormat()
|
D | VideoEncoderDecoderTest.java | 458 format.setInteger(MediaFormat.KEY_BIT_RATE, infoEnc.mBitRate); in doTest() 459 format.setInteger(MediaFormat.KEY_BITRATE_MODE, in doTest() 461 format.setInteger(MediaFormat.KEY_WIDTH, w); in doTest() 462 format.setInteger(MediaFormat.KEY_HEIGHT, h); in doTest() 463 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, mSrcColorFormat); in doTest() 464 format.setInteger(MediaFormat.KEY_FRAME_RATE, infoEnc.mFps); in doTest() 466 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, KEY_I_FRAME_INTERVAL); in doTest() 467 format.setInteger(MediaFormat.KEY_MAX_B_FRAMES, maxBFrames); in doTest() 487 format.setInteger(MediaFormat.KEY_WIDTH, w); in doTest() 488 format.setInteger(MediaFormat.KEY_HEIGHT, h); in doTest() [all …]
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | CodecInitializationLatencyTest.java | 414 format.setInteger(MediaFormat.KEY_FLAC_COMPRESSION_LEVEL, 10000); in setUpFormat() 416 format.setInteger(MediaFormat.KEY_BIT_RATE, 128000); in setUpFormat() 418 format.setInteger(MediaFormat.KEY_SAMPLE_RATE, mSampleRate); in setUpFormat() 419 format.setInteger(MediaFormat.KEY_CHANNEL_COUNT, 1); in setUpFormat() 425 format.setInteger(MediaFormat.KEY_WIDTH, 1920); in setUpFormat() 426 format.setInteger(MediaFormat.KEY_HEIGHT, 1080); in setUpFormat() 427 format.setInteger(MediaFormat.KEY_BIT_RATE, 8000000); in setUpFormat() 429 format.setInteger(MediaFormat.KEY_WIDTH, 1280); in setUpFormat() 430 format.setInteger(MediaFormat.KEY_HEIGHT, 720); in setUpFormat() 431 format.setInteger(MediaFormat.KEY_BIT_RATE, 5000000); in setUpFormat() [all …]
|
D | CodecTranscoderTestBase.java | 100 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in setUpSource() 102 format.setInteger(MediaFormat.KEY_PRIORITY, 1); // Best effort in setUpSource() 372 encoderFormat.setInteger(MediaFormat.KEY_WIDTH, in setUpEncoderFormat() 374 encoderFormat.setInteger(MediaFormat.KEY_HEIGHT, in setUpEncoderFormat() 376 encoderFormat.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in setUpEncoderFormat() 377 encoderFormat.setInteger(MediaFormat.KEY_BIT_RATE, mBitrate); in setUpEncoderFormat() 379 encoderFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, in setUpEncoderFormat() 381 encoderFormat.setInteger(MediaFormat.KEY_MAX_B_FRAMES, mMaxBFrames); in setUpEncoderFormat() 382 encoderFormat.setInteger(MediaFormat.KEY_PRIORITY, in setUpEncoderFormat() 385 encoderFormat.setInteger(MediaFormat.KEY_PROFILE, in setUpEncoderFormat() [all …]
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | ResourceManagerCodecActivity.java | 153 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, caps.colorFormats[0]); in createVideoFormat() 154 format.setInteger(MediaFormat.KEY_BIT_RATE, mBitrate); in createVideoFormat() 155 format.setInteger(MediaFormat.KEY_FRAME_RATE, FRAME_RATE); in createVideoFormat() 156 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in createVideoFormat() 163 format.setInteger("profile", 1); in createVideoEncoderFormat() 164 format.setInteger("level", 1); in createVideoEncoderFormat() 165 format.setInteger("priority", 1); in createVideoEncoderFormat() 166 format.setInteger("color-format", CodecCapabilities.COLOR_FormatYUV420Flexible); in createVideoEncoderFormat() 167 format.setInteger("bitrate-mode", 0); in createVideoEncoderFormat() 168 format.setInteger("quality", 1); in createVideoEncoderFormat()
|
D | ResourceManagerTestActivityBase.java | 110 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, caps.colorFormats[0]); in getTestFormat() 111 format.setInteger(MediaFormat.KEY_BIT_RATE, bitrate); in getTestFormat() 112 format.setInteger(MediaFormat.KEY_FRAME_RATE, FRAME_RATE); in getTestFormat() 113 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in getTestFormat() 123 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in getTestFormat() 284 format.setInteger(MediaFormat.KEY_IMPORTANCE, CODEC_IMPORTANCE_100); in allocateCodecs() 291 format.setInteger(MediaFormat.KEY_IMPORTANCE, CODEC_IMPORTANCE_100); in allocateCodecs()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | DecodeEditEncodeTest.java | 199 format.setInteger(MediaFormat.KEY_BIT_RATE, mBitRate); in shouldSkip() 200 format.setInteger(MediaFormat.KEY_FRAME_RATE, FRAME_RATE); in shouldSkip() 201 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in shouldSkip() 209 format.setInteger(MediaFormat.KEY_PROFILE, AVCProfileHigh10); in shouldSkip() 212 format.setInteger(MediaFormat.KEY_PROFILE, HEVCProfileMain10); in shouldSkip() 215 format.setInteger(MediaFormat.KEY_PROFILE, VP9Profile2); in shouldSkip() 218 format.setInteger(MediaFormat.KEY_PROFILE, AV1ProfileMain10); in shouldSkip() 378 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in generateVideoFile() 380 format.setInteger(MediaFormat.KEY_BIT_RATE, mBitRate); in generateVideoFile() 381 format.setInteger(MediaFormat.KEY_FRAME_RATE, FRAME_RATE); in generateVideoFile() [all …]
|
D | MediaCodecTest.java | 171 format.setInteger(MediaFormat.KEY_BIT_RATE, 19850); in testException() 219 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in verifyException() 462 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in verifyException() 589 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, colorFormat); in testCreateInputSurfaceErrors() 1038 format.setInteger(MediaFormat.KEY_AAC_PROFILE, AUDIO_AAC_PROFILE); in initCodecAndSurface() 1039 format.setInteger(MediaFormat.KEY_BIT_RATE, AUDIO_BIT_RATE); in initCodecAndSurface() 1044 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in initCodecAndSurface() 1046 format.setInteger(MediaFormat.KEY_BIT_RATE, info.mBitRate); in initCodecAndSurface() 1047 format.setInteger(MediaFormat.KEY_FRAME_RATE, info.mFps); in initCodecAndSurface() 1048 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in initCodecAndSurface() [all …]
|
D | EncodeVirtualDisplayWithCompositionTestImpl.java | 182 decoderFormat.setInteger( in doTestRenderingOutput() 184 decoderFormat.setInteger( in doTestRenderingOutput() 186 decoderFormat.setInteger( in doTestRenderingOutput() 189 decoderFormat.setInteger(MediaFormat.KEY_ROTATION, degrees); in doTestRenderingOutput() 565 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in doEncoding() 575 format.setInteger(MediaFormat.KEY_BIT_RATE, bitRate); in doEncoding() 576 format.setInteger(MediaFormat.KEY_FRAME_RATE, 30); in doEncoding() 577 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in doEncoding() 578 format.setInteger(MediaFormat.KEY_COLOR_RANGE, MediaFormat.COLOR_RANGE_LIMITED); in doEncoding() 579 format.setInteger(MediaFormat.KEY_COLOR_STANDARD, MediaFormat.COLOR_STANDARD_BT601_PAL); in doEncoding() [all …]
|
D | MediaCodecCapabilitiesTest.java | 570 format.setInteger(format.KEY_BIT_RATE, bitrate); in createReasonableVideoFormat() 571 format.setInteger(format.KEY_FRAME_RATE, maxRate); in createReasonableVideoFormat() 572 format.setInteger(format.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in createReasonableVideoFormat() 627 format.setInteger(MediaFormat.KEY_BITRATE_MODE, bitrateMode); in createVideoFormatForBitrateMode() 632 format.setInteger(MediaFormat.KEY_QUALITY, quality); in createVideoFormatForBitrateMode() 639 format.setInteger(MediaFormat.KEY_BIT_RATE, bitrate); in createVideoFormatForBitrateMode() 641 format.setInteger(MediaFormat.KEY_FRAME_RATE, maxRate); in createVideoFormatForBitrateMode() 642 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in createVideoFormatForBitrateMode() 643 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in createVideoFormatForBitrateMode() 734 format.setInteger( in testAllNonTunneledVideoCodecsSupportFlexibleYUV()
|
D | MediaCodecInstancesTest.java | 72 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, caps.colorFormats[0]); in createMinFormat() 73 format.setInteger(MediaFormat.KEY_BIT_RATE, minBitrate); in createMinFormat() 74 format.setInteger(MediaFormat.KEY_FRAME_RATE, minFrameRate); in createMinFormat() 75 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in createMinFormat() 82 format.setInteger(MediaFormat.KEY_BIT_RATE, minBitrate); in createMinFormat()
|
D | EncodeDecodeTest.java | 176 format.setInteger(MediaFormat.KEY_BIT_RATE, mBitRate); in shouldSkip() 177 format.setInteger(MediaFormat.KEY_FRAME_RATE, FRAME_RATE); in shouldSkip() 178 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in shouldSkip() 343 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, colorFormat); in encodeDecodeVideoFromBuffer() 344 format.setInteger(MediaFormat.KEY_BIT_RATE, mBitRate); in encodeDecodeVideoFromBuffer() 345 format.setInteger(MediaFormat.KEY_FRAME_RATE, FRAME_RATE); in encodeDecodeVideoFromBuffer() 346 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in encodeDecodeVideoFromBuffer() 396 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, colorFormat); in encodeDecodeVideoFromSurfaceToSurface() 397 format.setInteger(MediaFormat.KEY_BIT_RATE, mBitRate); in encodeDecodeVideoFromSurfaceToSurface() 398 format.setInteger(MediaFormat.KEY_FRAME_RATE, FRAME_RATE); in encodeDecodeVideoFromSurfaceToSurface() [all …]
|
D | EncodeVirtualDisplayTest.java | 205 mFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, in testEncodeVirtualDisplay() 207 mFormat.setInteger(MediaFormat.KEY_BIT_RATE, mBitRate); in testEncodeVirtualDisplay() 208 mFormat.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in testEncodeVirtualDisplay() 209 mFormat.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in testEncodeVirtualDisplay() 210 mFormat.setInteger(MediaFormat.KEY_COLOR_RANGE, MediaFormat.COLOR_RANGE_LIMITED); in testEncodeVirtualDisplay() 211 mFormat.setInteger(MediaFormat.KEY_COLOR_STANDARD, MediaFormat.COLOR_STANDARD_BT601_PAL); in testEncodeVirtualDisplay() 212 mFormat.setInteger(MediaFormat.KEY_COLOR_TRANSFER, MediaFormat.COLOR_TRANSFER_SDR_VIDEO); in testEncodeVirtualDisplay()
|
D | VideoCodecTestBase.java | 617 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, properties.colorFormat); in decode() 1442 format.setInteger(MediaFormat.KEY_BIT_RATE, bitrate); in encode() 1454 format.setInteger("bitrate-mode", VIDEO_ControlRateConstant); // set CBR in encode() 1457 format.setInteger("ts-layers", streamParams.temporalLayers); // 1 temporal layer in encode() 1459 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, properties.colorFormat); in encode() 1460 format.setInteger(MediaFormat.KEY_FRAME_RATE, streamParams.frameRate); in encode() 1463 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, syncFrameInterval); in encode() 1466 format.setInteger(MediaFormat.KEY_VIDEO_ENCODING_STATISTICS_LEVEL, in encode() 1632 format.setInteger(MediaFormat.KEY_BIT_RATE, bitrate); in encodeAsync() 1642 format.setInteger("bitrate-mode", VIDEO_ControlRateConstant); // set CBR in encodeAsync() [all …]
|
D | MediaCodecBlockModelTest.java | 226 mediaFormat.setInteger(MediaFormat.KEY_BIT_RATE, 128000); in runEncodeShortAudio() 280 mediaFormat.setInteger(MediaFormat.KEY_FRAME_RATE, kFrameRate); in runEncodeShortVideo() 281 mediaFormat.setInteger(MediaFormat.KEY_BIT_RATE, 1000000); in runEncodeShortVideo() 282 mediaFormat.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, 1); in runEncodeShortVideo() 283 mediaFormat.setInteger( in runEncodeShortVideo()
|
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | MediaDrmCodecTest.java | 66 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in createMediaFormat() 68 format.setInteger(MediaFormat.KEY_BIT_RATE, BIT_RATE); in createMediaFormat() 69 format.setInteger(MediaFormat.KEY_FRAME_RATE, FRAME_RATE); in createMediaFormat() 70 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in createMediaFormat()
|
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/ |
D | SurfaceEncodeTimestampTest.java | 212 format.setInteger(MediaFormat.KEY_CAPTURE_RATE, captureFps); in testCaptureFps() 253 format.setInteger(MediaFormat.KEY_CREATE_INPUT_SURFACE_SUSPENDED, 1); in testCreateInputSurfaceSuspendedResume() 280 format.setInteger(MediaFormat.KEY_CREATE_INPUT_SURFACE_SUSPENDED, 1); in testCreateInputSurfaceSuspendedResumeWithTime() 375 codecFormat.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, 0); in doTest() 376 codecFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, in doTest() 378 codecFormat.setInteger(MediaFormat.KEY_FRAME_RATE, OUTPUT_FRAME_RATE); in doTest() 379 codecFormat.setInteger(MediaFormat.KEY_BITRATE_MODE, in doTest() 381 codecFormat.setInteger(MediaFormat.KEY_BIT_RATE, 6000000); in doTest()
|
D | VideoEncoderCapabilitiesTest.java | 98 format.setInteger(MediaFormat.KEY_BIT_RATE, mBitRate); in testEncoderAvailability() 99 format.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in testEncoderAvailability()
|
D | EncoderTest.java | 189 mFormat.setInteger(MediaFormat.KEY_SAMPLE_RATE, mSampleRate); in setUpFormat() 190 mFormat.setInteger(MediaFormat.KEY_CHANNEL_COUNT, mChannelCount); in setUpFormat() 192 mFormat.setInteger(MediaFormat.KEY_PROFILE, mProfile); in setUpFormat() 194 mFormat.setInteger(MediaFormat.KEY_AAC_PROFILE, mProfile); in setUpFormat() 197 mFormat.setInteger(MediaFormat.KEY_BIT_RATE, mBitrate); in setUpFormat()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsUtils.java | 570 format.setInteger(MediaFormat.KEY_PROFILE, HEVCProfileMain10); in initializeHLG10Format() 571 format.setInteger(MediaFormat.KEY_BIT_RATE, videoBitRate); in initializeHLG10Format() 572 format.setInteger(MediaFormat.KEY_FRAME_RATE, videoFrameRate); in initializeHLG10Format() 573 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in initializeHLG10Format() 575 format.setInteger(MediaFormat.KEY_COLOR_STANDARD, MediaFormat.COLOR_STANDARD_BT2020); in initializeHLG10Format() 576 format.setInteger(MediaFormat.KEY_COLOR_RANGE, MediaFormat.COLOR_RANGE_FULL); in initializeHLG10Format() 577 format.setInteger(MediaFormat.KEY_COLOR_TRANSFER, MediaFormat.COLOR_TRANSFER_HLG); in initializeHLG10Format() 578 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, 1); in initializeHLG10Format()
|