/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/data-binding/library/src/main/java/android/databinding/ |
H A D | ObservableArrayList.java | 56 public boolean addAll(Collection<? extends T> collection) { argument 58 boolean added = super.addAll(collection); 66 public boolean addAll(int index, Collection<? extends T> collection) { argument 67 boolean added = super.addAll(index, collection); 69 notifyAdd(index, collection.size());
|
H A D | ObservableArrayMap.java | 59 public boolean removeAll(Collection<?> collection) { argument 61 for (Object key : collection) { 72 public boolean retainAll(Collection<?> collection) { argument 76 if (!collection.contains(key)) {
|
/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 | 483 // collection pass into a new array. This avoids binary searches and excessive memcpy. 606 // specialized collection APIs. 674 * Determine if the array set contains all of the values in the given collection. 675 * @param collection The collection whose contents are to be checked against. 677 * in <var>collection</var>, else returns false. 680 public boolean containsAll(Collection<?> collection) { argument 681 Iterator<?> it = collection.iterator(); 691 * Perform an {@link #add(Object)} of all values in <var>collection</var> 692 * @param collection Th 695 addAll(Collection<? extends E> collection) argument 710 removeAll(Collection<?> collection) argument 725 retainAll(Collection<?> collection) argument [all...] |
H A D | ArrayMap.java | 745 // specialized collection APIs. 801 * Determine if the array map contains all of the keys in the given collection. 802 * @param collection The collection whose contents are to be checked against. 804 * in <var>collection</var>, else returns false. 806 public boolean containsAll(Collection<?> collection) { argument 807 return MapCollections.containsAllHelper(this, collection); 823 * Remove all keys in the array map that exist in the given collection. 824 * @param collection The collection whos 827 removeAll(Collection<?> collection) argument 837 retainAll(Collection<?> collection) argument [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/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsRecorder.java | 300 public CombiningRewriter(NetworkStatsCollection collection) { argument 301 mCollection = checkNotNull(collection, "missing NetworkStatsCollection"); 366 final NetworkStatsCollection collection = new NetworkStatsCollection(mBucketDuration); 367 collection.readLegacyNetwork(file); 369 final long startMillis = collection.getStartMillis(); 370 final long endMillis = collection.getEndMillis(); 372 if (!collection.isEmpty()) { 375 mRotator.rewriteActive(new CombiningRewriter(collection), startMillis); 384 final NetworkStatsCollection collection = new NetworkStatsCollection(mBucketDuration); 385 collection [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/ |
H A D | GenericAdapter.java | 68 private static <T> void setText(TextView view, Collection<T> collection) { argument 71 for (T val : collection) {
|
/frameworks/minikin/sample/ |
H A D | example.cpp | 83 FontCollection *collection = makeFontCollection(); local 85 layout.setFontCollection(collection);
|
H A D | example_skia.cpp | 115 FontCollection *collection = makeFontCollection(); local 117 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/av/services/audiopolicy/engineconfigurable/src/ |
H A D | Engine.cpp | 133 const Collection<Key> collection = getCollection<Key>(); local 134 return collection.get(key); 140 Collection<Key> &collection = getCollection<Key>(); local 141 return collection.add(name, key); 149 ALOGE("%s: Element not found within collection", __FUNCTION__); 196 ALOGE("%s: Element not found within collection", __FUNCTION__);
|
/frameworks/base/core/java/android/widget/ |
H A D | ArrayAdapter.java | 203 * @param collection The Collection to add at the end of the array. 205 public void addAll(Collection<? extends T> collection) { argument 208 mOriginalValues.addAll(collection); 210 mObjects.addAll(collection);
|
/frameworks/minikin/include/minikin/ |
H A D | Layout.h | 91 void setFontCollection(const FontCollection* collection);
|
/frameworks/minikin/libs/minikin/ |
H A D | Layout.cpp | 107 LayoutCacheKey(const FontCollection* collection, const MinikinPaint& paint, FontStyle style, argument 110 mStart(start), mCount(count), mId(collection->getId()), mStyle(style), 128 void doLayout(Layout* layout, LayoutContext* ctx, const FontCollection* collection) const { 129 layout->setFontCollection(collection); 140 uint32_t mId; // for the font collection 163 Layout* get(LayoutCacheKey& key, LayoutContext* ctx, const FontCollection* collection) { argument 168 key.doLayout(layout, ctx, collection); 289 void Layout::setFontCollection(const FontCollection* collection) { argument 290 mCollection = collection;
|
/frameworks/base/services/core/java/com/android/server/input/ |
H A D | InputManagerService.java | 903 String collection, int keyboardLayoutResId, int priority) { 937 String collection, int keyboardLayoutResId, int priority) { 938 list.add(new KeyboardLayout(descriptor, label, collection, priority)); 954 String label, String collection, int keyboardLayoutResId, int priority) { 955 result[0] = new KeyboardLayout(descriptor, label, collection, priority); 1006 String collection = receiverLabel != null ? receiverLabel.toString() : ""; 1047 label, collection, keyboardLayoutResId, priority); 1664 String collection, int keyboardLayoutResId, int priority) { 1819 String collection, int keyboardLayoutResId, int priority); 1818 visitKeyboardLayout(Resources resources, String descriptor, String label, String collection, int keyboardLayoutResId, int priority) argument
|
/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. ... |