Home
last modified time | relevance | path

Searched refs:range (Results 1 – 25 of 216) sorted by relevance

123456789

/cts/apps/CameraITS/tests/scene1/
Dtest_param_shading_mode.py60 reference_maps = [[] for mode in range(3)]
62 for mode in range(1, 3):
78 for i in range(NUM_SHADING_MODE_SWITCH_LOOPS):
79 for mode in range(3):
88 shading_maps = [[[] for loop in range(NUM_SHADING_MODE_SWITCH_LOOPS)]
89 for mode in range(3)]
92 for i in range(len(caps)):
98 for mode in range(3):
99 for i in range(NUM_SHADING_MODE_SWITCH_LOOPS):
101 pylab.plot(range(num_map_gains), shading_maps[mode][i], 'r')
[all …]
Dtest_param_noise_reduction.py76 for channel in range(3):
82 for n in range(NUM_SAMPLES_PER_MODE):
110 for chan in range(3):
114 for j in range(3):
123 for j in range(3):
Dtest_post_raw_sensitivity_boost.py113 xs = range(len(reqs))
128 for step in range(1, len(reqs)):
134 for rgb in range(3):
149 for rgb in range(3):
151 for step in range(len(reqs)):
156 for step in range(len(vals)):
Dtest_param_tonemap_mode.py67 for i in range(L)], [])),
69 for i in range(L)], [])),
71 for i in range(L)], []))}
91 curve = sum([[i/m, i/m] for i in range(size)], [])
Dtest_reprocess_noise_reduction.py91 for channel in range(3):
98 for n in range(NUM_SAMPLES_PER_MODE):
131 for chan in range(3):
136 for channel in range(3):
147 for j in range(3):
Dtest_raw_sensitivity.py53 for s in range(sens_min, sens_max, sens_step):
88 x = range(len(variances))
96 for i in range(len(variances) - 1):
Dtest_raw_exposure.py56 black_levels = [its.image.get_black_level(i,props) for i in range(4)]
75 for s in range(sens_min, sens_max, sens_step):
81 for i in range(len(reqs) / SLICE_LEN):
151 for chan in range(4):
Dtest_burst_sameness_manual.py57 for j in range(BURSTS):
70 for i in range(FRAMES):
/cts/tests/tests/location/src/android/location/cts/asn1/base/
DPerAlignedUtils.java44 int range = maximumValue - minimumValue; in encodeSmallConstrainedWholeNumber() local
45 return encodeNormalizedSmallConstrainedWholeNumber(normalizedValue, range); in encodeSmallConstrainedWholeNumber()
58 int normalizedValue, int range) { in encodeNormalizedSmallConstrainedWholeNumber() argument
59 Preconditions.checkArgument(range < SIXTYFOUR_K, "range >= 64K"); in encodeNormalizedSmallConstrainedWholeNumber()
63 if (range == 0) { in encodeNormalizedSmallConstrainedWholeNumber()
66 if (range < 128) { in encodeNormalizedSmallConstrainedWholeNumber()
67 result.appendLowBits(leastBitsToEncode((byte) range), in encodeNormalizedSmallConstrainedWholeNumber()
71 if (range >= 255) { in encodeNormalizedSmallConstrainedWholeNumber()
74 if (range < 256) { in encodeNormalizedSmallConstrainedWholeNumber()
90 int range = maximumValue - minimumValue; in decodeSmallConstrainedWholeNumber() local
[all …]
DAsn1Integer.java61 BigInteger normalizedValue, BigInteger range) { in encodeNormalizedIntegerWithRangeAligned() argument
62 if (range.compareTo(BigInteger.valueOf(SIXTYFOUR_K)) < 0) { in encodeNormalizedIntegerWithRangeAligned()
64 normalizedValue.intValue(), range.intValue()); in encodeNormalizedIntegerWithRangeAligned()
70 PerAlignedUtils.encodeBigNonNegativeWholeNumber(range).length); in encodeNormalizedIntegerWithRangeAligned()
75 BigInteger normalizedValue, BigInteger range) { in encodeNormalizedIntegerWithRangeUnaligned() argument
77 normalizedValue.longValue(), range.longValue()); in encodeNormalizedIntegerWithRangeUnaligned()
117 BigInteger range = maximumValue.subtract(minimumValue); in encodePerImpl() local
119 ? encodeNormalizedIntegerWithRangeAligned(normalizedValue, range) in encodePerImpl()
120 : encodeNormalizedIntegerWithRangeUnaligned(normalizedValue, range); in encodePerImpl()
160 BitStreamReader reader, BigInteger range) { in decodeNormalizedIntegerWithRangeAligned() argument
[all …]
DPerUnalignedUtils.java39 int range = maximumValue - minimumValue; in encodeConstrainedWholeNumber() local
40 return encodeNormalizedConstrainedWholeNumber(normalizedValue, range); in encodeConstrainedWholeNumber()
53 long normalizedValue, long range) { in encodeNormalizedConstrainedWholeNumber() argument
55 int bits = leastBitsToEncodeLong(range); in encodeNormalizedConstrainedWholeNumber()
65 long range = (long) maximumValue - (long) minimumValue; in decodeConstrainedWholeNumber() local
67 decodeNormalizedConstrainedWholeNumber(reader, range); in decodeConstrainedWholeNumber()
80 BitStreamReader reader, long range) { in decodeNormalizedConstrainedWholeNumber() argument
82 int bits = leastBitsToEncodeLong(range); in decodeNormalizedConstrainedWholeNumber()
/cts/tests/tests/hardware/src/android/hardware/consumerir/cts/
DConsumerIrTest.java64 for (ConsumerIrManager.CarrierFrequencyRange range : freqs) { in test_getCarrierFrequencies()
66 assertTrue(range.getMinFrequency() > 0); in test_getCarrierFrequencies()
67 assertTrue(range.getMaxFrequency() > 0); in test_getCarrierFrequencies()
68 assertTrue(range.getMinFrequency() <= range.getMaxFrequency()); in test_getCarrierFrequencies()
87 for (ConsumerIrManager.CarrierFrequencyRange range : freqs) { in test_timing()
90 mCIR.transmit(range.getMinFrequency(), pattern); in test_timing()
99 mCIR.transmit(range.getMaxFrequency(), pattern); in test_timing()
/cts/tests/tests/rsblas/assets/
Dblas_gen.py29 for i in range(1, a.shape[0]):
30 for j in range(0, i):
33 for i in range(0, a.shape[0]-1):
34 for j in range(i+1, a.shape[1]):
39 for i in range(1, a.shape[0]):
40 for j in range(0, i):
45 for i in range(0, a.shape[0]):
47 for i in range(1, a.shape[0]):
48 for j in range(0, i):
53 for i in range(0, a.shape[0]):
[all …]
/cts/apps/CameraITS/tests/inprog/
Dtest_param_black_level_lock.py51 sensitivities = range(sens_range[0],
63 pylab.plot(range(16), hist.tolist()[:16])
72 assert(all([modes[i] == modes[0] for i in range(len(modes))]))
Dtest_black_level.py53 sensitivities = [sens_range[0] + i*sens_step for i in range(NUM_STEPS)]
84 pylab.plot(range(32), yhist.tolist()[0:32], 'rgb'[si])
85 pylab.plot(range(32), uhist.tolist()[112:144], 'rgb'[si]+'--')
86 pylab.plot(range(32), vhist.tolist()[112:144], 'rgb'[si]+'--')
Dtest_burst_sameness_fullres_auto.py62 for j in range(BURSTS):
71 for i in range(FRAMES):
82 for i in range(FRAMES):
/cts/suite/audio_quality/test_description/processing/
Dgen_random.py41 for i in range(iHigh, freqSamples - 1):
53 for i in range(len(filteredData)):
57 for i in range(len(filteredData)):
/cts/apps/CameraITS/tests/scene3/
Dtest_reprocess_edge_enhancement.py65 for n in range(NUM_SAMPLES):
123 for edge_mode in range(4):
145 for edge_mode in range(4):
180 for reprocess_format in range(len(reprocess_formats)):
/cts/apps/CameraITS/tests/scene0/
Dtest_jitter.py44 deltas = [tstamps[i]-tstamps[i-1] for i in range(1,len(tstamps))]
55 pylab.plot(range(len(deltas_ms)), deltas_ms)
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct_range/d/
DT_invoke_direct_range_1.d23 invoke-direct/range {v1}, dot/junit/opcodes/invoke_direct_range/TSuper/<init>()V
30 invoke-direct/range {v2}, dot/junit/opcodes/invoke_direct_range/TSuper/toInt()I
DT_invoke_direct_range_13.d23 invoke-direct/range {v1}, dot/junit/opcodes/invoke_direct_range/TAbstract/<init>()V
29 invoke-direct/range {v2}, dot/junit/opcodes/invoke_direct_range/TAbstract/toInt()I
DT_invoke_direct_range_17.d30 invoke-direct/range {v0} java/lang/String/<init>()V
31 invoke-direct/range {v0} java/lang/String/<init>()V
DT_invoke_direct_range_12.d23 invoke-direct/range {v1}, dot/junit/opcodes/invoke_direct_range/TSuper/<init>()V
30 invoke-direct/range {v2}, dot/junit/opcodes/invoke_direct_range/TSuper/toIntPvt()I
DT_invoke_direct_range_15.d23 invoke-direct/range {v1}, java/lang/Object/<init>()V
37 …invoke-direct/range {v3}, dot/junit/opcodes/invoke_direct_range/d/T_invoke_direct_range_15/getInt(…
DT_invoke_direct_range_2.d23 invoke-direct/range {v1}, java/lang/Object/<init>()V
37 …invoke-direct/range {v2}, dot/junit/opcodes/invoke_direct_range/d/T_invoke_direct_range_2/getInt()I

123456789