/cts/tests/tests/net/src/android/net/cts/ |
D | RssiCurveTest.java | 35 RssiCurve curve = new RssiCurve(-100, 200, new byte[] { 10 }); in lookupScore_constantCurve() local 36 assertThat(curve.lookupScore(-200)).isEqualTo(10); in lookupScore_constantCurve() 37 assertThat(curve.lookupScore(-100)).isEqualTo(10); in lookupScore_constantCurve() 38 assertThat(curve.lookupScore(0)).isEqualTo(10); in lookupScore_constantCurve() 39 assertThat(curve.lookupScore(100)).isEqualTo(10); in lookupScore_constantCurve() 40 assertThat(curve.lookupScore(200)).isEqualTo(10); in lookupScore_constantCurve() 46 RssiCurve curve = new RssiCurve(-100, 100, new byte[] { -10, 10 }); in lookupScore_changingCurve() local 47 assertThat(curve.lookupScore(-200)).isEqualTo(-10); in lookupScore_changingCurve() 48 assertThat(curve.lookupScore(-100)).isEqualTo(-10); in lookupScore_changingCurve() 49 assertThat(curve.lookupScore(-50)).isEqualTo(-10); in lookupScore_changingCurve() [all …]
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | EcKeyGenPerformanceTest.java | 30 for (int curve : SUPPORTED_CURVES) { in testEcKeyGen() 33 new AndroidKeystoreEcKeyGenerator("EC", curve), curve), in testEcKeyGen() 35 new DefaultKeystoreEcKeyGenerator("EC", curve), curve)); in testEcKeyGen() 55 DefaultKeystoreEcKeyGenerator(String algorithm, int curve) throws Exception { in DefaultKeystoreEcKeyGenerator() argument 57 getKeyPairGenerator().initialize(curve); in DefaultKeystoreEcKeyGenerator()
|
D | AttestationPerformanceTest.java | 49 for (int curve : EC_CURVES) { in testEcKeyAttestation() 51 new AndroidKeystoreEcKeyGenerator("SHA1withECDSA", curve, challenge), in testEcKeyAttestation() 52 curve, in testEcKeyAttestation()
|
D | ECCurves.java | 115 EllipticCurve curve = new EllipticCurve(field, a, b, seed); in createNistPCurveSpec() local 118 curve, in createNistPCurveSpec()
|
/cts/apps/CameraITS/tests/scene1/ |
D | test_param_tonemap_mode.py | 91 curve = sum([[i/m, i/m] for i in range(size)], []) 95 "red": curve, "green": curve, "blue": curve}
|
/cts/tests/tests/display/src/android/display/cts/ |
D | BrightnessTest.java | 251 Pair<float[], float[]> curve = defaultConfig.getCurve(); in testGetDefaultCurve() local 252 assertTrue(curve.first.length > 0); in testGetDefaultCurve() 253 assertEquals(curve.first.length, curve.second.length); in testGetDefaultCurve() 254 assertInRange(curve.first, 0, Float.MAX_VALUE); in testGetDefaultCurve() 255 assertInRange(curve.second, 0, Float.MAX_VALUE); in testGetDefaultCurve() 256 assertEquals(0.0, curve.first[0], 0.1); in testGetDefaultCurve() 257 assertMonotonic(curve.first, true /*strictly increasing*/, "lux"); in testGetDefaultCurve() 258 assertMonotonic(curve.second, false /*strictly increasing*/, "nits"); in testGetDefaultCurve()
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | raw_converter.rscript | 42 float4 toneMapCoeffs; // Coefficients for a polynomial tonemapping curve 67 // Apply gamma correction using sRGB gamma curve 81 // Apply polynomial tonemapping curve to each color channel in RGB pixel. 124 // Apply tonemapping curve to min, max RGB channel values 183 // a tonemapping curve, apply a colorspace transform to a final colorspace, 184 // and apply a gamma correction curve.
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraMetadataGetter.java | 373 private static Object serializeTonemapCurve(TonemapCurve curve) in serializeTonemapCurve() argument 380 int len = curve.getPointCount(ch); in serializeTonemapCurve() 382 curveArr.put(curve.getPoint(ch, i).x); in serializeTonemapCurve() 383 curveArr.put(curve.getPoint(ch, i).y); in serializeTonemapCurve()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsSerializer.java | 217 private static Object serializeTonemapCurve(TonemapCurve curve) in serializeTonemapCurve() argument 223 int len = curve.getPointCount(ch); in serializeTonemapCurve() 225 curveArr.put(curve.getPoint(ch,i).x); in serializeTonemapCurve() 226 curveArr.put(curve.getPoint(ch,i).y); in serializeTonemapCurve()
|