Searched defs:collection (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/android/hardware/input/
H A DKeyboardLayout.java43 public KeyboardLayout(String descriptor, String label, String collection) { argument
46 mCollection = collection;
75 * Gets the name of the collection to which the keyboard layout belongs. This is
77 * @return The keyboard layout collection name.
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
H A DNetworkStatsCollectionTest.java66 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 Dutilities.h75 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 Dutilities.h75 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/core/java/android/widget/
H A DArrayAdapter.java188 * @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/base/services/java/com/android/server/net/
H A DNetworkStatsRecorder.java269 public CombiningRewriter(NetworkStatsCollection collection) { argument
270 mCollection = checkNotNull(collection, "missing NetworkStatsCollection");
335 final NetworkStatsCollection collection = new NetworkStatsCollection(mBucketDuration);
336 collection.readLegacyNetwork(file);
338 final long startMillis = collection.getStartMillis();
339 final long endMillis = collection.getEndMillis();
341 if (!collection.isEmpty()) {
344 mRotator.rewriteActive(new CombiningRewriter(collection), startMillis);
353 final NetworkStatsCollection collection = new NetworkStatsCollection(mBucketDuration);
354 collection
[all...]
/frameworks/base/services/java/com/android/server/input/
H A DInputManagerService.java739 String descriptor, String label, String collection, int keyboardLayoutResId) {
773 String descriptor, String label, String collection, int keyboardLayoutResId) {
774 list.add(new KeyboardLayout(descriptor, label, collection));
790 String descriptor, String label, String collection, int keyboardLayoutResId) {
791 result[0] = new KeyboardLayout(descriptor, label, collection);
840 String collection = receiverLabel != null ? receiverLabel.toString() : "";
875 label, collection, keyboardLayoutResId);
1442 String descriptor, String label, String collection, int keyboardLayoutResId) {
1588 String descriptor, String label, String collection, int keyboardLayoutResId);
1587 visitKeyboardLayout(Resources resources, String descriptor, String label, String collection, int keyboardLayoutResId) argument

Completed in 95 milliseconds