Home
last modified time | relevance | path

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

1234567

/cts/tests/media/src/android/mediav2/cts/
DCodecUnitTest.java77 MediaFormat format = new MediaFormat(); in getSampleAudioFormat() local
87 MediaFormat format = new MediaFormat(); in getSampleVideoFormat() local
106 void testConfigureCodecForIncompleteFormat(MediaFormat format, String[] keys, in testConfigureCodecForIncompleteFormat()
139 MediaFormat format = getSampleAudioFormat(); in testConfigureCodecForBadFlags() local
160 void tryConfigureCodecInInvalidState(MediaFormat format, boolean isAsync, String msg) { in tryConfigureCodecInInvalidState()
402 MediaFormat format = getSampleAudioFormat(); in testConfigureAudioDecodeForIncompleteFormat() local
412 MediaFormat format = getSampleAudioFormat(); in testConfigureAudioEncodeForIncompleteFormat() local
422 MediaFormat format = getSampleVideoFormat(); in testConfigureVideoDecodeForIncompleteFormat() local
432 MediaFormat format = getSampleVideoFormat(); in testConfigureVideoEncodeForIncompleteFormat() local
455 MediaFormat format = getSampleAudioFormat(); in testConfigureInInitState() local
[all …]
DMuxerUnitTest.java226 MediaFormat format = new MediaFormat(); in testIfInvalidMediaFormatIsRejected() local
248 MediaFormat format = new MediaFormat(); in testIfCorruptMediaFormatIsRejected() local
266 MediaFormat format = new MediaFormat(); in testIfAddTrackSucceedsAfterStart() local
285 MediaFormat format = new MediaFormat(); in testIfAddTrackSucceedsAfterWriteSampleData() local
305 MediaFormat format = new MediaFormat(); in testIfAddTrackSucceedsAfterStop() local
326 MediaFormat format = new MediaFormat(); in testIfAddTrackSucceedsAfterRelease() local
343 MediaFormat format = new MediaFormat(); in testIfMuxerStartsBeforeAddTrack() local
362 MediaFormat format = new MediaFormat(); in testIdempotentStart() local
382 MediaFormat format = new MediaFormat(); in testIfMuxerStartsAfterWriteSampleData() local
403 MediaFormat format = new MediaFormat(); in testIfMuxerStartsAfterStop() local
[all …]
DCodecDecoderSurfaceTest.java100 MediaFormat format = setUpSource(file); in decodeAndSavePts() local
207 MediaFormat format = setUpSource(mTestFile); in testSimpleDecodeToSurface() local
245 MediaFormat format = setUpSource(mTestFile); in testFlush() local
339 MediaFormat format = setUpSource(mTestFile); in testReconfigure() local
450 MediaFormat format = setUpSource(mTestFile); in testSimpleDecodeToSurfaceNative() local
471 MediaFormat format = setUpSource(mTestFile); in testFlushNative() local
DCodecDecoderTest.java238 MediaFormat format = setUpSource(mTestFile); in testSimpleDecode() local
343 MediaFormat format = setUpSource(mTestFile); in testFlush() local
476 MediaFormat format = setUpSource(mTestFile); in testReconfigure() local
642 MediaFormat format = setUpSource(mTestFile); in testOnlyEos() local
705 MediaFormat format = setUpSource(mTestFile); in testSimpleDecodeQueueCSD() local
795 MediaFormat format = setUpSource(mTestFile); in testSimpleDecodeQueueCSDNative() local
813 MediaFormat format = setUpSource(mTestFile); in testDecodePartialFrame() local
/cts/tests/tests/media/src/android/media/cts/
DMediaFormatTest.java32 MediaFormat format, String key, String type) { in assertGetByteBuffersThrowClassCastException()
47 MediaFormat format, String key, String type) { in assertGetFloatsThrowClassCastException()
62 MediaFormat format, String key, String type) { in assertGetIntegersThrowClassCastException()
77 MediaFormat format, String key, String type) { in assertGetLongsThrowClassCastException()
92 MediaFormat format, String key, String type) { in assertGetNumbersThrowClassCastException()
107 MediaFormat format, String key, String type) { in assertGetStringsThrowClassCastException()
122 MediaFormat format = new MediaFormat(); in testIntegerValue() local
149 MediaFormat format = new MediaFormat(); in testLongValue() local
176 MediaFormat format = new MediaFormat(); in testFloatValue() local
203 MediaFormat format = new MediaFormat(); in testStringValue() local
[all …]
DEncoderTest.java79 MediaFormat format = new MediaFormat(); in testAMRNBEncoders() local
97 MediaFormat format = new MediaFormat(); in testAMRWBEncoders() local
115 MediaFormat format = new MediaFormat(); in testOpusEncoders() local
146 MediaFormat format = new MediaFormat(); in testAACEncoders() local
273 EncoderRun(String componentName, MediaFormat format) { in EncoderRun()
283 private void testEncoder(String componentName, MediaFormat format) { in testEncoder()
301 private void testEncoder(String componentName, MediaFormat format, in testEncoder()
DMediaCodecTest.java128 MediaFormat format = MediaFormat.createAudioFormat( in testException() local
170 private static boolean verifyException(MediaFormat format, boolean isEncoder) in verifyException()
361 MediaFormat format = createMediaFormat(); in testCreateInputSurfaceErrors() local
411 MediaFormat format = createMediaFormat(); in testSignalSurfaceEOS() local
477 MediaFormat format = createMediaFormat(); in doTestAbruptStop() local
747 public void onOutputFormatChanged(MediaCodec codec, MediaFormat format) { in onOutputFormatChanged()
799 MediaFormat format; in initCodecAndSurface() local
918 MediaFormat format = createMediaFormat(); in testDequeueSurface() local
976 MediaFormat format = createMediaFormat(); in testReconfigureWithoutSurface() local
1329 final MediaFormat format = MediaFormat.createAudioFormat( in testCreateTwoAudioDecoders() local
[all …]
/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()
DMediaUtils.java260 MediaFormat format = new MediaFormat(); in getDecoderNamesForMime() local
266 MediaFormat format = new MediaFormat(); in getEncoderNamesForMime() local
284 public static MediaCodec getDecoder(MediaFormat format) { in getDecoder()
295 public static boolean canEncode(MediaFormat format) { in canEncode()
303 public static boolean canDecode(MediaFormat format) { in canDecode()
309 public static boolean canDecode(MediaFormat format, double rate ) { in canDecode()
402 public static boolean supports(String codecName, MediaFormat format) { in supports()
437 MediaFormat format = ex.getTrackFormat(i); in hasCodecsForMedia() local
456 MediaFormat format = ex.getTrackFormat(i); in hasCodecForMediaAndDomain() local
641 MediaFormat format = MediaFormat.createVideoFormat(mime, width, height); in canDecodeVideo() local
[all …]
DBusinessLogicDeviceExecutor.java52 public void logInfo(String format, Object... args) { in logInfo()
60 public void logDebug(String format, Object... args) { in logDebug()
/cts/common/device-side/util/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()
DMediaUtils.java256 MediaFormat format = new MediaFormat(); in getDecoderNamesForMime() local
262 MediaFormat format = new MediaFormat(); in getEncoderNamesForMime() local
280 public static MediaCodec getDecoder(MediaFormat format) { in getDecoder()
291 public static boolean canEncode(MediaFormat format) { in canEncode()
299 public static boolean canDecode(MediaFormat format) { in canDecode()
323 public static boolean supports(String codecName, MediaFormat format) { in supports()
358 MediaFormat format = ex.getTrackFormat(i); in hasCodecsForMedia() local
377 MediaFormat format = ex.getTrackFormat(i); in hasCodecForMediaAndDomain() local
556 MediaFormat format = MediaFormat.createVideoFormat(mime, width, height); in canDecodeVideo() local
564 MediaFormat format = MediaFormat.createVideoFormat(mime, width, height); in canDecodeVideo() local
[all …]
DBusinessLogicDeviceExecutor.java52 public void logInfo(String format, Object... args) { in logInfo()
60 public void logDebug(String format, Object... args) { in logDebug()
/cts/tests/media/jni/
DNativeMuxerUnitTest.cpp125 AMediaFormat* format = AMediaFormat_new(); in nativeTestIfInvalidMediaFormatIsRejected() local
149 AMediaFormat* format = AMediaFormat_new(); in nativeTestIfCorruptMediaFormatIsRejected() local
168 AMediaFormat* format = AMediaFormat_new(); in nativeTestIfAddTrackSucceedsAfterStart() local
189 AMediaFormat* format = AMediaFormat_new(); in nativeTestIfAddTrackSucceedsAfterWriteSampleData() local
211 AMediaFormat* format = AMediaFormat_new(); in nativeTestIfAddTrackSucceedsAfterStop() local
249 AMediaFormat* format = AMediaFormat_new(); in nativeTestIdempotentStart() local
270 AMediaFormat* format = AMediaFormat_new(); in nativeTestIfMuxerStartsAfterWriteSampleData() local
292 AMediaFormat* format = AMediaFormat_new(); in nativeTestIfMuxerStartsAfterStop() local
315 AMediaFormat* format = AMediaFormat_new(); in nativeTestStopOnANonStartedMuxer() local
334 AMediaFormat* format = AMediaFormat_new(); in nativeTestIdempotentStop() local
[all …]
DNativeCodecEncoderTest.cpp163 AMediaFormat* format = AMediaFormat_new(); in setUpParams() local
177 AMediaFormat* format = AMediaFormat_new(); in setUpParams() local
196 for (auto format : mFormats) AMediaFormat_delete(format); in deleteParams() local
339 void CodecEncoderTest::initFormat(AMediaFormat* format) { in initFormat()
350 AMediaFormat* format, OutputManager* ref) { in encodeToMemory()
375 void CodecEncoderTest::forceSyncFrame(AMediaFormat* format) { in forceSyncFrame()
381 void CodecEncoderTest::updateBitrate(AMediaFormat* format, int bitrate) { in updateBitrate()
399 AMediaFormat* format = mFormats[i]; in testSimpleEncode() local
468 AMediaFormat* format = mFormats[0]; in testFlush() local
552 auto format = mFormats[1]; in testReconfigure() local
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DTestImsSmsImpl.java45 public void sendSms(int token, int messageRef, String format, String smsc, boolean isRetry, in sendSms()
87 public void receiveSmsWaitForAcknowledge(int token, String format, byte[] pdu) { in receiveSmsWaitForAcknowledge()
102 public void sendReportWaitForAcknowledgeSmsReportR(int token, String format, byte[] pdu) { in sendReportWaitForAcknowledgeSmsReportR()
117 public void sendReportWaitForAcknowledgeSmsReportPQ(int messageRef, String format, in sendReportWaitForAcknowledgeSmsReportPQ()
/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/video/src/android/video/cts/
DCodecInfo.java84 MediaFormat format = MediaFormat.createVideoFormat(mimeType, w, h); in getSupportedFormatInfo() local
85 MediaUtils.setMaxEncoderFrameAndBitrates(cap.getVideoCapabilities(), format, maxFps); in getSupportedFormatInfo() local
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DScriptGraph.java258 public Builder configureInput(int width, int height, int format) { in configureInput()
275 public Builder configureInput(int width, int height, int format, int usage) { in configureInput()
293 public Builder configureInput(Size size, int format) { in configureInput()
313 public Builder configureInputWithSurface(Size size, int format) { in configureInputWithSurface()
331 public Builder configureInput(Size size, int format, int usage) { in configureInput()
DAllocationInfo.java89 public static AllocationInfo newInstance(Size size, int format, int usage) { in newInstance()
127 public static AllocationInfo newInstance(Size size, int format) { in newInstance()
192 public AllocationInfo changeFormatAndUsage(int format, int usage) { in changeFormatAndUsage()
222 public AllocationInfo changeFormatWithDefaultUsage(int format) { in changeFormatWithDefaultUsage()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorTestPlatformException.java24 public SensorTestPlatformException(String format, Object ... params) { in SensorTestPlatformException()
DSensorTestStateNotSupportedException.java25 public SensorTestStateNotSupportedException(String format, Object ... params) { in SensorTestStateNotSupportedException()
/cts/tests/tests/location/src/android/location/cts/
DMultiConstellationNotSupportedException.java23 public MultiConstellationNotSupportedException(String format, Object... params) { in MultiConstellationNotSupportedException()
/cts/tests/tests/graphics/jni/
DNativeTestHelpers.cpp23 void fail(JNIEnv *env, const char *format, ...) { in fail()
/cts/hostsidetests/media/bitstreams/app/src/android/media/cts/bitstreams/app/
DMediaBitstreamsDeviceSideTest.java87 private static void fixFormat(MediaFormat format, String path) { in fixFormat()
150 MediaFormat format = MediaUtils.getTrackFormatForPath(null, fullPath, "video"); in run() local
196 MediaFormat format = parseTrackFormat(formatStr); in run() local
258 MediaFormat format = ex.getTrackFormat(0); in getDecodersForPath() local
404 MediaFormat format = new MediaFormat(); in parseTrackFormat() local

1234567