Home
last modified time | relevance | path

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

1234567

/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/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/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/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.java649 public boolean containsAll(Collection<?> collection) { in containsAll() argument
650 Iterator<?> it = collection.iterator(); in containsAll()
660 public boolean addAll(Collection<? extends E> collection) { in addAll() argument
661 ensureCapacity(mSize + collection.size()); in addAll()
663 for (E value : collection) { in addAll()
670 public boolean removeAll(Collection<?> collection) { in removeAll() argument
672 for (Object value : collection) { in removeAll()
679 public boolean retainAll(Collection<?> collection) { in retainAll() argument
682 if (!collection.contains(mArray[i])) { in retainAll()
DArrayMap.java806 public boolean containsAll(Collection<?> collection) { in containsAll() argument
807 return MapCollections.containsAllHelper(this, collection); in containsAll()
827 public boolean removeAll(Collection<?> collection) { in removeAll() argument
828 return MapCollections.removeAllHelper(this, collection); in removeAll()
837 public boolean retainAll(Collection<?> collection) { in retainAll() argument
838 return MapCollections.retainAllHelper(this, collection); in retainAll()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsRecorder.java292 public CombiningRewriter(NetworkStatsCollection collection) { in CombiningRewriter() argument
293 mCollection = checkNotNull(collection, "missing NetworkStatsCollection"); in CombiningRewriter()
358 final NetworkStatsCollection collection = new NetworkStatsCollection(mBucketDuration); in importLegacyNetworkLocked() local
359 collection.readLegacyNetwork(file); in importLegacyNetworkLocked()
361 final long startMillis = collection.getStartMillis(); in importLegacyNetworkLocked()
362 final long endMillis = collection.getEndMillis(); in importLegacyNetworkLocked()
364 if (!collection.isEmpty()) { in importLegacyNetworkLocked()
367 mRotator.rewriteActive(new CombiningRewriter(collection), startMillis); in importLegacyNetworkLocked()
376 final NetworkStatsCollection collection = new NetworkStatsCollection(mBucketDuration); in importLegacyUidLocked() local
377 collection.readLegacyUid(file, mOnlyTags); in importLegacyUidLocked()
[all …]
/frameworks/base/docs/html/distribute/tools/
Dindex.jd16 data-query="collection:distribute/tools/checklists"
23 data-query="collection:distribute/tools/promote"
30 data-query="collection:distribute/tools/support"
37 data-query="collection:distribute/tools/news"
44 data-query="collection:distribute/tools/more"
/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.jd69 <div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/toolsref…
86 <div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/toolsref…
111 <div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/toolsref…
150 <div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/toolsref…
201 <div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/toolsref…
238 <div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/toolsref…
266 <div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/toolsref…
307 <div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/toolsref…
328 <div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/toolsref…
349 <div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/toolsref…
[all …]
/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/
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/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/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DUsbHid.java66 byte[] collection = new byte[] { in generateDescriptor()
92 buffer.put(collection); in generateDescriptor()
/frameworks/base/core/java/android/hardware/input/
DKeyboardLayout.java44 public KeyboardLayout(String descriptor, String label, String collection, int priority) { in KeyboardLayout() argument
47 mCollection = collection; in KeyboardLayout()
/frameworks/minikin/sample/
Dexample.cpp83 FontCollection *collection = makeFontCollection(); in runMinikinTest() local
85 layout.setFontCollection(collection); in runMinikinTest()
Dexample_skia.cpp117 FontCollection *collection = makeFontCollection(); in runMinikinTest() local
119 layout.setFontCollection(collection); in runMinikinTest()
/frameworks/base/docs/html/distribute/googleplay/
Dindex.jd18 data-query="collection:distribute/gp/gplanding"
27 data-query="collection:distribute/gp/gpfelanding"
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/essentials/quality/
Dtablets.jd115 …<div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/essenti…
148 …<div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/essenti…
221 …<div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/essenti…
236 …<div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/essenti…
253 …<div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/essenti…
309 …<div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/essenti…
352 …<div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/essenti…
367 …<div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/essenti…
460 …<div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/essenti…
533 …<div class="resource-widget resource-flow-layout col-13" data-query="collection:distribute/essenti…
[all …]
/frameworks/base/docs/html/distribute/engage/
Dapp-updates.jd35 "collection:distribute/engage/kiwi" data-sortorder="-timestamp" data-cardsizes=
48 "collection:distribute/engage/appupdates" data-sortorder="-timestamp"
/frameworks/base/docs/html/distribute/tools/promote/
Dlinking.jd28 <li>Link to a <a href="#OpeningCollection">collection</a> on Google Play</li>
125 collection. The collection shows a ranked list of apps in the collection, with
131 <pre>http://play.google.com/store/apps/collection/&lt;collection_name&gt;</pre>
135 <pre>market://apps/collection/&lt;collection_name&gt;</pre>
141 … href="http://play.google.com/store/apps/collection/editors_choice">http://play.google.com/store/a…
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/tools/promote/
Dlinking.jd109 <pre>http://play.google.com/store/apps/collection/&lt;collection_name&gt;</pre>
113 <pre>market://apps/collection/&lt;collection_name&gt;</pre>
119 … href="http://play.google.com/store/apps/collection/editors_choice">http://play.google.com/store/a…

1234567