Home
last modified time | relevance | path

Searched defs:format (Results 1 – 25 of 308) sorted by relevance

12345678910>>...13

/cts/tests/media/src/android/mediav2/cts/
DCodecUnitTest.java112 MediaFormat format = new MediaFormat(); in getSampleAudioFormat() local
122 MediaFormat format = new MediaFormat(); in getSampleVideoFormat() local
136 MediaFormat format = new MediaFormat(); in getMultipleAccessUnitsSampleAudioFormat() local
154 void testConfigureCodecForIncompleteFormat(MediaFormat format, String[] keys, in testConfigureCodecForIncompleteFormat()
187 MediaFormat format = getSampleAudioFormat(); in testConfigureCodecForBadFlags() local
208 void tryConfigureCodecInInvalidState(MediaFormat format, boolean isAsync, String msg) { in tryConfigureCodecInInvalidState()
472 MediaFormat format = getSampleAudioFormat(); in testConfigureAudioDecodeForIncompleteFormat() local
483 MediaFormat format = getSampleAudioFormat(); in testConfigureAudioEncodeForIncompleteFormat() local
494 MediaFormat format = getSampleVideoFormat(); in testConfigureVideoDecodeForIncompleteFormat() local
505 MediaFormat format = getSampleVideoFormat(); in testConfigureVideoEncodeForIncompleteFormat() local
[all …]
DMuxerUnitTest.java224 MediaFormat format = new MediaFormat(); in testIfInvalidMediaFormatIsRejected() local
246 MediaFormat format = new MediaFormat(); in testIfCorruptMediaFormatIsRejected() local
264 MediaFormat format = new MediaFormat(); in testIfAddTrackSucceedsAfterStart() local
284 MediaFormat format = new MediaFormat(); in testIfAddTrackSucceedsAfterWriteSampleData() local
305 MediaFormat format = new MediaFormat(); in testIfAddTrackSucceedsAfterStop() local
327 MediaFormat format = new MediaFormat(); in testIfAddTrackSucceedsAfterRelease() local
345 MediaFormat format = new MediaFormat(); in testIfMuxerStartsBeforeAddTrack() local
364 MediaFormat format = new MediaFormat(); in testIdempotentStart() local
385 MediaFormat format = new MediaFormat(); in testIfMuxerStartsAfterWriteSampleData() local
407 MediaFormat format = new MediaFormat(); in testIfMuxerStartsAfterStop() local
[all …]
DCodecDecoderSurfaceTest.java113 MediaFormat format = setUpSource(file); in decodeAndSavePts() local
132 MediaFormat format = setUpSource(mTestFile); in setUp() local
239 MediaFormat format = setUpSource(mTestFile); in testSimpleDecodeToSurface() local
284 MediaFormat format = setUpSource(mTestFile); in testDetachAndReattachSurface() local
387 MediaFormat format = setUpSource(mTestFile); in testFlush() local
500 MediaFormat format = setUpSource(mTestFile); in testReconfigure() local
598 MediaFormat format = setUpSource(mTestFile); in testSimpleDecodeToSurfaceNative() local
617 MediaFormat format = setUpSource(mTestFile); in testFlushNative() local
DCodecDecoderBlockModelMultiAccessUnitTest.java99 MediaFormat format = setUpSource(mTestFile); in setUp() local
141 MediaFormat format = setUpSource(mTestFile); in testSimpleDecode() local
202 MediaFormat format = setUpSource(mTestFile); in testFlush() local
302 MediaFormat format = setUpSource(mTestFile); in testReconfigure() local
DCodecDecoderTest.java341 MediaFormat format = setUpSource(mTestFile); in setUp() local
374 MediaFormat format = setUpSource(mTestFile); in testSimpleDecode() local
472 MediaFormat format = setUpSource(mTestFile); in testFlush() local
575 MediaFormat format = setUpSource(mTestFile); in testFlushNative() local
620 MediaFormat format = setUpSource(mTestFile); in testReconfigure() local
746 MediaFormat format = setUpSource(mTestFile); in testOnlyEos() local
785 MediaFormat format = setUpSource(mTestFile); in testOnlyEosNative() local
803 MediaFormat format = setUpSource(mTestFile); in testSimpleDecodeQueueCSD() local
875 MediaFormat format = setUpSource(mTestFile); in testSimpleDecodeQueueCSDNative() local
900 MediaFormat format = setUpSource(mTestFile); in testDecodePartialFrame() local
[all …]
DCodecEncoderTest.java344 MediaFormat format = mActiveEncCfg.getFormat(); in testSimpleEncode() local
388 MediaFormat format = mActiveEncCfg.getFormat(); in testSimpleEncodeNative() local
450 MediaFormat format = mEncCfgParams[0].getFormat(); in testReconfigure() local
532 MediaFormat format = mEncCfgParams[0].getFormat(); in testReconfigureNative() local
567 MediaFormat format = mActiveEncCfg.getFormat(); in testOnlyEos() local
599 MediaFormat format = mActiveEncCfg.getFormat(); in testOnlyEosNative() local
625 MediaFormat format = currCfg.getFormat(); in testSetForceSyncFrame() local
698 MediaFormat format = in testSetForceSyncFrameNative() local
721 MediaFormat format = mActiveEncCfg.getFormat(); in testAdaptiveBitRate() local
786 MediaFormat format = in testAdaptiveBitRateNative() local
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaFormatTest.java46 MediaFormat format, String key, String type) { in assertGetByteBuffersThrowClassCastException()
61 MediaFormat format, String key, String type) { in assertGetFloatsThrowClassCastException()
76 MediaFormat format, String key, String type) { in assertGetIntegersThrowClassCastException()
91 MediaFormat format, String key, String type) { in assertGetLongsThrowClassCastException()
106 MediaFormat format, String key, String type) { in assertGetNumbersThrowClassCastException()
121 MediaFormat format, String key, String type) { in assertGetStringsThrowClassCastException()
136 MediaFormat format = new MediaFormat(); in testIntegerValue() local
163 MediaFormat format = new MediaFormat(); in testLongValue() local
190 MediaFormat format = new MediaFormat(); in testFloatValue() local
217 MediaFormat format = new MediaFormat(); in testStringValue() local
[all …]
DResourceManagerCodecActivity.java92 public void onOutputFormatChanged(MediaCodec codec, MediaFormat format) { in onOutputFormatChanged()
152 MediaFormat format = MediaFormat.createVideoFormat(mMime, mWidth, mHeight); in createVideoFormat() local
162 MediaFormat format = createVideoFormat(info); in createVideoEncoderFormat() local
204 protected void allocateCodecs(int max, String name, MediaFormat format, boolean decoder) { in allocateCodecs()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DRetryableException.java33 public RetryableException(String format, Object...args) { in RetryableException()
37 public RetryableException(Throwable cause, String format, Object...args) { in RetryableException()
46 public RetryableException(@Nullable Timeout timeout, String format, Object...args) { in RetryableException()
51 public RetryableException(@Nullable Timeout timeout, Throwable cause, String format, in RetryableException()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DCallAudioInterceptionTest.java115 AudioFormat format = new AudioFormat.Builder().setSampleRate(16000) in testGetCallUplinkInjectionAudioTrackFail() local
178 AudioFormat format = new AudioFormat.Builder().setSampleRate(16000) in testGetCallUplinkInjectionAudioTrackSuccess() local
217 AudioFormat format = new AudioFormat.Builder().setSampleRate(16000) in testGetCallDownlinkExtractionAudioRecordFail() local
279 AudioFormat format = new AudioFormat.Builder().setSampleRate(16000) in testGetCallDownlinkExtractionAudioRecordSuccess() local
/cts/tests/media/jni/
DNativeMuxerUnitTest.cpp137 AMediaFormat* format = AMediaFormat_new(); in nativeTestIfInvalidMediaFormatIsRejected() local
166 AMediaFormat* format = AMediaFormat_new(); in nativeTestIfCorruptMediaFormatIsRejected() local
190 AMediaFormat* format = AMediaFormat_new(); in nativeTestIfAddTrackSucceedsAfterStart() local
216 AMediaFormat* format = AMediaFormat_new(); in nativeTestIfAddTrackSucceedsAfterWriteSampleData() local
243 AMediaFormat* format = AMediaFormat_new(); in nativeTestIfAddTrackSucceedsAfterStop() local
291 AMediaFormat* format = AMediaFormat_new(); in nativeTestIdempotentStart() local
317 AMediaFormat* format = AMediaFormat_new(); in nativeTestIfMuxerStartsAfterWriteSampleData() local
344 AMediaFormat* format = AMediaFormat_new(); in nativeTestIfMuxerStartsAfterStop() local
372 AMediaFormat* format = AMediaFormat_new(); in nativeTestStopOnANonStartedMuxer() local
396 AMediaFormat* format = AMediaFormat_new(); in nativeTestIdempotentStop() local
[all …]
/cts/tests/surfacecontrol/jni/
DjniAssert.h23 static void fail(JNIEnv *env, const char *format, ...) { in fail()
38 #define ASSERT(condition, format, args...) \ argument
/cts/tests/tests/view/jni/
DjniAssert.h23 static void fail(JNIEnv *env, const char *format, ...) { in fail()
38 #define ASSERT(condition, format, args...) \ argument
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DTestImsSmsImpl.java48 public void sendSms(int token, int messageRef, String format, String smsc, boolean isRetry, in sendSms()
110 public void receiveSmsWaitForAcknowledgeMemoryFull(int token, String format, byte[] pdu) { in receiveSmsWaitForAcknowledgeMemoryFull()
126 public void receiveSmsWaitForAcknowledge(int token, String format, byte[] pdu) { in receiveSmsWaitForAcknowledge()
142 public void sendReportWaitForAcknowledgeSmsReportR(int token, String format, byte[] pdu) { in sendReportWaitForAcknowledgeSmsReportR()
157 public void sendReportWaitForAcknowledgeSmsReportPQ(int messageRef, String format, in sendReportWaitForAcknowledgeSmsReportPQ()
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaDrmCodecTest.java65 MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, WIDTH, HEIGHT); in createMediaFormat() local
113 MediaFormat format = createMediaFormat(); in testCryptoError() local
165 MediaFormat format = createMediaFormat(); in testCryptoErrorLostSessionState() local
/cts/tests/tests/graphics/src/android/graphics/cts/
DBasicVulkanGpuTest.java52 public BasicVulkanGpuTest(String name, int format) { in BasicVulkanGpuTest()
66 private static native void verifyBasicBufferImport(AssetManager assetManager, int format, in verifyBasicBufferImport()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_BitmapTest.cpp43 int32_t format = is565 ? ANDROID_BITMAP_FORMAT_RGB_565 : ANDROID_BITMAP_FORMAT_RGBA_8888; in validateBitmapInfo() local
259 static jboolean compress(JNIEnv* env, jclass, jobject jbitmap, jint format, jint quality, in compress()
388 for (auto format : gFormats) { in testNdkCompressBadParameter() local
397 for (auto format : gFormats) { in testNdkCompressBadParameter() local
406 for (auto format : gFormats) { in testNdkCompressBadParameter() local
414 for (auto format : gFormats) { in testNdkCompressBadParameter() local
429 for (auto format : gFormats) { in testNdkCompressBadParameter() local
437 for (auto format : gFormats) { in testNdkCompressBadParameter() local
448 for (auto format : gFormats) { in testNdkCompressBadParameter() local
/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecDecoderTestBase.java93 MediaFormat format = extractor.getTrackFormat(trackID); in getMaxSampleSizeForMediaType() local
118 MediaFormat format = mExtractor.getTrackFormat(trackID); in setUpSource() local
179 public static boolean hasCSD(MediaFormat format) { in hasCSD()
275 MediaFormat format = mCodec.getOutputFormat(); in dequeueOutput() local
373 MediaFormat format = setUpSource(file); in decodeToMemory() local
397 MediaFormat format, String decoder) throws IOException, InterruptedException { in decodeToMemory()
412 protected PersistableBundle validateMetrics(String decoder, MediaFormat format) { in validateMetrics()
425 MediaFormat format = setUpSource(mTestFile); in validateColorAspects() local
/cts/tests/mediapc/src/android/mediapc/cts/
DAudioPlaybackLoad.java50 MediaFormat format = setUpSource(mTestFile); in doDecodeAndPlayback() local
68 private AudioTrack createAudioTrack(MediaFormat format) { in createAudioTrack()
90 private int getChannelMask(MediaFormat format) { in getChannelMask()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DDpcCommander.java72 private CommandResult runDpcCmd(String format, Object... args) in runDpcCmd()
87 private CommandResult dumpDpc(String format, Object... args) in dumpDpc()
96 private CommandResult runShellCmd(String format, Object... args) in runShellCmd()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DHDRDecoderTest.java190 MediaFormat format = new MediaFormat(); in prepareParamList() local
269 MediaFormat format = null; in testHdrMetadata() local
398 private void verifyHdrStaticInfo(String reason, MediaFormat format, String pattern) { in verifyHdrStaticInfo()
407 private void verifyHdrDynamicInfo(String reason, MediaFormat format, String pattern) { in verifyHdrDynamicInfo()
444 MediaFormat format = null; in testHdrToSdr() local
DDecoderSetup.java53 MediaFormat format = extractor.getTrackFormat(i); in getFirstTrackWithMimePrefix() local
63 public static MediaCodec createCodecFor(MediaFormat format) { in createCodecFor()
/cts/tests/video/src/android/video/cts/
DCodecDecoderPerformanceTestBase.java46 private void setUpFormat(MediaFormat format) throws IOException { in setUpFormat()
80 MediaFormat format = setUpDecoderInput(); in decode() local
/cts/tools/cts-test-metrics/
DCtsCameraTestCases.reportlog.json1 {"test_reprocessing_throughput":[{"camera_id":"0","format":35,"reprocess_type":"YUV reprocessing","… number
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecTest.java164 MediaFormat format = MediaFormat.createAudioFormat( in testException() local
206 private static boolean verifyException(MediaFormat format, boolean isEncoder) in verifyException()
582 MediaFormat format = createMediaFormat(); in testCreateInputSurfaceErrors() local
636 MediaFormat format = createMediaFormat(); in testSignalSurfaceEOS() local
706 MediaFormat format = createMediaFormat(); in doTestAbruptStop() local
982 public void onOutputFormatChanged(MediaCodec codec, MediaFormat format) { in onOutputFormatChanged()
1034 MediaFormat format; in initCodecAndSurface() local
1157 MediaFormat format = createMediaFormat(); in testDequeueSurface() local
1220 MediaFormat format = createMediaFormat(); in testReconfigureWithoutSurface() local
1582 final MediaFormat format = MediaFormat.createAudioFormat( in testCreateTwoAudioDecoders() local
[all …]

12345678910>>...13