/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...] |
/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/chromium_org/ui/keyboard/resources/ |
constants.js | 18 * The number of rows in each keyset. 22 // in kb-keyset. Remove this variable once figure out how to calculate the
|
/external/chromium_org/ui/keyboard/resources/webui/ |
constants.js | 19 * The number of rows in each keyset. 23 // in kb-keyset. Remove this variable once figure out how to calculate the
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_UnmodifiableMapTest.java | 86 // keySet 87 Set<?> keySet = map.keySet(); 88 t_KeySet(keySet); 100 void t_KeySet(Set<?> keySet) { 101 // keySet should be a set of the strings "0" to "99" 105 keySet.contains("0")); 107 keySet.contains("50")); 110 !keySet.contains("100")); 119 keySet.containsAll(hs)) [all...] |
/external/chromium_org/ui/keyboard/resources/elements/ |
kb-key-base.html | 20 * The maximum number of elements in one keyset rule. 27 * The minumum number of elements in one keyset rule. 34 * The index of event type element in the splitted keyset rule. 41 * The index of toKeyset element in the splitted keyset rule. 48 * The index of nextKeyset element in the splitted keyset rule. 55 * The index offset of toKeyset and nextKeyset elements in splitted keyset 63 * The minumum number of elements in one keyset rule. 74 * The keyset transition rules. It defines which keyset to transit to on 76 * If no rule is defined for a key event, the event wont trigger a keyset [all...] |
kb-altkey-container.html | 7 <polymer-element name="kb-altkey-container" attributes="keyset" on-pointerup="up"> 22 <content select="#{{keyset}}"></content> 27 var activeAccentKeySet = this.querySelector('#' + this.keyset); 39 this.keyset = null;
|
kb-keyboard.html | 10 on-enable-dbl="enableDbl" attributes="keyset layout rows"> 19 <!-- The ID for a keyset follows the naming convention of combining the 20 -- layout name with a base keyset name. This convention is used to 25 <content select="#{{layout}}-{{keyset}}"></content> 53 * The boolean to decide if keyboard should transit to upper case keyset 267 this.keyset = toKeyset; 268 this.querySelector('#' + this.layout + '-' + this.keyset).nextKeyset = 333 this.keyset = this.dblDetail_.toKeyset; 334 var keysetId = '#' + this.layout + '-' + this.keyset 372 // Keyset transition key [all...] |
kb-keyset.html | 7 <polymer-element name="kb-keyset" attributes="nextKeyset isDefault" 25 Polymer('kb-keyset', { 28 // TODO(bshe): support select keyset on down, long and dbl events. 62 altkeyContainer.keyset = id;
|
/libcore/support/src/test/java/tests/support/ |
Support_UnmodifiableMapTest.java | 86 // keySet 87 Set<?> keySet = map.keySet(); 88 t_KeySet(keySet); 100 void t_KeySet(Set<?> keySet) { 101 // keySet should be a set of the strings "0" to "99" 105 keySet.contains("0")); 107 keySet.contains("50")); 110 !keySet.contains("100")); 119 keySet.containsAll(hs)) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
TreeMapExtendTest.java | 141 assertEquals(tm.keySet(), treeMap.keySet()); 160 assertEquals(subMap_default.keySet(), treeMap.keySet()); [all...] |
IdentityHashMapTest.java | 112 * @tests java.util.IdentityHashMap#keySet() 151 * @tests java.util.IdentityHashMap#keySet() 164 Set keyset = map.keySet(); local 178 assertTrue("entry key not found in the keyset", keyset 205 * @tests java.util.IdentityHashMap#keySet() 213 Set set = map.keySet(); 217 assertTrue("did not remove all elements in the keyset", set.isEmpty()); 220 assertTrue("keySet iterator still has elements", !it.hasNext()) [all...] |
AbstractMapTest.java | 74 * @tests java.util.AbstractMap#keySet() 78 assertSame("HashMap(0)", map1.keySet(), map1.keySet()); 81 assertSame("HashMap(10)", map2.keySet(), map2.keySet()); 84 assertSame("EMPTY_MAP", map3.keySet(), map3.keySet()); 87 assertSame("IdentityHashMap", map4.keySet(), map4.keySet()); 90 assertSame("LinkedHashMap", map5.keySet(), map5.keySet()) [all...] |
ResourceBundleTest.java | 410 assertEquals(6, bundle.keySet().size()); 454 assertEquals(6, bundle.keySet().size()); 518 assertEquals(6, bundle.keySet().size()); 527 assertEquals(6, bundle.keySet().size()); 536 assertEquals(4, bundle.keySet().size()); 547 assertEquals(4, bundle.keySet().size()); 559 assertEquals(5, bundle.keySet().size()); 568 assertEquals(6, bundle.keySet().size()); 579 assertEquals(2, bundle.keySet().size()); 587 assertEquals(2, bundle.keySet().size()) [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheEvictionTest.java | 171 Set<Integer> keySet = cache.asMap().keySet(); 172 ASSERT.that(keySet).hasContentsAnyOrder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9); 177 ASSERT.that(keySet).hasContentsAnyOrder(3, 4, 5, 6, 7, 8, 9, 0, 1, 2); 182 ASSERT.that(keySet).hasContentsAnyOrder(6, 7, 8, 9, 0, 1, 2, 10, 11, 12); 187 ASSERT.that(keySet).hasContentsAnyOrder(9, 0, 1, 2, 10, 11, 12, 6, 7, 8); 192 ASSERT.that(keySet).hasContentsAnyOrder(2, 10, 11, 12, 6, 7, 8, 13, 14, 15); 204 Set<Integer> keySet = cache.asMap().keySet(); 205 ASSERT.that(keySet).hasContentsAnyOrder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9) [all...] |
CacheExpirationTest.java | 143 assertEquals(1, Iterators.size(cache.asMap().keySet().iterator())); 262 Set<Integer> keySet = cache.asMap().keySet(); 263 ASSERT.that(keySet).hasContentsAnyOrder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9); 267 ASSERT.that(keySet).hasContentsAnyOrder(1, 2, 3, 4, 5, 6, 7, 8, 9); 273 ASSERT.that(keySet).hasContentsAnyOrder(3, 4, 5, 6, 7, 8, 9, 0, 1, 2); 277 ASSERT.that(keySet).hasContentsAnyOrder(4, 5, 6, 7, 8, 9, 0, 1, 2); 282 ASSERT.that(keySet).hasContentsAnyOrder(4, 6, 8, 0, 1, 2, 5, 7, 9); 286 ASSERT.that(keySet).hasContentsAnyOrder(6, 8, 0, 1, 2, 5, 7, 9); 288 ASSERT.that(keySet).hasContentsAnyOrder(6, 8, 0, 1, 2, 5, 7, 9) [all...] |
/frameworks/base/core/java/android/content/pm/ |
KeySet.java | 22 public class KeySet { 27 public KeySet(Binder token) {
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/ |
DoubleKeyMap.java | 42 public Set<Key1> keySet() { 43 return data.keySet(); 47 public Set<Key2> keySet(Key1 k1) { 50 return data2.keySet();
|
/libcore/luni/src/test/java/tests/api/java/util/ |
AbstractMapTest.java | 74 * java.util.AbstractMap#keySet() 78 assertSame("HashMap(0)", map1.keySet(), map1.keySet()); 81 assertSame("HashMap(10)", map2.keySet(), map2.keySet()); 84 assertSame("EMPTY_MAP", map3.keySet(), map3.keySet()); 87 assertSame("IdentityHashMap", map4.keySet(), map4.keySet()); 90 assertSame("LinkedHashMap", map5.keySet(), map5.keySet()) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
TreeMultimapExplicitTest.java | 99 ASSERT.that(tree.keySet()).hasContentsInOrder("tree", "google"); 104 ASSERT.that(copy.keySet()).hasContentsInOrder("google", "tree"); 131 ASSERT.that(multimap.keySet()).hasContentsInOrder(null, "tree", "google"); 184 SortedSet<String> keySet = multimap.keySet(); 186 assertEquals(null, keySet.first()); 187 assertEquals("google", keySet.last()); 188 assertEquals(StringLength.COMPARATOR, keySet.comparator()); 189 assertEquals(Sets.newHashSet(null, "tree"), keySet.headSet("yahoo")); 190 assertEquals(Sets.newHashSet("google"), keySet.tailSet("yahoo")) [all...] |
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
AsmAnalyzerTest.java | 88 map.keySet().toArray()); 102 found.keySet().toArray()); 116 found.keySet().toArray()); 125 found.keySet().toArray()); 135 found.keySet().toArray()); 144 found.keySet().toArray()); 156 found.keySet().toArray()); 158 for (String key : found.keySet()) { 178 found.keySet().toArray()); 180 for (String key : found.keySet()) { [all...] |
/external/chromium/chrome/browser/extensions/ |
key_identifier_conversion_views.h | 15 // http://www.w3.org/TR/DOM-Level-3-Events/#keyset-keyidentifiers)
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
DummyMap.java | 63 for (K k : m.keySet()) { 73 public Set<K> keySet() {
|