/frameworks/base/core/java/android/content/pm/ |
KeySet.java | 22 public class KeySet { 27 public KeySet(Binder token) {
|
/frameworks/base/services/java/com/android/server/pm/ |
KeySetManager.java | 19 import android.content.pm.KeySet; 39 * Manages system-wide KeySet state. 45 /** Sentinel value returned when a {@code KeySet} is not found. */ 53 private final LongSparseArray<KeySet> mKeySets; 66 mKeySets = new LongSparseArray<KeySet>(); 73 * Determine if a package is signed by the given KeySet. 76 * keys in the KeySet. 79 * keys in the given KeySet. 83 public boolean packageIsSignedBy(String packageName, KeySet ks) { 90 throw new NullPointerException("Package has no KeySet data") [all...] |
/external/stlport/test/unit/ |
set_test.cpp | 396 typedef set<Key, KeyCmp> KeySet; 397 KeySet keySet; 398 keySet.insert(Key(1)); 399 keySet.insert(Key(2)); 400 keySet.insert(Key(3)); 401 keySet.insert(Key(4)); 403 CPPUNIT_ASSERT( keySet.count(Key(1)) == 1 ); 404 CPPUNIT_ASSERT( keySet.count(1) == 1 ); 405 CPPUNIT_ASSERT( keySet.count(5) == 0 ) [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
set_test.cpp | 396 typedef set<Key, KeyCmp> KeySet; 397 KeySet keySet; 398 keySet.insert(Key(1)); 399 keySet.insert(Key(2)); 400 keySet.insert(Key(3)); 401 keySet.insert(Key(4)); 403 CPPUNIT_ASSERT( keySet.count(Key(1)) == 1 ); 404 CPPUNIT_ASSERT( keySet.count(1) == 1 ); 405 CPPUNIT_ASSERT( keySet.count(5) == 0 ) [all...] |
/ndk/tests/device/test-stlport/unit/ |
set_test.cpp | 396 typedef set<Key, KeyCmp> KeySet; 397 KeySet keySet; 398 keySet.insert(Key(1)); 399 keySet.insert(Key(2)); 400 keySet.insert(Key(3)); 401 keySet.insert(Key(4)); 403 CPPUNIT_ASSERT( keySet.count(Key(1)) == 1 ); 404 CPPUNIT_ASSERT( keySet.count(1) == 1 ); 405 CPPUNIT_ASSERT( keySet.count(5) == 0 ) [all...] |
/external/guava/guava/src/com/google/common/collect/ |
RegularImmutableMap.java | 216 private transient ImmutableSet<K> keySet; 218 @Override public ImmutableSet<K> keySet() { 219 ImmutableSet<K> ks = keySet; 220 return (ks == null) ? (keySet = new KeySet<K, V>(this)) : ks; 224 private static class KeySet<K, V> 228 KeySet(RegularImmutableMap<K, V> map) {
|
ForwardingMap.java | 114 public Set<K> keySet() { 115 return delegate().keySet(); 155 * keySet().remove}, assuming that approach would not lead to an infinite 189 * A sensible implementation of {@link Map#keySet} in terms of the following 194 * ForwardingMap#keySet} to forward to this implementation or a subclass 200 protected class StandardKeySet extends Maps.KeySet<K, V> {
|
AbstractMultimap.java | 862 private transient Set<K> keySet; 865 public Set<K> keySet() { 866 Set<K> result = keySet; 867 return (result == null) ? keySet = createKeySet() : result; 872 ? new SortedKeySet((SortedMap<K, Collection<V>>) map) : new KeySet(map); 875 private class KeySet extends Maps.KeySet<K, Collection<V>> { 883 KeySet(final Map<K, Collection<V>> subMap) { 937 return subMap.keySet().containsAll(c); 941 return this == object || this.subMap.keySet().equals(object) [all...] |
AbstractBiMap.java | 161 private transient Set<K> keySet; 163 @Override public Set<K> keySet() { 164 Set<K> result = keySet; 165 return (result == null) ? keySet = new KeySet() : result; 168 private class KeySet extends ForwardingSet<K> { 170 return delegate.keySet(); 222 * We can almost reuse the inverse's keySet, except we have to fix the 230 final Set<V> valuesDelegate = inverse.keySet();
|
StandardTable.java | 416 Set<C> keySet; 419 public Set<C> keySet() { 420 Set<C> result = keySet; 422 return keySet = new Maps.KeySet<C, V>() { 639 KeySet keySet; 641 @Override public Set<R> keySet() { 642 KeySet result = keySet; [all...] |
Maps.java | 282 * Set<Long> set = map.keySet(); // Needn't be in synchronized block [all...] |
/external/chromium_org/chrome/browser/extensions/ |
extension_pref_value_map.cc | 86 typedef std::set<std::string> KeySet; 87 KeySet deleted_keys; 99 KeySet::iterator k;
|
/frameworks/base/core/java/android/util/ |
MapCollections.java | 34 KeySet mKeySet; 267 final class KeySet implements Set<K> { 477 Iterator<K> it = map.keySet().iterator(); 538 mKeySet = new KeySet();
|
/frameworks/support/v4/java/android/support/v4/util/ |
MapCollections.java | 32 KeySet mKeySet; 265 final class KeySet implements Set<K> { 475 Iterator<K> it = map.keySet().iterator(); 537 mKeySet = new KeySet();
|
/libcore/luni/src/main/java/java/util/concurrent/ |
ConcurrentSkipListMap.java | 326 private transient KeySet<K> keySet; 340 keySet = null; [all...] |
ConcurrentHashMap.java | 164 transient Set<K> keySet; [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
AbstractBiMap.java | 157 private transient Set<K> keySet; 159 @Override public Set<K> keySet() { 160 Set<K> result = keySet; 161 return (result == null) ? keySet = new KeySet() : result; 164 private class KeySet extends ForwardingSet<K> { 166 return delegate.keySet(); 218 * We can almost reuse the inverse's keySet, except we have to fix the 226 final Set<V> valuesDelegate = inverse.keySet();
|
Maps.java | 279 * Set<Long> set = map.keySet(); // Needn't be in synchronized block [all...] |
/external/smack/src/org/jivesoftware/smack/util/collections/ |
AbstractHashedMap.java | 31 * without the need to replace the KeySet, EntrySet and Values view classes. 103 protected transient KeySet<K, V> keySet; 715 * It avoids the need to create an entrySet/keySet/values object. 855 * Gets the keySet view of the map. 859 * @return the keySet view 861 public Set<K> keySet() { 862 if (keySet == null) { 863 keySet = new KeySet<K, V>(this) [all...] |
AbstractReferenceMap.java | 40 * The iterators can similarly be replaced, without the need to replace the KeySet, 312 public Set<K> keySet() { 313 if (keySet == null) { 314 keySet = new ReferenceKeySet<K, V>(this); 316 return keySet; 466 * @return the keySet iterator 509 * KeySet implementation. 511 static class ReferenceKeySet <K,V> extends KeySet<K, V> { 847 * The keySet iterator. [all...] |
/libcore/luni/src/main/java/java/util/ |
TreeMap.java | 161 map.keySet = null; 680 private KeySet keySet; 687 @Override public Set<K> keySet() { 688 KeySet result = keySet; 689 return result != null ? result : (keySet = new KeySet()); 693 KeySet result = keySet; [all...] |
HashMap.java | 117 private transient Set<K> keySet; 247 result.keySet = null; 694 @Override public Set<K> keySet() { 695 Set<K> ks = keySet; 696 return (ks != null) ? ks : (keySet = new KeySet()); 911 private final class KeySet extends AbstractSet<K> { [all...] |
Hashtable.java | 96 private transient Set<K> keySet; 224 result.keySet = null; 594 public synchronized Set<K> keySet() { 595 Set<K> ks = keySet; 596 return (ks != null) ? ks : (keySet = new KeySet()); 901 private final class KeySet extends AbstractSet<K> { [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
Profiler.cs | 606 foreach (string fileName in decisions.KeySet()) { 607 foreach (int d in decisions.KeySet(fileName)) {
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
Profiler.cs | 658 foreach (string fileName in decisions.KeySet()) 660 foreach (int d in decisions.KeySet(fileName))
|