HomeSort by relevance Sort by last modified time
    Searched defs:collection (Results 1 - 25 of 176) sorted by null

1 2 3 4 5 6 7 8

  /frameworks/base/services/tests/servicestests/src/com/android/server/net/
NetworkStatsCollectionTest.java 66 final NetworkStatsCollection collection = new NetworkStatsCollection(30 * MINUTE_IN_MILLIS); local
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); local
93 collection.readLegacyUid(testFile, false)
118 final NetworkStatsCollection collection = new NetworkStatsCollection(30 * MINUTE_IN_MILLIS); local
141 final NetworkStatsCollection collection = new NetworkStatsCollection(HOUR_IN_MILLIS); local
    [all...]
  /external/smack/src/org/jivesoftware/smackx/pubsub/
NodeType.java 24 collection; enum constant in enum:NodeType
EventElementType.java 24 /** A node has been associated or dissassociated with a collection node */
25 collection, enum constant in enum:EventElementType
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
X509CollectionStoreParameters.java 4 import java.util.Collection;
7 * This class contains a collection for collection based <code>X509Store</code>s.
15 private Collection collection; field in class:X509CollectionStoreParameters
20 * The collection is copied.
23 * @param collection
24 * The collection containing X.509 object types.
25 * @throws NullPointerException if <code>collection</code> is <code>null</code>.
27 public X509CollectionStoreParameters(Collection collection
    [all...]
  /external/chromium/chrome/browser/
browsing_data_appcache_helper_unittest.cc 51 std::map<GURL, appcache::AppCacheInfoVector>& collection = local
54 ASSERT_EQ(2u, collection.size());
55 EXPECT_TRUE(ContainsKey(collection, manifest1.GetOrigin()));
56 ASSERT_EQ(1u, collection[manifest1.GetOrigin()].size());
57 EXPECT_EQ(manifest1, collection[manifest1.GetOrigin()].at(0).manifest_url);
59 EXPECT_TRUE(ContainsKey(collection, manifest2.GetOrigin()));
60 EXPECT_EQ(2u, collection[manifest2.GetOrigin()].size());
62 manifest_results.insert(collection[manifest2.GetOrigin()].at(0).manifest_url);
63 manifest_results.insert(collection[manifest2.GetOrigin()].at(1).manifest_url);
83 std::map<GURL, appcache::AppCacheInfoVector>& collection local
    [all...]
  /external/chromium_org/chrome/browser/browsing_data/
browsing_data_appcache_helper_unittest.cc 55 std::map<GURL, appcache::AppCacheInfoVector>& collection = local
58 ASSERT_EQ(2u, collection.size());
59 EXPECT_TRUE(ContainsKey(collection, manifest1.GetOrigin()));
60 ASSERT_EQ(1u, collection[manifest1.GetOrigin()].size());
61 EXPECT_EQ(manifest1, collection[manifest1.GetOrigin()].at(0).manifest_url);
63 EXPECT_TRUE(ContainsKey(collection, manifest2.GetOrigin()));
64 EXPECT_EQ(2u, collection[manifest2.GetOrigin()].size());
66 manifest_results.insert(collection[manifest2.GetOrigin()].at(0).manifest_url);
67 manifest_results.insert(collection[manifest2.GetOrigin()].at(1).manifest_url);
87 std::map<GURL, appcache::AppCacheInfoVector>& collection local
    [all...]
  /external/chromium_org/chrome/browser/ui/panels/
docked_panel_drag_handler.cc 16 DCHECK_EQ(PanelCollection::DOCKED, panel->collection()->type());
18 DockedPanelCollection* collection = local
19 static_cast<DockedPanelCollection*>(panel->collection());
27 int bottom = collection->GetBottomPositionForExpansionState(
45 collection->RefreshLayout();
51 DockedPanelCollection* collection = local
52 static_cast<DockedPanelCollection*>(panel->collection());
60 find(collection->panels_.begin(), collection->panels_.end(), panel);
64 for (; current_panel_iterator != collection->panels_.end()
85 DockedPanelCollection* collection = local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
ShadowTreeStyleSheetCollection.cpp 48 void ShadowTreeStyleSheetCollection::collectStyleSheets(StyleEngine* engine, StyleSheetCollectionBase& collection)
87 collection.appendSheetForList(sheet);
89 collection.appendActiveStyleSheet(activeSheet);
95 StyleSheetCollectionBase collection; local
96 collectStyleSheets(engine, collection);
99 analyzeStyleSheetChange(updateMode, collection, change);
110 styleResolver->lazyAppendAuthorStyleSheets(0, collection.activeAuthorStyleSheets());
112 styleResolver->lazyAppendAuthorStyleSheets(m_activeAuthorStyleSheets.size(), collection.activeAuthorStyleSheets());
119 collection.swap(*this);
DocumentStyleSheetCollection.cpp 55 void DocumentStyleSheetCollection::collectStyleSheetsFromCandidates(StyleEngine* engine, StyleSheetCollectionBase& collection, DocumentStyleSheetCollection::CollectFor collectFor)
134 collection.appendSheetForList(sheet);
136 collection.appendActiveStyleSheet(activeSheet);
140 static void collectActiveCSSStyleSheetsFromSeamlessParents(StyleSheetCollectionBase& collection, Document* document)
145 collection.appendActiveStyleSheets(seamlessParentIFrame->document().styleEngine()->activeAuthorStyleSheets());
148 void DocumentStyleSheetCollection::collectStyleSheets(StyleEngine* engine, StyleSheetCollectionBase& collection, DocumentStyleSheetCollection::CollectFor colletFor)
151 collection.appendActiveStyleSheets(engine->injectedAuthorStyleSheets());
152 collection.appendActiveStyleSheets(engine->documentAuthorStyleSheets());
153 collectActiveCSSStyleSheetsFromSeamlessParents(collection, document());
154 collectStyleSheetsFromCandidates(engine, collection, colletFor)
159 StyleSheetCollectionBase collection; local
    [all...]
  /external/guava/guava/src/com/google/common/collect/
ImmutableAsList.java 26 * List returned by {@link ImmutableCollection#asList} when the collection isn't
34 private final transient ImmutableCollection<E> collection; field in class:ImmutableAsList
36 ImmutableAsList(Object[] array, ImmutableCollection<E> collection) {
38 this.collection = collection;
42 // The collection's contains() is at least as fast as RegularImmutableList's
44 return collection.contains(target);
51 final ImmutableCollection<?> collection; field in class:ImmutableAsList.SerializedForm
52 SerializedForm(ImmutableCollection<?> collection) {
53 this.collection = collection
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
AbstractCollectionTester.java 19 import java.util.Collection;
22 * Base class for collection testers.
26 * @param <E> the element type of the collection to be tested.
31 extends AbstractContainerTester<Collection<E>, E> {
34 protected Collection<E> collection; field in class:AbstractCollectionTester
36 @Override protected Collection<E> actualContents() {
37 return collection;
40 // TODO: dispose of this once collection is encapsulated.
41 @Override protected Collection<E> resetContainer(Collection<E> newContents)
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
CollectionClearTester.java 27 * A generic JUnit test which tests {@code clear()} operations on a collection.
38 collection.clear();
39 assertTrue("After clear(), a collection should be empty.",
40 collection.isEmpty());
47 collection.clear();
48 fail("clear() should throw UnsupportedOperation if a collection does "
59 collection.clear();
CollectionRemoveTester.java 32 * A generic JUnit test which tests {@code remove} operations on a collection.
45 int initialSize = collection.size();
47 collection.remove(samples.e0));
48 assertEquals("remove(present) should decrease a collection's size by one.",
49 initialSize - 1, collection.size());
56 collection.remove(samples.e3));
63 collection = getSubjectGenerator().create(createArrayWithNullElement());
65 int initialSize = collection.size();
66 assertTrue("remove(null) should return true", collection.remove(null));
67 assertEquals("remove(present) should decrease a collection's size by one."
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
IterablesTest.java 41 import java.util.Collection;
85 List<Integer> collection = new ArrayList<Integer>(nums) { local
91 assertEquals(5, Iterables.size(collection));
640 Collection<String> set = ImmutableSet.of("a", "b", "c", "d", "e");
646 Collection<String> list = newArrayList("a", "b", "c", "d", "e");
652 Collection<String> set = ImmutableSet.of("a", "b");
657 Collection<String> list = newArrayList("a", "b");
662 Collection<String> set = ImmutableSet.of("a", "b");
667 Collection<String> list = newArrayList("a", "b");
702 Collection<String> set = newLinkedHashSet(asList("a", "b", "c"))
    [all...]
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/
Filters.java 36 import java.util.Collection;
58 * collection and false for all other cases.
60 public static <T> Filter<T> in( Collection<? extends T> collection )
62 return new InFilter<T>(collection);
77 * collection and false for all other cases. This is the equivalent
78 * of calling not(in(collection)).
80 public static <T> Filter<T> notIn( Collection<? extends T> collection )
82 return not( in( collection ) );
130 private Collection<? extends T> collection; field in class:Filters.InFilter
    [all...]
  /libcore/luni/src/main/java/java/security/cert/
CollectionCertStoreParameters.java 20 import java.util.Collection;
24 * The parameters to initialize a <i>Collection</i> type {@code CertStore} instance.
26 * It is used to specify the {@code Collection} where the {@code CertStore} will
30 // Default empty and immutable collection.
33 private static final Collection<?> defaultCollection = Collections.EMPTY_SET;
34 // A <code>Collection</code> of <code>Certificate</code>s
36 private final Collection<?> collection; field in class:CollectionCertStoreParameters
39 * Creates a new {@code CollectionCertStoreParameters} without a collection.
41 * The default collection is an empty and unmodifiable {@code Collection}
    [all...]
  /external/chromium/chrome/browser/notifications/
balloon.h 53 BalloonCollection* collection);
71 const BalloonCollection* collection() const { return collection_; } function in class:Balloon
79 // to the balloon collection for checking against available space and
118 // The collection that this balloon belongs to. Non-owned pointer.
  /external/chromium_org/chrome/browser/notifications/
balloon.h 55 BalloonCollection* collection);
73 const BalloonCollection* collection() const { return collection_; } function in class:Balloon
81 // to the balloon collection for checking against available space and
123 // The collection that this balloon belongs to. Non-owned pointer.
  /external/chromium_org/media/audio/win/
device_enumeration_win.cc 41 // Generate a collection of active audio endpoint devices.
43 ScopedComPtr<IMMDeviceCollection> collection; local
46 collection.Receive());
52 collection->GetCount(&number_of_active_devices);
64 hr = collection->Item(i, audio_device.Receive());
  /external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
LazyStringArrayList.java 36 import java.util.Collection;
118 public boolean addAll(Collection<? extends String> c) {
119 // The default implementation of AbstractCollection.addAll(Collection)
121 // addAll(int, Collection), which makes a special case for Collections
127 public boolean addAll(int index, Collection<? extends String> c) {
130 Collection<?> collection = c instanceof LazyStringList local
132 boolean ret = list.addAll(index, collection);
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
DerOutputStream.java 89 private void encodeValueCollection(ASN1ValueCollection collection) {
97 collection.type.encodeASN(this);
199 private void getValueOfLength(ASN1ValueCollection collection) {
201 Object[] cv = collection.getValues(content).toArray();
212 collection.type.setEncodingContent(this);
220 seqLen += collection.type.getEncodedLength(this);
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
EnumMapTest.java 20 import java.util.Collection;
386 Collection c = new ArrayList();
643 Collection c = new ArrayList();
990 Collection collection = enumColorMap.values(); local
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
EnumMapTest.java 22 import java.util.Collection;
389 Collection c = new ArrayList();
645 Collection c = new ArrayList();
991 Collection collection = enumColorMap.values(); local
    [all...]
  /external/chromium/chrome/browser/chromeos/notifications/
notification_browsertest.cc 140 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
145 collection->Add(NewMockNotification("1"), browser()->profile());
152 collection->Add(NewMockNotification("2"), browser()->profile());
158 collection->RemoveById("1");
165 collection->RemoveById("2");
179 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
186 collection->Add(NewMockNotification("1"), browser()->profile());
187 collection->Add(NewMockNotification("2"), browser()->profile());
194 collection->RemoveById("1");
200 collection->Add(NewMockNotification("1"), browser()->profile())
227 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
264 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
307 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
374 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
388 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
417 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
492 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
525 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
548 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
579 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
    [all...]
  /external/chromium_org/chrome/browser/task_manager/
notification_resource_provider.cc 154 BalloonCollection* collection = balloon_manager->balloon_collection(); local
156 collection->GetActiveBalloons();

Completed in 2991 milliseconds

1 2 3 4 5 6 7 8