Home
last modified time | relevance | path

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

1234

/cts/tools/dex-tools/src/dex/reader/
DTypeFormatter.java45 public String format(String typeName) { in format() method in TypeFormatter
79 public String format(List<String> typeNames) { in format() method in TypeFormatter
91 private String format(List<?> elements, String separator) { in format() method in TypeFormatter
/cts/tests/tests/hardware/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/media/src/android/media/cts/
DEncoderTest.java52 MediaFormat format = new MediaFormat(); in testAMRNBEncoders() local
70 MediaFormat format = new MediaFormat(); in testAMRWBEncoders() local
101 MediaFormat format = new MediaFormat(); in testAACEncoders() local
175 private void testEncoder(String componentName, MediaFormat format) { in testEncoder()
DMediaCodecTest.java94 MediaFormat format = MediaFormat.createAudioFormat( in testException() local
136 private static boolean verifyException(MediaFormat format, boolean isEncoder) in verifyException()
304 MediaFormat format = createMediaFormat(); in testCreateInputSurfaceErrors() local
363 MediaFormat format = createMediaFormat(); in testSignalSurfaceEOS() local
429 MediaFormat format = createMediaFormat(); in doTestAbruptStop() local
585 public void onOutputFormatChanged(MediaCodec codec, MediaFormat format) { in onOutputFormatChanged()
629 MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, info.mMaxW, info.mMaxH); in initCodecAndSurface() local
714 MediaFormat format = createMediaFormat(); in testDequeueSurface() local
757 MediaFormat format = createMediaFormat(); in testReconfigureWithoutSurface() local
1030 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.java392 MediaFormat format = MediaFormat.createVideoFormat(mime, 176, 144); in testHaveAdaptiveVideoDecoderForAllSupportedFormats() local
431 MediaFormat format = MediaFormat.createVideoFormat(mime, width, height); in createReasonableVideoFormat() local
498 MediaFormat format = null; in testAllNonTunneledVideoCodecsSupportFlexibleYUV() local
535 MediaFormat format; in createMinFormat() local
561 MediaFormat format = createMinFormat(mime, caps); in getActualMax() local
DMediaCodecCencPlayer.java161 MediaFormat format = mAudioExtractor.getTrackFormat(i); in prepareAudio() local
196 MediaFormat format = mVideoExtractor.getTrackFormat(i); in prepareVideo() local
283 private void addTrack(int trackIndex, MediaFormat format, in addTrack()
322 protected int getMediaFormatInteger(MediaFormat format, String key) { in getMediaFormatInteger()
DExtractDecodeEditEncodeMuxTest.java555 MediaFormat format, in createVideoEncoder()
585 private MediaCodec createAudioEncoder(String codecName, MediaFormat format) in createAudioEncoder()
1133 private static boolean isVideoFormat(MediaFormat format) { in isVideoFormat()
1137 private static boolean isAudioFormat(MediaFormat format) { in isAudioFormat()
1141 private static String getMimeTypeFor(MediaFormat format) { in getMimeTypeFor()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java119 public static Size getMaxOutputSize(CameraCharacteristics ccs, int format) in getMaxOutputSize()
124 private static Size[] getOutputSizes(CameraCharacteristics ccs, int format) in getOutputSizes()
166 int format = image.getFormat(); in getDataFromImage() local
252 int format = image.getFormat(); in checkAndroidImageFormat() local
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/
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()
DScriptGraph.java227 public Builder configureInput(int width, int height, int format) { in configureInput()
244 public Builder configureInput(int width, int height, int format, int usage) { in configureInput()
262 public Builder configureInput(Size size, int format) { in configureInput()
282 public Builder configureInputWithSurface(Size size, int format) { in configureInputWithSurface()
300 public Builder configureInput(Size size, int format, int usage) { in configureInput()
/cts/tests/tests/graphics/src/android/opengl/cts/
DCompressedTextureTest.java30 private void launchTest(String format) throws Exception { in launchTest()
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp85 AMediaFormat *format = AMediaExtractor_getTrackFormat(ex, i); in testExtractor() local
199 static int checksum(const uint8_t *in, int len, AMediaFormat *format) { in checksum()
234 AMediaFormat **format = new AMediaFormat*[numtracks]; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative() local
241 AMediaFormat *format = AMediaExtractor_getTrackFormat(ex, i); in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative() local
387 AMediaFormat *format = NULL; in Java_android_media_cts_NativeDecoderTest_testPlaybackNative() local
393 AMediaFormat *format = AMediaExtractor_getTrackFormat(ex, i); in Java_android_media_cts_NativeDecoderTest_testPlaybackNative() local
475 AMediaFormat *format = AMediaExtractor_getTrackFormat(ex, i); in Java_android_media_cts_NativeDecoderTest_testMuxerNative() local
523 AMediaFormat* format = AMediaFormat_new(); in Java_android_media_cts_NativeDecoderTest_testFormatNative() local
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DCtsApiCoverage.java71 int format = FORMAT_TXT; in main() local
191 File outputFile, int format, PackageFilter packageFilter, String reportTitle) in outputCoverageReport()
DXmlReport.java40 SimpleDateFormat format = new SimpleDateFormat("EEE, MMM d, yyyy h:mm a z"); in printXmlReport() local
/cts/tests/tests/jni/libjnitest/
Dhelper.c27 char *failure(const char *format, ...) { in failure()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DSampleTest.java69 Element format = Element.RGBA_8888(mRS); in setUp() local
/cts/libs/deviceutil/src/android/cts/util/
DMediaUtils.java152 public static MediaCodec getDecoder(MediaFormat format) { in getDecoder()
163 public static boolean canDecode(MediaFormat format) { in canDecode()
218 MediaFormat format = ex.getTrackFormat(i); in hasCodecsForMedia() local
237 MediaFormat format = ex.getTrackFormat(i); in hasCodecForMediaAndDomain() local
384 MediaFormat format = MediaFormat.createVideoFormat(mime, width, height); in canDecodeVideo() local
389 public static boolean checkDecoderForFormat(MediaFormat format) { in checkDecoderForFormat()
/cts/tests/tests/os/src/android/os/cts/
DStrictModeTest.java87 final SimpleDateFormat format = new SimpleDateFormat("MM-dd HH:mm:ss.SSS"); in readLogSince() local
/cts/tests/tests/graphics/src/android/graphics/cts/
DYuvImageTest.java129 int format = mFormats[0]; in testYuvImage() local
232 private YuvImage generateYuvImage(int format, Bitmap bitmap, int paddings) { in generateYuvImage()
304 int format) { in convertArgbsToYuvs()
396 int format = ImageFormat.NV21; in checkParameters() local
/cts/tests/tests/security/jni/
Dandroid_security_cts_LinuxRngTest.cpp29 static void throwIOException(JNIEnv* env, const char *format, ...) { in throwIOException()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DMediaFrameworkTest.java75 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCamera2SurfaceViewCtsActivity.java95 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged()

1234