/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
H A D | NetworkStatsCollectionTest.java | 66 final NetworkStatsCollection collection = new NetworkStatsCollection(30 * MINUTE_IN_MILLIS); 67 collection.readLegacyNetwork(testFile); 70 assertSummaryTotal(collection, buildTemplateMobileAll(TEST_IMSI), 75 collection.write(new DataOutputStream(bos)); 78 collection.reset(); 79 assertSummaryTotal(collection, buildTemplateMobileAll(TEST_IMSI), 83 collection.read(new ByteArrayInputStream(bos.toByteArray())); 84 assertSummaryTotal(collection, buildTemplateMobileAll(TEST_IMSI), 92 final NetworkStatsCollection collection = new NetworkStatsCollection(30 * MINUTE_IN_MILLIS); 93 collection 172 assertSummaryTotal(NetworkStatsCollection collection, NetworkTemplate template, long rxBytes, long rxPackets, long txBytes, long txPackets) argument 179 assertSummaryTotalIncludingTags(NetworkStatsCollection collection, NetworkTemplate template, long rxBytes, long rxPackets, long txBytes, long txPackets) argument [all...] |
/frameworks/base/media/mca/filterfw/native/base/ |
H A D | utilities.h | 75 FindOrNull(const Collection& collection, argument 77 typename Collection::const_iterator it = collection.find(key); 78 if (it == collection.end()) { 129 FindPtrOrNull(const Collection& collection, argument 131 typename Collection::const_iterator it = collection.find(key); 132 if (it == collection.end()) { 139 // Returns true if the key is in the collection. 141 bool ContainsKey(const Collection& collection, const Key& key) { argument 142 return collection.find(key) != collection 150 InsertIfNotPresent(Collection * const collection, const Key& key, const Value& value) argument [all...] |
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | utilities.h | 75 FindOrNull(const Collection& collection, argument 77 typename Collection::const_iterator it = collection.find(key); 78 if (it == collection.end()) { 129 FindPtrOrNull(const Collection& collection, argument 131 typename Collection::const_iterator it = collection.find(key); 132 if (it == collection.end()) { 139 // Returns true if the key is in the collection. 141 bool ContainsKey(const Collection& collection, const Key& key) { argument 142 return collection.find(key) != collection 150 InsertIfNotPresent(Collection * const collection, const Key& key, const Value& value) argument [all...] |
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | ArrayMap.java | 124 * Determine if the array map contains all of the keys in the given collection. 125 * @param collection The collection whose contents are to be checked against. 127 * in <var>collection</var>, else returns false. 129 public boolean containsAll(Collection<?> collection) { argument 130 return MapCollections.containsAllHelper(this, collection); 146 * Remove all keys in the array map that exist in the given collection. 147 * @param collection The collection whose contents are to be used to remove keys. 150 public boolean removeAll(Collection<?> collection) { argument 160 retainAll(Collection<?> collection) argument [all...] |
H A D | MapCollections.java | 26 * Helper for writing standard Java collection interfaces to a data 170 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) { argument 172 for (Map.Entry<K, V> entry : collection) { 197 public boolean containsAll(Collection<?> collection) { argument 198 Iterator<?> it = collection.iterator(); 223 public boolean removeAll(Collection<?> collection) { argument 228 public boolean retainAll(Collection<?> collection) { argument 273 public boolean addAll(Collection<? extends K> collection) { argument 288 public boolean containsAll(Collection<?> collection) { argument 289 return containsAllHelper(colGetMap(), collection); 313 removeAll(Collection<?> collection) argument 318 retainAll(Collection<?> collection) argument 361 addAll(Collection<? extends V> collection) argument 376 containsAll(Collection<?> collection) argument 407 removeAll(Collection<?> collection) argument 423 retainAll(Collection<?> collection) argument 454 containsAllHelper(Map<K, V> map, Collection<?> collection) argument 464 removeAllHelper(Map<K, V> map, Collection<?> collection) argument 473 retainAllHelper(Map<K, V> map, Collection<?> collection) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | MapCollections.java | 28 * Helper for writing standard Java collection interfaces to a data 172 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) { argument 174 for (Map.Entry<K, V> entry : collection) { 199 public boolean containsAll(Collection<?> collection) { argument 200 Iterator<?> it = collection.iterator(); 225 public boolean removeAll(Collection<?> collection) { argument 230 public boolean retainAll(Collection<?> collection) { argument 275 public boolean addAll(Collection<? extends K> collection) { argument 290 public boolean containsAll(Collection<?> collection) { argument 291 return containsAllHelper(colGetMap(), collection); 315 removeAll(Collection<?> collection) argument 320 retainAll(Collection<?> collection) argument 363 addAll(Collection<? extends V> collection) argument 378 containsAll(Collection<?> collection) argument 409 removeAll(Collection<?> collection) argument 425 retainAll(Collection<?> collection) argument 456 containsAllHelper(Map<K, V> map, Collection<?> collection) argument 466 removeAllHelper(Map<K, V> map, Collection<?> collection) argument 475 retainAllHelper(Map<K, V> map, Collection<?> collection) argument [all...] |
H A D | ArraySet.java | 581 // specialized collection APIs. 642 public boolean containsAll(Collection<?> collection) { argument 643 Iterator<?> it = collection.iterator(); 653 public boolean addAll(Collection<? extends E> collection) { argument 654 ensureCapacity(mSize + collection.size()); 656 for (E value : collection) { 663 public boolean removeAll(Collection<?> collection) { argument 665 for (Object value : collection) { 672 public boolean retainAll(Collection<?> collection) { argument 675 if (!collection [all...] |
H A D | ArrayMap.java | 742 // specialized collection APIs. 798 * Determine if the array map contains all of the keys in the given collection. 799 * @param collection The collection whose contents are to be checked against. 801 * in <var>collection</var>, else returns false. 803 public boolean containsAll(Collection<?> collection) { argument 804 return MapCollections.containsAllHelper(this, collection); 820 * Remove all keys in the array map that exist in the given collection. 821 * @param collection The collection whos 824 removeAll(Collection<?> collection) argument 834 retainAll(Collection<?> collection) argument [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsRecorder.java | 278 public CombiningRewriter(NetworkStatsCollection collection) { argument 279 mCollection = checkNotNull(collection, "missing NetworkStatsCollection"); 344 final NetworkStatsCollection collection = new NetworkStatsCollection(mBucketDuration); 345 collection.readLegacyNetwork(file); 347 final long startMillis = collection.getStartMillis(); 348 final long endMillis = collection.getEndMillis(); 350 if (!collection.isEmpty()) { 353 mRotator.rewriteActive(new CombiningRewriter(collection), startMillis); 362 final NetworkStatsCollection collection = new NetworkStatsCollection(mBucketDuration); 363 collection [all...] |
/frameworks/base/core/java/android/hardware/input/ |
H A D | KeyboardLayout.java | 44 public KeyboardLayout(String descriptor, String label, String collection, int priority) { argument 47 mCollection = collection; 78 * Gets the name of the collection to which the keyboard layout belongs. This is 80 * @return The keyboard layout collection name.
|
/frameworks/minikin/sample/ |
H A D | example.cpp | 83 FontCollection *collection = makeFontCollection(); local 85 layout.setFontCollection(collection);
|
H A D | example_skia.cpp | 117 FontCollection *collection = makeFontCollection(); local 119 layout.setFontCollection(collection);
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
H A D | UsbHid.java | 66 byte[] collection = new byte[] { 92 buffer.put(collection);
|
/frameworks/base/core/java/android/widget/ |
H A D | ArrayAdapter.java | 188 * @param collection The Collection to add at the end of the array. 190 public void addAll(Collection<? extends T> collection) { argument 193 mOriginalValues.addAll(collection); 195 mObjects.addAll(collection);
|
/frameworks/minikin/include/minikin/ |
H A D | Layout.h | 76 void setFontCollection(const FontCollection* collection);
|
/frameworks/minikin/libs/minikin/ |
H A D | Layout.cpp | 76 LayoutCacheKey(const FontCollection* collection, const MinikinPaint& paint, FontStyle style, argument 78 : mStart(start), mCount(count), mId(collection->getId()), mStyle(style), 97 void doLayout(Layout* layout, LayoutContext* ctx, const FontCollection* collection) const { 98 layout->setFontCollection(collection); 109 uint32_t mId; // for the font collection 131 Layout* get(LayoutCacheKey& key, LayoutContext* ctx, const FontCollection* collection) { argument 136 key.doLayout(layout, ctx, collection); 282 void Layout::setFontCollection(const FontCollection* collection) { argument 283 mCollection = collection;
|
/frameworks/base/services/core/java/com/android/server/input/ |
H A D | InputManagerService.java | 826 String collection, int keyboardLayoutResId, int priority) { 860 String collection, int keyboardLayoutResId, int priority) { 861 list.add(new KeyboardLayout(descriptor, label, collection, priority)); 877 String label, String collection, int keyboardLayoutResId, int priority) { 878 result[0] = new KeyboardLayout(descriptor, label, collection, priority); 929 String collection = receiverLabel != null ? receiverLabel.toString() : ""; 970 label, collection, keyboardLayoutResId, priority); 1578 String collection, int keyboardLayoutResId, int priority) { 1727 String collection, int keyboardLayoutResId, int priority); 1726 visitKeyboardLayout(Resources resources, String descriptor, String label, String collection, int keyboardLayoutResId, int priority) argument
|
/frameworks/testing/espresso/libs/ |
H A D | guava-14.0.1.jar | META-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ... |