Home
last modified time | relevance | path

Searched refs:i (Results 1 – 25 of 768) sorted by relevance

12345678910>>...31

/tools/netsim/ui/dist/js/
Ddevice-info.js1i,css as t,LitElement as s}from"https://cdn.jsdelivr.net/gh/lit/dist@2/core/lit-core.min.js";impor…
7 …sX=0,this.posY=0,this.posZ=0,this.holdRange=!1,this.getRadioCheckbox=(e,t)=>i`<label class="switch…
12 …@click=${()=>{var i;null===(i=this.selectedDevice)||void 0===i||i.toggleChipState(e),this.patchRad…
15i of e.devices)if(i.name===e.selectedId){this.selectedDevice=i,this.holdRange||(this.yaw=i.orienta… variable
18 ${e.settings.advertiseMode?i`<div class="label">Advertise Mode:</div>
21 </div>`:i`<div class="label">Advertise Interval:</div>
25 ${e.settings.txPowerLevel?i`<div class="label">Transmit Power Level:</div>
28 </div>`:i`<div class="label">Transmit Power:</div>
40 </div>`:i``} ${e.advData?i`<div class="setting">
49 ${e.advData.manufacturerData.length?i` <div class="label">Manufacturer Data Length:</div>
[all …]
Ddevice-map.js1i,LitElement as t,html as o}from"https://cdn.jsdelivr.net/gh/lit/dist@2/core/lit-core.min.js";impo…
4 ${this.deviceData.map(((i,t)=>o`
5 ${this.checkBle(i)?o`
8 … style=${s({position:"absolute",left:100*i.position.x+"px",top:100*i.position.y+"px"})}
11 id=${i.name}
15 yaw=${i.orientation.yaw}
16 pitch=${i.orientation.pitch}
17 roll=${i.orientation.roll}
18 posZ=${100*i.position.z}
21i.name} on Device Map, Position: ${Math.round(100*i.position.x)}, ${Math.round(100*i.position.y)},…
[all …]
Ddevice-list.js1i,LitElement as t,html as r}from"https://cdn.jsdelivr.net/gh/lit/dist@2/core/lit-core.min.js";impo…
2 ${this.deviceData.map(((i,t)=>r`
5 ${this.checkBle(i)?r`<ns-pyramid-sprite
6 id=${i.name}
12 aria-label="${i.name} in Device Legends"
14 >${i.name} `:r`<ns-cube-sprite
15 id=${i.name}
21 aria-label="${i.name} in Device Legends"
23 >${i.name} `}
55 `}};l.styles=i`
Ddevice-observer.js1i="./v1/captures";class t{constructor(e){this.device=e}get name(){return this.device.name}set name… constant
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DShortName.java56 final int i = nameExt.indexOf('.'); in ShortName() local
59 if (i < 0) { in ShortName()
63 nameString = nameExt.substring(0, i).toUpperCase(); in ShortName()
64 extString = nameExt.substring(i + 1).toUpperCase(); in ShortName()
106 for (int i = 0; i < 11; i++) in checkSum()
107 dest[i] = (byte) name[i]; in checkSum()
110 for (int i = 1; i < 11; i++) { in checkSum()
111 sum = dest[i] + (((sum & 1) << 7) + ((sum & 0xfe) >> 1)); in checkSum()
155 for (int i = 0; i < nameArr.length; i++) { in parse()
156 nameArr[i] = (char) LittleEndian.getUInt8(data, i); in parse()
[all …]
DDummy83BufferGenerator.java81 for (int i=0; i < s.length(); i++) { in cleanString()
82 if (isSkipChar(s.charAt(i))) return false; in cleanString()
83 if (!validChar(s.charAt(i))) return false; in cleanString()
92 for (int i=0; i < str.length(); i++) { in stripLeadingPeriods()
93 if (str.charAt(i) != '.') { //NOI18N in stripLeadingPeriods()
94 sb.append(str.substring(i)); in stripLeadingPeriods()
137 int i, tilde_pos, slash_pos; in generate83BufferNew() local
153 for (i = 0; i < 8; i++) { in generate83BufferNew()
154 if (i == slash_pos) in generate83BufferNew()
155 retBuffer[i] = '/'; in generate83BufferNew()
[all …]
DFat.java181 for (int i = 0; i < entries.length; i++) in read()
182 entries[i] = fatType.readEntry(data, i); in read()
246 int i = 0; in getChain() local
249 chain[++i] = cluster; in getChain()
278 int i; in allocNew() local
281 for (i = lastAllocatedCluster; i < lastClusterIndex; i++) { in allocNew()
282 if (isFreeCluster(i)) { in allocNew()
283 entryIndex = i; in allocNew()
289 for (i = FIRST_CLUSTER; i < lastAllocatedCluster; i++) { in allocNew()
290 if (isFreeCluster(i)) { in allocNew()
[all …]
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/collections/
DSparseArray.kt51 val i = binarySearch(mKeys, mSize, key) in get() constant
53 if (i < 0 || mValues[i] === DELETED) { in get()
56 return mValues[i] as E in get()
64 val i = binarySearch(mKeys, mSize, key) in delete() constant
66 if (i >= 0) { in delete()
67 if (mValues[i] !== DELETED) { in delete()
68 mValues[i] = DELETED in delete()
100 for (i in index..end - 1) { in removeAtRange() constant
101 removeAt(i) in removeAtRange()
111 for (i in 0..n - 1) { in gc() constant
[all …]
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DStrictShardHelper.java96 CLog.i("Reordering the test modules list for index: %s", shardIndex); in shardConfig()
247 for (int i = 0; i < shardCount; i++) { in balancedDistrib()
249 if (i >= fullList.size()) { in balancedDistrib()
256 if (i == shardCount - 1) { in balancedDistrib()
260 correctionSize = fullList.size() - (numPerShard + (i * numPerShard)); in balancedDistrib()
264 shardList = fullList.subList(i * numPerShard, fullList.size() - correctionSize); in balancedDistrib()
268 shardList = fullList.subList(i * numPerShard, numPerShard + (i * numPerShard)); in balancedDistrib()
274 for (int i = 0; i < shardCount; i++) { in balancedDistrib()
275 if (i < correctionList.size()) { in balancedDistrib()
276 shards.get(i).add(correctionList.get(i)); in balancedDistrib()
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils_tests/
Daudio_quality_measurement_integrationtest.py50 for i in range(1, length - 1):
51 ith_teager_value = abs(wave[i] * wave[i] - wave[i - 1] * wave[i +
53 ith_teager_value *= max(1, abs(wave[i]))
68 for i in range(len(value1)):
69 ret = audio_quality_measurement.error(value1[i], value2[i])
70 self.assertTrue(abs(ret - error[i]) < 0.001)
101 for i in range(len(self.delay_start_time)):
102 start_index = int(self.delay_start_time[i] * self.rate)
103 end_index = int(self.delay_end_time[i] * self.rate)
111 for i in range(0, end_index):
[all …]
/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioLoopbackImageAnalyzer.java94 CLog.i("image width=" + width + ", height=" + height); in analyzeImage()
106 CLog.i("Apply TABLET config values"); in analyzeImage()
160 CLog.i("AudioLoopbackImageAnalyzer: Amplitude=" + amplitude + ", Duration=" + duration); in analyzeImage()
236 for (int i = durationLeft; i < durationRight; i++) { in analyzeDuration()
237 final int v = horizontal[i]; in analyzeDuration()
244 CLog.i("index=" + i + ", v=" + v); in analyzeDuration()
269 CLog.i( in analyzeDuration()
288 for (int i = 0; i < amplitudes.size(); i++) { in analyzeDuration()
289 if (i == 0) { in analyzeDuration()
290 oldColumnHeight = amplitudes.get(i).maxHeight; in analyzeDuration()
[all …]
DVideoMultimeterTest.java183 CLog.i("Starting calibration: " + cr.getStdout()); in doCalibration()
201 CLog.i("Calibration succeeds."); in doCalibration()
213 CLog.i("syncing device time to host time"); in setupTestEnv()
222 CLog.i("Stopping measurement: " + cr.getStdout()); in setupTestEnv()
227 CLog.i("Setting calibration values: " + caliValues); in setupTestEnv()
232 CLog.i("Calibration values are set to: " + caliValues); in setupTestEnv()
255 CLog.i("Starting measurement: " + cr.getStdout()); in doMeasurement()
261 CLog.i("Stopping measurement: " + cr.getStdout()); in doMeasurement()
265 CLog.i("Retry - Stopping measurement: " + cr.getStdout()); in doMeasurement()
281 CLog.i("== Video Multimeter Result '%s' ==", keyprefix); in getResult()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/
DTableBuilder.java76 for (int i = 0; i < blanks / 2; i++) { in build()
80 for (int i = 0; i < blanks / 2; i++) { in build()
131 for (int i = 0; i < mColumns.length; i++) { in build()
133 mBuilder.append(mColumns[i]); in build()
134 addPadding(mColumnWidth[i] - mColumns[i].length() + mPadding); in build()
249 for (int i = 0; i < mColumns; i++) { in addLine()
250 if (line[i].length() > mColumnWidth[i]) { in addLine()
251 mColumnWidth[i] = line[i].length(); in addLine()
264 mRowLength = IntStream.of(mColumnWidth).map(i -> i + 2 * mPadding + 1).sum() + 1; in build()
272 for (int i = 0; i < padding; i++) { in addPadding()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DTestEnvironment.java264 for (int i = 0; i < envVars.length(); i++) { in fromJson()
265 final JSONObject envVar = envVars.getJSONObject(i); in fromJson()
273 for (int i = 0; i < jvmOptions.length(); i++) { in fromJson()
274 obj.addJvmOption(jvmOptions.getString(i)); in fromJson()
281 for (int i = 0; i < javaProperties.length(); i++) { in fromJson()
282 final JSONObject javaProperty = javaProperties.getJSONObject(i); in fromJson()
290 for (int i = 0; i < scripts.length(); i++) { in fromJson()
291 obj.addSetupScripts(scripts.getString(i)); in fromJson()
298 for (int i = 0; i < patterns.length(); i++) { in fromJson()
299 obj.addOutputFilePattern(patterns.getString(i)); in fromJson()
[all …]
/tools/security/gdb/heap_print/test/
Dsample_heap_test.cc15 for (int i = 0; i < n; ++i) in main() local
17 malloc_ptr[i] = i + 1; in main()
22 for (int i = 0; i < new_n; ++i) in main() local
24 malloc_ptr[i] = i + 1; in main()
35 for (int i = 0; i < n; ++i) in main() local
37 new_ptr[i] = i + 1; in main()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
Dgattc_lib.py162 for i in range(int(size)):
163 write_value.append(i % 256)
191 for i in range(int(size)):
192 write_value.append(i % 256)
207 for i in range(int(size)):
208 write_value.append(i % 256)
239 for i in range(int(size)):
240 write_value.append(i % 256)
255 for i in range(int(size)):
256 write_value.append(i % 256)
[all …]
DBtInterferenceBaseTest.py117 for i in range(len(wifi_int_pairs)):
118 if wifi_int_pairs[i].channel == chan:
119 interference_pair_indices.append(i)
143 for i in interference_pair_indices:
144 wifi_int_pairs[i].attenuator.set_atten(interference_level)
146 wifi_int_pairs[i].attenuator.get_atten(), i + 1))
147 for i in inactive_interference_pairs_indices:
148 wifi_int_pairs[i].attenuator.set_atten(MAX_ATTENUATION)
150 wifi_int_pairs[i].attenuator.get_atten(), i + 1))
178 for i in range(len(self.attenuators) - 1):
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/observatory/
DTestDiscoveryExecutorTest.java147 for (int i = 0; i < moduleObject.length(); i++) { in testDiscoverTestDependencies()
148 moduleArray.add(moduleObject.getString(i)); in testDiscoverTestDependencies()
160 for (int i = 0; i < depObject.length(); i++) { in testDiscoverTestDependencies()
161 depArray.add(depObject.getString(i)); in testDiscoverTestDependencies()
189 for (int i = 0; i < moduleObject.length(); i++) { in testDiscoverTestDependencies_parameterizedModules()
190 moduleArray.add(moduleObject.getString(i)); in testDiscoverTestDependencies_parameterizedModules()
195 for (int i = 0; i < depObject.length(); i++) { in testDiscoverTestDependencies_parameterizedModules()
196 depArray.add(depObject.getString(i)); in testDiscoverTestDependencies_parameterizedModules()
293 for (int i = 0; i < moduleObject.length(); i++) { in testDiscoverDependencies_fallback()
294 moduleArray.add(moduleObject.getString(i)); in testDiscoverDependencies_fallback()
[all …]
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/utils/
DLittleEndianUtilsTest.java54 for (int i = 0; i < data.length; i++) { in readWrite2Le()
55 data[i] = r.nextInt(range); in readWrite2Le()
64 for (int i = 0; i < data.length; i++) { in readWrite2Le()
65 assertEquals(data[i], LittleEndianUtils.readUnsigned2Le(in)); in readWrite2Le()
95 for (int i = 0; i < data.length; i++) { in readWrite4Le()
97 data[i] = r.nextInt() - (long) Integer.MIN_VALUE; in readWrite4Le()
98 } while (data[i] < 0); in readWrite4Le()
107 for (int i = 0; i < data.length; i++) { in readWrite4Le()
108 assertEquals(data[i], LittleEndianUtils.readUnsigned4Le(in)); in readWrite4Le()
/tools/test/connectivity/acts_tests/tests/google/bt/performance/
DBtInterferenceDynamicTest.py89 for i in interference_chans_before:
90 chans_before_str = chans_before_str + str(i) + '_'
91 for i in interference_chans_after:
92 chans_after_str = chans_after_str + str(i) + '_'
160 for i in interference_pair_indices_before:
164 interference_level, i + 1,
166 self.wifi_int_pairs[i].channel),
167 self.wifi_int_pairs[i].channel))
168 self.wifi_int_pairs[i].attenuator.set_atten(interference_level)
169 for i in inactive_interference_pair_indices_before:
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/junit4/
DJUnit4ResultForwarderTest.java65 for (int i = 0; i < mTimesToLogMessage; i++) { in testLoggedAfterTestFinished()
83 for (int i = 0; i < timesToLogMessage; i++) { in testIndividualLogsLoggedAfterTestFinished()
85 "" + i, in testIndividualLogsLoggedAfterTestFinished()
95 for (int i = 0; i < timesToLogMessage; i++) { in testIndividualLogsLoggedAfterTestFinished()
97 .testLog(eq("" + i), any(LogDataType.class), any(InputStreamSource.class)); in testIndividualLogsLoggedAfterTestFinished()
105 for (int i = 0; i < mTimesToLogMessage; i++) { in testLoggedBeforeTestFinished()
123 for (int i = 0; i < 5; i++) { in testLoggedWithMultipleTestExecutions()
/tools/apksig/src/test/java/com/android/apksig/internal/apk/
DApkSigningBlockUtilsTest.java43 for (int i = 0; i < part1.length; ++i) { in setUp()
44 part1[i] = (byte)(i % BASE); in setUp()
55 for (int i = 0; i < part2.length; ++i) { in setUp()
56 part2[i] = (byte)(i % BASE); in setUp()
59 for (int i = 0; i < part3.length; ++i) { in setUp()
60 part3[i] = (byte)(i % BASE); in setUp()
103 for (int i = 0; i < jobCount; i++) { in testMultithreadedVersionMatchesSinglethreaded()
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestationApplicationId.java98 int i = 1; in toString() local
100 sb.append("\n### Package info " + i + "/" + noOfInfos + " ###\n"); in toString()
103 i = 1; in toString()
106 sb.append("\nSignature digest " + i++ + "/" + noOfSigs + ":"); in toString()
118 for (int i = 0; i < packageInfos.size(); ++i) { in compareTo()
119 res = packageInfos.get(i).compareTo(other.packageInfos.get(i)); in compareTo()
125 for (int i = 0; i < signatureDigests.size(); ++i) { in compareTo()
126 res = cmp.compare(signatureDigests.get(i), other.signatureDigests.get(i)); in compareTo()
175 for (int i = 0; i < a.length; ++i) { in compare()
176 res = Byte.compare(a[i], b[i]); in compare()
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DChainedDataSource.java77 int i = firstSource.getFirst(); in getByteBuffer() local
81 if (offset + size <= mSources[i].size()) { in getByteBuffer()
82 return mSources[i].getByteBuffer(offset, size); in getByteBuffer()
87 for (; i < mSources.length && buffer.hasRemaining(); i++) { in getByteBuffer()
88 long sizeToCopy = Math.min(mSources[i].size() - offset, buffer.remaining()); in getByteBuffer()
89 mSources[i].copyTo(offset, Math.toIntExact(sizeToCopy), buffer); in getByteBuffer()
122 for (int i = beginIndex + 1; i < endIndex; i++) { in slice()
123 sources.add(mSources[i]); in slice()
136 for (int i = 0; i < mSources.length; i++) { in locateDataSource()
137 if (localOffset < mSources[i].size()) { in locateDataSource()
[all …]
/tools/dexter/slicer/
Dreader.cc79 for(int i = 0; i < ml->size; i++){ in MethodHandles() local
80 if(ml->list[i].type == dex::kMethodHandleItem){ in MethodHandles()
81 mi = &(ml->list[i]); in MethodHandles()
109 for (size_t i = 0; i < classCount; ++i) { in CreateFullIr() local
110 CreateClassIr(i); in CreateFullIr()
124 for (dex::u4 i = 0; i < classes.size(); ++i) { in FindClassIndex() local
125 auto typeId = types[classes[i].class_idx]; in FindClassIndex()
128 return i; in FindClassIndex()
290 for (dex::u4 i = 0; i < static_fields_count; ++i) { in ParseClass() local
296 for (dex::u4 i = 0; i < instance_fields_count; ++i) { in ParseClass() local
[all …]

12345678910>>...31