Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 141) sorted by relevance

123456

/tools/trebuchet/trebuchet/startup-analyzer/
DREADME.md29 Event count: 1
32 Event count: 1
35 Event count: 1
38 Event count: 1
41 Event count: 4
44 Event count: 121
47 Event count: 1
50 Event count: 1
53 Event count: 1
58 Event count: 1
[all …]
/tools/test/connectivity/acts/tests/google/wifi/
DWifiStaApConcurrencyStressTest.py146 for count in range(self.stress_count):
147 self.log.info("Iteration %d", count+1)
150 self.stress_count, "Pass":"%d" %(count+1)})
159 for count in range(self.stress_count):
160 self.log.info("Iteration %d", count+1)
163 self.stress_count, "Pass":"%d" %(count+1)})
172 for count in range(self.stress_count):
173 self.log.info("Iteration %d", count+1)
176 self.stress_count, "Pass":"%d" %(count+1)})
185 for count in range(self.stress_count):
[all …]
DWifiStressTest.py153 for count in range(2):
232 for count in range(self.stress_count):
245 self.stress_count, "Pass":"%d" %count})
247 self.stress_count, "Pass":"%d" %(count+1)})
253 for count in range(self.stress_count):
266 self.stress_count, "Pass":"%d" %count})
269 self.stress_count, "Pass":"%d" %(count+1)})
282 for count in range(self.stress_count):
300 self.stress_count, "Pass":"%d" %count})
302 self.stress_count, "Pass":"%d" %(count+1)})
[all …]
DWifiCrashStressTest.py122 for count in range(self.stress_count):
124 (self.current_test_name, count + 1, self.stress_count))
157 utils.adb_shell_ping(self.dut_client, count=10, dest_ip=dut_addr, timeout=20),
159 for count in range(self.stress_count):
161 (self.current_test_name, count + 1, self.stress_count))
173 count=10,
209 for count in range(self.stress_count):
211 (self.current_test_name, count + 1, self.stress_count))
DWifiTeleCoexTest.py84 for count in range(stress_count):
85 self.log.debug("stress_toggle_wifi: Iteration %d" % count)
100 for count in range(stress_count):
101 self.log.debug("stress_toggle_airplane: Iteration %d" % count)
117 for count in range(stress_count):
118 self.log.debug("stress_toggle_airplane_and_wifi: Iteration %d" % count)
/tools/metalava/src/main/java/com/android/tools/metalava/
DAnnotationStatistics.kt55 fun count() { in <lambda>() method
208 val count = classCount[containingClass] in <lambda>() constant
209 if (count == null) { in <lambda>()
212 classCount[containingClass] = count + itemCount in <lambda>()
252 val count = getCount(item) in <lambda>() constant
255 truncate(label, CLASS_COLUMN_WIDTH), count in <lambda>()
337 for (count in 0 until max) { in <lambda>() method
444 val count = used[it] in <lambda>() constant
445 if (count == null) { in <lambda>()
448 used[it] = count + 1 in <lambda>()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/invoker/logger/
DTfObjectTracker.java52 if (!count(object)) { in countWithParents()
71 long count = 0; in directCount() local
73 count = countMap.get(className); in directCount()
75 count += occurrences; in directCount()
76 countMap.put(className, count); in directCount()
85 private static boolean count(Class<?> object) { in count() method in TfObjectTracker
107 long count = 0; in count() local
109 count = countMap.get(qualifiedName); in count()
111 count++; in count()
112 countMap.put(qualifiedName, count); in count()
/tools/test/openhst/
Dstress_test.py185 self.count = 0
194 self.count += 1
243 event_map[event.name] = event.count
244 event.count = 0
501 for event, count in list(events.items()):
506 if count > expected_count * number_of_iterations:
509 self.iteration, self.name, count)
512 count = expected_count * number_of_iterations
514 if count:
515 self.event_counter[event] += count
[all …]
/tools/test/connectivity/acts/framework/acts/
Dutils.py909 def parse_ping_ouput(ad, count, out, loss_tolerance=20): argument
932 or packet_xmit < count * min_packet_xmit_rcvd
933 or packet_rcvd < count * min_packet_xmit_rcvd):
942 count=120, argument
959 if count:
960 ping_cmd += " -c %d" % count
967 if not parse_ping_ouput(ad, count, out, loss_tolerance):
1066 count = 0
1068 count += 1
1075 'attempted %d times.' % (str(func), timeout_s, count))
[all …]
/tools/repohooks/tools/
Dcheckpatch.pl137 my $count = 0;
155 print(++$count . "\t" . $type . "\n");
1653 for (my $count = $linenr + 1; $count <= $lc; $count++) {
1654 $stat_real = $stat_real . "\n" . raw_line($count, 0);
4644 my $count = $openparens =~ tr@\(@\(@;
4646 …if ($line =~ /\bif\s*(?:\(\s*){$count,$count}$LvalOrFunc\s*($Compare)\s*$LvalOrFunc(?:\s*\)){$coun…
5829 for (my $count = $linenr; $count <= $lc; $count++) {
5830 my $fmt = get_quoted_string($lines[$count - 1], raw_line($count, 0));
5987 my $count = $format =~ tr@%@%@;
5988 if ($count == 1 &&
[all …]
Dcpplint.py956 for category, count in self.errors_by_category.iteritems():
958 (category, count))
1286 return ((line.count('"') - line.count(r'\"') - line.count("'\"'")) & 1) == 1
2075 if line.count('/*') > line.count('*/'):
2083 if (line.count('"') - line.count('\\"')) % 2:
2291 depth += line.count('{') - line.count('}')
2611 depth_change = line.count('(') - line.count(')')
2898 while (constructor_arg.count('<') > constructor_arg.count('>') or
2899 constructor_arg.count('(') > constructor_arg.count(')')):
3131 if re.sub(r'\\.', '', line[0:commentpos]).count('"') % 2 == 0:
[all …]
/tools/loganalysis/src/com/android/loganalysis/item/
DMonkeyLogItem.java194 public void setTargetCount(int count) { in setTargetCount() argument
195 setAttribute(TARGET_COUNT, count); in setTargetCount()
301 public void setIntermediateCount(int count) { in setIntermediateCount() argument
302 setAttribute(INTERMEDIATE_COUNT, count); in setIntermediateCount()
315 public void setFinalCount(int count) { in setFinalCount() argument
316 setAttribute(FINAL_COUNT, count); in setFinalCount()
329 public void setDroppedCount(DroppedCategory category, int count) { in setDroppedCount() argument
330 setAttribute(category.toString(), count); in setDroppedCount() local
DSmartMonkeyLogItem.java194 public void setTargetInvocations(int count) { in setTargetInvocations() argument
195 setAttribute(TARGET_INVOCATIONS, count); in setTargetInvocations()
277 public void setIntermediateCount(int count) { in setIntermediateCount() argument
278 setAttribute(INTERMEDIATE_COUNT, count); in setIntermediateCount()
293 public void setFinalCount(int count) { in setFinalCount() argument
294 setAttribute(FINAL_COUNT, count); in setFinalCount()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DRuntimeRestartCollectorTest.java216 int count = getCount(runMetrics); in testAddingMetrics_noRuntimeRestart_noPriorRuntimeRestart() local
217 Assert.assertEquals(0, count); in testAddingMetrics_noRuntimeRestart_noPriorRuntimeRestart()
259 int count = getCount(runMetrics); in testAddingMetrics_noRuntimeRestart_withPriorRuntimeRestart() local
260 Assert.assertEquals(0, count); in testAddingMetrics_noRuntimeRestart_withPriorRuntimeRestart()
300 int count = getCount(runMetrics); in testAddingMetrics_withRuntimeRestart_noPriorRuntimeRestart() local
301 Assert.assertEquals(2, count); in testAddingMetrics_withRuntimeRestart_noPriorRuntimeRestart()
360 int count = getCount(runMetrics); in testAddingMetrics_withRuntimeRestart_withPriorRuntimeRestart() local
361 Assert.assertEquals(2, count); in testAddingMetrics_withRuntimeRestart_withPriorRuntimeRestart()
474 int count = getCount(runMetrics); in testAddingMetrics_withRuntimeRestart_useStatsdMetadataResultsForCount() local
475 Assert.assertEquals(1, count); in testAddingMetrics_withRuntimeRestart_useStatsdMetadataResultsForCount()
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
DWifiBaseTest.py326 count = 0
352 for count in range(config_count):
450 self.access_points[count].start_ap(self.config_2g)
451 self.access_points[count].start_ap(self.config_5g)
452 self.populate_bssid(count, self.access_points[count], orig_network_list_5g,
481 def _cleanup_hostapd_and_dhcpd(self, count): argument
496 ap = self.access_points[count]
512 ap.__init__(self.user_params['AccessPoint'][count])
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DLoopSummary.java25 private long count; field in LoopSummary
97 long count, in LoopSummary() argument
107 this.count = count; in LoopSummary()
120 return count; in getCount()
176 return count == that.count && in equals()
191 count, in hashCode()
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/
DPingStressTest.py66 count=3, argument
70 ping_result = self.wlan_device.ping(dest_ip, count, interval, timeout,
83 ping_result = self.wlan_device.ping(dest_ip, count=10, size=50)
102 count=5,
107 return self.send_ping(self.google_dns_1, count=50)
114 count=50,
123 count=50,
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveDSDSVoiceTest.py1422 for failure, count in fail_count.items():
1423 if count:
1425 self.test_name, count, failure,
1569 for failure, count in fail_count.items():
1570 if count:
1572 self.test_name, count, failure,
1774 for failure, count in fail_count.items():
1775 if count:
1777 self.test_name, count, failure,
1842 for failure, count in fail_count.items():
[all …]
DTelLiveConnectivityMonitorBaseTest.py674 count=CONSECUTIVE_CALL_FAILS, argument
690 for iter in range(count):
693 if iter < count - 1:
750 count=CONSECUTIVE_CALL_FAILS,
759 count=1, argument
766 for iter in range(count):
833 self.healthy_call_test(setup=setup, count=1)
/tools/test/connectivity/acts/framework/acts/test_utils/abstract_devices/
Dwlan_device.py141 def ping(self, dest_ip, count=3, interval=1000, timeout=1000, size=25): argument
240 def ping(self, dest_ip, count=3, interval=1000, timeout=1000, size=25): argument
243 count=count,
322 def ping(self, dest_ip, count=3, interval=1000, timeout=1000, size=25): argument
324 count=count,
/tools/test/connectivity/acts_tests/tests/google/net/
DApfCountersTest.py172 count = LIFETIME / LIFETIME_FRACTION / INTERVAL
173 ap.send_ra('wlan1', mac_addr, interval=INTERVAL, count=count)
177 pkt_loss = count - (ra_count_latest - ra_count)
178 percentage_loss = float(pkt_loss) / count * 100
184 ap.send_ra('wlan1', mac_addr, interval=INTERVAL, count=1)
/tools/test/connectivity/acts/framework/acts/test_utils/coex/
Dcoex_test_utils.py1316 count = int(re.split("[':/()]", str(a2dp_info[-2]))[-2])
1317 if count > 0:
1319 count = count - self.count_list[i]
1320 self.count_list.append(count)
1324 self.dropped_count = (count / last_frame) * 100
1327 count / self.frame_list[-1]) * 100
1329 self.dropped_count = count
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFat16BootSector.java176 public void setSectorCount(long count) { in setSectorCount() argument
177 if (count > 65535) { in setSectorCount()
179 setNrTotalSectors(count); in setSectorCount()
181 setNrLogicalSectors((int) count); in setSectorCount()
182 setNrTotalSectors(count); in setSectorCount()
/tools/tradefederation/core/atest/test_finders/
Dtest_finder_utils.py310 count = len(tests)
311 if count <= 1:
312 return tests if count else None
316 numbered_list.append('%s: All' % count)
330 if start_index == count or end_index == count:
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DZFile.java2271 public void directWrite(long offset, @Nonnull byte[] data, int start, int count) in directWrite() argument
2277 Preconditions.checkArgument(count >= 0, "count >= 0"); in directWrite()
2284 Preconditions.checkArgument(start + count <= data.length, "start + count > data.length"); in directWrite()
2290 raf.write(data, start, count); in directWrite()
2334 public int directRead(long offset, @Nonnull byte[] data, int start, int count) in directRead() argument
2337 Preconditions.checkArgument(count >= 0, "count >= 0"); in directRead()
2339 Preconditions.checkArgument(start + count <= data.length, "start + count > data.length"); in directRead()
2340 return directRead(offset, ByteBuffer.wrap(data, start, count)); in directRead()

123456