/cts/tests/tests/location/src/android/location/cts/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/tests/media/src/android/media/cts/ |
D | EncoderTest.java | 81 format.setInteger(MediaFormat.KEY_SAMPLE_RATE, 8000); in testAMRNBEncoders() 82 format.setInteger(MediaFormat.KEY_CHANNEL_COUNT, 1); in testAMRNBEncoders() 83 format.setInteger(MediaFormat.KEY_BIT_RATE, kBitRates[j]); in testAMRNBEncoders() 99 format.setInteger(MediaFormat.KEY_SAMPLE_RATE, 16000); in testAMRWBEncoders() 100 format.setInteger(MediaFormat.KEY_CHANNEL_COUNT, 1); in testAMRWBEncoders() 101 format.setInteger(MediaFormat.KEY_BIT_RATE, kBitRates[j]); in testAMRWBEncoders() 117 format.setInteger(MediaFormat.KEY_SAMPLE_RATE, 16000); in testOpusEncoders() 118 format.setInteger(MediaFormat.KEY_CHANNEL_COUNT, 1); in testOpusEncoders() 119 format.setInteger(MediaFormat.KEY_BIT_RATE, kBitRates[j]); in testOpusEncoders() 149 format.setInteger( in testAACEncoders() [all …]
|
D | MediaCodecCapabilitiesTest.java | 482 format.setInteger(format.KEY_BIT_RATE, bitrate); in createReasonableVideoFormat() 483 format.setInteger(format.KEY_FRAME_RATE, maxRate); in createReasonableVideoFormat() 484 format.setInteger(format.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in createReasonableVideoFormat() 536 format.setInteger(MediaFormat.KEY_BITRATE_MODE, bitrateMode); in createVideoFormatForBitrateMode() 541 format.setInteger(MediaFormat.KEY_QUALITY, quality); in createVideoFormatForBitrateMode() 548 format.setInteger(MediaFormat.KEY_BIT_RATE, bitrate); in createVideoFormatForBitrateMode() 550 format.setInteger(MediaFormat.KEY_FRAME_RATE, maxRate); in createVideoFormatForBitrateMode() 551 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in createVideoFormatForBitrateMode() 552 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in createVideoFormatForBitrateMode() 639 format.setInteger( in testAllNonTunneledVideoCodecsSupportFlexibleYUV() [all …]
|
D | MediaCodecTest.java | 135 format.setInteger(MediaFormat.KEY_BIT_RATE, 19850); in testException() 368 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, colorFormat); in testCreateInputSurfaceErrors() 803 format.setInteger(MediaFormat.KEY_AAC_PROFILE, AUDIO_AAC_PROFILE); in initCodecAndSurface() 804 format.setInteger(MediaFormat.KEY_BIT_RATE, AUDIO_BIT_RATE); in initCodecAndSurface() 809 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in initCodecAndSurface() 811 format.setInteger(MediaFormat.KEY_BIT_RATE, info.mBitRate); in initCodecAndSurface() 812 format.setInteger(MediaFormat.KEY_FRAME_RATE, info.mFps); in initCodecAndSurface() 813 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in initCodecAndSurface() 996 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in testReconfigureWithoutSurface() 1387 encoderFormat.setInteger(MediaFormat.KEY_AAC_PROFILE, AUDIO_AAC_PROFILE); in testCreateAudioDecoderAndEncoder() [all …]
|
D | SurfaceEncodeTimestampTest.java | 176 format.setInteger(MediaFormat.KEY_CREATE_INPUT_SURFACE_SUSPENDED, 1); in testCreateInputSurfaceSuspendedResume() 199 format.setInteger(MediaFormat.KEY_CREATE_INPUT_SURFACE_SUSPENDED, 1); in testCreateInputSurfaceSuspendedResumeWithTime() 287 codecFormat.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, 0); in doTest() 288 codecFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, in doTest() 290 codecFormat.setInteger(MediaFormat.KEY_FRAME_RATE, 30); in doTest() 291 codecFormat.setInteger(MediaFormat.KEY_BITRATE_MODE, in doTest() 293 codecFormat.setInteger(MediaFormat.KEY_BIT_RATE, 6000000); in doTest()
|
D | DecodeEditEncodeTest.java | 209 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in generateVideoFile() 211 format.setInteger(MediaFormat.KEY_BIT_RATE, mBitRate); in generateVideoFile() 212 format.setInteger(MediaFormat.KEY_FRAME_RATE, FRAME_RATE); in generateVideoFile() 213 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in generateVideoFile() 401 outputFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, in editVideoFile() 403 outputFormat.setInteger(MediaFormat.KEY_BIT_RATE, in editVideoFile() 405 outputFormat.setInteger(MediaFormat.KEY_FRAME_RATE, in editVideoFile() 407 outputFormat.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, in editVideoFile() 423 inputFormat.setInteger(KEY_ALLOW_FRAME_DROP, 0); in editVideoFile() 629 format.setInteger(KEY_ALLOW_FRAME_DROP, 0); in checkVideoFile()
|
D | ResourceManagerTestActivityBase.java | 75 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, caps.colorFormats[0]); in getTestFormat() 76 format.setInteger(MediaFormat.KEY_BIT_RATE, bitrate); in getTestFormat() 77 format.setInteger(MediaFormat.KEY_FRAME_RATE, FRAME_RATE); in getTestFormat() 78 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in getTestFormat()
|
D | VpxCodecTestBase.java | 551 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, properties.colorFormat); in decode() 1310 format.setInteger(MediaFormat.KEY_BIT_RATE, bitrate); in encode() 1326 format.setInteger("bitrate-mode", VIDEO_ControlRateConstant); // set CBR in encode() 1329 format.setInteger("ts-layers", streamParams.temporalLayers); // 1 temporal layer in encode() 1331 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, properties.colorFormat); in encode() 1332 format.setInteger(MediaFormat.KEY_FRAME_RATE, streamParams.frameRate); in encode() 1335 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, syncFrameInterval); in encode() 1487 format.setInteger(MediaFormat.KEY_BIT_RATE, bitrate); in encodeAsync() 1501 format.setInteger("bitrate-mode", VIDEO_ControlRateConstant); // set CBR in encodeAsync() 1504 format.setInteger("ts-layers", streamParams.temporalLayers); // 1 temporal layer in encodeAsync() [all …]
|
D | EncodeVirtualDisplayTest.java | 177 format.setInteger(MediaFormat.KEY_BIT_RATE, ENCODER_PARAM_TABLE[i][2]); in verifySupportForEncoderLevel() 178 format.setInteger(MediaFormat.KEY_FRAME_RATE, ENCODER_PARAM_TABLE[i][3]); in verifySupportForEncoderLevel() 217 encoderFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, in encodeVirtualDisplayTest() 219 encoderFormat.setInteger(MediaFormat.KEY_BIT_RATE, sBitRate); in encodeVirtualDisplayTest() 220 encoderFormat.setInteger(MediaFormat.KEY_FRAME_RATE, sFrameRate); in encodeVirtualDisplayTest() 221 encoderFormat.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in encodeVirtualDisplayTest()
|
D | EncodeVirtualDisplayWithCompositionTest.java | 269 decoderFormat.setInteger(MediaFormat.KEY_ROTATION, degrees); in doTestRenderingOutput() 640 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in doEncoding() 650 format.setInteger(MediaFormat.KEY_BIT_RATE, bitRate); in doEncoding() 651 format.setInteger(MediaFormat.KEY_FRAME_RATE, 30); in doEncoding() 652 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in doEncoding() 1511 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in getMaxSupportedEncoderSize() 1521 format.setInteger(MediaFormat.KEY_BIT_RATE, bitRate); in getMaxSupportedEncoderSize() 1522 format.setInteger(MediaFormat.KEY_FRAME_RATE, 30); in getMaxSupportedEncoderSize() 1523 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in getMaxSupportedEncoderSize() 1556 testFormat.setInteger(MediaFormat.KEY_BIT_RATE, bitRate); in isConcurrentEncodingDecodingSupported() [all …]
|
D | EncodeDecodeTest.java | 380 format.setInteger(MediaFormat.KEY_BIT_RATE, mBitRate); in shouldSkip() 381 format.setInteger(MediaFormat.KEY_FRAME_RATE, FRAME_RATE); in shouldSkip() 382 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in shouldSkip() 436 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, colorFormat); in encodeDecodeVideoFromBuffer() 437 format.setInteger(MediaFormat.KEY_BIT_RATE, mBitRate); in encodeDecodeVideoFromBuffer() 438 format.setInteger(MediaFormat.KEY_FRAME_RATE, FRAME_RATE); in encodeDecodeVideoFromBuffer() 439 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in encodeDecodeVideoFromBuffer() 497 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, colorFormat); in encodeDecodeVideoFromSurfaceToSurface() 498 format.setInteger(MediaFormat.KEY_BIT_RATE, mBitRate); in encodeDecodeVideoFromSurfaceToSurface() 499 format.setInteger(MediaFormat.KEY_FRAME_RATE, FRAME_RATE); in encodeDecodeVideoFromSurfaceToSurface() [all …]
|
D | DecoderTestAacDrc.java | 431 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_BOOST_FACTOR, drcParams.mBoost); in decodeToMemory() 432 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_ATTENUATION_FACTOR, drcParams.mCut); in decodeToMemory() 434 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_TARGET_REFERENCE_LEVEL, in decodeToMemory() 437 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_HEAVY_COMPRESSION, drcParams.mHeavy); in decodeToMemory()
|
D | DecoderTestXheAac.java | 854 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_BOOST_FACTOR, drcParams.mBoost); 855 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_ATTENUATION_FACTOR, drcParams.mCut); 857 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_TARGET_REFERENCE_LEVEL, 860 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_HEAVY_COMPRESSION, drcParams.mHeavy); 862 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_EFFECT_TYPE,
|
D | MediaFormatTest.java | 123 format.setInteger("int", 123); in testIntegerValue() 300 format.setInteger("int", 123); in testKeySetContainsAndRemove() 403 format.setInteger("int", 123); in testFeatureKeySetContainsAndRemove() 621 other.setInteger(MediaFormat.KEY_IS_DEFAULT, 1); in testMediaFormatConstructors()
|
D | ExtractDecodeEditEncodeMuxTest.java | 311 outputVideoFormat.setInteger( in extractDecodeEditEncodeMux() 313 outputVideoFormat.setInteger(MediaFormat.KEY_BIT_RATE, OUTPUT_VIDEO_BIT_RATE); in extractDecodeEditEncodeMux() 314 outputVideoFormat.setInteger(MediaFormat.KEY_FRAME_RATE, OUTPUT_VIDEO_FRAME_RATE); in extractDecodeEditEncodeMux() 315 outputVideoFormat.setInteger( in extractDecodeEditEncodeMux() 331 outputAudioFormat.setInteger(MediaFormat.KEY_BIT_RATE, OUTPUT_AUDIO_BIT_RATE); in extractDecodeEditEncodeMux()
|
D | AdaptivePlaybackTest.java | 1276 copy.setInteger(k, orig.getInteger(k)); 1292 mAdaptiveFormat.setInteger(MediaFormat.KEY_MAX_WIDTH, width); 1293 mAdaptiveFormat.setInteger(MediaFormat.KEY_MAX_HEIGHT, height); 1294 mAdaptiveFormat.setInteger(MediaFormat.KEY_MAX_INPUT_SIZE, maxInputSize); 1307 mFormat.setInteger(MediaFormat.KEY_MAX_INPUT_SIZE, maxInputSize); 1668 format.setInteger(MediaFormat.KEY_MAX_INPUT_SIZE, media.getMaxInputSize()); 1677 format.setInteger(MediaFormat.KEY_MAX_WIDTH, media.getWidth()); 1680 format.setInteger(MediaFormat.KEY_MAX_HEIGHT, media.getHeight()); 1683 format.setInteger(MediaFormat.KEY_MAX_INPUT_SIZE, media.getMaxInputSize());
|
/cts/tests/media/src/android/mediav2/cts/ |
D | EncoderColorAspectsTest.java | 71 mConfigFormat.setInteger(MediaFormat.KEY_BIT_RATE, 64000); in EncoderColorAspectsTest() 74 mConfigFormat.setInteger(MediaFormat.KEY_WIDTH, mWidth); in EncoderColorAspectsTest() 75 mConfigFormat.setInteger(MediaFormat.KEY_HEIGHT, mHeight); in EncoderColorAspectsTest() 76 mConfigFormat.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in EncoderColorAspectsTest() 78 mConfigFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, in EncoderColorAspectsTest() 80 if (mRange >= 0) mConfigFormat.setInteger(MediaFormat.KEY_COLOR_RANGE, mRange); in EncoderColorAspectsTest() 82 if (mStandard >= 0) mConfigFormat.setInteger(MediaFormat.KEY_COLOR_STANDARD, mStandard); in EncoderColorAspectsTest() 85 mConfigFormat.setInteger(MediaFormat.KEY_COLOR_TRANSFER, mTransferCurve); in EncoderColorAspectsTest()
|
D | CodecEncoderTest.java | 222 format.setInteger(MediaFormat.KEY_BIT_RATE, bitrate); in setUpParams() 223 format.setInteger(MediaFormat.KEY_SAMPLE_RATE, rate); in setUpParams() 224 format.setInteger(MediaFormat.KEY_CHANNEL_COUNT, channels); in setUpParams() 236 format.setInteger(MediaFormat.KEY_BIT_RATE, bitrate); in setUpParams() 237 format.setInteger(MediaFormat.KEY_WIDTH, mEncParamList1[i]); in setUpParams() 238 format.setInteger(MediaFormat.KEY_HEIGHT, mEncParamList2[i]); in setUpParams() 239 format.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in setUpParams() 240 format.setInteger(MediaFormat.KEY_MAX_B_FRAMES, mMaxBFrames); in setUpParams() 242 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in setUpParams() 801 format.setInteger(MediaFormat.KEY_BITRATE_MODE, in testAdaptiveBitRate() [all …]
|
D | CodecEncoderSurfaceTest.java | 187 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in setUpSource() 439 encoderFormat.setInteger(MediaFormat.KEY_WIDTH, in setUpEncoderFormat() 441 encoderFormat.setInteger(MediaFormat.KEY_HEIGHT, in setUpEncoderFormat() 443 encoderFormat.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in setUpEncoderFormat() 444 encoderFormat.setInteger(MediaFormat.KEY_BIT_RATE, mBitrate); in setUpEncoderFormat() 446 encoderFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, in setUpEncoderFormat() 448 encoderFormat.setInteger(MediaFormat.KEY_MAX_B_FRAMES, mMaxBFrames); in setUpEncoderFormat()
|
D | EncoderProfileLevelTest.java | 56 mConfigFormat.setInteger(MediaFormat.KEY_BIT_RATE, bitrate); in EncoderProfileLevelTest() 60 mConfigFormat.setInteger(MediaFormat.KEY_SAMPLE_RATE, mSampleRate); in EncoderProfileLevelTest() 61 mConfigFormat.setInteger(MediaFormat.KEY_CHANNEL_COUNT, mChannels); in EncoderProfileLevelTest() 66 mConfigFormat.setInteger(MediaFormat.KEY_WIDTH, mWidth); in EncoderProfileLevelTest() 67 mConfigFormat.setInteger(MediaFormat.KEY_HEIGHT, mHeight); in EncoderProfileLevelTest() 68 mConfigFormat.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in EncoderProfileLevelTest() 70 mConfigFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, in EncoderProfileLevelTest() 704 format.setInteger(mIsAudio ? MediaFormat.KEY_AAC_PROFILE : MediaFormat.KEY_PROFILE, in testValidateProfileLevel() 710 if (!mIsAudio) format.setInteger(MediaFormat.KEY_LEVEL, level); in testValidateProfileLevel()
|
/cts/tests/tests/location/src/android/location/cts/asn1/base/ |
D | Asn1Integer.java | 144 public void setInteger(BigInteger value) { in setInteger() method in Asn1Integer 148 public void setInteger(BigInteger value, boolean validateValue) { in setInteger() method in Asn1Integer
|
D | Asn1Enumerated.java | 90 ai.setInteger(BigInteger.valueOf(value.getAssignedValue())); in asAsn1Integer()
|
/cts/tests/video/src/android/video/cts/ |
D | VideoEncoderDecoderTest.java | 764 format.setInteger(MediaFormat.KEY_BIT_RATE, infoEnc.mBitRate); in doTest() 765 format.setInteger(MediaFormat.KEY_BITRATE_MODE, in doTest() 767 format.setInteger(MediaFormat.KEY_WIDTH, w); in doTest() 768 format.setInteger(MediaFormat.KEY_HEIGHT, h); in doTest() 769 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, mSrcColorFormat); in doTest() 770 format.setInteger(MediaFormat.KEY_FRAME_RATE, infoEnc.mFps); in doTest() 772 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, KEY_I_FRAME_INTERVAL); in doTest() 789 format.setInteger(MediaFormat.KEY_WIDTH, w); in doTest() 790 format.setInteger(MediaFormat.KEY_HEIGHT, h); in doTest() 791 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, mDstColorFormat); in doTest() [all …]
|
/cts/hostsidetests/media/bitstreams/app/src/android/media/cts/bitstreams/app/ |
D | MediaBitstreamsDeviceSideTest.java | 109 format.setInteger(MediaFormat.KEY_PROFILE, profile); in fixFormat() 112 format.setInteger(MediaFormat.KEY_LEVEL, level); in fixFormat() 414 format.setInteger(k, Integer.parseInt(v)); in parseTrackFormat()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 567 format.setInteger(MediaFormat.KEY_PROFILE, profile); in canDecodeVideo() 569 format.setInteger(MediaFormat.KEY_LEVEL, level); in canDecodeVideo() 573 format.setInteger(MediaFormat.KEY_BIT_RATE, bitrate); in canDecodeVideo() 705 format.setInteger(MediaFormat.KEY_FRAME_RATE, frameRate); in setMaxEncoderFrameAndBitrates() 710 format.setInteger(MediaFormat.KEY_BIT_RATE, bitrate); in setMaxEncoderFrameAndBitrates()
|