/external/chromium_org/media/audio/win/ |
core_audio_util_win_unittest.cc | 157 ScopedComPtr<IMMDeviceCollection> collection; local 159 DEVICE_STATE_ACTIVE, collection.Receive()))); 161 collection->GetCount(&count); 164 collection->Item(j, device.Receive()); 496 ScopedComPtr<IMMDeviceCollection> collection; local 498 DEVICE_STATE_ACTIVE, collection.Receive()))); 500 collection->GetCount(&count); 503 collection->Item(i, device.Receive());
|
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
AbstractMessageLite.java | 37 import java.util.Collection; 317 final Collection<? super T> list) { 325 if (values instanceof Collection) { 326 final Collection<T> collection = (Collection<T>) values; local 327 list.addAll(collection);
|
RepeatedFieldBuilder.java | 35 import java.util.Collection; 356 * Appends all of the messages in the specified collection to the end of 358 * collection's iterator. 370 if (values instanceof Collection) { 372 Collection<MType> collection = (Collection<MType>) values; local 373 if (collection.size() == 0) {
|
/external/chromium_org/ui/message_center/views/ |
message_popup_collection_unittest.cc | 52 MessagePopupCollection* collection() { return collection_.get(); } function in class:message_center::test::MessagePopupCollectionTest 159 collection()->OnMouseExited(GetToast(id2)); 204 collection()->SetDisplayInfo(gfx::Rect(0, 0, 590, 400), // Work-area. 226 collection()->SetDisplayInfo(gfx::Rect(0, 0, 600, 390), // Work-area. 232 collection()->SetDisplayInfo(gfx::Rect(0, 10, 600, 390), // Work-area. 254 collection()->SetDisplayInfo(gfx::Rect(0, 0, 600, 390), // Work-area. 263 collection()->SetDisplayInfo(gfx::Rect(10, 10, 590, 390), // Work-area. 285 collection()->SetDisplayInfo(gfx::Rect(0, 0, 600, 390), // Work-area. 294 collection()->SetDisplayInfo(gfx::Rect(0, 10, 580, 400), // Work-area. 316 collection()->SetDisplayInfo(gfx::Rect(0, 0, 600, 390), // Work-area [all...] |
/external/guava/guava/src/com/google/common/collect/ |
Iterables.java | 32 import java.util.Collection; 108 return (iterable instanceof Collection) 109 ? ((Collection<?>) iterable).size() 119 if (iterable instanceof Collection) { 120 Collection<?> collection = (Collection<?>) iterable; local 122 return collection.contains(element); 134 * collection. 136 * <p>This method calls {@link Collection#removeAll} if {@code iterable} is 293 Collection<? extends T> collection = toCollection(iterable); local [all...] |
ImmutableSetMultimap.java | 30 import java.util.Collection; 150 super(new LinkedHashMap<K, Collection<V>>()); 152 @Override Collection<V> createCollection() { 166 super(new TreeMap<K, Collection<V>>(keyComparator)); 169 @Override Collection<V> createCollection() { 224 Collection<V> collection = builderMultimap.get(checkNotNull(key)); local 226 collection.add(checkNotNull(value)); 237 for (Entry<? extends K, ? extends Collection<? extends V>> entry 321 for (Entry<? extends K, ? extends Collection<? extends V>> entr [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableSet.java | 22 import java.util.Collection; 108 public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) { 204 if (elements instanceof Collection) { 205 Collection<?> collection = (Collection<?>) elements; local 206 contents.ensureCapacity(contents.size() + collection.size());
|
Iterables.java | 31 import java.util.Collection; 105 return (iterable instanceof Collection) 106 ? ((Collection<?>) iterable).size() 116 if (iterable instanceof Collection) { 117 Collection<?> collection = (Collection<?>) iterable; local 119 return collection.contains(element); 131 * collection. 133 * <p>This method calls {@link Collection#removeAll} if {@code iterable} is [all...] |
ImmutableSetMultimap.java | 25 import java.util.Collection; 145 super(new LinkedHashMap<K, Collection<V>>()); 147 @Override Collection<V> createCollection() { 161 super(new TreeMap<K, Collection<V>>(keyComparator)); 164 @Override Collection<V> createCollection() { 219 Collection<V> collection = builderMultimap.get(checkNotNull(key)); local 221 collection.add(checkNotNull(value)); 232 for (Entry<? extends K, ? extends Collection<? extends V>> entry 316 for (Entry<? extends K, ? extends Collection<? extends V>> entr [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
CollectionRemoveAllTester.java | 34 * collection. Can't be invoked directly; please see 47 collection.removeAll(MinimalCollection.of())); 54 collection.removeAll(MinimalCollection.of(samples.e3))); 62 collection.removeAll(MinimalCollection.of(samples.e0))); 70 collection.removeAll(MinimalCollection.of(samples.e0, samples.e3))); 81 collection.removeAll(MinimalCollection.of( 92 collection.removeAll(MinimalCollection.of())); 103 collection.removeAll(MinimalCollection.of(samples.e3))); 113 collection.removeAll(MinimalCollection.of(samples.e0)); 119 assertTrue(collection.contains(samples.e0)) [all...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
CollectionSerializer.java | 40 import java.util.Collection; 55 Collection collection; local 57 collection = (Collection)c.newInstance(); 59 log.log(Level.FINE, "[Serializer][???] Could not determine collection type. Using ArrayList."); 60 collection = new ArrayList(length); 63 if (length == 0) return (T)collection; 71 collection.add(serializer.readObject(data, clazz)); 75 collection.add(Serializer.readClassAndObject(data)) 82 Collection collection = (Collection)object; local [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
AbstractMessageLite.java | 37 import java.util.Collection; 309 final Collection<? super T> list) { 315 if (values instanceof Collection) { 317 Collection<T> collection = (Collection<T>) values; local 318 list.addAll(collection);
|
/external/smack/src/org/jivesoftware/smackx/pubsub/ |
ConfigureNodeFields.java | 46 * The collection with which a node is affiliated
50 collection,
enum constant in enum:ConfigureNodeFields 77 * Who may associate leaf nodes with a collection
85 * collection
92 * The child nodes (leaf or collection) associated with a collection
100 * collection
121 * Whether the node is a leaf (default) or collection
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
UnmodifiableCollectionTests.java | 32 import java.util.Collection; 98 * Verifies that a collection is immutable. 100 * <p>A collection is considered immutable if: 105 * collection throw UnsupportedOperationException when those mutators 109 * @param collection the presumed-immutable collection 111 * {@code collection}. {@code collection} may or may not have {@code 115 Collection<E> collection, E sampleElement) [all...] |
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/ |
HttpOverSpdyTest.java | 40 import java.util.Collection; 255 private <T> void assertContains(Collection<T> collection, T value) { 256 assertTrue(collection.toString(), collection.contains(value));
|
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsRecorder.java | 278 public CombiningRewriter(NetworkStatsCollection collection) { 279 mCollection = checkNotNull(collection, "missing NetworkStatsCollection"); 344 final NetworkStatsCollection collection = new NetworkStatsCollection(mBucketDuration); local 345 collection.readLegacyNetwork(file); 347 final long startMillis = collection.getStartMillis(); 348 final long endMillis = collection.getEndMillis(); 350 if (!collection.isEmpty()) { 353 mRotator.rewriteActive(new CombiningRewriter(collection), startMillis); 362 final NetworkStatsCollection collection = new NetworkStatsCollection(mBucketDuration); local 363 collection.readLegacyUid(file, mOnlyTags) [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/ |
CertStore_ImplTest.java | 36 import java.util.Collection; 89 Collection collection = certS.getCertificates(certSelector); local 90 assertNull("Not null collection", collection); 91 collection = certS.getCRLs(crlSelector); 92 assertNull("Not null collection", collection);
|
/external/chromium_org/chrome/browser/ |
jumplist_win.cc | 150 HRESULT AddShellLink(base::win::ScopedComPtr<IObjectCollection> collection, 224 // Add this IShellLink object to the given collection. 225 return collection->AddObject(link); 284 // We once add the given items to this collection object and add this 285 // collection to the JumpList. 286 base::win::ScopedComPtr<IObjectCollection> collection; local 287 HRESULT result = collection.CreateInstance(CLSID_EnumerableObjectCollection, 295 AddShellLink(collection, application, switches, link); 306 result = collection.QueryInterface(object_array.Receive()); 325 base::win::ScopedComPtr<IObjectCollection> collection; local [all...] |
/external/chromium_org/chrome/browser/ui/panels/ |
panel.h | 173 PanelCollection* collection() const { return collection_; } function in class:Panel 175 // Sets the current panel collection that contains this panel. 197 // in the docked collection and squeezing mode is not on. 351 // Current collection of panels to which this panel belongs. This determines 358 // been minimized or squeezed due to lack of space in the collection. 375 // controller to add a panel to the collection without causing its bounds to
|
panel_manager.cc | 171 // collections since some collection might depend on it. 187 // Docked collection should be disposed explicitly before 188 // DisplaySettingsProvider is gone since docked collection needs to remove 261 // Find the appropriate panel collection to hold the new panel. 265 PanelCollection* collection = GetCollectionForNewPanel( local 268 // Let the panel collection decide the initial bounds. 269 gfx::Rect bounds = collection->GetInitialPanelBounds( 273 panel->Initialize(url, bounds, collection->UsesAlwaysOnTopPanels()); 281 // Add the panel to the panel collection. 282 collection->AddPanel(panel, positioning_mask) 410 PanelCollection* collection = panel->collection(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/ |
V8TestEventTarget.cpp | 113 TestEventTarget* collection = V8TestEventTarget::toNative(info.Holder()); local 114 RefPtr<Node> element = collection->item(index); 117 v8SetReturnValueFast(info, element.release(), collection); 129 TestEventTarget* collection = V8TestEventTarget::toNative(info.Holder()); local 131 bool result = collection->anonymousIndexedSetter(index, propertyValue); 146 TestEventTarget* collection = V8TestEventTarget::toNative(info.Holder()); local 148 bool result = collection->anonymousIndexedDeleter(index, exceptionState); 171 TestEventTarget* collection = V8TestEventTarget::toNative(info.Holder()); local 173 RefPtr<Node> element = collection->namedItem(propertyName); 176 v8SetReturnValueFast(info, element.release(), collection); 216 TestEventTarget* collection = V8TestEventTarget::toNative(info.Holder()); local 232 TestEventTarget* collection = V8TestEventTarget::toNative(info.Holder()); local 245 TestEventTarget* collection = V8TestEventTarget::toNative(info.Holder()); local [all...] |
/external/stlport/test/unit/ |
hash_test.cpp | 188 // key in in a set ("collection"). Notice that data is unique by construction in main(), thus the 190 // (c) We check if we have seen as many data elements in collection as we have seen in the multimap. 201 set<int> collection; local 211 collection.insert( j->second ); 216 if (collection.size() == h.size()) cout << " OK" << endl; 243 CPPUNIT_CHECK( collection.size() == h.size() );
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
Extensions.java | 28 import java.util.Collection; 276 * @return Returns the collection of pairs: 280 public Collection<List<?>> valueOfSubjectAlternativeName() throws IOException { 295 * @return Returns the collection of pairs: 299 public Collection<List<?>> valueOfIssuerAlternativeName() throws IOException { 307 private static Collection<List<?>> decodeGeneralNames(Extension extension) 313 Collection<List<?>> collection = ((GeneralNames) GeneralNames.ASN1.decode(extension local 318 * collection at this point, so just return null. 320 if (collection.size() == 0) [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
hash_test.cpp | 188 // key in in a set ("collection"). Notice that data is unique by construction in main(), thus the 190 // (c) We check if we have seen as many data elements in collection as we have seen in the multimap. 201 set<int> collection; local 211 collection.insert( j->second ); 216 if (collection.size() == h.size()) cout << " OK" << endl; 243 CPPUNIT_CHECK( collection.size() == h.size() );
|
/ndk/tests/device/test-stlport/unit/ |
hash_test.cpp | 188 // key in in a set ("collection"). Notice that data is unique by construction in main(), thus the 190 // (c) We check if we have seen as many data elements in collection as we have seen in the multimap. 201 set<int> collection; local 211 collection.insert( j->second ); 216 if (collection.size() == h.size()) cout << " OK" << endl; 243 CPPUNIT_CHECK( collection.size() == h.size() );
|