Home
last modified time | relevance | path

Searched refs:level (Results 1 – 25 of 28) sorted by relevance

12

/cts/tests/tests/media/src/android/media/cts/
DEnvReverbTest.java83 short level = mReverb.getRoomLevel(); in test1_0Room() local
84 level = (short)((level == 0) ? -1000 : 0); in test1_0Room()
85 mReverb.setRoomLevel(level); in test1_0Room()
88 (level2 > (level - MILLIBEL_TOLERANCE)) && in test1_0Room()
89 (level2 < (level + MILLIBEL_TOLERANCE))); in test1_0Room()
91 level = mReverb.getRoomHFLevel(); in test1_0Room()
92 level = (short)((level == 0) ? -1000 : 0); in test1_0Room()
93 mReverb.setRoomHFLevel(level); in test1_0Room()
96 (level2 > (level - MILLIBEL_TOLERANCE)) && in test1_0Room()
97 (level2 < (level + MILLIBEL_TOLERANCE))); in test1_0Room()
[all …]
DMediaCodecCapabilitiesTest.java311 private boolean checkDecoder(String mime, int profile, int level) { in checkDecoder() argument
312 if (!hasDecoder(mime, profile, level)) { in checkDecoder()
314 + profile + " and level " + level); in checkDecoder()
320 private boolean hasDecoder(String mime, int profile, int level) { in hasDecoder() argument
321 return supports(mime, false /* isEncoder */, profile, level); in hasDecoder()
324 private boolean hasEncoder(String mime, int profile, int level) { in hasEncoder() argument
325 return supports(mime, true /* isEncoder */, profile, level); in hasEncoder()
329 String mime, boolean isEncoder, int profile, int level) { in supports() argument
345 if (pl.level != level && pl.level == H263Level45 && level > H263Level10) { in supports()
349 if (pl.level >= level) { in supports()
DEqualizerTest.java88 short level = mEqualizer.getBandLevel((short)0); in test1_0BandLevel() local
91 (level >= (levelRange[1] - TOLERANCE)) && in test1_0BandLevel()
92 (level <= (levelRange[1] + TOLERANCE))); in test1_0BandLevel()
DMediaCodecTest.java1278 if (lvl.level > highestLevel) { in getAvcSupportedFormatInfo()
1279 highestLevel = lvl.level; in getAvcSupportedFormatInfo()
DDecoderTest.java1944 String mime, int width, int height, float rate, int profile, int level, int bitrate) {
1953 format.setInteger(MediaFormat.KEY_LEVEL, level);
/cts/suite/audio_quality/lib/src/
DLog.cpp41 void Log::printf(LogLevel level, const char* fmt, ...) in printf() argument
45 FileUtil::doVprintf(level < mLogLevel, level, fmt, ap); in printf()
49 void Log::setLogLevel(LogLevel level) in setLogLevel() argument
51 mLogLevel = level; in setLogLevel()
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/
DCtsAudioClientActivity.java68 int setVolume(int stream, int level) { in setVolume() argument
72 int targetLevel = level; in setVolume()
73 if (level == -1) { in setVolume()
/cts/suite/audio_quality/test/
DLogTest.cpp33 Log::LogLevel level = Log::Instance()->getLogLevel(); in TEST_F() local
58 Log::Instance()->setLogLevel(level); in TEST_F()
/cts/tests/tests/security/src/android/security/cts/
DAslrTest.java111 int level = Integer.parseInt(in.readLine().trim()); in testVaRandomize() local
113 + "greater than or equal to 2, got " + level, in testVaRandomize()
114 level >= 2); in testVaRandomize()
DOpenSSLHeartbleedTest.java426 if ((alert != null) && (alert.level == AlertMessage.LEVEL_FATAL)) { in forwardTlsRecord()
697 public int level; field in OpenSSLHeartbleedTest.AlertMessage
713 result.level = record.fragment[0] & 0xff; in tryParse()
DOpenSSLEarlyCCSTest.java156 && (alert.level == AlertMessage.LEVEL_FATAL) in checkEarlyCCS()
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanFeaturesTest.java116 int level = determineHardwareLevel(device); in testVulkanHardwareFeatures() local
120 ": level=" + level + " version=0x" + Integer.toHexString(version)); in testVulkanHardwareFeatures()
122 if (level >= bestDeviceLevel && version >= bestDeviceVersion) { in testVulkanHardwareFeatures()
124 bestDeviceLevel = level; in testVulkanHardwareFeatures()
/cts/suite/audio_quality/lib/include/
DLog.h40 void printf(LogLevel level, const char* fmt, ...);
41 void setLogLevel(LogLevel level);
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DScaleDrawableTest.java358 int level = 4000; in testOnBoundsChange() local
362 mockScaleDrawable.setLevel(level); in testOnBoundsChange()
365 bounds.width() - (int) (bounds.width() * scaleWidth * (10000 - level) / 10000), in testOnBoundsChange()
366 bounds.height() - (int) (bounds.height() * scaleHeight * (10000 - level) / 10000), in testOnBoundsChange()
563 protected boolean onLevelChange(int level) { in onLevelChange() argument
565 return super.onLevelChange(level); in onLevelChange()
645 protected boolean onLevelChange(int level) { in onLevelChange() argument
646 return super.onLevelChange(level); in onLevelChange()
DDrawableWrapperTest.java450 protected boolean onLevelChange(int level) { in onLevelChange() argument
452 return super.onLevelChange(level); in onLevelChange()
531 protected boolean onLevelChange(int level) { in onLevelChange() argument
532 return super.onLevelChange(level); in onLevelChange()
DClipDrawableTest.java348 protected boolean onLevelChange(int level) { in onLevelChange() argument
349 return super.onLevelChange(level); in onLevelChange()
401 protected boolean onLevelChange(int level) { in onLevelChange() argument
402 return super.onLevelChange(level); in onLevelChange()
DLevelListDrawableTest.java209 protected boolean onLevelChange(int level) { in onLevelChange() argument
210 boolean result = super.onLevelChange(level); in onLevelChange()
DDrawableContainerTest.java856 protected boolean onLevelChange(int level) { in onLevelChange() argument
857 return super.onLevelChange(level); in onLevelChange()
1051 protected boolean onLevelChange(int level) { in onLevelChange() argument
1052 boolean result = super.onLevelChange(level); in onLevelChange()
DDrawableTest.java665 protected boolean onLevelChange(int level) { in onLevelChange() argument
666 return super.onLevelChange(level); in onLevelChange()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DMediaDeviceInfo.java59 store.addResult("level", profileLevel.level); in collectDeviceInfo()
/cts/tests/camera/src/android/hardware/camera2/cts/
DExtendedCameraCharacteristicsTest.java1467 private static int remapHardwareLevel(int level) { in remapHardwareLevel() argument
1468 switch (level) { in remapHardwareLevel()
1478 if (level >= LEVEL_3) { in remapHardwareLevel()
1479 return level; // higher levels map directly in remapHardwareLevel()
1483 fail("Unknown HW level: " + level); in remapHardwareLevel()
1487 private static String toStringHardwareLevel(int level) { in toStringHardwareLevel() argument
1488 switch (level) { in toStringHardwareLevel()
1496 if (level >= LEVEL_3) { in toStringHardwareLevel()
1497 return String.format("LEVEL_%d", level); in toStringHardwareLevel()
1502 Log.w(TAG, "Unknown hardware level " + level); in toStringHardwareLevel()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java169 public StaticMetadata(CameraCharacteristics characteristics, CheckLevel level, in StaticMetadata() argument
174 if (level == CheckLevel.COLLECT && collector == null) { in StaticMetadata()
179 mLevel = level; in StaticMetadata()
209 public boolean isHardwareLevelAtLeast(int level) { in isHardwareLevelAtLeast() argument
212 return level == deviceLevel; in isHardwareLevelAtLeast()
215 return level <= deviceLevel; in isHardwareLevelAtLeast()
/cts/libs/deviceutil/src/android/cts/util/
DMediaUtils.java522 Integer profile, Integer level, Integer bitrate) { in canDecodeVideo() argument
527 if (level != null) { in canDecodeVideo()
528 format.setInteger(MediaFormat.KEY_LEVEL, level); in canDecodeVideo()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DResultReporter.java682 private static void log(LogLevel level, String format, Object... args) { in log() argument
683 CLog.logAndDisplay(level, format, args); in log()
/cts/apps/CameraITS/build/scripts/
Dgpylint_rcfile14 # no Warning level messages displayed, use"--disable=all --enable=classes
122 # Regular expression which should only match correct module level names

12