Home
last modified time | relevance | path

Searched refs:quality (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DCamcorderProfileTest.java35 private CamcorderProfile getWithOptionalId(int quality, int cameraId) { in getWithOptionalId() argument
37 return CamcorderProfile.get(quality); in getWithOptionalId()
39 return CamcorderProfile.get(cameraId, quality); in getWithOptionalId()
49 profile.quality, in checkProfile()
61 assertTrue(profile.quality == CamcorderProfile.QUALITY_LOW || in checkProfile()
62 profile.quality == CamcorderProfile.QUALITY_HIGH || in checkProfile()
63 profile.quality == CamcorderProfile.QUALITY_QCIF || in checkProfile()
64 profile.quality == CamcorderProfile.QUALITY_CIF || in checkProfile()
65 profile.quality == CamcorderProfile.QUALITY_480P || in checkProfile()
66 profile.quality == CamcorderProfile.QUALITY_720P || in checkProfile()
[all …]
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DVideoPlayerCapability.java27 static boolean formatSupported(int quality, int videoCodec, int audioCodec) { in formatSupported() argument
28 if (!CamcorderProfile.hasProfile(quality)) { in formatSupported()
29 Log.i(TAG, "quality " + quality + " not supported"); in formatSupported()
32 CamcorderProfile profile = CamcorderProfile.get(quality); in formatSupported()
35 Log.i(TAG, "quality " + quality + " video codec " + videoCodec + " audio codec " + in formatSupported()
DNativeMediaTest.java52 private void runPlayTest(int quality) throws InterruptedException { in runPlayTest() argument
53 if (quality != 0) { in runPlayTest()
54 if (!isResolutionSupported(quality)) { in runPlayTest()
60 quality); in runPlayTest()
89 private boolean isResolutionSupported(int quality) { in isResolutionSupported() argument
91 if (!CamcorderProfile.hasProfile(quality)) { in isResolutionSupported()
94 CamcorderProfile profile = CamcorderProfile.get(quality); in isResolutionSupported()
DMediaPlayerStressTest.java54 protected MediaPlayerStressTest(int quality, int videoCodec, int audioCodec) { in MediaPlayerStressTest() argument
55 mSupported = VideoPlayerCapability.formatSupported(quality, videoCodec, audioCodec); in MediaPlayerStressTest()
/cts/suite/audio_quality/
DAndroid.mk22 CTS_AUDIO_INSTALL_DIR := $(HOST_OUT)/cts-audio-quality/android-cts-audio-quality
23 CTS_AUDIO_QUALITY_ZIP := $(HOST_OUT)/cts-audio-quality/android-cts-audio-quality.zip
39 zip -rq $(notdir $@) android-cts-audio-quality -x android-cts-audio-quality/reports/\*