Home
last modified time | relevance | path

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

/cts/tests/tests/media/audio/jni/
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/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/apps/CtsVerifier/jni/megaaudio/player/
DWaveTableSource.cpp97 float maxValue, float minValue, float dutyCycle) { in genTriangleWave() argument
98 float range = maxValue - minValue; in genTriangleWave()
108 float phase0Incr = maxValue / (float) phase0Size; in genTriangleWave()
114 val = maxValue; in genTriangleWave()
127 float phase0Incr = maxValue / (float) phase0Size; in genTriangleWave()
136 float maxValue, float minValue, float dutyCycle) { in genPulseWave() argument
140 buffer[index] = maxValue; in genPulseWave()
DWaveTableSource.h89 static void genTriangleWave(float* buffer, int size, float maxValue, float minValue,
91 static void genPulseWave(float* buffer, int size,float maxValue, float minValue,
/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/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/sources/
DWaveTableSource.java168 float[] buffer, float maxValue, float minValue, float dutyCycle) { in genTriangleWave() argument
169 float range = maxValue - minValue; in genTriangleWave()
182 float phase0Incr = maxValue / (float) phase0Size; in genTriangleWave()
188 val = maxValue; in genTriangleWave()
201 float phase0Incr = maxValue / (float) phase0Size; in genTriangleWave()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2023-40077/
Dpoc.cpp27 const int maxValue = 100000; variable
31 for (int i = 0; i <= maxValue; i += 2) { in even_thread()
39 for (int i = 1; i <= maxValue; i += 2) { in odd_thread()
/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/apps/CtsVerifier/jni/audio_loopback/analyzer/
DLatencyAnalyzer.h205 float maxValue = 1.0e-9f; in normalize() local
207 maxValue = std::max(maxValue, abs(mData[i])); in normalize()
209 float gain = target / maxValue; in normalize()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioAEC.java183 double maxValue = 0; in computeAcousticCouplingFactor() local
204 if (Math.abs(crossCorr.mData[i]) > maxValue) { in computeAcousticCouplingFactor()
205 maxValue = Math.abs(crossCorr.mData[i]); in computeAcousticCouplingFactor()
209 return maxValue; in computeAcousticCouplingFactor()
/cts/tests/tests/database/src/android/database/cts/
DCursorJoinerTest.java208 private String getOrderNumberString(int value, int maxValue) { in getOrderNumberString() argument
210 int maxLength = Integer.toString(maxValue).length(); in getOrderNumberString()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DVideoCodecTestBase.java2058 int maxValue = 0; in maxPresentationTimeDifference() local
2060 maxValue = Math.max(maxValue, bufferInfo.offset); in maxPresentationTimeDifference()
2062 maxValue = (maxValue + 500) / 1000; // mcs -> ms in maxPresentationTimeDifference()
2063 return maxValue; in maxPresentationTimeDifference()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureRequestTest.java1442 float maxValue = mStaticInfo.getMinimumFocusDistanceChecked(); in verifyFocusDistance() local
1463 resultDistances[i], minValue, maxValue); in verifyFocusDistance()
3561 float maxValue = mStaticInfo.getMinimumFocusDistanceChecked();
3563 float range = maxValue - minValue;
3574 maxValue;
/cts/tests/tests/car/lib/CarIntegrationTestUtilsLib/src/android/car/cts/utils/
DVehiclePropertyVerifier.java985 Integer maxValue = (Integer) carPropertyConfig.getMaxValue(areaId); in getPossibleIntegerValues() local
990 .that(minValue != null && maxValue != null).isTrue(); in getPossibleIntegerValues()
992 minValue.intValue(), maxValue.intValue()).boxed().collect(Collectors.toList()); in getPossibleIntegerValues()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...