Searched refs:counts (Results 1 – 25 of 26) sorted by relevance
12
133 WlanWakeReasonAndCounts counts = new WlanWakeReasonAndCounts();134 counts.totalCmdEventWake = in.readInt();135 counts.totalDriverFwLocalWake = in.readInt();136 counts.totalRxDataWake = in.readInt();138 counts.rxUnicast = in.readInt();139 counts.rxMulticast = in.readInt();140 counts.rxBroadcast = in.readInt();142 counts.icmp = in.readInt();143 counts.icmp6 = in.readInt();144 counts.icmp6Ra = in.readInt();[all …]
947 private BandwidthStatsAll toBandwidthStatsAll(long[][][] values, int[][][] counts) { in toBandwidthStatsAll() argument949 builder.setStats2G(toBandwidthStatsAllLink(values[0], counts[0])); in toBandwidthStatsAll()950 builder.setStatsAbove2G(toBandwidthStatsAllLink(values[1], counts[1])); in toBandwidthStatsAll()954 private BandwidthStatsAllLink toBandwidthStatsAllLink(long[][] values, int[][] counts) { in toBandwidthStatsAllLink() argument956 builder.setTx(toBandwidthStatsAllLevel(values[LINK_TX], counts[LINK_TX])); in toBandwidthStatsAllLink()957 builder.setRx(toBandwidthStatsAllLevel(values[LINK_RX], counts[LINK_RX])); in toBandwidthStatsAllLink()961 private BandwidthStatsAllLevel toBandwidthStatsAllLevel(long[] values, int[] counts) { in toBandwidthStatsAllLevel() argument964 builder.addLevel(toBandwidthStats(values[i], counts[i])); in toBandwidthStatsAllLevel()977 long[][][] values, int[][][] counts) { in mergeBandwidthStatsAll() argument979 mergeBandwidthStatsAllLink(source.getStats2G(), values[0], counts[0]); in mergeBandwidthStatsAll() local[all …]
41 int counts[] = new int[]{1, 2, 2, 3, 1, 2}; in testNeedTrimming() local42 assertFalse(GroupUtil.needTrimming(count, positions, counts)); in testNeedTrimming()45 counts = new int[]{1, 6, 2, 7, 1, 2, 1, 2}; in testNeedTrimming()46 assertTrue(GroupUtil.needTrimming(count, positions, counts)); in testNeedTrimming()52 final int[] counts = new int[]{1, 6, 2, 7, 1, 2, 1, 2}; in testUpdateBundle_smallSet() local55 final ContactsSectionIndexer indexer = new ContactsSectionIndexer(sections, counts); in testUpdateBundle_smallSet()57 GroupUtil.updateBundle(bundle, indexer, subscriptsList, sections, counts); in testUpdateBundle_smallSet()75 final int[] counts = new int[]{81, 36, 84, 55, 28, 15, 18, 38, 145, 60, 41, 73, 15, 2, 56, in testUpdateBundle_mediumSet() local103 final ContactsSectionIndexer indexer = new ContactsSectionIndexer(sections, counts); in testUpdateBundle_mediumSet()105 GroupUtil.updateBundle(bundle, indexer, subscriptsList, sections, counts); in testUpdateBundle_mediumSet()
138 ProviderCounts counts = new ProviderCounts(); in logFileOperation() local139 countProviders(counts, srcs, dst); in logFileOperation()140 if (counts.intraProvider > 0) { in logFileOperation()143 if (counts.systemProvider > 0) { in logFileOperation()147 if (counts.externalProvider > 0) { in logFileOperation()196 ProviderCounts counts = new ProviderCounts(); in logFileOperationErrors() local197 countProviders(counts, failedFiles, null); in logFileOperationErrors()199 countProviders(counts, failedUris); in logFileOperationErrors()218 if (counts.systemProvider > 0) { in logFileOperationErrors()223 if (counts.externalProvider > 0) { in logFileOperationErrors()[all …]
42 public ContactsSectionIndexer(String[] sections, int[] counts) { in ContactsSectionIndexer() argument43 if (sections == null || counts == null) { in ContactsSectionIndexer()47 if (sections.length != counts.length) { in ContactsSectionIndexer()55 mPositions = new int[counts.length]; in ContactsSectionIndexer()57 for (int i = 0; i < counts.length; i++) { in ContactsSectionIndexer()66 position += counts[i]; in ContactsSectionIndexer()
91 final int counts[] = bundle.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS); in FilterCursorWrapper() local92 final ContactsSectionIndexer indexer = (sections == null || counts == null) in FilterCursorWrapper()93 ? null : new ContactsSectionIndexer(sections, counts); in FilterCursorWrapper()105 if (indexer != null && GroupUtil.needTrimming(mCount, counts, indexer.getPositions())) { in FilterCursorWrapper()106 GroupUtil.updateBundle(bundle, indexer, indicesToFilter, sections, counts); in FilterCursorWrapper()
502 int counts[] = bundle.getIntArray( in updateIndexer() local508 int allCounts[] = new int[counts.length + 1]; in updateIndexer()511 allCounts[i + 1] = counts[i]; in updateIndexer()517 setIndexer(new ContactsSectionIndexer(sections, counts)); in updateIndexer()
104 final int[] counts = cursorExtras.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS); in buildIndexerFromCursorExtras() local105 if (sections == null || counts == null) { in buildIndexerFromCursorExtras()109 if (sections.length != counts.length) { in buildIndexerFromCursorExtras()114 mSectionStartingPositions = new ArrayList<Integer>(counts.length); in buildIndexerFromCursorExtras()116 for (int i = 0; i < counts.length; i++) { in buildIndexerFromCursorExtras()124 position += counts[i]; in buildIndexerFromCursorExtras()
149 static String buildCacheValue(String[] titles, int[] counts) { in buildCacheValue() argument158 appendIfNotNull(sb, Integer.toString(counts[i])); in buildCacheValue()167 public static final Bundle buildExtraBundle(String[] titles, int[] counts) { in buildExtraBundle() argument170 bundle.putIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS, counts); in buildExtraBundle()190 final int[] counts = new int[numTitles]; in buildExtraBundleFromValue() local194 counts[i] = Integer.parseInt(values[i * 2 + 1]); in buildExtraBundleFromValue()197 return buildExtraBundle(titles, counts); in buildExtraBundleFromValue()
7663 int counts[] = new int[numLabels]; in getFastScrollingIndexExtras() local7668 counts[i] = indexCursor.getInt(AddressBookIndexQuery.COLUMN_COUNT); in getFastScrollingIndexExtras()7671 return FastScrollingIndexCache.buildExtraBundle(labels, counts); in getFastScrollingIndexExtras()
238 public static boolean needTrimming(int count, int[] counts, int[] positions) { in needTrimming() argument242 return positions.length > 0 && counts.length > 0 in needTrimming()243 && count <= (counts[counts.length - 1] + positions[positions.length - 1]); in needTrimming()250 List<Integer> subscripts, String[] sections, int[] counts) { in updateBundle() argument253 if (filteredContact < counts.length && filteredContact >= 0) { in updateBundle()254 counts[filteredContact]--; in updateBundle()255 if (counts[filteredContact] == 0) { in updateBundle()262 final int[] newCounts = clearZeros(counts); in updateBundle()
117 final int counts[] = bundle.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS); in FilterCursorWrapper() local118 final ContactsSectionIndexer indexer = (sections == null || counts == null) in FilterCursorWrapper()119 ? null : new ContactsSectionIndexer(sections, counts); in FilterCursorWrapper()133 if (indexer != null && GroupUtil.needTrimming(mCount, counts, indexer.getPositions())) { in FilterCursorWrapper()134 GroupUtil.updateBundle(bundle, indexer, indicesToFilter, sections, counts); in FilterCursorWrapper()
58 private int[] counts = new int[0]; field in ContactsAdapter72 counts = cursor.getExtras().getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS); in updateCursor()73 if (counts != null) { in updateCursor()75 for (int count : counts) { in updateCursor()216 sum += counts[++index]; in getHeaderString()
137 int[] counts; in onBindViewHolder() local143 counts = new int[] { 1 }; in onBindViewHolder()156 counts = new int[] { in onBindViewHolder()191 ccv.configure(300, counts, colors, circleStrokeWidth); in onBindViewHolder()
239 ExperimentProbeCounts counts = new ExperimentProbeCounts(); in buildExperimentProbeCounts() local240 counts.experimentId = experimentId; in buildExperimentProbeCounts()241 counts.probeCount = probeCount; in buildExperimentProbeCounts()242 return counts; in buildExperimentProbeCounts()
3342 int[] keys, int[] counts) throws Exception { in verifyHist() argument3346 assertEquals(counts[i], hist[i].count); in verifyHist()
720 SparseIntArray counts = new SparseIntArray(); in isRequestorSpamming() local725 counts.put(uid, counts.get(uid) + 1); in isRequestorSpamming()732 counts.put(uid, counts.get(uid) + 1); in isRequestorSpamming()738 if (counts.get(ws.getUid(i)) < MAX_QUEUED_PER_UID) { in isRequestorSpamming()747 if (counts.get(uid) < MAX_QUEUED_PER_UID) { in isRequestorSpamming()754 Log.v(TAG, "isRequestorSpamming: ws=" + ws + ", someone is spamming: " + counts); in isRequestorSpamming()
90 for (const auto& [rcode, counts] : rcodeCounts) { in toString()91 if (counts != 0) { in toString()92 buf += StringPrintf("%s:%d ", rcodeToName(rcode).c_str(), counts); in toString()
84 String[] titles, int[] counts) { in putAndGetBundle() argument85 Bundle bundle = FastScrollingIndexCache.buildExtraBundle(titles, counts); in putAndGetBundle()
418 final int counts = array.length; in parseGridRows() local421 for (int index = 0; index < counts; index += numColumns) { in parseGridRows()426 if (i >= counts) { in parseGridRows()
2632 private void incrementSkipCount(int[] counts, int startIndex, int endIndex) { in incrementSkipCount() argument2633 if (counts == null || startIndex < 0 || endIndex > counts.length) { in incrementSkipCount()2637 counts[i]++; in incrementSkipCount()
360 // (one value added per unique ESS - potentially multiple counts per single365 // (one value added per unique ESS - potentially multiple counts per single369 // SoftAP event list tracking sessions and client counts in tethered mode372 // SoftAP event list tracking sessions and client counts in local only mode670 // (one value added per unique ESS - potentially multiple counts per single1928 // SoftAP event tracking sessions and client counts2917 // Group event list tracking sessions and client counts in tethered mode.
2868 [This is the first released version of the Lesser GPL. It also counts
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...