Home
last modified time | relevance | path

Searched refs:maxValue (Results 1 – 13 of 13) sorted by relevance

/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DUidImportanceListener.java66 public int waitForValue(int minValue, int maxValue) { in waitForValue() argument
67 return waitForValue(minValue, maxValue, mDefaultWaitTime); in waitForValue()
70 public int waitForValue(int minValue, int maxValue, long timeout) { in waitForValue() argument
74 while (mLastValue < minValue || mLastValue > maxValue) { in waitForValue()
78 + minValue + "-" + maxValue + " (cut " in waitForValue()
86 Log.d("XXXX", "waitForValue " + minValue + "-" + maxValue + " (cut " in waitForValue()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DTimeout.java57 public Timeout(String name, long initialValue, float multiplier, long maxValue) { in Timeout() argument
58 this(DEFAULT_SLEEPER, name, initialValue, multiplier, maxValue); in Timeout()
63 long maxValue) { in Timeout() argument
64 if (initialValue < 1 || maxValue < 1 || initialValue > maxValue) { in Timeout()
66 "invalid initial and/or max values: " + initialValue + " and " + maxValue); in Timeout()
78 mMaxValue = maxValue; in Timeout()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DTimeout.java57 public Timeout(String name, long initialValue, float multiplier, long maxValue) { in Timeout() argument
58 this(DEFAULT_SLEEPER, name, initialValue, multiplier, maxValue); in Timeout()
63 long maxValue) { in Timeout() argument
64 if (initialValue < 1 || maxValue < 1 || initialValue > maxValue) { in Timeout()
66 "invalid initial and/or max values: " + initialValue + " and " + maxValue); in Timeout()
78 mMaxValue = maxValue; in Timeout()
/cts/tests/tests/media/libndkaudio/
DWaveTableGenerator.cpp29 float* WaveTableGenerator::genSinWave(int size, float maxValue) { in genSinWave() argument
30 return genSinWave(size, maxValue, new float[size]); in genSinWave()
33 float* WaveTableGenerator::genSinWave(int size, float maxValue, float* tbl) { in genSinWave() argument
37 tbl[index] = (float) sin(val) * maxValue; in genSinWave()
DWaveTableGenerator.h25 static float* genSinWave(int size, float maxValue);
26 static float* genSinWave(int size, float maxValue, float* tbl);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DCorrelation.java53 double maxValue = 0; in computeCorrelation() local
65 if (mDataAutocorrelated[i] > maxValue) { in computeCorrelation()
66 maxValue = mDataAutocorrelated[i]; in computeCorrelation()
73 log(String.format(" Maxvalue %f, max Index : %d/%d (%d) minIndex=%d",maxValue, maxIndex, in computeCorrelation()
DAudioAEC.java164 double maxValue = 0; in computeAcousticCouplingFactor() local
185 if (Math.abs(crossCorr.mData[i]) > maxValue) { in computeAcousticCouplingFactor()
186 maxValue = Math.abs(crossCorr.mData[i]); in computeAcousticCouplingFactor()
190 return maxValue; in computeAcousticCouplingFactor()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DRSBaseCompute.java176 int size, long seed, double minValue, double maxValue) { in createRandomFloatAllocation() argument
182 RSUtils.genRandomDoubles(seed, minValue, maxValue, inArray, false); in createRandomFloatAllocation()
186 RSUtils.genRandomFloats(seed, (float) minValue, (float) maxValue, inArray, false); in createRandomFloatAllocation()
190 RSUtils.genRandomFloat16s(seed, minValue, maxValue, inArray, false); in createRandomFloatAllocation()
278 double maxValue = Float16Utils.convertFloat16ToDouble(maxArray[i]); in enforceOrdering() local
279 if (minValue > maxValue) { in enforceOrdering()
DCoreMathVerifier.java413 static private Target.Floaty clamp(double value, double minValue, double maxValue, Target t) { in clamp() argument
414 return t.newFloaty(Math.min(maxValue, Math.max(minValue, value))); in clamp()
/cts/tests/tests/database/src/android/database/cts/
DCursorJoinerTest.java182 private String getOrderNumberString(int value, int maxValue) { in getOrderNumberString() argument
184 int maxLength = Integer.toString(maxValue).length(); in getOrderNumberString()
/cts/tests/tests/media/src/android/media/cts/
DVpxCodecTestBase.java1908 int maxValue = 0; in maxPresentationTimeDifference() local
1910 maxValue = Math.max(maxValue, bufferInfo.offset); in maxPresentationTimeDifference()
1912 maxValue = (maxValue + 500) / 1000; // mcs -> ms in maxPresentationTimeDifference()
1913 return maxValue; in maxPresentationTimeDifference()
/cts/apps/CtsVerifier/jni/audio_loopback/
Dsles.cpp546 int maxValue = 32768; in slesProcessNext() local
564 *(pCurrentSample++) = ((double)buffer[jj])/maxValue; in slesProcessNext()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureRequestTest.java1227 float maxValue = mStaticInfo.getMinimumFocusDistanceChecked(); in verifyFocusDistance() local
1248 resultDistances[i], minValue, maxValue); in verifyFocusDistance()
2837 float maxValue = mStaticInfo.getMinimumFocusDistanceChecked();
2839 float range = maxValue - minValue;
2850 maxValue;