/cts/tests/tests/view/src/android/view/cts/surfacevalidator/ |
PixelCounter.rs | 20 uchar THRESHOLD; 23 if (pixel.r < THRESHOLD 24 && pixel.g < THRESHOLD 25 && pixel.b < THRESHOLD) {
|
/cts/tests/app/src/android/app/cts/ |
ActivityManagerMemoryInfoTest.java | 39 final long THRESHOLD = 500l; 40 mMemory.threshold = THRESHOLD; 49 assertEquals(THRESHOLD, values.threshold); 64 final long THRESHOLD = 500l; 65 mMemory.threshold = THRESHOLD; 74 assertEquals(THRESHOLD, result.threshold); [all...] |
/test/vts-testcase/performance/fmq_benchmark/ |
FmqPerformanceTest.py | 35 # Latency threshold for the benchmark, unit: nanoseconds. 36 THRESHOLD = { 151 if label in self.THRESHOLD[bits]: 153 value, self.THRESHOLD[bits][label], 154 "%s ns for %s is longer than the threshold %s ns" % ( 155 value, label, self.THRESHOLD[bits][label])) 158 if label in self.THRESHOLD[bits]: 160 value, self.THRESHOLD[bits][label], 161 "%s ns for %s is longer than the threshold %s ns" % ( 162 value, label, self.THRESHOLD[bits][label]) [all...] |
/test/vts-testcase/performance/binder_benchmark/ |
BinderPerformanceTest.py | 37 THRESHOLD = { 142 if label in self.THRESHOLD[bits]: 144 value, self.THRESHOLD[bits][label], 145 "%s ns for %s is longer than the threshold %s ns" % ( 146 value, label, self.THRESHOLD[bits][label]))
|
/test/vts-testcase/performance/hwbinder_benchmark/ |
HwBinderPerformanceTest.py | 37 THRESHOLD = { 149 if label in self.THRESHOLD[bits]: 151 value, self.THRESHOLD[bits][label], 152 "%s ns for %s is longer than the threshold %s ns" % ( 153 value, label, self.THRESHOLD[bits][label]))
|
/test/vts-testcase/performance/hwbinder_benchmark_adb/ |
HwBinderPerformanceAdbTest.py | 36 THRESHOLD = { 149 if label in self.THRESHOLD[bits]: 151 value, self.THRESHOLD[bits][label], 152 "%s ns for %s is longer than the threshold %s ns" % ( 153 value, label, self.THRESHOLD[bits][label]))
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
EventGapVerification.java | 23 private static final double THRESHOLD = 1.8; 76 // Ensure the threshold is rounded up. 97 (double)(THRESHOLD * mExpectedDelayUs)/1000.0)); 119 if (deltaUs > mExpectedDelayUs * THRESHOLD) {
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/ |
BaseUefiDecompressLibInternals.h | 32 #define THRESHOLD 3
39 #define NC (0xff + MAXMATCH + 2 - THRESHOLD)
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/ |
BaseUefiTianoCustomDecompressLibInternals.h | 32 #define THRESHOLD 3
39 #define NC (0xff + MAXMATCH + 2 - THRESHOLD)
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseUefiDecompressLib/ |
BaseUefiDecompressLibInternals.h | 23 #define THRESHOLD 3
30 #define NC (0xff + MAXMATCH + 2 - THRESHOLD)
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/ |
5-2.c | 36 #define THRESHOLD (TIMEOUT - 1) 80 if ((newtime - oldtime) < THRESHOLD) {
|
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/ |
MissileLauncherActivity.java | 67 private static final double THRESHOLD = 5.0; 176 if (event.values[0] < -THRESHOLD) { 178 } else if (event.values[0] > THRESHOLD) { 181 if (event.values[1] < -THRESHOLD) { 183 } else if (event.values[1] > THRESHOLD) {
|
/external/ltp/testcases/realtime/func/thread_clock/ |
tc-2.c | 52 #define THRESHOLD 0.5 /* 500 milliseconds */ 184 pass_criteria = THRESHOLD;
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
CanonicalCharacterData.java | 23 private static int THRESHOLD = 4; 53 if (nEquivalents > THRESHOLD) {
|
/external/ltp/testcases/realtime/func/pi_perf/ |
pi_perf.c | 63 #define THRESHOLD 200 /* microseconds */ 233 pass_criteria = THRESHOLD;
|
/test/vts-testcase/performance/audio_loopback_test/ |
AudioLoopbackTest.py | 33 # Threshold for average latency and standard deviation. 34 THRESHOLD = {"MAX_LATENCY": 20000000, } 81 asserts.assertLess(avg_latency, self.THRESHOLD["MAX_LATENCY"], 82 "avg latency exceeds threshold")
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
pitch_ol.cpp | 72 #define THRESHOLD 27853 882 if (sub (mult (max1, THRESHOLD), max2) < 0) 893 if (sub (mult (max1, THRESHOLD), max3) < 0) [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
SlidingTab.java | 46 * A special widget containing two Sliders and a threshold for each. Moving either slider beyond 47 * the threshold will cause the registered OnTriggerListener.onTrigger() to be called with 61 private static final float THRESHOLD = 2.0f / 3.0f; 114 * by moving it beyond a threshold. 119 * threshold. 125 * the threshold. 131 * the threshold. 136 * Called when the user moves a handle beyond the threshold. 352 final int leftTarget = (int) (THRESHOLD * parentWidth) - targetWidth + handleWidth / 2; 353 final int rightTarget = (int) ((1.0f - THRESHOLD) * parentWidth) - handleWidth / 2 [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/TianoCompress/ |
TianoCompress.h | 37 #define THRESHOLD 3
46 #define NC (0xff + MAXMATCH + 2 - THRESHOLD)
|
/external/ltp/testcases/realtime/func/pthread_kill_latency/ |
pthread_kill_latency.c | 60 #define THRESHOLD 20 76 printf(" -l threshold trace latency with given threshold in us\n"); 195 ("Latency threshold (%luus) exceeded at iteration %d\n", 285 pass_criteria = THRESHOLD;
|
/sdk/attribute_stats/src/ |
Analyzer.java | 61 public static final int THRESHOLD = 10; // percent 428 if (percentage < THRESHOLD && prevPercentage >= THRESHOLD) { 440 if (percentage >= THRESHOLD /*&& usage.count > 1*/) { // 1:Ignore when not enough data?
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
TianoCompress.c | 27 #define THRESHOLD 3
44 #define NC (UINT8_MAX + MAXMATCH + 2 - THRESHOLD)
959 if (mMatchLen > LastMatchLen || LastMatchLen < THRESHOLD) {
968 if (LastMatchLen == THRESHOLD) {
978 LastMatchLen + (UINT8_MAX + 1 - THRESHOLD),
|
Decompress.c | 25 #define THRESHOLD 3
32 #define NC (0xff + MAXMATCH + 2 - THRESHOLD)
635 CharC = (UINT16) (CharC - (UINT8_MAX + 1 - THRESHOLD));
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/ |
TianoCompress.c | 37 #define THRESHOLD 3
54 #define NC (UINT8_MAX + MAXMATCH + 2 - THRESHOLD)
979 if (mMatchLen > LastMatchLen || LastMatchLen < THRESHOLD) {
988 if (LastMatchLen == THRESHOLD) {
998 LastMatchLen + (UINT8_MAX + 1 - THRESHOLD),
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
BurstCaptureRawTest.java | 354 private final double THRESHOLD = 5000000.0; // 5ms 426 "The standard deviation of frame interval is larger then threshold: " + 427 String.format("stddev = %.2f, threshold = %.2f.\n", stddev, THRESHOLD) + 429 THRESHOLD, stddev);
|