/cts/tests/tests/media/src/android/media/cts/ |
D | CamcorderProfileTest.java | 91 private CamcorderProfile getWithOptionalId(int quality, int cameraId) { in getWithOptionalId() argument 93 return CamcorderProfile.get(quality); in getWithOptionalId() 95 return CamcorderProfile.get(cameraId, quality); in getWithOptionalId() 105 profile.quality, in checkProfile() 117 assertTrue(Arrays.asList(ALL_SUPPORTED_QUALITIES).contains(profile.quality)); in checkProfile() 137 profile.quality, in checkAllProfiles() 247 private void checkSpecificProfileDimensions(CamcorderProfile profile, int quality) { in checkSpecificProfileDimensions() argument 249 profile.quality, profile.videoFrameWidth, profile.videoFrameHeight)); in checkSpecificProfileDimensions() 251 switch (quality) { in checkSpecificProfileDimensions() 338 for (int quality : specificQualities) { in checkSpecificProfiles() [all …]
|
D | MediaCodecCapabilitiesTest.java | 538 int quality = encoderCaps.getQualityRange().getLower(); in createVideoFormatForBitrateMode() local 540 + " " + mime + " = " + quality); in createVideoFormatForBitrateMode() 541 format.setInteger(MediaFormat.KEY_QUALITY, quality); in createVideoFormatForBitrateMode()
|
D | HeifWriterTest.java | 334 int rotation, int quality, in TestConfig() argument 344 mQuality = quality; in TestConfig()
|
/cts/suite/audio_quality/ |
D | Android.mk | 24 CTS_AUDIO_INSTALL_DIR := $(HOST_OUT)/cts-audio-quality/android-cts-audio-quality 25 CTS_AUDIO_QUALITY_ZIP := $(HOST_OUT)/cts-audio-quality/android-cts-audio-quality.zip 42 zip -rq $(notdir $@) android-cts-audio-quality -x android-cts-audio-quality/reports/\*
|
/cts/tools/cts-media/ |
D | get_achievable_rates.py | 155 quality = 0 162 quality += 0.5 167 quality += 2 170 quality += 3 173 quality += 1 184 quality += 1 208 c2 += ' E=%s' % (str(quality)) 216 final = Final(comment, c2, var, quality) 220 elif not lastFinal or quality <= lastFinal.qual: 222 if N < 2 * RG or quality >= 4: [all …]
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | DevicePolicyManagerParentSupportTest.java | 132 private void setPasswordQuality(int quality) { in setPasswordQuality() argument 133 mParentDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, quality); in setPasswordQuality()
|
/cts/ |
D | Android.bp | 37 // Set of error prone rules to ensure code quality 66 // Set of error prone rules to ensure code quality of tests
|
/cts/tests/camera/libctscamera2jni/ |
D | dng-validate-jni.cpp | 293 int32 quality = (previewIndex == 0 ? 8 : 5); in dng_validate() local 298 quality); in dng_validate()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapTest.java | 174 for (int quality : new int[] { 25, 50, 80, 99 }) { in testCompressWebpLossy() 176 assertTrue(mBitmap.compress(CompressFormat.WEBP, quality, webp)); in testCompressWebpLossy() 181 assertTrue(mBitmap.compress(CompressFormat.WEBP_LOSSY, quality, webpLossy)); in testCompressWebpLossy() 184 assertTrue("Compression did not match at quality " + quality, in testCompressWebpLossy() 192 fail("Bad comparison for quality " + quality); in testCompressWebpLossy() 202 public void testCompressWebpLossless(int quality) { in testCompressWebpLossless() argument 204 assertTrue(mBitmap.compress(CompressFormat.WEBP_LOSSLESS, quality, webp)); in testCompressWebpLossless() 208 assertTrue("WEBP_LOSSLESS did not losslessly compress at quality " + quality, in testCompressWebpLossless() 2799 for (int quality : new int[] { 50, 80, 100 }) { in testNdkCompress() 2803 + quality + " from Java API", bitmap.compress(format, quality, stream)); in testNdkCompress() [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | HeifWriterTest.java | 248 int width, int height, int rotation, int quality, in TestConfig() argument 256 mQuality = quality; in TestConfig()
|
D | RecordingTest.java | 970 for (int quality = CamcorderProfile.QUALITY_HIGH_SPEED_480P; in getFpsFromHighSpeedProfileForSize() 971 quality <= CamcorderProfile.QUALITY_HIGH_SPEED_2160P; quality++) { in getFpsFromHighSpeedProfileForSize() 972 if (CamcorderProfile.hasProfile(quality)) { in getFpsFromHighSpeedProfileForSize() 973 CamcorderProfile profile = CamcorderProfile.get(quality); in getFpsFromHighSpeedProfileForSize()
|
D | ExtendedCameraCharacteristicsTest.java | 2175 for (int quality = CamcorderProfile.QUALITY_HIGH_SPEED_480P; in testConstrainedHighSpeedCapability() 2176 quality <= CamcorderProfile.QUALITY_HIGH_SPEED_2160P; quality++) { in testConstrainedHighSpeedCapability() 2178 if (CamcorderProfile.hasProfile(cameraId, quality)) { in testConstrainedHighSpeedCapability() 2179 CamcorderProfile profile = CamcorderProfile.get(cameraId, quality); in testConstrainedHighSpeedCapability()
|
D | RobustnessTest.java | 2615 int quality = in getMaxRecordingSize() local 2632 assertTrue("No recording supported for camera id " + cameraId, quality != -1); in getMaxRecordingSize() 2634 CamcorderProfile maxProfile = CamcorderProfile.get(id, quality); in getMaxRecordingSize()
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_BitmapTest.cpp | 259 static jboolean compress(JNIEnv* env, jclass, jobject jbitmap, jint format, jint quality, in compress() argument 271 quality, &context, compressWriteFn); in compress()
|