Home
last modified time | relevance | path

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

1234567

/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.java127 MediaFormat format = MediaFormat.createAudioFormat( in testException() local
169 private static boolean verifyException(MediaFormat format, boolean isEncoder) in verifyException()
360 MediaFormat format = createMediaFormat(); in testCreateInputSurfaceErrors() local
410 MediaFormat format = createMediaFormat(); in testSignalSurfaceEOS() local
476 MediaFormat format = createMediaFormat(); in doTestAbruptStop() local
746 public void onOutputFormatChanged(MediaCodec codec, MediaFormat format) { in onOutputFormatChanged()
798 MediaFormat format; in initCodecAndSurface() local
917 MediaFormat format = createMediaFormat(); in testDequeueSurface() local
975 MediaFormat format = createMediaFormat(); in testReconfigureWithoutSurface() local
1328 final MediaFormat format = MediaFormat.createAudioFormat( in testCreateTwoAudioDecoders() local
[all …]
DMediaCodecTunneledPlayer.java123 MediaFormat format = mAudioExtractor.getTrackFormat(i); in prepareAudio() local
157 MediaFormat format = mVideoExtractor.getTrackFormat(i); in prepareVideo() local
235 private boolean addTrack(int trackIndex, MediaFormat format) throws IOException { in addTrack()
294 protected int getMediaFormatInteger(MediaFormat format, String key) { in getMediaFormatInteger()
DResourceManagerTestActivityBase.java61 public void onOutputFormatChanged(MediaCodec codec, MediaFormat format) { in onOutputFormatChanged()
74 MediaFormat format = MediaFormat.createVideoFormat(MIME, width, height); in getTestFormat() local
160 MediaFormat format = getTestFormat(caps, securePlayback); in allocateCodecs() local
DMediaCodecCapabilitiesTest.java430 MediaFormat format = MediaFormat.createVideoFormat(mime, 176, 144); in testHaveAdaptiveVideoDecoderForAllSupportedFormats() local
469 MediaFormat format = MediaFormat.createVideoFormat(mime, width, height); in createReasonableVideoFormat() local
528 MediaFormat format = MediaFormat.createVideoFormat(mime, width, height); in createVideoFormatForBitrateMode() local
579 MediaFormat format = createVideoFormatForBitrateMode( in testAllAdvertisedVideoEncoderBitrateModes() local
631 MediaFormat format = null; in testAllNonTunneledVideoCodecsSupportFlexibleYUV() local
669 MediaFormat format; in createMinFormat() local
697 MediaFormat format = createMinFormat(mime, caps); in getActualMax() local
DMediaCodecClearKeyPlayer.java211 MediaFormat format = mAudioExtractor.getTrackFormat(i); in prepareAudio() local
257 MediaFormat format = mVideoExtractor.getTrackFormat(i); in prepareVideo() local
318 android.media.MediaFormat format = extractor.getTrackFormat(trackId); in initCasAndDescrambler() local
393 private void addTrack(int trackIndex, MediaFormat format, in addTrack()
440 protected int getMediaFormatInteger(MediaFormat format, String key) { in getMediaFormatInteger()
/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/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.java258 MediaFormat format = new MediaFormat(); in getDecoderNamesForMime() local
264 MediaFormat format = new MediaFormat(); in getEncoderNamesForMime() local
282 public static MediaCodec getDecoder(MediaFormat format) { in getDecoder()
293 public static boolean canEncode(MediaFormat format) { in canEncode()
301 public static boolean canDecode(MediaFormat format) { in canDecode()
325 public static boolean supports(String codecName, MediaFormat format) { in supports()
360 MediaFormat format = ex.getTrackFormat(i); in hasCodecsForMedia() local
379 MediaFormat format = ex.getTrackFormat(i); in hasCodecForMediaAndDomain() local
558 MediaFormat format = MediaFormat.createVideoFormat(mime, width, height); in canDecodeVideo() local
566 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/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/tests/location/src/android/location/cts/
DMultiConstellationNotSupportedException.java23 public MultiConstellationNotSupportedException(String format, Object... params) { in MultiConstellationNotSupportedException()
/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/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/tests/graphics/jni/
DNativeTestHelpers.cpp23 void fail(JNIEnv *env, const char *format, ...) { in fail()
/cts/tests/tests/opengl/src/android/opengl/cts/
DCompressedTextureTest.java40 private void launchTest(String format) throws Exception { in launchTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java137 public static Size getMaxOutputSize(CameraCharacteristics ccs, int format) in getMaxOutputSize()
146 private static Size[] getOutputSizes(CameraCharacteristics ccs, int format) in getOutputSizes()
191 int format = image.getFormat(); in getDataFromImage() local
299 int format = image.getFormat(); in checkAndroidImageFormat() local
/cts/hostsidetests/media/bitstreams/app/src/android/media/cts/bitstreams/app/
DMediaBitstreamsDeviceSideTest.java120 MediaFormat format = MediaUtils.getTrackFormatForPath(null, fullPath, "video"); in run() local
166 MediaFormat format = parseTrackFormat(formatStr); in run() local
227 MediaFormat format = ex.getTrackFormat(0); in getDecodersForPath() local
372 MediaFormat format = new MediaFormat(); in parseTrackFormat() local
/cts/tests/sensor/jni/
DnativeTestHelper.cpp25 void fail(JNIEnv* env, const char* format, ...) { in fail()

1234567