Home
last modified time | relevance | path

Searched refs:counts (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/
DWifiWakeReasonAndCounts.java133 WifiWakeReasonAndCounts counts = new WifiWakeReasonAndCounts();
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 …]
/frameworks/base/telecomm/java/android/telecom/
DTimedEvent.java31 HashMap<T, Integer> counts = new HashMap<>(); in averageTimings() local
35 if (counts.containsKey(entry.getKey())) { in averageTimings()
36 counts.put(entry.getKey(), counts.get(entry.getKey()) + 1); in averageTimings()
39 counts.put(entry.getKey(), 1); in averageTimings()
45 result.put(entry.getKey(), entry.getValue() / counts.get(entry.getKey())); in averageTimings()
/frameworks/base/services/core/java/com/android/server/connectivity/
DConnectStats.java112 private static Pair[] toPairArrays(SparseIntArray counts) { in toPairArrays() argument
113 final int s = counts.size(); in toPairArrays()
117 p.key = counts.keyAt(i); in toPairArrays()
118 p.value = counts.valueAt(i); in toPairArrays()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DMetrics.java398 ProviderCounts counts = countProviders(srcs, dst); in logFileOperation() local
400 if (counts.intraProvider > 0) { in logFileOperation()
403 if (counts.systemProvider > 0) { in logFileOperation()
407 if (counts.externalProvider > 0) { in logFileOperation()
445 ProviderCounts counts = countProviders(failedFiles, null); in logFileOperationErrors() local
459 if (counts.systemProvider > 0) { in logFileOperationErrors()
462 if (counts.externalProvider > 0) { in logFileOperationErrors()
834 ProviderCounts counts = new ProviderCounts(); in countProviders() local
837 counts.intraProvider++; in countProviders()
839 counts.systemProvider++; in countProviders()
[all …]
/frameworks/base/media/java/android/media/
DAudioDeviceInfo.java216 int[] counts = new int[countSet.size()]; in getChannelCounts() local
219 counts[index++] = count; in getChannelCounts()
221 return counts; in getChannelCounts()
DMediaCodecInfo.java1679 Range<Integer> counts = Utils.parseIntRange(map.get("block-count-range"), null); in equivalentVP9Level() local
1680 int FS = counts == null ? 0 : BS * counts.getUpper(); in equivalentVP9Level()
1730 Range<Integer> counts = null, widths = null, heights = null; in parseFromInfo() local
1737 counts = Utils.parseIntRange(map.get("block-count-range"), null); in parseFromInfo()
1814 if (counts != null) { in parseFromInfo()
1816 Utils.factorRange(counts, mBlockWidth * mBlockHeight in parseFromInfo()
1852 if (counts != null) { in parseFromInfo()
1854 Utils.factorRange(counts, mBlockWidth * mBlockHeight in parseFromInfo()
1883 Range<Integer> counts, Range<Long> rates, Range<Rational> ratios) { in applyBlockLimits() argument
1908 counts = Utils.factorRange(counts, factor); in applyBlockLimits()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java931 private void incrementCountForActivity(ArrayMap<ComponentName, Integer> counts, in incrementCountForActivity() argument
933 Integer oldValue = counts.get(cn); in incrementCountForActivity()
938 counts.put(cn, oldValue + increment); in incrementCountForActivity()
961 final ArrayMap<ComponentName, Integer> counts = new ArrayMap<>(4); in enforceShortcutCountsBeforeOperation() local
966 incrementCountForActivity(counts, shortcut.getActivity(), 1); in enforceShortcutCountsBeforeOperation()
968 incrementCountForActivity(counts, shortcut.getActivity(), 1); in enforceShortcutCountsBeforeOperation()
990 incrementCountForActivity(counts, newActivity, 1); in enforceShortcutCountsBeforeOperation()
1004 incrementCountForActivity(counts, oldActivity, -1); in enforceShortcutCountsBeforeOperation()
1007 incrementCountForActivity(counts, newActivity, 1); in enforceShortcutCountsBeforeOperation()
1011 for (int i = counts.size() - 1; i >= 0; i--) { in enforceShortcutCountsBeforeOperation()
[all …]
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java182 int[] counts = new int[2]; in dump() local
184 mRootNode.dumpLocked(fd, pw, args, "", " ", counts, pidCounts); in dump()
210 pw.print(" Total number of nodes: "); pw.println(counts[0]); in dump()
211 pw.print(" Total number of observers: "); pw.println(counts[1]); in dump()
1235 String name, String prefix, int[] counts, SparseIntArray pidCounts) { in dumpLocked() argument
1244 counts[1]++; in dumpLocked()
1258 counts[0]++; in dumpLocked()
1260 counts, pidCounts); in dumpLocked()
/frameworks/av/cmds/stagefright/
Dstagefright.cpp105 size_t counts[100]; in displayDecodeHistogram() local
107 counts[i] = 0; in displayDecodeHistogram()
116 ++counts[slot]; in displayDecodeHistogram()
123 printf("[%.2f fps]: %zu\n", fps, counts[i]); in displayDecodeHistogram()
/frameworks/base/docs/html/distribute/analyze/
Dmeasure.jd33 <td>Metrics are the way that Analytics counts data &mdash; the numbers behind
/frameworks/base/docs/html/training/displaying-bitmaps/
Dmanage-memory.jd128 // If the drawable cache and display ref counts = 0, and this drawable
/frameworks/opt/telephony/proto/
Dtelephony.proto90 // Array storing counts for each time range
/frameworks/base/docs/html/guide/topics/providers/
Dcalendar-provider.jd480 <td>If this event counts as busy time or is free time that can be
1055 <td>If this event counts as busy time or is free time that can be scheduled over.</td>
/frameworks/base/docs/html/topic/performance/
Dthreads.jd419 the class will take the initialized minimum and maximum thread counts into
/frameworks/native/opengl/tests/angeles/
Dlicense-LGPL.txt9 [This is the first released version of the Lesser GPL. It also counts
/frameworks/native/vulkan/api/
Dvulkan.api1568 … sampleCounts /// supported sample counts for this resource …