Home
last modified time | relevance | path

Searched refs:collection (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkStatsCollectionTest.java66 final NetworkStatsCollection collection = new NetworkStatsCollection(30 * MINUTE_IN_MILLIS); in testReadLegacyNetwork() local
67 collection.readLegacyNetwork(testFile); in testReadLegacyNetwork()
70 assertSummaryTotal(collection, buildTemplateMobileAll(TEST_IMSI), in testReadLegacyNetwork()
75 collection.write(new DataOutputStream(bos)); in testReadLegacyNetwork()
78 collection.reset(); in testReadLegacyNetwork()
79 assertSummaryTotal(collection, buildTemplateMobileAll(TEST_IMSI), in testReadLegacyNetwork()
83 collection.read(new ByteArrayInputStream(bos.toByteArray())); in testReadLegacyNetwork()
84 assertSummaryTotal(collection, buildTemplateMobileAll(TEST_IMSI), in testReadLegacyNetwork()
92 final NetworkStatsCollection collection = new NetworkStatsCollection(30 * MINUTE_IN_MILLIS); in testReadLegacyUid() local
93 collection.readLegacyUid(testFile, false); in testReadLegacyUid()
[all …]
/frameworks/support/v4/java/android/support/v4/util/
DMapCollections.java170 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) { in addAll() argument
172 for (Map.Entry<K, V> entry : collection) { in addAll()
197 public boolean containsAll(Collection<?> collection) { in containsAll() argument
198 Iterator<?> it = collection.iterator(); in containsAll()
223 public boolean removeAll(Collection<?> collection) { in removeAll() argument
228 public boolean retainAll(Collection<?> collection) { in retainAll() argument
273 public boolean addAll(Collection<? extends K> collection) { in addAll() argument
288 public boolean containsAll(Collection<?> collection) { in containsAll() argument
289 return containsAllHelper(colGetMap(), collection); in containsAll()
313 public boolean removeAll(Collection<?> collection) { in removeAll() argument
[all …]
DArrayMap.java129 public boolean containsAll(Collection<?> collection) { in containsAll() argument
130 return MapCollections.containsAllHelper(this, collection); in containsAll()
150 public boolean removeAll(Collection<?> collection) { in removeAll() argument
151 return MapCollections.removeAllHelper(this, collection); in removeAll()
160 public boolean retainAll(Collection<?> collection) { in retainAll() argument
161 return MapCollections.retainAllHelper(this, collection); in retainAll()
/frameworks/base/core/java/android/util/
DMapCollections.java172 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) { in addAll() argument
174 for (Map.Entry<K, V> entry : collection) { in addAll()
199 public boolean containsAll(Collection<?> collection) { in containsAll() argument
200 Iterator<?> it = collection.iterator(); in containsAll()
225 public boolean removeAll(Collection<?> collection) { in removeAll() argument
230 public boolean retainAll(Collection<?> collection) { in retainAll() argument
275 public boolean addAll(Collection<? extends K> collection) { in addAll() argument
290 public boolean containsAll(Collection<?> collection) { in containsAll() argument
291 return containsAllHelper(colGetMap(), collection); in containsAll()
315 public boolean removeAll(Collection<?> collection) { in removeAll() argument
[all …]
DArraySet.java680 public boolean containsAll(Collection<?> collection) { in containsAll() argument
681 Iterator<?> it = collection.iterator(); in containsAll()
695 public boolean addAll(Collection<? extends E> collection) { in addAll() argument
696 ensureCapacity(mSize + collection.size()); in addAll()
698 for (E value : collection) { in addAll()
710 public boolean removeAll(Collection<?> collection) { in removeAll() argument
712 for (Object value : collection) { in removeAll()
725 public boolean retainAll(Collection<?> collection) { in retainAll() argument
728 if (!collection.contains(mArray[i])) { in retainAll()
/frameworks/base/media/mca/filterfw/native/base/
Dutilities.h75 FindOrNull(const Collection& collection, in FindOrNull() argument
77 typename Collection::const_iterator it = collection.find(key); in FindOrNull()
78 if (it == collection.end()) { in FindOrNull()
129 FindPtrOrNull(const Collection& collection, in FindPtrOrNull() argument
131 typename Collection::const_iterator it = collection.find(key); in FindPtrOrNull()
132 if (it == collection.end()) { in FindPtrOrNull()
141 bool ContainsKey(const Collection& collection, const Key& key) { in ContainsKey() argument
142 return collection.find(key) != collection.end(); in ContainsKey()
150 bool InsertIfNotPresent(Collection * const collection, in InsertIfNotPresent() argument
153 collection->insert(typename Collection::value_type(key, value)); in InsertIfNotPresent()
/frameworks/base/media/mca/filterpacks/native/base/
Dutilities.h75 FindOrNull(const Collection& collection, in FindOrNull() argument
77 typename Collection::const_iterator it = collection.find(key); in FindOrNull()
78 if (it == collection.end()) { in FindOrNull()
129 FindPtrOrNull(const Collection& collection, in FindPtrOrNull() argument
131 typename Collection::const_iterator it = collection.find(key); in FindPtrOrNull()
132 if (it == collection.end()) { in FindPtrOrNull()
141 bool ContainsKey(const Collection& collection, const Key& key) { in ContainsKey() argument
142 return collection.find(key) != collection.end(); in ContainsKey()
150 bool InsertIfNotPresent(Collection * const collection, in InsertIfNotPresent() argument
153 collection->insert(typename Collection::value_type(key, value)); in InsertIfNotPresent()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsRecorder.java300 public CombiningRewriter(NetworkStatsCollection collection) { in CombiningRewriter() argument
301 mCollection = checkNotNull(collection, "missing NetworkStatsCollection"); in CombiningRewriter()
366 final NetworkStatsCollection collection = new NetworkStatsCollection(mBucketDuration); in importLegacyNetworkLocked() local
367 collection.readLegacyNetwork(file); in importLegacyNetworkLocked()
369 final long startMillis = collection.getStartMillis(); in importLegacyNetworkLocked()
370 final long endMillis = collection.getEndMillis(); in importLegacyNetworkLocked()
372 if (!collection.isEmpty()) { in importLegacyNetworkLocked()
375 mRotator.rewriteActive(new CombiningRewriter(collection), startMillis); in importLegacyNetworkLocked()
384 final NetworkStatsCollection collection = new NetworkStatsCollection(mBucketDuration); in importLegacyUidLocked() local
385 collection.readLegacyUid(file, mOnlyTags); in importLegacyUidLocked()
[all …]
/frameworks/data-binding/library/src/main/java/android/databinding/
DObservableArrayList.java56 public boolean addAll(Collection<? extends T> collection) { in addAll() argument
58 boolean added = super.addAll(collection); in addAll()
66 public boolean addAll(int index, Collection<? extends T> collection) { in addAll() argument
67 boolean added = super.addAll(index, collection); in addAll()
69 notifyAdd(index, collection.size()); in addAll()
DObservableArrayMap.java59 public boolean removeAll(Collection<?> collection) { in removeAll() argument
61 for (Object key : collection) { in removeAll()
72 public boolean retainAll(Collection<?> collection) { in retainAll() argument
76 if (!collection.contains(key)) { in retainAll()
/frameworks/base/docs/html/distribute/tools/
Dindex.jd14 data-query="collection:distribute/tools/checklists"
21 data-query="collection:distribute/tools/promote"
28 data-query="collection:distribute/tools/support"
35 data-query="collection:distribute/tools/news"
42 data-query="collection:distribute/tools/more"
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/
Dresources.jd13 data-query="collection:overview/carousel/zhcn"
25 data-query="collection:overview/zhcn/1"
33 data-query="collection:overview/zhcn/2"
41 data-query="collection:overview/zhcn/3"
49 data-query="collection:overview/zhcn/4"
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/tools/
Dindex.jd15 data-query="collection:distribute/tools/checklists/zhcn"
22 data-query="collection:distribute/tools/promote/zhcn"
29 data-query="collection:distribute/tools/support/zhcn"
36 data-query="collection:distribute/tools/news"
43 data-query="collection:distribute/tools/more/zhcn"
Dlaunch-checklist.jd90 "collection:distribute/toolsreference/launchchecklist/understanding"
113 "collection:distribute/toolsreference/launchchecklist/policies" data-sortorder=
152 "collection:distribute/toolsreference/launchchecklist/quality" data-sortorder=
208 "collection:distribute/toolsreference/launchchecklist/rating" data-sortorder=
273 "collection:distribute/toolsreference/launchchecklist/country" data-sortorder=
324 "collection:distribute/toolsreference/launchchecklist/size" data-sortorder=
370 "collection:distribute/toolsreference/launchchecklist/platform" data-sortorder=
427 "collection:distribute/toolsreference/launchchecklist/price" data-sortorder=
460 "collection:distribute/toolsreference/launchchecklist/purchasemethod"
490 "collection:distribute/toolsreference/launchchecklist/setprice" data-sortorder=
[all …]
/frameworks/base/docs/html-intl/intl/zh-cn/
Dresources.jd20 data-query="collection:overview/zhcn/1"
28 data-query="collection:overview/zhcn/2"
36 data-query="collection:overview/zhcn/3"
44 data-query="collection:overview/zhcn/4"
/frameworks/base/docs/html/
Dresources.jd21 data-query="collection:overview/1"
29 data-query="collection:overview/2"
37 data-query="collection:overview/3"
45 data-query="collection:overview/4"
/frameworks/base/docs/html-intl/intl/ru/distribute/tools/
Dlaunch-checklist.jd90 "collection:distribute/toolsreference/launchchecklist/understanding"
113 "collection:distribute/toolsreference/launchchecklist/policies" data-sortorder=
152 "collection:distribute/toolsreference/launchchecklist/quality" data-sortorder=
208 "collection:distribute/toolsreference/launchchecklist/rating" data-sortorder=
273 "collection:distribute/toolsreference/launchchecklist/country" data-sortorder=
324 "collection:distribute/toolsreference/launchchecklist/size" data-sortorder=
370 "collection:distribute/toolsreference/launchchecklist/platform" data-sortorder=
427 "collection:distribute/toolsreference/launchchecklist/price" data-sortorder=
460 "collection:distribute/toolsreference/launchchecklist/purchasemethod"
490 "collection:distribute/toolsreference/launchchecklist/setprice" data-sortorder=
[all …]
/frameworks/base/docs/html-intl/intl/ja/distribute/tools/
Dlaunch-checklist.jd72 "collection:distribute/toolsreference/launchchecklist/understanding"
92 "collection:distribute/toolsreference/launchchecklist/policies" data-sortorder=
119 "collection:distribute/toolsreference/launchchecklist/quality" data-sortorder=
168 "collection:distribute/toolsreference/launchchecklist/rating" data-sortorder=
225 "collection:distribute/toolsreference/launchchecklist/country" data-sortorder=
266 "collection:distribute/toolsreference/launchchecklist/size" data-sortorder=
297 "collection:distribute/toolsreference/launchchecklist/platform" data-sortorder=
342 "collection:distribute/toolsreference/launchchecklist/price" data-sortorder=
365 "collection:distribute/toolsreference/launchchecklist/purchasemethod"
389 "collection:distribute/toolsreference/launchchecklist/setprice" data-sortorder=
[all …]
/frameworks/base/docs/html-intl/intl/ko/distribute/tools/
Dlaunch-checklist.jd90 "collection:distribute/toolsreference/launchchecklist/understanding"
113 "collection:distribute/toolsreference/launchchecklist/policies" data-sortorder=
152 "collection:distribute/toolsreference/launchchecklist/quality" data-sortorder=
208 "collection:distribute/toolsreference/launchchecklist/rating" data-sortorder=
273 "collection:distribute/toolsreference/launchchecklist/country" data-sortorder=
324 "collection:distribute/toolsreference/launchchecklist/size" data-sortorder=
370 "collection:distribute/toolsreference/launchchecklist/platform" data-sortorder=
427 "collection:distribute/toolsreference/launchchecklist/price" data-sortorder=
460 "collection:distribute/toolsreference/launchchecklist/purchasemethod"
490 "collection:distribute/toolsreference/launchchecklist/setprice" data-sortorder=
[all …]
/frameworks/base/docs/html-intl/intl/zh-tw/distribute/tools/
Dlaunch-checklist.jd72 "collection:distribute/toolsreference/launchchecklist/understanding"
92 "collection:distribute/toolsreference/launchchecklist/policies" data-sortorder=
119 "collection:distribute/toolsreference/launchchecklist/quality" data-sortorder=
168 "collection:distribute/toolsreference/launchchecklist/rating" data-sortorder=
225 "collection:distribute/toolsreference/launchchecklist/country" data-sortorder=
266 "collection:distribute/toolsreference/launchchecklist/size" data-sortorder=
297 "collection:distribute/toolsreference/launchchecklist/platform" data-sortorder=
342 "collection:distribute/toolsreference/launchchecklist/price" data-sortorder=
365 "collection:distribute/toolsreference/launchchecklist/purchasemethod"
389 "collection:distribute/toolsreference/launchchecklist/setprice" data-sortorder=
[all …]
/frameworks/base/docs/html/distribute/googleplay/edu/
Dvideos.jd19 no-section" data-query="collection:distribute/edu/videos/stories" data-resourcestyle="card"
24 no-section" data-query="collection:distribute/edu/videos/bestpractices" data-resourcestyle="card"
29 no-section" data-query="collection:distribute/edu/videos/experience" data-resourcestyle="card"
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp133 const Collection<Key> collection = getCollection<Key>(); in getFromCollection() local
134 return collection.get(key); in getFromCollection()
140 Collection<Key> &collection = getCollection<Key>(); in add() local
141 return collection.add(name, key); in add()
/frameworks/base/docs/html/tools/performance/
Dindex.jd31 data-query="collection:tools/performance/rendering"
43 data-query="collection:tools/performance/memory"
55 data-query="collection:tools/performance/cpu"
67 data-query="collection:tools/performance/battery"
/frameworks/base/docs/html/training/auto/
Dindex.jd40 data-query="collection:training/auto/overview"
54 data-query="collection:training/auto/media"
68 data-query="collection:training/auto/messaging"
81 data-query="collection:training/auto/distribute"
/frameworks/base/docs/html/develop/
Dindex.jd44 data-query="collection:develop/landing/mainlinks"
60 data-query="collection:develop/landing/latest"
73 data-query="collection:develop/landing/tools"
86 data-query="collection:develop/landing/performance"
103 data-query="collection:develop/landing/ubicomp"
127 data-query="collection:develop/landing/courses"

12345678910>>...12