/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | LongSamplingCounterArrayTest.java | 89 assertArrayEquals(COUNTS, mCounterArray.mCounts, "Unexpected counts"); 106 assertArrayEquals(COUNTS, mCounterArray.mCounts, "Unexpected counts"); 116 assertArrayEquals(COUNTS, mCounterArray.mCounts, "Unexpected counts"); 126 assertArrayEquals(COUNTS, mCounterArray.mCounts, "Unexpected counts"); 169 assertArrayEquals(deltas, mCounterArray.mCounts, "Unexpected counts"); 175 assertArrayEquals(null, mCounterArray.mCounts, "Unexpected counts"); 179 assertArrayEquals(deltas, mCounterArray.mCounts, "Unexpected counts"); 189 assertArrayEquals(newCounts, mCounterArray.mCounts, "Unexpected counts"); 196 assertArrayEquals(COUNTS, mCounterArray.mCounts, "Unexpected counts"); 201 assertArrayEquals(newCounts, mCounterArray.mCounts, "Unexpected counts"); 243 updateCounts(long[] counts, long[] loadedCounts, long[] unpluggedCounts) argument [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | IpConnectivityEventBuilder.java | 315 private static Pair[] toPairArray(SparseIntArray counts) { argument 316 final int s = counts.size(); 320 p.key = counts.keyAt(i); 321 p.value = counts.valueAt(i);
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsXmlV1.java | 125 ArrayMap<String, Integer> counts = new ArrayMap<>(); 126 usageStats.mChooserCounts.put(action, counts); 235 final ArrayMap<String, Integer> counts = usageStats.mChooserCounts.valueAt(i); 236 if (action == null || counts == null || counts.isEmpty()) { 241 writeCountsForAction(xml, counts); 246 private static void writeCountsForAction(XmlSerializer xml, ArrayMap<String, Integer> counts) argument 248 final int countsSize = counts.size(); 250 String key = counts.keyAt(i); 251 int count = counts [all...] |
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaPipeline.cpp | 498 sk_sp<SkImage> counts = offscreen->makeImageSnapshot(); local 500 // Draw overdraw colors to the canvas. The color filter will convert counts to colors. 504 surface->getCanvas()->drawImage(counts.get(), 0.0f, 0.0f, &paint);
|
/frameworks/native/libs/binder/ |
H A D | BpBinder.cpp | 442 void BpBinder::getCountByUid(Vector<uint32_t>& uids, Vector<uint32_t>& counts) argument 446 counts.setCapacity(sTrackingMap.size()); 449 counts.push_back(it.second & COUNTING_VALUE_MASK);
|
/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 110 size_t counts[100]; local 112 counts[i] = 0; 121 ++counts[slot]; 128 printf("[%.2f fps]: %zu\n", fps, counts[i]);
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | ContentService.java | 209 int[] counts = new int[2]; 211 mRootNode.dumpLocked(fd, pw, args, "", " ", counts, pidCounts); 237 pw.print(" Total number of nodes: "); pw.println(counts[0]); 238 pw.print(" Total number of observers: "); pw.println(counts[1]); 1382 String name, String prefix, int[] counts, SparseIntArray pidCounts) { 1391 counts[1]++; 1405 counts[0]++; 1407 counts, pidCounts); 1381 dumpLocked(FileDescriptor fd, PrintWriter pw, String[] args, String name, String prefix, int[] counts, SparseIntArray pidCounts) argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | ShortcutPackage.java | 1023 private void incrementCountForActivity(ArrayMap<ComponentName, Integer> counts, argument 1025 Integer oldValue = counts.get(cn); 1030 counts.put(cn, oldValue + increment); 1053 final ArrayMap<ComponentName, Integer> counts = new ArrayMap<>(4); 1058 incrementCountForActivity(counts, shortcut.getActivity(), 1); 1060 incrementCountForActivity(counts, shortcut.getActivity(), 1); 1082 incrementCountForActivity(counts, newActivity, 1); 1096 incrementCountForActivity(counts, oldActivity, -1); 1099 incrementCountForActivity(counts, newActivity, 1); 1103 for (int i = counts [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_Binder.cpp | 1041 Vector<uint32_t> uids, counts; local 1042 BpBinder::getCountByUid(uids, counts); 1047 static_cast<jint>(uids[i]), static_cast<jint>(counts[i]));
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiMetricsTest.java | 1010 // check scanReturnEntries & wifiSystemStateEntries counts and individual elements 1776 int[] keys, int[] counts) throws Exception { 1780 assertEquals(counts[i], hist[i].count); 1775 verifyHist(WifiMetricsProto.NumConnectableNetworksBucket[] hist, int size, int[] keys, int[] counts) argument
|
/frameworks/base/media/java/android/media/ |
H A D | MediaCodecInfo.java | 1700 Range<Integer> counts = Utils.parseIntRange(map.get("block-count-range"), null); 1701 int FS = counts == null ? 0 : BS * counts.getUpper(); 1751 Range<Integer> counts = null, widths = null, heights = null; 1758 counts = Utils.parseIntRange(map.get("block-count-range"), null); 1835 if (counts != null) { 1837 Utils.factorRange(counts, mBlockWidth * mBlockHeight 1873 if (counts != null) { 1875 Utils.factorRange(counts, mBlockWidth * mBlockHeight 1904 Range<Integer> counts, Rang 1902 applyBlockLimits( int blockWidth, int blockHeight, Range<Integer> counts, Range<Long> rates, Range<Rational> ratios) argument [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 1453 public void addCountLocked(long[] counts) { argument 1454 addCountLocked(counts, mTimeBase.isRunning()); 1457 public void addCountLocked(long[] counts, boolean isRunning) { argument 1458 if (counts == null) { 1463 mCounts = new long[counts.length]; 1465 for (int i = 0; i < counts.length; ++i) { 1466 mCounts[i] += counts[i]; 6804 * Count of app launch events that had associated deferred job counts or info about 6821 * Array of counts of instances where the time since the last job was run for the app 6974 final long[] counts [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 12763 throw new IllegalStateException("ref counts can't go to zero here: stable=" 16677 boolean dumpBinderProxiesCounts(PrintWriter pw, SparseIntArray counts, String header) { argument 16678 if(counts != null) { 16680 for (int i = 0; i < counts.size(); i++) { 16681 final int uid = counts.keyAt(i); 16682 final int binderCount = counts.valueAt(i); 23159 // counts as being in the foreground for OOM killer purposes. 23172 // counts as being in the foreground. [all...] |
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |